=>> Building japanese/mh build started at Tue Jan 20 20:06:44 EST 2026 port directory: /usr/ports/japanese/mh package name: ja-mh-6.8.4.j3.05_8 building for: FreeBSD pkg.DaveG.ca 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 1403000 amd64 maintained by: CQG00620@nifty.ne.jp Makefile datestamp: -rw-r--r-- 1 root wheel 1976 Oct 16 2024 /usr/ports/japanese/mh/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: 993ca87fedcc Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1403000 Job Id: 15 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE-p7 1403000 UNAME_r=14.3-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/15/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_3_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for ja-mh-6.8.4.j3.05_8: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- CQG00620@nifty.ne.jp --End MAINTAINER-- --CONFIGURE_ARGS-- --enable-batchmode --enable-apop=/usr/local/etc/pop.auth --enable-jmandir=/usr/local/share/man/ja --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/mh/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/mh/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/mh/work/.cache HOME=/wrkdirs/usr/ports/japanese/mh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/mh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/mh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/mh/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/mh/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/mh/work/.cache HOME=/wrkdirs/usr/ports/japanese/mh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/mh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/mh/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fuse-ld=bfd " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ja-mh" EXAMPLESDIR="share/examples/mh" DATADIR="share/mh" WWWDIR="www/mh" ETCDIR="etc/mh" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mh DOCSDIR=/usr/local/share/doc/ja-mh EXAMPLESDIR=/usr/local/share/examples/mh WWWDIR=/usr/local/www/mh ETCDIR=/usr/local/etc/mh --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-mh-6.8.4.j3.05_8 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> ja-mh-6.8.4.j3.05_8 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ja-mh-6.8.4.j3.05_8 =========================================================================== =================================================== ===== 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 ja-mh-6.8.4.j3.05_8 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-mh-6.8.4.j3.05_8 for building => SHA256 Checksum OK for mh-6.8.4-JP-3.05.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-mh-6.8.4.j3.05_8 for building ===> Extracting for ja-mh-6.8.4.j3.05_8 ===> Fetching all distfiles required by ja-mh-6.8.4.j3.05_8 for building => SHA256 Checksum OK for mh-6.8.4-JP-3.05.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ja-mh-6.8.4.j3.05_8 ===> Applying FreeBSD patches for ja-mh-6.8.4.j3.05_8 from /usr/ports/japanese/mh/files /usr/bin/sed -i.bak -e "s/-O /-O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing /g" /wrkdirs/usr/ports/japanese/mh/work/mh-6.8.4-JP-3.05/configure /usr/bin/find /wrkdirs/usr/ports/japanese/mh/work/mh-6.8.4-JP-3.05 -type f \! -name \*.orig | xargs grep -l "extern[ ]*int[ ]*errno" | xargs /usr/bin/sed -i.bak -e "s/^extern[ ]*int[ ]*errno;/#include /" =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-mh-6.8.4.j3.05_8 depends on executable: jless - not found ===> Installing existing package /packages/All/ja-less-382.262.03.01_1.pkg [pkg.DaveG.ca] Installing ja-less-382.262.03.01_1... [pkg.DaveG.ca] Extracting ja-less-382.262.03.01_1: .......... done ===> ja-mh-6.8.4.j3.05_8 depends on executable: jless - found ===> Returning to build of ja-mh-6.8.4.j3.05_8 ===> ja-mh-6.8.4.j3.05_8 depends on file: /usr/local/bin/as - not found ===> Installing existing package /packages/All/binutils-2.44,1.pkg [pkg.DaveG.ca] Installing binutils-2.44,1... [pkg.DaveG.ca] `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Installing zstd-1.5.7_1... [pkg.DaveG.ca] `-- Extracting zstd-1.5.7_1: .......... done [pkg.DaveG.ca] Extracting binutils-2.44,1: .......... done ===> ja-mh-6.8.4.j3.05_8 depends on file: /usr/local/bin/as - found ===> Returning to build of ja-mh-6.8.4.j3.05_8 ===> ja-mh-6.8.4.j3.05_8 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> ja-mh-6.8.4.j3.05_8 depends on file: /usr/local/bin/ccache - found ===> Returning to build of ja-mh-6.8.4.j3.05_8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ja-mh-6.8.4.j3.05_8 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking host system type... amd64-portbld-freebsd14.3 checking for gcc... cc checking whether the C compiler (cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fuse-ld=bfd ) works... yes checking whether the C compiler (cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fuse-ld=bfd ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking how to run the C preprocessor... cpp checking whether cc needs -traditional... no checking for mawk... (cached) /usr/bin/awk checking for ranlib... /usr/local/bin/ranlib checking for write... /usr/bin/write checking for Mail... /usr/bin/Mail checking for ps... /bin/ps checking for chown... /usr/sbin/chown checking for sendmail... /usr/sbin/sendmail checking for jless... /usr/local/bin/jless checking for gethostbyname... (cached) yes checking for socket... yes checking for maillock in -lmail... no checking for lockfile_create in -llockfile... no checking for ncurses.h... yes checking whether curses.h is ncurses... no checking for tgetnum in -lcurses... yes checking for readline... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... (cached) yes checking for ndbm.h... yes checking for shadow.h... no checking for strings.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/param.h... (cached) yes checking for unistd.h... (cached) yes checking for working const... yes checking for st_blksize in struct stat... yes checking for sys_siglist declaration in signal.h or unistd.h... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for old load... off checking return type of signal handlers... void checking for bcopy... (cached) yes checking for fcntl... (cached) yes checking for flock... yes checking for getdtablesize... (cached) yes checking for lockf... yes checking for rename... (cached) yes checking for rindex... (cached) yes checking for ruserpass... no checking for _ruserpass... no checking for seteuid... (cached) yes checking for setreuid... (cached) yes checking for sigblock... (cached) yes checking for vsprintf... (cached) yes checking for 4.4BSD... yes checking for SVR4... no checking either SYS5, BSD or V7... BSD checking for return type of sprintf... char * checking for BIND support... yes checking for need ntohl macro... no checking for support network password database... yes checking where mail spool is located... /var/mail checking whether mail spool is opened for special group... no updating cache ./config.cache creating ./config.status creating conf/MH cc -O2 -pipe -Wno-return-type -fstack-protector -fno-strict-aliasing -DMHSLIB_NOMINVER -c mhconfig.c -o mhconfig.o mhconfig.c:19:25: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 19 | extern char *strcpy(), *malloc(), *index(), *rindex(); | ^ mhconfig.c:19:25: note: 'malloc' is a builtin with type 'void *(unsigned long)' mhconfig.c:268:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | static do_sed(), do_sedfile(), do_files(), do_doc(), do_make(); | ~~~~~~ ^ | int mhconfig.c:268:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | static do_sed(), do_sedfile(), do_files(), do_doc(), do_make(); | ~~~~~~ ^ | int mhconfig.c:268:32: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | static do_sed(), do_sedfile(), do_files(), do_doc(), do_make(); | ~~~~~~ ^ | int mhconfig.c:268:44: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | static do_sed(), do_sedfile(), do_files(), do_doc(), do_make(); | ~~~~~~ ^ | int mhconfig.c:268:54: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | static do_sed(), do_sedfile(), do_files(), do_doc(), do_make(); | ~~~~~~ ^ | int mhconfig.c:269:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 269 | static shell(), arginit(), add_option(), trim(); | ~~~~~~ ^ | int mhconfig.c:269:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 269 | static shell(), arginit(), add_option(), trim(); | ~~~~~~ ^ | int mhconfig.c:269:28: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 269 | static shell(), arginit(), add_option(), trim(); | ~~~~~~ ^ | int mhconfig.c:269:42: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 269 | static shell(), arginit(), add_option(), trim(); | ~~~~~~ ^ | int mhconfig.c:277:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 277 | main (argc, argv, envp) | ^ | int mhconfig.c:282:13: warning: passing arguments to 'arginit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | arginit (argv); | ^ mhconfig.c:299:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 299 | exit (0); | ^ mhconfig.c:299:5: note: include the header or explicitly provide a declaration for 'exit' mhconfig.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | main (argc, argv, envp) | ^ mhconfig.c:304:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 304 | static do_sed () { | ~~~~~~ ^ | int mhconfig.c:306:13: warning: passing arguments to 'do_sedfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | do_sedfile (SED, SED2, 0); | ^ mhconfig.c:307:16: warning: passing arguments to 'do_sedfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | do_sedfile (SEDOC, SEDOC2, smtp); | ^ mhconfig.c:310:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 310 | static do_alldoc (fp) | ~~~~~~ ^ | int mhconfig.c:310:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mhconfig.c:329:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 329 | static do_sedfile (sed, sed2, flag) | ~~~~~~ ^ | int mhconfig.c:338:2: warning: call to undeclared function 'adios'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 338 | adios (sed, "unable to write"); | ^ mhconfig.c:373:2: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 373 | strcmp(mancat, "cat") == 0 ? "| nroff -man" | ^ mhconfig.c:373:2: note: include the header or explicitly provide a declaration for 'strcmp' mhconfig.c:329:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | static do_sedfile (sed, sed2, flag) | ^ mhconfig.c:268:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 268 | static do_sed(), do_sedfile(), do_files(), do_doc(), do_make(); | ^ mhconfig.c:602:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 602 | static do_files () { | ~~~~~~ ^ | int mhconfig.c:607:18: warning: passing arguments to 'tail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | *pp, SED, tail (*pp), SED2, *pp); | ^ mhconfig.c:606:8: warning: passing arguments to 'shell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | shell ("rm -f %s; sed -f %s < config/%s | sed -f %s > %s", | ^ mhconfig.c:611:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 611 | static do_doc () { | ~~~~~~ ^ | int mhconfig.c:612:11: warning: passing arguments to 'shell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | shell ("./mhdoc"); | ^ mhconfig.c:616:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 616 | static do_make () { | ~~~~~~ ^ | int mhconfig.c:622:8: warning: passing arguments to 'shell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | shell ("rm -f %s; sed -f %s < %s | sed -f %s > %s", | ^ mhconfig.c:631:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 631 | static shell (fmt, a, b, c, d, e) | ~~~~~~ ^ | int mhconfig.c:645:9: warning: call to undeclared function 'system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 645 | if (system (buffer)) | ^ mhconfig.c:646:2: warning: call to undeclared function 'adios'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 646 | adios (NULLCP, "failed"); | ^ mhconfig.c:631:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | static shell (fmt, a, b, c, d, e) | ^ mhconfig.c:269:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 269 | static shell(), arginit(), add_option(), trim(); | ^ mhconfig.c:651:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 651 | static arginit (vec) | ~~~~~~ ^ | int mhconfig.c:662:19: warning: passing arguments to 'tail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | myname = tail (*vec); | ^ mhconfig.c:697:2: warning: call to undeclared function 'adios'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 697 | adios (NULLCP, "usage: %s file", myname); | ^ mhconfig.c:705:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 705 | if (ap = index (buffer, '\n')) | ~~~^~~~~~~~~~~~~~~~~~~~~~ mhconfig.c:705:9: note: place parentheses around the assignment to silence this warning 705 | if (ap = index (buffer, '\n')) | ^ | ( ) mhconfig.c:705:9: note: use '==' to turn this assignment into an equality comparison 705 | if (ap = index (buffer, '\n')) | ^ | == mhconfig.c:708:19: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 708 | ap = &buffer[strlen (buffer) - 1]; | ^ mhconfig.c:708:19: note: include the header or explicitly provide a declaration for 'strlen' mhconfig.c:732:27: warning: passing arguments to 'strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | *(bp -> value) = strdup (ap); | ^ mhconfig.c:734:39: warning: passing arguments to 'stradd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | *(bp -> value) = stradd (ap, stradd (" ", *(bp -> value))); | ^ mhconfig.c:734:27: warning: passing arguments to 'stradd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | *(bp -> value) = stradd (ap, stradd (" ", *(bp -> value))); | ^ mhconfig.c:743:10: warning: passing arguments to 'trim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | trim (binpath); | ^ mhconfig.c:755:10: warning: passing arguments to 'trim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | trim (bbhome); | ^ mhconfig.c:763:10: warning: passing arguments to 'trim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | trim (etcpath); | ^ mhconfig.c:766:13: warning: passing arguments to 'add_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | add_option ("MAILGROUP"); | ^ mhconfig.c:769:10: warning: passing arguments to 'trim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | trim (mailpath); | ^ mhconfig.c:775:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 775 | if (cp = index (manuals, '/')) { /* "standard/cat" */ | ~~~^~~~~~~~~~~~~~~~~~~~~~ mhconfig.c:775:12: note: place parentheses around the assignment to silence this warning 775 | if (cp = index (manuals, '/')) { /* "standard/cat" */ | ^ | ( ) mhconfig.c:775:12: note: use '==' to turn this assignment into an equality comparison 775 | if (cp = index (manuals, '/')) { /* "standard/cat" */ | ^ | == mhconfig.c:801:16: warning: passing arguments to 'add_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | add_option (mtsopts[i].optval); | ^ mhconfig.c:811:13: warning: passing arguments to 'add_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | add_option ("POP"); | ^ mhconfig.c:814:13: warning: passing arguments to 'add_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | add_option ("BPOP"); | ^ mhconfig.c:820:13: warning: passing arguments to 'add_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | add_option ("BPOP");/* used by msh.c & bbc.c, but see also pshsbr.c */ | ^ mhconfig.c:821:13: warning: passing arguments to 'add_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | add_option ("NNTP"); | ^ mhconfig.c:830:13: warning: passing arguments to 'add_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | add_option ("MF"); | ^ mhconfig.c:837:13: warning: passing arguments to 'add_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | add_option ("SPRINTFTYPE=int"); | ^ mhconfig.c:849:16: warning: passing arguments to 'add_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | add_option (buffer); | ^ mhconfig.c:853:5: warning: call to undeclared function 'begin_myopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 853 | begin_myopt (); | ^ mhconfig.c:854:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 854 | if (cp = options) { | ~~~^~~~~~~~~ mhconfig.c:854:12: note: place parentheses around the assignment to silence this warning 854 | if (cp = options) { | ^ | ( ) mhconfig.c:854:12: note: use '==' to turn this assignment into an equality comparison 854 | if (cp = options) { | ^ | == mhconfig.c:859:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 859 | for (ap = cp; dp = index (ap, ' '); ap = dp) { | ~~~^~~~~~~~~~~~~~~~~ mhconfig.c:859:19: note: place parentheses around the assignment to silence this warning 859 | for (ap = cp; dp = index (ap, ' '); ap = dp) { | ^ | ( ) mhconfig.c:859:19: note: use '==' to turn this assignment into an equality comparison 859 | for (ap = cp; dp = index (ap, ' '); ap = dp) { | ^ | == mhconfig.c:861:6: warning: call to undeclared function 'add_myopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 861 | add_myopt (ap); | ^ mhconfig.c:864:23: warning: passing arguments to 'stradd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | options = stradd (ap, options); | ^ mhconfig.c:869:6: warning: call to undeclared function 'add_myopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 869 | add_myopt (ap); | ^ mhconfig.c:872:23: warning: passing arguments to 'stradd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | options = stradd (ap, options); | ^ mhconfig.c:874:2: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 874 | free (cp); | ^ mhconfig.c:874:2: note: include the header or explicitly provide a declaration for 'free' mhconfig.c:876:5: warning: call to undeclared function 'end_myopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 876 | end_myopt (); | ^ mhconfig.c:651:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | static arginit (vec) | ^ mhconfig.c:269:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 269 | static shell(), arginit(), add_option(), trim(); | ^ mhconfig.c:884:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 884 | static add_option (s) | ~~~~~~ ^ | int mhconfig.c:887:43: warning: passing arguments to 'stradd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | options = options ? stradd (s, stradd (" ", options)) : strdup (s); | ^ mhconfig.c:887:32: warning: passing arguments to 'stradd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | options = options ? stradd (s, stradd (" ", options)) : strdup (s); | ^ mhconfig.c:887:68: warning: passing arguments to 'strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | options = options ? stradd (s, stradd (" ", options)) : strdup (s); | ^ mhconfig.c:884:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | static add_option (s) | ^ mhconfig.c:269:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 269 | static shell(), arginit(), add_option(), trim(); | ^ mhconfig.c:891:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 891 | begin_myopt () { | ^ | int mhconfig.c:892:21: warning: passing arguments to 'strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | myopts = strdup ("char *options[] = {"); | ^ mhconfig.c:896:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 896 | add_myopt (s) | ^ | int mhconfig.c:908:7: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 908 | if (!strncmp (op->c_name,s,strlen(op->c_name))) { | ^ mhconfig.c:908:7: note: include the header or explicitly provide a declaration for 'strncmp' mhconfig.c:918:13: warning: call to undeclared function 'adios'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 918 | adios (NULLCP, | ^ mhconfig.c:935:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 935 | else | ^ mhconfig.c:949:12: warning: passing arguments to 'insopt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | insopt (buffer); | ^ mhconfig.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | add_myopt (s) | ^ mhconfig.c:953:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 953 | end_myopt () { | ^ | int mhconfig.c:957:21: warning: passing arguments to 'stradd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | myopts = stradd ("NULL};", myopts); | ^ mhconfig.c:962:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 962 | static trim (s) | ~~~~~~ ^ | int mhconfig.c:962:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mhconfig.c:269:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 269 | static shell(), arginit(), add_option(), trim(); | ^ mhconfig.c:979:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 979 | if (p = rindex (s, '/')) | ~~^~~~~~~~~~~~~~~~~ mhconfig.c:979:11: note: place parentheses around the assignment to silence this warning 979 | if (p = rindex (s, '/')) | ^ | ( ) mhconfig.c:979:11: note: use '==' to turn this assignment into an equality comparison 979 | if (p = rindex (s, '/')) | ^ | == mhconfig.c:974:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | static char *tail (s) | ^ mhconfig.c:271:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 271 | static char *stradd (), *strdup (), *tail (); | ^ mhconfig.c:995:16: warning: passing arguments to 'strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | return strdup (s1); | ^ mhconfig.c:996:21: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | if ((p = malloc ((unsigned) (strlen (s1) + strlen (s2) + 2))) == NULL) | ^ mhconfig.c:997:2: warning: call to undeclared function 'adios'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 997 | adios (NULLCP, "insufficient memory"); | ^ mhconfig.c:986:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | static char *stradd (s1, s2) | ^ mhconfig.c:271:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 271 | static char *stradd (), *strdup (), *tail (); | ^ mhconfig.c:1011:21: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | if ((p = malloc ((unsigned) (strlen (s) + 1))) == NULL) | ^ mhconfig.c:1012:2: warning: call to undeclared function 'adios'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1012 | adios (NULLCP, "insufficient memory"); | ^ mhconfig.c:1006:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | static char *strdup (s) | ^ mhconfig.c:271:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 271 | static char *stradd (), *strdup (), *tail (); | ^ mhconfig.c:1058:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1058 | adios (what, fmt, a, b, c) | ^ | int mhconfig.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mhconfig.c:1096:37: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | if ((np = (struct opt *) malloc ((unsigned) sizeof (struct opt))) == | ^ mhconfig.c:1098:37: warning: too few arguments in call to 'adios' 1098 | adios (NULL, "unable to malloc opt"); | ~~~~~ ^ mhconfig.c:1089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | insopt(s) | ^ mhconfig.c:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | static void insopt(), mkopts(); | ^ 106 warnings generated. cc -o mhconfig mhconfig.o This is mhconfig, for generic UNIX (MH.6 configuration program) options: [ATHENA] [DUMB] [FOLDPROT='"0700"'] [GCOS_HACK] [ISI] [MHE] [MHRC] [MSGPROT='"0600"'] [OVERHEAD] [RPATHS] [SBACKUP='"\\043"'] [WHATNOW] [BIND] [BSD42] [BSD43] [BSD44] [DBMPWD] [NORUSERPASS] [POSIX] [SYS5DIR] [UNISTD] [VSPRINTF] [WAITINT] [ZONEINFO] [POPSERVICE='"pop3"'] [APOP='"/usr/local/etc/pop.auth"'] [JAPAN] [MH_PLUS] [MIME] [MIME_HEADERS] [MORE='"/usr/local/bin/jless"'] [NNTP] [SENDMTS] [SMTP] [POP] [TYPESIG=void] generating config.sed generating config2.sed generating doc/config.sed generating doc/config2.sed rm -f ../support/bboards/bboards.daily; sed -f config.sed < config/bboards.daily | sed -f config2.sed > ../support/bboards/bboards.daily rm -f ../support/bboards/bboards.weekly; sed -f config.sed < config/bboards.weekly | sed -f config2.sed > ../support/bboards/bboards.weekly rm -f ../support/bboards/crontab; sed -f config.sed < config/crontab | sed -f config2.sed > ../support/bboards/crontab rm -f ../support/bboards/MakeBBoards; sed -f config.sed < config/MakeBBoards | sed -f config2.sed > ../support/bboards/MakeBBoards rm -f ../config/config.c; sed -f config.sed < config/config.c | sed -f config2.sed > ../config/config.c rm -f ../zotnet/mts/mts.c; sed -f config.sed < config/mts.c | sed -f config2.sed > ../zotnet/mts/mts.c rm -f ../zotnet/mts/mtstailor; sed -f config.sed < config/mtstailor | sed -f config2.sed > ../zotnet/mts/mtstailor rm -f ../support/general/MailAliases; sed -f config.sed < config/MailAliases | sed -f config2.sed > ../support/general/MailAliases rm -f ../mts/sendmail/bboardsMH.m4; sed -f config.sed < config/bboardsMH.m4 | sed -f config2.sed > ../mts/sendmail/bboardsMH.m4 rm -f ../mts/sendmail/popMH.m4; sed -f config.sed < config/popMH.m4 | sed -f config2.sed > ../mts/sendmail/popMH.m4 ./mhdoc grinding... rm -f .././Makefile; sed -f config.sed < makefiles/MH-Makefile | sed -f config2.sed > .././Makefile rm -f ../config/Makefile; sed -f config.sed < makefiles/config | sed -f config2.sed > ../config/Makefile rm -f ../dist/Makefile; sed -f config.sed < makefiles/dist | sed -f config2.sed > ../dist/Makefile rm -f ../doc/Makefile; sed -f config.sed < makefiles/doc | sed -f config2.sed > ../doc/Makefile rm -f ../mts/Makefile; sed -f config.sed < makefiles/mtsM | sed -f config2.sed > ../mts/Makefile rm -f ../mts/mh/Makefile; sed -f config.sed < makefiles/mts/mh | sed -f config2.sed > ../mts/mh/Makefile rm -f ../mts/mmdf/Makefile; sed -f config.sed < makefiles/mts/mmdf | sed -f config2.sed > ../mts/mmdf/Makefile rm -f ../mts/sendmail/Makefile; sed -f config.sed < makefiles/mts/sendmail | sed -f config2.sed > ../mts/sendmail/Makefile rm -f ../papers/Makefile; sed -f config.sed < makefiles/papers | sed -f config2.sed > ../papers/Makefile rm -f ../sbr/Makefile; sed -f config.sed < makefiles/sbr | sed -f config2.sed > ../sbr/Makefile rm -f ../support/Makefile; sed -f config.sed < makefiles/supportM | sed -f config2.sed > ../support/Makefile rm -f ../support/bboards/Makefile; sed -f config.sed < makefiles/support/bboards | sed -f config2.sed > ../support/bboards/Makefile rm -f ../support/general/Makefile; sed -f config.sed < makefiles/support/general | sed -f config2.sed > ../support/general/Makefile rm -f ../support/pop/Makefile; sed -f config.sed < makefiles/support/pop | sed -f config2.sed > ../support/pop/Makefile rm -f ../uip/Makefile; sed -f config.sed < makefiles/uip | sed -f config2.sed > ../uip/Makefile rm -f ../zotnet/Makefile; sed -f config.sed < makefiles/zotnetM | sed -f config2.sed > ../zotnet/Makefile rm -f ../zotnet/bboards/Makefile; sed -f config.sed < makefiles/zotnet/bboards | sed -f config2.sed > ../zotnet/bboards/Makefile rm -f ../zotnet/mf/Makefile; sed -f config.sed < makefiles/zotnet/mf | sed -f config2.sed > ../zotnet/mf/Makefile rm -f ../zotnet/mts/Makefile; sed -f config.sed < makefiles/zotnet/mts | sed -f config2.sed > ../zotnet/mts/Makefile rm -f ../zotnet/tws/Makefile; sed -f config.sed < makefiles/zotnet/tws | sed -f config2.sed > ../zotnet/tws/Makefile Don't forget to run "make clean" in the top directory before compiling rm -f _* :* core *.core for d in dist conf config sbr mts zotnet support uip doc papers; do (cd $d; make DESTDIR= -k clean); done rm -f *.tmp _* :* core *.core rm -f *.cat *.dvi *.imp *.doc rm -f mhconfig *.o _* :* */_* */:* */*/_* */*/:* rm -f _* :* core *.core eddep makedep rm -f *.o rm -f zlibmh.* _* :* core *.core eddep makedep rm -f *.o libmh.* rm -f shared/*.o rm -f libmts.a llib-lmts for d in mh mmdf sendmail; do (cd $d; make DESTDIR= -k clean); done rm -f _* :* core *.core rm -f *.o mhmts.a zmhmts.a rm -f _* :* core *.core rm -f *.o mmdfmts.a zmmdfmts.a rm -f _* :* core *.core rm -f *.o sendmts.a zsendmts.a rm -f libzot.a zlibzot.a _* :* *.o core *.core for d in mts bboards tws mf; do (cd $d; make DESTDIR= -k clean); done rm -f z* _* :* core *.core eddep makedep MAKEMTS rm -f x* *.o rm -f _* :* core *.core eddep makedep rm -f *.o rm -f _* :* core *.core eddep makedep rm -f dtimep.c *.o date rm -f z* _* :* core *.core eddep makedep MAKEMF rm -f x* *.o rm -f _* :* core *.core for d in bboards general pop; do (cd $d; make DESTDIR= -k clean); done rm -f z* _* :* core *.core eddep makedep MAKEBB rm -f x* *.o rm -f z* _* :* core *.core MAKEGEN rm -f x* rm -f z* _* :* core *.core eddep makedep MAKEPOP rm -f x* *.o rm -f z* _* :* core *.core eddep makedep MAKEUIP rm -f x* *.o rm -f z* _* :* core *.core MAKEDOC rm -f *.man *.doc *.cat *.imp for d in bboards beginners changes mh4 mh4mm mh5 mh6.5 multifarious mznet realwork trusted tutorial; do (cd $d; make DESTDIR= -k clean); done rm -f bboards.lof bboards.log bboards.lot bboards.toc _* rm -f beginners.log beginners.blg beginners.tmp _* rm -f *.tmp _* :* core rm -f *.cat *.dvi *.imp *.doc rm -f CONTENTS.tex FIGURES.tex mh4.lof mh4.log mh4.lot mh4.toc _* rm -f mh4mm.log mh4mm.blg mh4mm.tmp _* rm -f CONTENTS.tex FIGURES.tex mh5.lof mh5.log mh5.lot mh5.toc _* rm -f mh6.log mh6.blg mh6.tmp _* rm -f multifarious.lof multifarious.log multifarious.lot multifarious.toc _* rm -f mznet.log _* rm -f realwork.lof realwork.log realwork.lot realwork.toc _* rm -f trusted.lof trusted.log trusted.lot trusted.toc _* rm -f tutorial.lof tutorial.log tutorial.lot tutorial.toc _* =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ja-mh-6.8.4.j3.05_8 for d in config sbr mts zotnet uip support doc; do (cd $d; make DESTDIR= -k all); done cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c config.c -o config.o config.c:61:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 61 | if (cp = index (pp = file + 1, '/')) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c:61:13: note: place parentheses around the assignment to silence this warning 61 | if (cp = index (pp = file + 1, '/')) | ^ | ( ) config.c:61:13: note: use '==' to turn this assignment into an equality comparison 61 | if (cp = index (pp = file + 1, '/')) | ^ | == config.c:66:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 66 | if (pw = getpwnam (pp)) | ~~~^~~~~~~~~~~~~~~ config.c:66:10: note: place parentheses around the assignment to silence this warning 66 | if (pw = getpwnam (pp)) | ^ | ( ) config.c:66:10: note: use '==' to turn this assignment into an equality comparison 66 | if (pw = getpwnam (pp)) | ^ | == config.c:78:10: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | if (access (lpath, 04) != NOTOK) | ^ config.c:84:35: warning: passing arguments to 'm_mailpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | if (access ((cp = m_mailpath (file)), 04) != NOTOK) | ^ config.c:89:13: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | return (access (lpath, 04) != NOTOK ? lpath : file); | ^ config.c:42:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | char *libpath (file) | ^ In file included from config.c:10: ./../h/mh.h:269:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 269 | char *libpath (); | ^ 7 warnings generated. MH 6.8.4 #1[UCI] Japanization Plus 3.05 cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c version.c -o version.o + mkdir shared rm -f add.o shared/add.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic add.c add.c:18:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | adios (NULLCP, "unable to allocate string storage"); | ^ add.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *add (this, that) | ^ In file included from add.c:3: ./../h/mh.h:247:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 247 | char *add (); | ^ 3 warnings generated. mv add.o shared/add.o rm -f add.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c add.c add.c:18:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | adios (NULLCP, "unable to allocate string storage"); | ^ add.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *add (this, that) | ^ In file included from add.c:3: ./../h/mh.h:247:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 247 | char *add (); | ^ 3 warnings generated. ld -x -r add.o mv a.out add.o rm -f adios.o shared/adios.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic adios.c adios.c:19:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | advise (what, fmt, a, b, c, d, e, f, g); | ^ adios.c:20:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | done (1); | ^ adios.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void adios (what, fmt, a, b, c, d, e, f, g) | ^ In file included from adios.c:3: ./../h/mh.h:248:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 248 | void adios (); | ^ 4 warnings generated. mv adios.o shared/adios.o rm -f adios.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c adios.c adios.c:19:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | advise (what, fmt, a, b, c, d, e, f, g); | ^ adios.c:20:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | done (1); | ^ adios.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void adios (what, fmt, a, b, c, d, e, f, g) | ^ In file included from adios.c:3: ./../h/mh.h:248:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 248 | void adios (); | ^ 4 warnings generated. ld -x -r adios.o mv a.out adios.o rm -f admonish.o shared/admonish.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic admonish.c admonish.c:19:15: warning: passing arguments to 'advertise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | advertise (what, "continuing...", fmt, a, b, c, d, e, f, g); | ^ admonish.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void admonish (what, fmt, a, b, c, d, e, f, g) | ^ In file included from admonish.c:3: ./../h/mh.h:249:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 249 | void admonish (); | ^ 3 warnings generated. mv admonish.o shared/admonish.o rm -f admonish.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c admonish.c admonish.c:19:15: warning: passing arguments to 'advertise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | advertise (what, "continuing...", fmt, a, b, c, d, e, f, g); | ^ admonish.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void admonish (what, fmt, a, b, c, d, e, f, g) | ^ In file included from admonish.c:3: ./../h/mh.h:249:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 249 | void admonish (); | ^ 3 warnings generated. ld -x -r admonish.o mv a.out admonish.o rm -f addrsbr.o shared/addrsbr.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic addrsbr.c addrsbr.c:297:23: warning: passing arguments to 'getadrx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | if ((ap = getadrx (addrs ? addrs : "")) == NULL) | ^ addrsbr.c:111:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | char *getname (addrs) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:40:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | char *getname (), *adrsprintf (), *auxformat (); | ^ addrsbr.c:339:9: warning: address of array 'err' will always evaluate to 'true' [-Wpointer-bool-conversion] 339 | if (err && err[0]) { | ^~~ ~~ addrsbr.c:344:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | admonish (NULLCP, "bad address '%s' - %s", str, err); | ^ addrsbr.c:358:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | admonish (NULLCP, "null address '%s'", str); | ^ addrsbr.c:367:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | admonish (NULLCP, "no mailbox in address '%s'", str); | ^ addrsbr.c:383:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | adios (NULLCP, "insufficient memory to represent address"); | ^ addrsbr.c:388:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | mp -> m_text = getcpy (str); | ^ addrsbr.c:396:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | mp -> m_pers = getcpy (pers); | ^ addrsbr.c:402:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | mp -> m_gname = getcpy (grp); | ^ addrsbr.c:404:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | mp -> m_note = getcpy (note); | ^ addrsbr.c:444:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | mp -> m_mbox = getcpy (mbox); | ^ addrsbr.c:445:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | mp -> m_host = getcpy (host); | ^ addrsbr.c:448:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 448 | if (pp = index (mbox, '!')) { | ~~~^~~~~~~~~~~~~~~~~~~ addrsbr.c:448:9: note: place parentheses around the assignment to silence this warning 448 | if (pp = index (mbox, '!')) { | ^ | ( ) addrsbr.c:448:9: note: use '==' to turn this assignment into an equality comparison 448 | if (pp = index (mbox, '!')) { | ^ | == addrsbr.c:450:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | mp -> m_mbox = getcpy (pp); | ^ addrsbr.c:451:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | mp -> m_host = getcpy (mbox); | ^ addrsbr.c:456:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | mp -> m_mbox = getcpy (mbox); | ^ addrsbr.c:465:42: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | mp -> m_host = route ? NULLCP : getcpy (dfhost); | ^ addrsbr.c:475:22: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | mp -> m_type = uleq (LocalName (), mp -> m_host) | ^ addrsbr.c:479:22: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | mp -> m_type = uleq (LocalName (), mp -> m_host) ? LOCALHOST | ^ addrsbr.c:503:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | mp -> m_path = getcpy (route); | ^ addrsbr.c:506:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | mp -> m_gname = getcpy (grp); | ^ addrsbr.c:508:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | mp -> m_note = getcpy (note); | ^ addrsbr.c:321:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | struct mailname *getm (str, dfhost, dftype, wanthost, eresult) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:41:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | struct mailname *getm (); | ^ addrsbr.c:516:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | void mnfree (mp) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:38:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | void mnfree (); | ^ addrsbr.c:597:20: warning: passing arguments to 'legal_person' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | legal_person (mp -> m_pers ? mp -> m_pers : mp -> m_mbox), | ^ addrsbr.c:601:20: warning: passing arguments to 'legal_person' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | legal_person (mp -> m_pers ? mp -> m_pers : mp -> m_mbox), | ^ addrsbr.c:546:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | char *auxformat (mp, extras) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:40:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | char *getname (), *adrsprintf (), *auxformat (); | ^ addrsbr.c:621:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | char *adrsprintf (local, domain) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:40:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | char *getname (), *adrsprintf (), *auxformat (); | ^ addrsbr.c:681:19: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | if ((am = m_find ("alternate-mailboxes")) == NULL) | ^ addrsbr.c:686:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 686 | while (cp = getname (am)) | ~~~^~~~~~~~~~~~~~ addrsbr.c:686:16: note: place parentheses around the assignment to silence this warning 686 | while (cp = getname (am)) | ^ | ( ) addrsbr.c:686:16: note: use '==' to turn this assignment into an equality comparison 686 | while (cp = getname (am)) | ^ | == addrsbr.c:689:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | admonish (NULLCP, "illegal address: %s", cp), oops++; | ^ addrsbr.c:726:16: warning: passing arguments to 'sprintb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | sprintb (buffer, (unsigned) mp -> m_type, WBITS)); | ^ addrsbr.c:730:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | advise (NULLCP, "please fix the %s: entry in your %s file", | ^ addrsbr.c:745:16: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | if (!uprf (np -> m_host, cp) || np -> m_host[len] != '.') | ^ addrsbr.c:750:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | if (!uleq (np -> m_host, SystemName ())) | ^ addrsbr.c:754:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | if (uleq (np -> m_mbox, mq.m_mbox)) | ^ addrsbr.c:789:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 789 | for (mp = &mq; mp = mp -> m_next;) { | ~~~^~~~~~~~~~~~~~ addrsbr.c:789:23: note: place parentheses around the assignment to silence this warning 789 | for (mp = &mq; mp = mp -> m_next;) { | ^ | ( ) addrsbr.c:789:23: note: use '==' to turn this assignment into an equality comparison 789 | for (mp = &mq; mp = mp -> m_next;) { | ^ | == addrsbr.c:797:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | if (!uleq (cp, pp)) | ^ addrsbr.c:801:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | if (!uleq (cp + len - i, pp)) | ^ addrsbr.c:805:13: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | if (!uprf (cp, pp)) | ^ addrsbr.c:809:17: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | if (stringdex (pp, cp) < 0) | ^ addrsbr.c:823:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | if (!uleq (cp, pp)) | ^ addrsbr.c:827:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | if (!uleq (cp + len - i, pp)) | ^ addrsbr.c:831:13: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | if (!uprf (cp, pp)) | ^ addrsbr.c:835:17: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | if (stringdex (pp, cp) < 0) | ^ addrsbr.c:662:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | int ismymbox (np) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:39:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | int ismymbox (); | ^ 53 warnings generated. mv addrsbr.o shared/addrsbr.o rm -f addrsbr.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c addrsbr.c addrsbr.c:297:23: warning: passing arguments to 'getadrx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | if ((ap = getadrx (addrs ? addrs : "")) == NULL) | ^ addrsbr.c:111:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | char *getname (addrs) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:40:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | char *getname (), *adrsprintf (), *auxformat (); | ^ addrsbr.c:339:9: warning: address of array 'err' will always evaluate to 'true' [-Wpointer-bool-conversion] 339 | if (err && err[0]) { | ^~~ ~~ addrsbr.c:344:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | admonish (NULLCP, "bad address '%s' - %s", str, err); | ^ addrsbr.c:358:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | admonish (NULLCP, "null address '%s'", str); | ^ addrsbr.c:367:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | admonish (NULLCP, "no mailbox in address '%s'", str); | ^ addrsbr.c:383:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | adios (NULLCP, "insufficient memory to represent address"); | ^ addrsbr.c:388:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | mp -> m_text = getcpy (str); | ^ addrsbr.c:396:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | mp -> m_pers = getcpy (pers); | ^ addrsbr.c:402:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | mp -> m_gname = getcpy (grp); | ^ addrsbr.c:404:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | mp -> m_note = getcpy (note); | ^ addrsbr.c:444:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | mp -> m_mbox = getcpy (mbox); | ^ addrsbr.c:445:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | mp -> m_host = getcpy (host); | ^ addrsbr.c:448:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 448 | if (pp = index (mbox, '!')) { | ~~~^~~~~~~~~~~~~~~~~~~ addrsbr.c:448:9: note: place parentheses around the assignment to silence this warning 448 | if (pp = index (mbox, '!')) { | ^ | ( ) addrsbr.c:448:9: note: use '==' to turn this assignment into an equality comparison 448 | if (pp = index (mbox, '!')) { | ^ | == addrsbr.c:450:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | mp -> m_mbox = getcpy (pp); | ^ addrsbr.c:451:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | mp -> m_host = getcpy (mbox); | ^ addrsbr.c:456:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | mp -> m_mbox = getcpy (mbox); | ^ addrsbr.c:465:42: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | mp -> m_host = route ? NULLCP : getcpy (dfhost); | ^ addrsbr.c:475:22: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | mp -> m_type = uleq (LocalName (), mp -> m_host) | ^ addrsbr.c:479:22: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | mp -> m_type = uleq (LocalName (), mp -> m_host) ? LOCALHOST | ^ addrsbr.c:503:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | mp -> m_path = getcpy (route); | ^ addrsbr.c:506:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | mp -> m_gname = getcpy (grp); | ^ addrsbr.c:508:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | mp -> m_note = getcpy (note); | ^ addrsbr.c:321:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | struct mailname *getm (str, dfhost, dftype, wanthost, eresult) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:41:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | struct mailname *getm (); | ^ addrsbr.c:516:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | void mnfree (mp) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:38:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | void mnfree (); | ^ addrsbr.c:597:20: warning: passing arguments to 'legal_person' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | legal_person (mp -> m_pers ? mp -> m_pers : mp -> m_mbox), | ^ addrsbr.c:601:20: warning: passing arguments to 'legal_person' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | legal_person (mp -> m_pers ? mp -> m_pers : mp -> m_mbox), | ^ addrsbr.c:546:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | char *auxformat (mp, extras) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:40:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | char *getname (), *adrsprintf (), *auxformat (); | ^ addrsbr.c:621:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | char *adrsprintf (local, domain) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:40:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | char *getname (), *adrsprintf (), *auxformat (); | ^ addrsbr.c:681:19: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | if ((am = m_find ("alternate-mailboxes")) == NULL) | ^ addrsbr.c:686:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 686 | while (cp = getname (am)) | ~~~^~~~~~~~~~~~~~ addrsbr.c:686:16: note: place parentheses around the assignment to silence this warning 686 | while (cp = getname (am)) | ^ | ( ) addrsbr.c:686:16: note: use '==' to turn this assignment into an equality comparison 686 | while (cp = getname (am)) | ^ | == addrsbr.c:689:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | admonish (NULLCP, "illegal address: %s", cp), oops++; | ^ addrsbr.c:726:16: warning: passing arguments to 'sprintb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | sprintb (buffer, (unsigned) mp -> m_type, WBITS)); | ^ addrsbr.c:730:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | advise (NULLCP, "please fix the %s: entry in your %s file", | ^ addrsbr.c:745:16: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | if (!uprf (np -> m_host, cp) || np -> m_host[len] != '.') | ^ addrsbr.c:750:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | if (!uleq (np -> m_host, SystemName ())) | ^ addrsbr.c:754:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | if (uleq (np -> m_mbox, mq.m_mbox)) | ^ addrsbr.c:789:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 789 | for (mp = &mq; mp = mp -> m_next;) { | ~~~^~~~~~~~~~~~~~ addrsbr.c:789:23: note: place parentheses around the assignment to silence this warning 789 | for (mp = &mq; mp = mp -> m_next;) { | ^ | ( ) addrsbr.c:789:23: note: use '==' to turn this assignment into an equality comparison 789 | for (mp = &mq; mp = mp -> m_next;) { | ^ | == addrsbr.c:797:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | if (!uleq (cp, pp)) | ^ addrsbr.c:801:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | if (!uleq (cp + len - i, pp)) | ^ addrsbr.c:805:13: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | if (!uprf (cp, pp)) | ^ addrsbr.c:809:17: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | if (stringdex (pp, cp) < 0) | ^ addrsbr.c:823:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | if (!uleq (cp, pp)) | ^ addrsbr.c:827:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | if (!uleq (cp + len - i, pp)) | ^ addrsbr.c:831:13: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | if (!uprf (cp, pp)) | ^ addrsbr.c:835:17: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | if (stringdex (pp, cp) < 0) | ^ addrsbr.c:662:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | int ismymbox (np) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:39:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | int ismymbox (); | ^ 53 warnings generated. ld -x -r addrsbr.o mv a.out addrsbr.o rm -f advertise.o shared/advertise.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic advertise.c advertise.c:63:10: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | ml_fputs(buffer, stderr); | ^ advertise.c:66:13: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | ml_fputs(buffer, stderr); | ^ advertise.c:70:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | ml_fputs(buffer, stderr); | ^ advertise.c:74:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | ml_fputs(buffer, stderr); | ^ advertise.c:77:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | ml_fputs(buffer, stderr); | ^ advertise.c:82:10: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | ml_fputs(buffer, stderr); | ^ advertise.c:84:13: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | ml_fputs("\n", stderr); | ^ advertise.c:34:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | void advertise (what, tail, fmt, a, b, c, d, e, f, g) | ^ In file included from advertise.c:6: ./../h/mh.h:251:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 251 | void advertise (); | ^ 9 warnings generated. mv advertise.o shared/advertise.o rm -f advertise.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c advertise.c advertise.c:63:10: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | ml_fputs(buffer, stderr); | ^ advertise.c:66:13: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | ml_fputs(buffer, stderr); | ^ advertise.c:70:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | ml_fputs(buffer, stderr); | ^ advertise.c:74:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | ml_fputs(buffer, stderr); | ^ advertise.c:77:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | ml_fputs(buffer, stderr); | ^ advertise.c:82:10: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | ml_fputs(buffer, stderr); | ^ advertise.c:84:13: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | ml_fputs("\n", stderr); | ^ advertise.c:34:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | void advertise (what, tail, fmt, a, b, c, d, e, f, g) | ^ In file included from advertise.c:6: ./../h/mh.h:251:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 251 | void advertise (); | ^ 9 warnings generated. ld -x -r advertise.o mv a.out advertise.o rm -f advise.o shared/advise.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic advise.c advise.c:19:15: warning: passing arguments to 'advertise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | advertise (what, NULLCP, fmt, a, b, c, d, e, f, g); | ^ advise.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void advise (what, fmt, a, b, c, d, e, f, g) | ^ In file included from advise.c:3: ./../h/mh.h:250:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 250 | void advise (); | ^ 3 warnings generated. mv advise.o shared/advise.o rm -f advise.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c advise.c advise.c:19:15: warning: passing arguments to 'advertise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | advertise (what, NULLCP, fmt, a, b, c, d, e, f, g); | ^ advise.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void advise (what, fmt, a, b, c, d, e, f, g) | ^ In file included from advise.c:3: ./../h/mh.h:250:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 250 | void advise (); | ^ 3 warnings generated. ld -x -r advise.o mv a.out advise.o rm -f ambigsw.o shared/ambigsw.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic ambigsw.c ambigsw.c:11:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | advise (NULLCP, "-%s ambiguous. It matches", arg); | ^ ambigsw.c:12:13: warning: passing arguments to 'printsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | printsw (arg, swp, "-"); | ^ ambigsw.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void ambigsw (arg, swp) | ^ In file included from ambigsw.c:3: ./../h/mh.h:252:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 252 | void ambigsw (); | ^ 4 warnings generated. mv ambigsw.o shared/ambigsw.o rm -f ambigsw.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c ambigsw.c ambigsw.c:11:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | advise (NULLCP, "-%s ambiguous. It matches", arg); | ^ ambigsw.c:12:13: warning: passing arguments to 'printsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | printsw (arg, swp, "-"); | ^ ambigsw.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void ambigsw (arg, swp) | ^ In file included from ambigsw.c:3: ./../h/mh.h:252:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 252 | void ambigsw (); | ^ 4 warnings generated. ld -x -r ambigsw.o mv a.out ambigsw.o rm -f atooi.o shared/atooi.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic atooi.c atooi.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int atooi(cp) | ^ 1 warning generated. mv atooi.o shared/atooi.o rm -f atooi.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c atooi.c atooi.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int atooi(cp) | ^ 1 warning generated. ld -x -r atooi.o mv a.out atooi.o rm -f brkstring.o shared/brkstring.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic brkstring.c brkstring.c:7:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | static brkany(); | ~~~~~~ ^ | int brkstring.c:23:16: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | while (brkany (c = *sp, brksep)) | ^ brkstring.c:25:19: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | if (!c || brkany (c, brkterm)) { | ^ brkstring.c:32:32: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | while ((c = *++sp) && !brkany (c, brksep) && !brkany (c, brkterm)) | ^ brkstring.c:32:55: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | while ((c = *++sp) && !brkany (c, brksep) && !brkany (c, brkterm)) | ^ brkstring.c:9:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | char **brkstring (strg, brksep, brkterm) | ^ In file included from brkstring.c:3: ./../h/mh.h:254:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 254 | char **brkstring (); | ^ brkstring.c:41:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 41 | static brkany (chr, strg) /* returns 1 if chr in strg, 0 otherwise */ | ~~~~~~ ^ | int brkstring.c:41:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] brkstring.c:7:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | static brkany(); | ^ 10 warnings generated. mv brkstring.o shared/brkstring.o rm -f brkstring.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c brkstring.c brkstring.c:7:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | static brkany(); | ~~~~~~ ^ | int brkstring.c:23:16: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | while (brkany (c = *sp, brksep)) | ^ brkstring.c:25:19: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | if (!c || brkany (c, brkterm)) { | ^ brkstring.c:32:32: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | while ((c = *++sp) && !brkany (c, brksep) && !brkany (c, brkterm)) | ^ brkstring.c:32:55: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | while ((c = *++sp) && !brkany (c, brksep) && !brkany (c, brkterm)) | ^ brkstring.c:9:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | char **brkstring (strg, brksep, brkterm) | ^ In file included from brkstring.c:3: ./../h/mh.h:254:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 254 | char **brkstring (); | ^ brkstring.c:41:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 41 | static brkany (chr, strg) /* returns 1 if chr in strg, 0 otherwise */ | ~~~~~~ ^ | int brkstring.c:41:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] brkstring.c:7:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | static brkany(); | ^ 10 warnings generated. ld -x -r brkstring.o mv a.out brkstring.o rm -f closefds.o shared/closefds.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic closefds.c closefds.c:18:21: warning: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | int nbits = getdtablesize (); | ^ closefds.c:25:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | (void) close (i); | ^ closefds.c:12:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | void closefds (i) | ^ In file included from closefds.c:6: ./../h/mh.h:255:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 255 | void closefds (); | ^ 4 warnings generated. mv closefds.o shared/closefds.o rm -f closefds.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c closefds.c closefds.c:18:21: warning: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | int nbits = getdtablesize (); | ^ closefds.c:25:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | (void) close (i); | ^ closefds.c:12:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | void closefds (i) | ^ In file included from closefds.c:6: ./../h/mh.h:255:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 255 | void closefds (); | ^ 4 warnings generated. ld -x -r closefds.o mv a.out closefds.o rm -f concat.o shared/concat.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic concat.c concat.c:22:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 22 | while (cp = va_arg (list, char *)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ concat.c:22:16: note: place parentheses around the assignment to silence this warning 22 | while (cp = va_arg (list, char *)) | ^ | ( ) concat.c:22:16: note: use '==' to turn this assignment into an equality comparison 22 | while (cp = va_arg (list, char *)) | ^ | == concat.c:29:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | adios (NULLCP, "unable to allocate string storage"); | ^ concat.c:33:16: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | sp = copy (first, sp); | ^ concat.c:35:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 35 | while (cp = va_arg (list, char *)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ concat.c:35:16: note: place parentheses around the assignment to silence this warning 35 | while (cp = va_arg (list, char *)) | ^ | ( ) concat.c:35:16: note: use '==' to turn this assignment into an equality comparison 35 | while (cp = va_arg (list, char *)) | ^ | == concat.c:36:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | sp = copy (cp, sp); | ^ 5 warnings generated. mv concat.o shared/concat.o rm -f concat.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c concat.c concat.c:22:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 22 | while (cp = va_arg (list, char *)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ concat.c:22:16: note: place parentheses around the assignment to silence this warning 22 | while (cp = va_arg (list, char *)) | ^ | ( ) concat.c:22:16: note: use '==' to turn this assignment into an equality comparison 22 | while (cp = va_arg (list, char *)) | ^ | == concat.c:29:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | adios (NULLCP, "unable to allocate string storage"); | ^ concat.c:33:16: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | sp = copy (first, sp); | ^ concat.c:35:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 35 | while (cp = va_arg (list, char *)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ concat.c:35:16: note: place parentheses around the assignment to silence this warning 35 | while (cp = va_arg (list, char *)) | ^ | ( ) concat.c:35:16: note: use '==' to turn this assignment into an equality comparison 35 | while (cp = va_arg (list, char *)) | ^ | == concat.c:36:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | sp = copy (cp, sp); | ^ 5 warnings generated. ld -x -r concat.o mv a.out concat.o rm -f copy.o shared/copy.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic copy.c copy.c:8:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8 | while (*to++ = *from++) | ~~~~~~^~~~~~~~~ copy.c:8:18: note: place parentheses around the assignment to silence this warning 8 | while (*to++ = *from++) | ^ | ( ) copy.c:8:18: note: use '==' to turn this assignment into an equality comparison 8 | while (*to++ = *from++) | ^ | == copy.c:4:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | char *copy (from, to) | ^ 2 warnings generated. mv copy.o shared/copy.o rm -f copy.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c copy.c copy.c:8:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8 | while (*to++ = *from++) | ~~~~~~^~~~~~~~~ copy.c:8:18: note: place parentheses around the assignment to silence this warning 8 | while (*to++ = *from++) | ^ | ( ) copy.c:8:18: note: use '==' to turn this assignment into an equality comparison 8 | while (*to++ = *from++) | ^ | == copy.c:4:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | char *copy (from, to) | ^ 2 warnings generated. ld -x -r copy.o mv a.out copy.o rm -f copyip.o shared/copyip.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic copyip.c copyip.c:4:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | char **copyip (p, q) | ^ 1 warning generated. mv copyip.o shared/copyip.o rm -f copyip.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c copyip.c copyip.c:4:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | char **copyip (p, q) | ^ 1 warning generated. ld -x -r copyip.o mv a.out copyip.o rm -f cpydata.o shared/cpydata.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic cpydata.c cpydata.c:16:17: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | while ((i = read (in, buffer, sizeof buffer)) > 0) | ^ cpydata.c:17:6: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | if (write (out, buffer, i) != i) | ^ cpydata.c:18:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | adios (ofile, "error writing"); | ^ cpydata.c:21:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | adios (ifile, "error reading"); | ^ cpydata.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void cpydata (in, out, ifile, ofile) | ^ In file included from cpydata.c:3: ./../h/mh.h:259:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 259 | void cpydata (); | ^ 6 warnings generated. mv cpydata.o shared/cpydata.o rm -f cpydata.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c cpydata.c cpydata.c:16:17: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | while ((i = read (in, buffer, sizeof buffer)) > 0) | ^ cpydata.c:17:6: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | if (write (out, buffer, i) != i) | ^ cpydata.c:18:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | adios (ofile, "error writing"); | ^ cpydata.c:21:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | adios (ifile, "error reading"); | ^ cpydata.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void cpydata (in, out, ifile, ofile) | ^ In file included from cpydata.c:3: ./../h/mh.h:259:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 259 | void cpydata (); | ^ 6 warnings generated. ld -x -r cpydata.o mv a.out cpydata.o rm -f cpydgst.o shared/cpydgst.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic cpydgst.c cpydgst.c:50:27: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | for (state = S1; (i = read (in, buffer, sizeof buffer)) > 0;) | ^ cpydgst.c:57:4: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | output ('-'); | ^ cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:26:46: note: expanded from macro 'flush' 26 | #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ | ^ cpydgst.c:57:4: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:27:10: note: expanded from macro 'flush' 27 | adios (ofile, "error writing"); \ | ^ cpydgst.c:58:4: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | output (' '); | ^ cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:26:46: note: expanded from macro 'flush' 26 | #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ | ^ cpydgst.c:58:4: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:27:10: note: expanded from macro 'flush' 27 | adios (ofile, "error writing"); \ | ^ cpydgst.c:63:7: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | output (*cp); | ^ cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:26:46: note: expanded from macro 'flush' 26 | #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ | ^ cpydgst.c:63:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:27:10: note: expanded from macro 'flush' 27 | adios (ofile, "error writing"); \ | ^ cpydgst.c:71:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | adios (ifile, "error reading"); | ^ cpydgst.c:72:5: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | flush (); | ^ cpydgst.c:26:46: note: expanded from macro 'flush' 26 | #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ | ^ cpydgst.c:72:5: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cpydgst.c:27:10: note: expanded from macro 'flush' 27 | adios (ofile, "error writing"); \ | ^ cpydgst.c:33:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | void cpydgst (in, out, ifile, ofile) | ^ In file included from cpydgst.c:6: ./../h/mh.h:260:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 260 | void cpydgst (); | ^ 12 warnings generated. mv cpydgst.o shared/cpydgst.o rm -f cpydgst.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c cpydgst.c cpydgst.c:50:27: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | for (state = S1; (i = read (in, buffer, sizeof buffer)) > 0;) | ^ cpydgst.c:57:4: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | output ('-'); | ^ cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:26:46: note: expanded from macro 'flush' 26 | #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ | ^ cpydgst.c:57:4: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:27:10: note: expanded from macro 'flush' 27 | adios (ofile, "error writing"); \ | ^ cpydgst.c:58:4: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | output (' '); | ^ cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:26:46: note: expanded from macro 'flush' 26 | #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ | ^ cpydgst.c:58:4: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:27:10: note: expanded from macro 'flush' 27 | adios (ofile, "error writing"); \ | ^ cpydgst.c:63:7: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | output (*cp); | ^ cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:26:46: note: expanded from macro 'flush' 26 | #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ | ^ cpydgst.c:63:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:27:10: note: expanded from macro 'flush' 27 | adios (ofile, "error writing"); \ | ^ cpydgst.c:71:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | adios (ifile, "error reading"); | ^ cpydgst.c:72:5: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | flush (); | ^ cpydgst.c:26:46: note: expanded from macro 'flush' 26 | #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ | ^ cpydgst.c:72:5: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cpydgst.c:27:10: note: expanded from macro 'flush' 27 | adios (ofile, "error writing"); \ | ^ cpydgst.c:33:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | void cpydgst (in, out, ifile, ofile) | ^ In file included from cpydgst.c:6: ./../h/mh.h:260:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 260 | void cpydgst (); | ^ 12 warnings generated. ld -x -r cpydgst.o mv a.out cpydgst.o rm -f discard.o shared/discard.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic discard.c discard.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | void discard (io) | ^ In file included from discard.c:6: ./../h/mh.h:261:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 261 | void discard (); | ^ 2 warnings generated. mv discard.o shared/discard.o rm -f discard.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c discard.c discard.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | void discard (io) | ^ In file included from discard.c:6: ./../h/mh.h:261:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 261 | void discard (); | ^ 2 warnings generated. ld -x -r discard.o mv a.out discard.o rm -f done.o shared/done.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic done.c done.c:6:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void done (status) | ^ In file included from done.c:3: ./../h/mh.h:262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 262 | void done (); | ^ 2 warnings generated. mv done.o shared/done.o rm -f done.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c done.c done.c:6:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void done (status) | ^ In file included from done.c:3: ./../h/mh.h:262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 262 | void done (); | ^ 2 warnings generated. ld -x -r done.o mv a.out done.o rm -f fdcompare.o shared/fdcompare.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic fdcompare.c fdcompare.c:10:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 10 | off_t lseek(); | ^ /usr/include/stdio.h:439:10: note: conflicting prototype is here 439 | __off_t lseek(int, __off_t, int); | ^ fdcompare.c:13:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | fdcompare (fd1, fd2) | ^ | int fdcompare.c:27:18: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | while ((n1 = read (fd1, b1, sizeof b1)) >= 0 | ^ fdcompare.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | fdcompare (fd1, fd2) | ^ In file included from fdcompare.c:6: ./../h/mh.h:263:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 263 | int fdcompare (); | ^ 5 warnings generated. mv fdcompare.o shared/fdcompare.o rm -f fdcompare.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c fdcompare.c fdcompare.c:10:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 10 | off_t lseek(); | ^ /usr/include/stdio.h:439:10: note: conflicting prototype is here 439 | __off_t lseek(int, __off_t, int); | ^ fdcompare.c:13:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | fdcompare (fd1, fd2) | ^ | int fdcompare.c:27:18: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | while ((n1 = read (fd1, b1, sizeof b1)) >= 0 | ^ fdcompare.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | fdcompare (fd1, fd2) | ^ In file included from fdcompare.c:6: ./../h/mh.h:263:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 263 | int fdcompare (); | ^ 5 warnings generated. ld -x -r fdcompare.o mv a.out fdcompare.o rm -f gans.o shared/gans.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic gans.c gans.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | gans (prompt, ansp) | ^ | int gans.c:21:11: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | ml_fputs (prompt, stdout); | ^ gans.c:47:18: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | if ((i = smatch (ansbuf, ansp)) < 0) { | ^ gans.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | gans (prompt, ansp) | ^ In file included from gans.c:6: ./../h/mh.h:264:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 264 | int gans (); | ^ 5 warnings generated. mv gans.o shared/gans.o rm -f gans.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c gans.c gans.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | gans (prompt, ansp) | ^ | int gans.c:21:11: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | ml_fputs (prompt, stdout); | ^ gans.c:47:18: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | if ((i = smatch (ansbuf, ansp)) < 0) { | ^ gans.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | gans (prompt, ansp) | ^ In file included from gans.c:6: ./../h/mh.h:264:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 264 | int gans (); | ^ 5 warnings generated. ld -x -r gans.o mv a.out gans.o rm -f getans.o shared/getans.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic getans.c getans.c:66:14: warning: passing arguments to 'printsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | printsw (ALL, ansp, ""); | ^ getans.c:69:18: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | cpp = brkstring (ansbuf, " ", NULLCP); | ^ getans.c:70:17: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | switch (smatch (*cpp, ansp)) { | ^ getans.c:72:11: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | ambigsw (*cpp, ansp); | ^ getans.c:22:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | char **getans (prompt, ansp) | ^ In file included from getans.c:6: ./../h/mh.h:265:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 265 | char **getans (); | ^ getans.c:85:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | static TYPESIG intrser (i) | ^ getans.c:20:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static TYPESIG intrser (); | ^ 8 warnings generated. mv getans.o shared/getans.o rm -f getans.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c getans.c getans.c:66:14: warning: passing arguments to 'printsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | printsw (ALL, ansp, ""); | ^ getans.c:69:18: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | cpp = brkstring (ansbuf, " ", NULLCP); | ^ getans.c:70:17: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | switch (smatch (*cpp, ansp)) { | ^ getans.c:72:11: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | ambigsw (*cpp, ansp); | ^ getans.c:22:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | char **getans (prompt, ansp) | ^ In file included from getans.c:6: ./../h/mh.h:265:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 265 | char **getans (); | ^ getans.c:85:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | static TYPESIG intrser (i) | ^ getans.c:20:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static TYPESIG intrser (); | ^ 8 warnings generated. ld -x -r getans.o mv a.out getans.o rm -f getanswer.o shared/getanswer.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic getanswer.c getanswer.c:13:16: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | interactive = isatty (fileno (stdin)) ? DONE : OK; | ^ getanswer.c:15:32: warning: passing arguments to 'gans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | return (interactive ? gans (prompt, anoyes) : DONE); | ^ getanswer.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | int getanswer (prompt) | ^ In file included from getanswer.c:3: ./../h/mh.h:266:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 266 | int getanswer (); | ^ 4 warnings generated. mv getanswer.o shared/getanswer.o rm -f getanswer.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c getanswer.c getanswer.c:13:16: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | interactive = isatty (fileno (stdin)) ? DONE : OK; | ^ getanswer.c:15:32: warning: passing arguments to 'gans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | return (interactive ? gans (prompt, anoyes) : DONE); | ^ getanswer.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | int getanswer (prompt) | ^ In file included from getanswer.c:3: ./../h/mh.h:266:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 266 | int getanswer (); | ^ 4 warnings generated. ld -x -r getanswer.o mv a.out getanswer.o rm -f getcpy.o shared/getcpy.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic getcpy.c getcpy.c:14:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | adios (NULLCP, "unable to allocate string storage"); | ^ getcpy.c:18:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | adios (NULLCP, "unable to allocate string storage"); | ^ getcpy.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *getcpy (str) | ^ In file included from getcpy.c:3: ./../h/mh.h:267:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 267 | char *getcpy (); | ^ 4 warnings generated. mv getcpy.o shared/getcpy.o rm -f getcpy.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c getcpy.c getcpy.c:14:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | adios (NULLCP, "unable to allocate string storage"); | ^ getcpy.c:18:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | adios (NULLCP, "unable to allocate string storage"); | ^ getcpy.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *getcpy (str) | ^ In file included from getcpy.c:3: ./../h/mh.h:267:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 267 | char *getcpy (); | ^ 4 warnings generated. ld -x -r getcpy.o mv a.out getcpy.o rm -f help.o shared/help.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic help.c help.c:26:13: warning: passing arguments to 'printsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | printsw (ALL, swp, "-"); | ^ help.c:27:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | if ((cp = m_find (invo_name)) != NULL) | ^ help.c:30:17: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if (ssequal ("@(#)", cp = version)) | ^ help.c:45:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 45 | else { | ^ help.c:13:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | void help (str, swp) | ^ In file included from help.c:6: ./../h/mh.h:268:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 268 | void help (); | ^ 6 warnings generated. mv help.o shared/help.o rm -f help.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c help.c help.c:26:13: warning: passing arguments to 'printsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | printsw (ALL, swp, "-"); | ^ help.c:27:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | if ((cp = m_find (invo_name)) != NULL) | ^ help.c:30:17: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if (ssequal ("@(#)", cp = version)) | ^ help.c:45:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 45 | else { | ^ help.c:13:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | void help (str, swp) | ^ In file included from help.c:6: ./../h/mh.h:268:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 268 | void help (); | ^ 6 warnings generated. ld -x -r help.o mv a.out help.o rm -f fmtcompile.o shared/fmtcompile.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic fmtcompile.c fmtcompile.c:139:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 139 | time_t time (); | ^ /usr/include/time.h:131:8: note: conflicting prototype is here 131 | time_t time(time_t *); | ^ fmtcompile.c:148:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 148 | while (nm = t->name) { | ~~~^~~~~~~~~ fmtcompile.c:148:15: note: place parentheses around the assignment to silence this warning 148 | while (nm = t->name) { | ^ | ( ) fmtcompile.c:148:15: note: use '==' to turn this assignment into an equality comparison 148 | while (nm = t->name) { | ^ | == fmtcompile.c:141:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | static struct ftable *lookup(name) | ^ fmtcompile.c:206:44: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | while ((errctx < errpos) && ml_ismlchar(usr_fstring[errpos-errctx])) | ^ fmtcompile.c:211:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | advise(NULLCP, "\"%s\": format compile error - %s", | ^ fmtcompile.c:213:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | adios (NULLCP, "%*s", errctx + 1 - (*cp ? 1 : 0), "^"); | ^ fmtcompile.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | compile_error(str, cp) | ^ fmtcompile.c:234:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 234 | fmt_compile( fstring, fmt ) | ^ | int fmtcompile.c:243:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | format_string = getcpy (fstring); | ^ fmtcompile.c:262:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | adios (NULLCP, "unable to allocate format storage"); | ^ fmtcompile.c:267:17: warning: passing arguments to 'compile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | cp = compile(format_string); | ^ fmtcompile.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | fmt_compile( fstring, fmt ) | ^ fmtcompile.c:314:16: warning: passing arguments to 'do_if' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | cp = do_if(++cp); | ^ fmtcompile.c:318:18: warning: passing arguments to 'do_loop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | cp = do_loop(++cp); | ^ fmtcompile.c:328:18: warning: passing arguments to 'do_spec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | cp = do_spec(cp); | ^ fmtcompile.c:277:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | static char *compile (sp) | ^ fmtcompile.c:180:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 180 | static char *compile(); | ^ fmtcompile.c:360:14: warning: passing arguments to 'do_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | cp = do_name(cp, 0); | ^ fmtcompile.c:365:14: warning: passing arguments to 'do_func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | cp = do_func(cp); | ^ fmtcompile.c:335:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | static char *do_spec(sp) | ^ fmtcompile.c:181:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 181 | static char *do_spec(); | ^ fmtcompile.c:419:22: warning: passing arguments to 'ismymbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | (void) ismymbox ((struct mailname *) 0); | ^ fmtcompile.c:386:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | static char *do_name(sp, preprocess) | ^ fmtcompile.c:182:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | static char *do_name(); | ^ fmtcompile.c:481:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 481 | if (mflag = (c == '-')) | ~~~~~~^~~~~~~~~~~~ fmtcompile.c:481:12: note: place parentheses around the assignment to silence this warning 481 | if (mflag = (c == '-')) | ^ | ( ) fmtcompile.c:481:12: note: use '==' to turn this assignment into an equality comparison 481 | if (mflag = (c == '-')) | ^ | == fmtcompile.c:518:14: warning: passing arguments to 'do_expr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | cp = do_expr(cp, t->extra); | ^ fmtcompile.c:526:14: warning: passing arguments to 'do_expr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | cp = do_expr(cp, t->extra); | ^ fmtcompile.c:446:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | static char *do_func(sp) | ^ fmtcompile.c:183:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 183 | static char *do_func(); | ^ fmtcompile.c:538:27: warning: parameter 'preprocess' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 538 | static char *do_expr (sp, preprocess) | ^ 539 | char *sp; 540 | { fmtcompile.c:552:13: warning: passing arguments to 'do_if' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | cp = do_if (cp+1); | ^ fmtcompile.c:538:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | static char *do_expr (sp, preprocess) | ^ fmtcompile.c:184:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | static char *do_expr(); | ^ fmtcompile.c:559:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | static char *do_loop(sp) | ^ fmtcompile.c:186:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | static char *do_loop(); | ^ fmtcompile.c:577:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | static char *do_if(sp) | ^ fmtcompile.c:185:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 185 | static char *do_if(); | ^ 37 warnings generated. mv fmtcompile.o shared/fmtcompile.o rm -f fmtcompile.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c fmtcompile.c fmtcompile.c:139:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 139 | time_t time (); | ^ /usr/include/time.h:131:8: note: conflicting prototype is here 131 | time_t time(time_t *); | ^ fmtcompile.c:148:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 148 | while (nm = t->name) { | ~~~^~~~~~~~~ fmtcompile.c:148:15: note: place parentheses around the assignment to silence this warning 148 | while (nm = t->name) { | ^ | ( ) fmtcompile.c:148:15: note: use '==' to turn this assignment into an equality comparison 148 | while (nm = t->name) { | ^ | == fmtcompile.c:141:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | static struct ftable *lookup(name) | ^ fmtcompile.c:206:44: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | while ((errctx < errpos) && ml_ismlchar(usr_fstring[errpos-errctx])) | ^ fmtcompile.c:211:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | advise(NULLCP, "\"%s\": format compile error - %s", | ^ fmtcompile.c:213:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | adios (NULLCP, "%*s", errctx + 1 - (*cp ? 1 : 0), "^"); | ^ fmtcompile.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | compile_error(str, cp) | ^ fmtcompile.c:234:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 234 | fmt_compile( fstring, fmt ) | ^ | int fmtcompile.c:243:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | format_string = getcpy (fstring); | ^ fmtcompile.c:262:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | adios (NULLCP, "unable to allocate format storage"); | ^ fmtcompile.c:267:17: warning: passing arguments to 'compile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | cp = compile(format_string); | ^ fmtcompile.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | fmt_compile( fstring, fmt ) | ^ fmtcompile.c:314:16: warning: passing arguments to 'do_if' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | cp = do_if(++cp); | ^ fmtcompile.c:318:18: warning: passing arguments to 'do_loop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | cp = do_loop(++cp); | ^ fmtcompile.c:328:18: warning: passing arguments to 'do_spec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | cp = do_spec(cp); | ^ fmtcompile.c:277:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | static char *compile (sp) | ^ fmtcompile.c:180:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 180 | static char *compile(); | ^ fmtcompile.c:360:14: warning: passing arguments to 'do_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | cp = do_name(cp, 0); | ^ fmtcompile.c:365:14: warning: passing arguments to 'do_func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | cp = do_func(cp); | ^ fmtcompile.c:335:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | static char *do_spec(sp) | ^ fmtcompile.c:181:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 181 | static char *do_spec(); | ^ fmtcompile.c:419:22: warning: passing arguments to 'ismymbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | (void) ismymbox ((struct mailname *) 0); | ^ fmtcompile.c:386:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | static char *do_name(sp, preprocess) | ^ fmtcompile.c:182:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | static char *do_name(); | ^ fmtcompile.c:481:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 481 | if (mflag = (c == '-')) | ~~~~~~^~~~~~~~~~~~ fmtcompile.c:481:12: note: place parentheses around the assignment to silence this warning 481 | if (mflag = (c == '-')) | ^ | ( ) fmtcompile.c:481:12: note: use '==' to turn this assignment into an equality comparison 481 | if (mflag = (c == '-')) | ^ | == fmtcompile.c:518:14: warning: passing arguments to 'do_expr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | cp = do_expr(cp, t->extra); | ^ fmtcompile.c:526:14: warning: passing arguments to 'do_expr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | cp = do_expr(cp, t->extra); | ^ fmtcompile.c:446:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | static char *do_func(sp) | ^ fmtcompile.c:183:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 183 | static char *do_func(); | ^ fmtcompile.c:538:27: warning: parameter 'preprocess' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 538 | static char *do_expr (sp, preprocess) | ^ 539 | char *sp; 540 | { fmtcompile.c:552:13: warning: passing arguments to 'do_if' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | cp = do_if (cp+1); | ^ fmtcompile.c:538:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | static char *do_expr (sp, preprocess) | ^ fmtcompile.c:184:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | static char *do_expr(); | ^ fmtcompile.c:559:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | static char *do_loop(sp) | ^ fmtcompile.c:186:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | static char *do_loop(); | ^ fmtcompile.c:577:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | static char *do_if(sp) | ^ fmtcompile.c:185:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 185 | static char *do_if(); | ^ 37 warnings generated. ld -x -r fmtcompile.o mv a.out fmtcompile.o rm -f formataddr.o shared/formataddr.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic formataddr.c formataddr.c:61:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | adios (NULLCP, "formataddr: couldn't allocate buffer space"); | ^ formataddr.c:77:2: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | CHECKMEM (orig); | ^ formataddr.c:28:13: note: expanded from macro 'CHECKMEM' 28 | adios (NULLCP, "formataddr: couldn't get buffer space");\ | ^ formataddr.c:78:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 78 | CPY (orig); | ^~~~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ~~~~~~~^~~~~~~ formataddr.c:78:2: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:78:2: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:82:36: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | for (isgroup = 0; cp = getname (str); ) { | ^ formataddr.c:82:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 82 | for (isgroup = 0; cp = getname (str); ) { | ~~~^~~~~~~~~~~~~~~ formataddr.c:82:26: note: place parentheses around the assignment to silence this warning 82 | for (isgroup = 0; cp = getname (str); ) { | ^ | ( ) formataddr.c:82:26: note: use '==' to turn this assignment into an equality comparison 82 | for (isgroup = 0; cp = getname (str); ) { | ^ | == formataddr.c:83:17: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | if ((mp = getm (cp, NULLCP, 0, fmt_norm, NULLCP)) == NULL) | ^ formataddr.c:96:6: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | CHECKMEM (mp->m_gname); | ^ formataddr.c:28:13: note: expanded from macro 'CHECKMEM' 28 | adios (NULLCP, "formataddr: couldn't get buffer space");\ | ^ formataddr.c:97:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 97 | CPY (mp->m_gname); | ^~~~~~~~~~~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ~~~~~~~^~~~~~~ formataddr.c:97:6: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:97:6: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:100:7: warning: passing arguments to 'auxformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | sp = adrformat (mp); | ^ ./../h/addrsbr.h:43:32: note: expanded from macro 'adrformat' 43 | #define adrformat(m) auxformat ((m), 1) | ^ formataddr.c:101:2: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | CHECKMEM (sp); | ^ formataddr.c:28:13: note: expanded from macro 'CHECKMEM' 28 | adios (NULLCP, "formataddr: couldn't get buffer space");\ | ^ formataddr.c:102:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 102 | CPY (sp); | ^~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ~~~~~~~^~~~~~~ formataddr.c:102:2: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:102:2: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:103:9: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | mnfree (mp); | ^ formataddr.c:46:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | char *formataddr (orig, str) | ^ 13 warnings generated. mv formataddr.o shared/formataddr.o rm -f formataddr.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c formataddr.c formataddr.c:61:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | adios (NULLCP, "formataddr: couldn't allocate buffer space"); | ^ formataddr.c:77:2: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | CHECKMEM (orig); | ^ formataddr.c:28:13: note: expanded from macro 'CHECKMEM' 28 | adios (NULLCP, "formataddr: couldn't get buffer space");\ | ^ formataddr.c:78:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 78 | CPY (orig); | ^~~~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ~~~~~~~^~~~~~~ formataddr.c:78:2: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:78:2: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:82:36: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | for (isgroup = 0; cp = getname (str); ) { | ^ formataddr.c:82:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 82 | for (isgroup = 0; cp = getname (str); ) { | ~~~^~~~~~~~~~~~~~~ formataddr.c:82:26: note: place parentheses around the assignment to silence this warning 82 | for (isgroup = 0; cp = getname (str); ) { | ^ | ( ) formataddr.c:82:26: note: use '==' to turn this assignment into an equality comparison 82 | for (isgroup = 0; cp = getname (str); ) { | ^ | == formataddr.c:83:17: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | if ((mp = getm (cp, NULLCP, 0, fmt_norm, NULLCP)) == NULL) | ^ formataddr.c:96:6: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | CHECKMEM (mp->m_gname); | ^ formataddr.c:28:13: note: expanded from macro 'CHECKMEM' 28 | adios (NULLCP, "formataddr: couldn't get buffer space");\ | ^ formataddr.c:97:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 97 | CPY (mp->m_gname); | ^~~~~~~~~~~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ~~~~~~~^~~~~~~ formataddr.c:97:6: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:97:6: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:100:7: warning: passing arguments to 'auxformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | sp = adrformat (mp); | ^ ./../h/addrsbr.h:43:32: note: expanded from macro 'adrformat' 43 | #define adrformat(m) auxformat ((m), 1) | ^ formataddr.c:101:2: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | CHECKMEM (sp); | ^ formataddr.c:28:13: note: expanded from macro 'CHECKMEM' 28 | adios (NULLCP, "formataddr: couldn't get buffer space");\ | ^ formataddr.c:102:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 102 | CPY (sp); | ^~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ~~~~~~~^~~~~~~ formataddr.c:102:2: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:102:2: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:103:9: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | mnfree (mp); | ^ formataddr.c:46:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | char *formataddr (orig, str) | ^ 13 warnings generated. ld -x -r formataddr.o mv a.out formataddr.o rm -f formatsbr.o shared/formatsbr.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic formatsbr.c formatsbr.c:28:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | static normalize(); | ~~~~~~ ^ | int formatsbr.c:38:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 38 | time_t time (); | ^ /usr/include/time.h:131:8: note: conflicting prototype is here 131 | time_t time(time_t *); | ^ formatsbr.c:56:27: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if ((fp = fopen (libpath (form), "r")) == NULL) | ^ formatsbr.c:57:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | adios (form, "unable to open format file"); | ^ formatsbr.c:60:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | adios (form, "unable to stat format file"); | ^ formatsbr.c:63:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | adios (form, "unable to allocate space for format"); | ^ formatsbr.c:65:6: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | if (read (fileno(fp), formats, (int) st.st_size) != st.st_size) | ^ formatsbr.c:66:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | adios (form, "error reading format file"); | ^ formatsbr.c:73:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | formats = getcpy (format ? format : def); | ^ formatsbr.c:77:19: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | (void) ml_conv(formats); | ^ formatsbr.c:80:15: warning: passing arguments to 'normalize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | normalize (formats); | ^ formatsbr.c:44:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | char *new_fs (form, format, def) | ^ In file included from formatsbr.c:8: ./../h/formatsbr.h:83:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | char *new_fs (); | ^ formatsbr.c:87:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | static normalize (cp) | ~~~~~~ ^ | int formatsbr.c:87:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] formatsbr.c:28:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static normalize(); | ^ formatsbr.c:133:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 133 | while (c1 = *sub) { | ~~~^~~~~~ formatsbr.c:133:15: note: place parentheses around the assignment to silence this warning 133 | while (c1 = *sub) { | ^ | ( ) formatsbr.c:133:15: note: use '==' to turn this assignment into an equality comparison 133 | while (c1 = *sub) { | ^ | == formatsbr.c:123:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | static int match (str, sub) | ^ formatsbr.c:443:23: warning: passing arguments to 'get_x400_comp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | if (get_x400_comp (mbox, "/PN=", buffer)) { | ^ formatsbr.c:444:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 444 | for (mbox = buffer; mbox = index (mbox, '.'); ) | ~~~~~^~~~~~~~~~~~~~~~~~~ formatsbr.c:444:27: note: place parentheses around the assignment to silence this warning 444 | for (mbox = buffer; mbox = index (mbox, '.'); ) | ^ | ( ) formatsbr.c:444:27: note: use '==' to turn this assignment into an equality comparison 444 | for (mbox = buffer; mbox = index (mbox, '.'); ) | ^ | == formatsbr.c:450:24: warning: passing arguments to 'get_x400_comp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | if (!get_x400_comp (mbox, "/S=", surname)) | ^ formatsbr.c:453:23: warning: passing arguments to 'get_x400_comp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | if (get_x400_comp (mbox, "/G=", given)) | ^ formatsbr.c:429:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | static char *get_x400_friendly (mbox, buffer) | ^ formatsbr.c:469:26: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | if ((idx = stringdex (key, mbox)) < 0 | ^ formatsbr.c:473:32: warning: field width should have type 'int', but argument has type 'long' [-Wformat] 473 | (void) sprintf (buffer, "%*.*s", cp - mbox, cp - mbox, mbox); | ~~^~~ ~~~~~~~~~ formatsbr.c:461:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | static int get_x400_comp (mbox, key, buffer) | ^ formatsbr.c:29:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | static int get_x400_comp(); | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | PUTS (cp, fmt->f_comp->c_text); | ^ formatsbr.c:402:21: note: expanded from macro 'PUTS' 402 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^ formatsbr.c:374:21: note: expanded from macro 'PUTSF' 374 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | PUTS (cp, str); | ^ formatsbr.c:402:21: note: expanded from macro 'PUTS' 402 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^ formatsbr.c:374:21: note: expanded from macro 'PUTSF' 374 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:537:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | adios (NULLCP, "internal error (FT_STRFW)"); | ^ formatsbr.c:589:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 589 | if (!(value = (str && match (str, fmt->f_text)))) { | ^~~ formatsbr.c:589:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 589 | if (!(value = (str && match (str, fmt->f_text)))) { | ^~~~~~~~~~~ formatsbr.c:597:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 597 | value = match (str, fmt->f_text); | ^~~ formatsbr.c:597:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 597 | value = match (str, fmt->f_text); | ^~~~~~~~~~~ formatsbr.c:603:33: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | if (!(value = (str && uprf (str, fmt->f_text)))) { | ^ formatsbr.c:610:19: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | value = uprf (str, fmt->f_text); | ^ formatsbr.c:645:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | adios(NULLCP, "out of memory"); | ^ formatsbr.c:646:23: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | (void) exthdr_encode(str, ep, 0, ""); | ^ formatsbr.c:656:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | adios(NULLCP, "out of memory"); | ^ formatsbr.c:657:23: warning: passing arguments to 'exthdr_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | (void) exthdr_decode(str, ep); | ^ formatsbr.c:676:25: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | if (!(str = m_find (fmt->f_text))) | ^ formatsbr.c:691:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 691 | SKIP_SPACE(str); | ^~~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:691:7: note: place parentheses around the assignment to silence this warning formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:691:7: note: use '==' to turn this assignment into an equality comparison formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:691:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 691 | SKIP_SPACE(str); | ^~~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:691:7: note: place parentheses around the assignment to silence this warning formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:691:7: note: use '==' to turn this assignment into an equality comparison formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:707:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 707 | while (ch = *xp++) { | ~~~^~~~~~~ formatsbr.c:707:17: note: place parentheses around the assignment to silence this warning 707 | while (ch = *xp++) { | ^ | ( ) formatsbr.c:707:17: note: use '==' to turn this assignment into an equality comparison 707 | while (ch = *xp++) { | ^ | == formatsbr.c:711:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 711 | if (ch2 = *xp++) { | ~~~~^~~~~~~ formatsbr.c:711:16: note: place parentheses around the assignment to silence this warning 711 | if (ch2 = *xp++) { | ^ | ( ) formatsbr.c:711:16: note: use '==' to turn this assignment into an equality comparison 711 | if (ch2 = *xp++) { | ^ | == formatsbr.c:724:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 724 | while (ch = *str) { | ~~~^~~~~~ formatsbr.c:724:14: note: place parentheses around the assignment to silence this warning 724 | while (ch = *str) { | ^ | ( ) formatsbr.c:724:14: note: use '==' to turn this assignment into an equality comparison 724 | while (ch = *str) { | ^ | == formatsbr.c:804:12: warning: passing arguments to 'dtimezone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | str = dtwszone (fmt->f_comp->c_tws); | ^ ./../zotnet/tws.h:58:32: note: expanded from macro 'dtwszone' 58 | #define dtwszone(tw) dtimezone (tw -> tw_zone, tw -> tw_flags) | ^ formatsbr.c:815:3: warning: call to undeclared function 'set_dotw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 815 | set_dotw (tws); | ^ formatsbr.c:836:18: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | value = twclock(fmt->f_comp->c_tws); | ^ formatsbr.c:840:14: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | l = twclock(fmt->f_comp->c_tws); | ^ formatsbr.c:864:21: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | str = dasctime ( fmt->f_comp->c_tws , TW_ZONE); | ^ formatsbr.c:867:21: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | str = dasctime ( fmt->f_comp->c_tws, TW_NULL); | ^ formatsbr.c:889:12: warning: passing arguments to 'auxformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | str = adrformat( fmt->f_comp->c_mn ); | ^ ./../h/addrsbr.h:43:32: note: expanded from macro 'adrformat' 43 | #define adrformat(m) auxformat ((m), 1) | ^ formatsbr.c:913:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 913 | if (str = mn -> m_note) { | ~~~~^~~~~~~~~~~~~~ formatsbr.c:913:11: note: place parentheses around the assignment to silence this warning 913 | if (str = mn -> m_note) { | ^ | ( ) formatsbr.c:913:11: note: use '==' to turn this assignment into an equality comparison 913 | if (str = mn -> m_note) { | ^ | == formatsbr.c:955:14: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | l = twclock(comp->c_tws); | ^ formatsbr.c:956:22: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | tws = dlocaltime(&l); | ^ formatsbr.c:963:14: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | l = twclock(comp->c_tws); | ^ formatsbr.c:964:19: warning: passing arguments to 'dgmtime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | tws = dgmtime(&l); | ^ formatsbr.c:970:50: warning: passing arguments to 'dparsetime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | if ((sp = comp->c_text) && (tws = dparsetime(sp))) { | ^ formatsbr.c:981:23: warning: passing arguments to 'formataddr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | str = formataddr (savestr, str); | ^ formatsbr.c:1017:12: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | if (uprf(lp + (*lp == '(' ? 1 : 0), "=?")) { | ^ formatsbr.c:1022:16: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | if (uprf(pp - (*(pp-1) == ')' ? 3 : 2), "?=")) { | ^ formatsbr.c:1040:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1040 | } else | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | PUTS (cp, lp); | ^ formatsbr.c:402:21: note: expanded from macro 'PUTS' 402 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1061:10: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | mnfree (comp->c_mn); | ^ formatsbr.c:1062:46: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | if ((sp = comp->c_text) && (sp = getname(sp)) && | ^ formatsbr.c:1063:14: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | (mn = getm (sp, NULLCP, 0, fmt_norm, NULLCP))) { | ^ formatsbr.c:1065:17: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | while (getname("")) | ^ formatsbr.c:1068:17: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | while (getname("")) /* XXX */ | ^ formatsbr.c:1082:10: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | mnfree (comp->c_mn); | ^ formatsbr.c:1083:46: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | if ((sp = comp->c_text) && (sp = getname(sp)) && | ^ formatsbr.c:1084:14: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | (mn = getm (sp, NULLCP, 0, AD_NAME, NULLCP))) { | ^ formatsbr.c:1086:27: warning: passing arguments to 'ismymbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | comp->c_flags = ismymbox(mn); | ^ formatsbr.c:1087:22: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | while (sp = getname(sp)) | ^ formatsbr.c:1087:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1087 | while (sp = getname(sp)) | ~~~^~~~~~~~~~~~~ formatsbr.c:1087:13: note: place parentheses around the assignment to silence this warning 1087 | while (sp = getname(sp)) | ^ | ( ) formatsbr.c:1087:13: note: use '==' to turn this assignment into an equality comparison 1087 | while (sp = getname(sp)) | ^ | == formatsbr.c:1089:15: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | (mn = getm (sp, NULLCP, 0, AD_NAME, NULLCP))) | ^ formatsbr.c:1090:29: warning: passing arguments to 'ismymbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | comp->c_flags |= ismymbox(mn); | ^ formatsbr.c:1092:17: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | while (getname("")) /* XXX */ | ^ formatsbr.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | fmtscan (format, scanl, width, dat) | ^ In file included from formatsbr.c:8: ./../h/formatsbr.h:82:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | struct format *fmtscan (); | ^ 117 warnings generated. mv formatsbr.o shared/formatsbr.o rm -f formatsbr.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c formatsbr.c formatsbr.c:28:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | static normalize(); | ~~~~~~ ^ | int formatsbr.c:38:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 38 | time_t time (); | ^ /usr/include/time.h:131:8: note: conflicting prototype is here 131 | time_t time(time_t *); | ^ formatsbr.c:56:27: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if ((fp = fopen (libpath (form), "r")) == NULL) | ^ formatsbr.c:57:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | adios (form, "unable to open format file"); | ^ formatsbr.c:60:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | adios (form, "unable to stat format file"); | ^ formatsbr.c:63:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | adios (form, "unable to allocate space for format"); | ^ formatsbr.c:65:6: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | if (read (fileno(fp), formats, (int) st.st_size) != st.st_size) | ^ formatsbr.c:66:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | adios (form, "error reading format file"); | ^ formatsbr.c:73:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | formats = getcpy (format ? format : def); | ^ formatsbr.c:77:19: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | (void) ml_conv(formats); | ^ formatsbr.c:80:15: warning: passing arguments to 'normalize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | normalize (formats); | ^ formatsbr.c:44:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | char *new_fs (form, format, def) | ^ In file included from formatsbr.c:8: ./../h/formatsbr.h:83:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | char *new_fs (); | ^ formatsbr.c:87:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | static normalize (cp) | ~~~~~~ ^ | int formatsbr.c:87:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] formatsbr.c:28:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static normalize(); | ^ formatsbr.c:133:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 133 | while (c1 = *sub) { | ~~~^~~~~~ formatsbr.c:133:15: note: place parentheses around the assignment to silence this warning 133 | while (c1 = *sub) { | ^ | ( ) formatsbr.c:133:15: note: use '==' to turn this assignment into an equality comparison 133 | while (c1 = *sub) { | ^ | == formatsbr.c:123:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | static int match (str, sub) | ^ formatsbr.c:443:23: warning: passing arguments to 'get_x400_comp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | if (get_x400_comp (mbox, "/PN=", buffer)) { | ^ formatsbr.c:444:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 444 | for (mbox = buffer; mbox = index (mbox, '.'); ) | ~~~~~^~~~~~~~~~~~~~~~~~~ formatsbr.c:444:27: note: place parentheses around the assignment to silence this warning 444 | for (mbox = buffer; mbox = index (mbox, '.'); ) | ^ | ( ) formatsbr.c:444:27: note: use '==' to turn this assignment into an equality comparison 444 | for (mbox = buffer; mbox = index (mbox, '.'); ) | ^ | == formatsbr.c:450:24: warning: passing arguments to 'get_x400_comp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | if (!get_x400_comp (mbox, "/S=", surname)) | ^ formatsbr.c:453:23: warning: passing arguments to 'get_x400_comp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | if (get_x400_comp (mbox, "/G=", given)) | ^ formatsbr.c:429:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | static char *get_x400_friendly (mbox, buffer) | ^ formatsbr.c:469:26: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | if ((idx = stringdex (key, mbox)) < 0 | ^ formatsbr.c:473:32: warning: field width should have type 'int', but argument has type 'long' [-Wformat] 473 | (void) sprintf (buffer, "%*.*s", cp - mbox, cp - mbox, mbox); | ~~^~~ ~~~~~~~~~ formatsbr.c:461:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | static int get_x400_comp (mbox, key, buffer) | ^ formatsbr.c:29:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | static int get_x400_comp(); | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | PUTS (cp, fmt->f_comp->c_text); | ^ formatsbr.c:402:21: note: expanded from macro 'PUTS' 402 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^ formatsbr.c:374:21: note: expanded from macro 'PUTSF' 374 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | PUTS (cp, str); | ^ formatsbr.c:402:21: note: expanded from macro 'PUTS' 402 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^ formatsbr.c:374:21: note: expanded from macro 'PUTSF' 374 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:537:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | adios (NULLCP, "internal error (FT_STRFW)"); | ^ formatsbr.c:589:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 589 | if (!(value = (str && match (str, fmt->f_text)))) { | ^~~ formatsbr.c:589:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 589 | if (!(value = (str && match (str, fmt->f_text)))) { | ^~~~~~~~~~~ formatsbr.c:597:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 597 | value = match (str, fmt->f_text); | ^~~ formatsbr.c:597:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 597 | value = match (str, fmt->f_text); | ^~~~~~~~~~~ formatsbr.c:603:33: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | if (!(value = (str && uprf (str, fmt->f_text)))) { | ^ formatsbr.c:610:19: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | value = uprf (str, fmt->f_text); | ^ formatsbr.c:645:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | adios(NULLCP, "out of memory"); | ^ formatsbr.c:646:23: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | (void) exthdr_encode(str, ep, 0, ""); | ^ formatsbr.c:656:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | adios(NULLCP, "out of memory"); | ^ formatsbr.c:657:23: warning: passing arguments to 'exthdr_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | (void) exthdr_decode(str, ep); | ^ formatsbr.c:676:25: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | if (!(str = m_find (fmt->f_text))) | ^ formatsbr.c:691:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 691 | SKIP_SPACE(str); | ^~~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:691:7: note: place parentheses around the assignment to silence this warning formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:691:7: note: use '==' to turn this assignment into an equality comparison formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:691:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 691 | SKIP_SPACE(str); | ^~~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:691:7: note: place parentheses around the assignment to silence this warning formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:691:7: note: use '==' to turn this assignment into an equality comparison formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:707:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 707 | while (ch = *xp++) { | ~~~^~~~~~~ formatsbr.c:707:17: note: place parentheses around the assignment to silence this warning 707 | while (ch = *xp++) { | ^ | ( ) formatsbr.c:707:17: note: use '==' to turn this assignment into an equality comparison 707 | while (ch = *xp++) { | ^ | == formatsbr.c:711:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 711 | if (ch2 = *xp++) { | ~~~~^~~~~~~ formatsbr.c:711:16: note: place parentheses around the assignment to silence this warning 711 | if (ch2 = *xp++) { | ^ | ( ) formatsbr.c:711:16: note: use '==' to turn this assignment into an equality comparison 711 | if (ch2 = *xp++) { | ^ | == formatsbr.c:724:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 724 | while (ch = *str) { | ~~~^~~~~~ formatsbr.c:724:14: note: place parentheses around the assignment to silence this warning 724 | while (ch = *str) { | ^ | ( ) formatsbr.c:724:14: note: use '==' to turn this assignment into an equality comparison 724 | while (ch = *str) { | ^ | == formatsbr.c:804:12: warning: passing arguments to 'dtimezone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | str = dtwszone (fmt->f_comp->c_tws); | ^ ./../zotnet/tws.h:58:32: note: expanded from macro 'dtwszone' 58 | #define dtwszone(tw) dtimezone (tw -> tw_zone, tw -> tw_flags) | ^ formatsbr.c:815:3: warning: call to undeclared function 'set_dotw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 815 | set_dotw (tws); | ^ formatsbr.c:836:18: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | value = twclock(fmt->f_comp->c_tws); | ^ formatsbr.c:840:14: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | l = twclock(fmt->f_comp->c_tws); | ^ formatsbr.c:864:21: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | str = dasctime ( fmt->f_comp->c_tws , TW_ZONE); | ^ formatsbr.c:867:21: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | str = dasctime ( fmt->f_comp->c_tws, TW_NULL); | ^ formatsbr.c:889:12: warning: passing arguments to 'auxformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | str = adrformat( fmt->f_comp->c_mn ); | ^ ./../h/addrsbr.h:43:32: note: expanded from macro 'adrformat' 43 | #define adrformat(m) auxformat ((m), 1) | ^ formatsbr.c:913:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 913 | if (str = mn -> m_note) { | ~~~~^~~~~~~~~~~~~~ formatsbr.c:913:11: note: place parentheses around the assignment to silence this warning 913 | if (str = mn -> m_note) { | ^ | ( ) formatsbr.c:913:11: note: use '==' to turn this assignment into an equality comparison 913 | if (str = mn -> m_note) { | ^ | == formatsbr.c:955:14: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | l = twclock(comp->c_tws); | ^ formatsbr.c:956:22: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | tws = dlocaltime(&l); | ^ formatsbr.c:963:14: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | l = twclock(comp->c_tws); | ^ formatsbr.c:964:19: warning: passing arguments to 'dgmtime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | tws = dgmtime(&l); | ^ formatsbr.c:970:50: warning: passing arguments to 'dparsetime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | if ((sp = comp->c_text) && (tws = dparsetime(sp))) { | ^ formatsbr.c:981:23: warning: passing arguments to 'formataddr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | str = formataddr (savestr, str); | ^ formatsbr.c:1017:12: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | if (uprf(lp + (*lp == '(' ? 1 : 0), "=?")) { | ^ formatsbr.c:1022:16: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | if (uprf(pp - (*(pp-1) == ')' ? 3 : 2), "?=")) { | ^ formatsbr.c:1040:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1040 | } else | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | PUTS (cp, lp); | ^ formatsbr.c:402:21: note: expanded from macro 'PUTS' 402 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1061:10: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | mnfree (comp->c_mn); | ^ formatsbr.c:1062:46: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | if ((sp = comp->c_text) && (sp = getname(sp)) && | ^ formatsbr.c:1063:14: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | (mn = getm (sp, NULLCP, 0, fmt_norm, NULLCP))) { | ^ formatsbr.c:1065:17: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | while (getname("")) | ^ formatsbr.c:1068:17: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | while (getname("")) /* XXX */ | ^ formatsbr.c:1082:10: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | mnfree (comp->c_mn); | ^ formatsbr.c:1083:46: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | if ((sp = comp->c_text) && (sp = getname(sp)) && | ^ formatsbr.c:1084:14: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | (mn = getm (sp, NULLCP, 0, AD_NAME, NULLCP))) { | ^ formatsbr.c:1086:27: warning: passing arguments to 'ismymbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | comp->c_flags = ismymbox(mn); | ^ formatsbr.c:1087:22: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | while (sp = getname(sp)) | ^ formatsbr.c:1087:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1087 | while (sp = getname(sp)) | ~~~^~~~~~~~~~~~~ formatsbr.c:1087:13: note: place parentheses around the assignment to silence this warning 1087 | while (sp = getname(sp)) | ^ | ( ) formatsbr.c:1087:13: note: use '==' to turn this assignment into an equality comparison 1087 | while (sp = getname(sp)) | ^ | == formatsbr.c:1089:15: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | (mn = getm (sp, NULLCP, 0, AD_NAME, NULLCP))) | ^ formatsbr.c:1090:29: warning: passing arguments to 'ismymbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | comp->c_flags |= ismymbox(mn); | ^ formatsbr.c:1092:17: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | while (getname("")) /* XXX */ | ^ formatsbr.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | fmtscan (format, scanl, width, dat) | ^ In file included from formatsbr.c:8: ./../h/formatsbr.h:82:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | struct format *fmtscan (); | ^ 117 warnings generated. ld -x -r formatsbr.o mv a.out formatsbr.o rm -f m_atoi.o shared/m_atoi.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_atoi.c m_atoi.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 9 | m_atoi (str) | ^ | int m_atoi.c:9:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from m_atoi.c:6: ./../h/mh.h:270:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 270 | int m_atoi (); | ^ 3 warnings generated. mv m_atoi.o shared/m_atoi.o rm -f m_atoi.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_atoi.c m_atoi.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 9 | m_atoi (str) | ^ | int m_atoi.c:9:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from m_atoi.c:6: ./../h/mh.h:270:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 270 | int m_atoi (); | ^ 3 warnings generated. ld -x -r m_atoi.o mv a.out m_atoi.o rm -f m_backup.o shared/m_backup.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_backup.c m_backup.c:13:24: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | if ((cp = r1bindex (file, '/')) == file) | ^ m_backup.c:16:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 16 | (void) sprintf (buffer, "%.*s%s%s", cp - file, file, SBACKUP, cp); | ~~^~ ~~~~~~~~~ m_backup.c:17:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | (void) (unlink (buffer)); | ^ m_backup.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *m_backup (file) | ^ In file included from m_backup.c:3: ./../h/mh.h:271:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 271 | char *m_backup (); | ^ 5 warnings generated. mv m_backup.o shared/m_backup.o rm -f m_backup.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_backup.c m_backup.c:13:24: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | if ((cp = r1bindex (file, '/')) == file) | ^ m_backup.c:16:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 16 | (void) sprintf (buffer, "%.*s%s%s", cp - file, file, SBACKUP, cp); | ~~^~ ~~~~~~~~~ m_backup.c:17:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | (void) (unlink (buffer)); | ^ m_backup.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *m_backup (file) | ^ In file included from m_backup.c:3: ./../h/mh.h:271:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 271 | char *m_backup (); | ^ 5 warnings generated. ld -x -r m_backup.o mv a.out m_backup.o rm -f m_convert.o shared/m_convert.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_convert.c m_convert.c:24:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 24 | static m_conv(), attr(); | ~~~~~~ ^ | int m_convert.c:24:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 24 | static m_conv(), attr(); | ~~~~~~ ^ | int m_convert.c:27:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 27 | m_convert (mp, name) | ^ | int m_convert.c:40:24: warning: passing arguments to 'attr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | switch (err = attr (mp, cp = name)) { | ^ m_convert.c:59:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 59 | else | ^ m_convert.c:63:31: warning: passing arguments to 'm_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if ((err = first = m_conv (mp, cp, FIRST)) <= 0) | ^ m_convert.c:67:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | advise (NULLCP, "illegal argument delimiter: `%c'(0%o)", | ^ m_convert.c:73:27: warning: passing arguments to 'm_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if ((err = last = m_conv (mp, cp, LAST)) <= 0) { | ^ m_convert.c:77:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | advise (NULLCP, "no %s message", cp); | ^ m_convert.c:81:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | advise (NULLCP, "message %s doesn't exist", cp); | ^ m_convert.c:85:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | advise (NULLCP, "message %s out of range 1-%d", | ^ m_convert.c:91:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | advise (NULLCP, "bad message list %s", name); | ^ m_convert.c:95:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | advise (NULLCP, "folder full, no %s message", name); | ^ m_convert.c:99:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | advise (NULLCP, "no messages match specification"); | ^ m_convert.c:109:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | advise (NULLCP, "no messages in range %s", name); | ^ m_convert.c:164:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | advise (NULLCP, "no %s message", name); | ^ m_convert.c:166:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | advise (NULLCP, "message %d doesn't exist", first); | ^ m_convert.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | m_convert (mp, name) | ^ In file included from m_convert.c:6: ./../h/mh.h:272:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 272 | int m_convert (); | ^ m_convert.c:194:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 194 | static m_conv (mp, str, call) | ~~~~~~ ^ | int m_convert.c:194:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] m_convert.c:24:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | static m_conv(), attr(); | ^ m_convert.c:262:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 262 | static attr (mp, cp) | ~~~~~~ ^ | int m_convert.c:278:17: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | if (ssequal ("cur:", cp)) /* this code need to be rewritten... */ | ^ m_convert.c:281:33: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ^ m_convert.c:281:64: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ^ m_convert.c:281:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_convert.c:281:18: note: place parentheses around the assignment to silence this warning 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ^ | ( ) m_convert.c:281:18: note: use '==' to turn this assignment into an equality comparison 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ^ | == m_convert.c:364:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | advise (NULLCP, "sequence %s %s", cp, inverted ? "full" : "empty"); | ^ m_convert.c:262:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | static attr (mp, cp) | ^ m_convert.c:24:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | static m_conv(), attr(); | ^ 30 warnings generated. mv m_convert.o shared/m_convert.o rm -f m_convert.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_convert.c m_convert.c:24:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 24 | static m_conv(), attr(); | ~~~~~~ ^ | int m_convert.c:24:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 24 | static m_conv(), attr(); | ~~~~~~ ^ | int m_convert.c:27:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 27 | m_convert (mp, name) | ^ | int m_convert.c:40:24: warning: passing arguments to 'attr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | switch (err = attr (mp, cp = name)) { | ^ m_convert.c:59:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 59 | else | ^ m_convert.c:63:31: warning: passing arguments to 'm_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if ((err = first = m_conv (mp, cp, FIRST)) <= 0) | ^ m_convert.c:67:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | advise (NULLCP, "illegal argument delimiter: `%c'(0%o)", | ^ m_convert.c:73:27: warning: passing arguments to 'm_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if ((err = last = m_conv (mp, cp, LAST)) <= 0) { | ^ m_convert.c:77:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | advise (NULLCP, "no %s message", cp); | ^ m_convert.c:81:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | advise (NULLCP, "message %s doesn't exist", cp); | ^ m_convert.c:85:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | advise (NULLCP, "message %s out of range 1-%d", | ^ m_convert.c:91:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | advise (NULLCP, "bad message list %s", name); | ^ m_convert.c:95:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | advise (NULLCP, "folder full, no %s message", name); | ^ m_convert.c:99:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | advise (NULLCP, "no messages match specification"); | ^ m_convert.c:109:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | advise (NULLCP, "no messages in range %s", name); | ^ m_convert.c:164:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | advise (NULLCP, "no %s message", name); | ^ m_convert.c:166:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | advise (NULLCP, "message %d doesn't exist", first); | ^ m_convert.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | m_convert (mp, name) | ^ In file included from m_convert.c:6: ./../h/mh.h:272:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 272 | int m_convert (); | ^ m_convert.c:194:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 194 | static m_conv (mp, str, call) | ~~~~~~ ^ | int m_convert.c:194:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] m_convert.c:24:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | static m_conv(), attr(); | ^ m_convert.c:262:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 262 | static attr (mp, cp) | ~~~~~~ ^ | int m_convert.c:278:17: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | if (ssequal ("cur:", cp)) /* this code need to be rewritten... */ | ^ m_convert.c:281:33: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ^ m_convert.c:281:64: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ^ m_convert.c:281:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_convert.c:281:18: note: place parentheses around the assignment to silence this warning 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ^ | ( ) m_convert.c:281:18: note: use '==' to turn this assignment into an equality comparison 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ^ | == m_convert.c:364:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | advise (NULLCP, "sequence %s %s", cp, inverted ? "full" : "empty"); | ^ m_convert.c:262:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | static attr (mp, cp) | ^ m_convert.c:24:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | static m_conv(), attr(); | ^ 30 warnings generated. ld -x -r m_convert.o mv a.out m_convert.o rm -f m_delete.o shared/m_delete.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_delete.c m_delete.c:7:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | m_delete (key) | ^ | int m_delete.c:15:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | if (uleq (np -> n_name, key)) { | ^ m_delete.c:17:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | admonish (NULLCP, "bug: m_delete(key=\"%s\")", np -> n_name); | ^ m_delete.c:7:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | m_delete (key) | ^ In file included from m_delete.c:3: ./../h/mh.h:273:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 273 | int m_delete (); | ^ 5 warnings generated. mv m_delete.o shared/m_delete.o rm -f m_delete.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_delete.c m_delete.c:7:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | m_delete (key) | ^ | int m_delete.c:15:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | if (uleq (np -> n_name, key)) { | ^ m_delete.c:17:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | admonish (NULLCP, "bug: m_delete(key=\"%s\")", np -> n_name); | ^ m_delete.c:7:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | m_delete (key) | ^ In file included from m_delete.c:3: ./../h/mh.h:273:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 273 | int m_delete (); | ^ 5 warnings generated. ld -x -r m_delete.o mv a.out m_delete.o rm -f m_draft.o shared/m_draft.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_draft.c m_draft.c:28:37: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | if (*isdf == NOTOK || (cp = m_find ("Draft-Folder")) == NULL) { | ^ m_draft.c:30:23: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | return m_maildir (msg && *msg ? msg : draft); | ^ m_draft.c:33:20: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | folder = path (*cp == '+' || *cp == '@' ? cp + 1 : cp, | ^ m_draft.c:38:12: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | (void) chdir (m_maildir ("")); | ^ m_draft.c:38:29: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | (void) chdir (m_maildir ("")); | ^ m_draft.c:39:38: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | (void) strcpy (buffer, m_maildir (folder)); | ^ m_draft.c:42:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | adios (buffer, "error on folder"); | ^ m_draft.c:44:17: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | if (!getanswer (cp)) | ^ m_draft.c:45:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | done (0); | ^ m_draft.c:47:15: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | if (!makedir (buffer)) | ^ m_draft.c:48:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | adios (NULLCP, "unable to create folder %s", buffer); | ^ m_draft.c:52:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | adios (buffer, "unable to change directory to"); | ^ m_draft.c:53:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if (!(mp = m_gmsg (folder))) | ^ m_draft.c:54:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | adios (NULLCP, "unable to read folder %s", folder); | ^ m_draft.c:56:23: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if ((mp = m_remsg (mp, 0, MAXFOLDER)) == NULL) | ^ m_draft.c:57:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | adios (NULLCP, "unable to allocate folder storage"); | ^ m_draft.c:60:20: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | if (!m_convert (mp, msg && *msg ? msg : use ? "cur" : "new")) | ^ m_draft.c:61:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | done (1); | ^ m_draft.c:62:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | m_setseq (mp); | ^ m_draft.c:64:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | adios (NULLCP, "only one message draft at a time!"); | ^ m_draft.c:66:61: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | (void) sprintf (buffer, "%s/%s", mp -> foldpath, m_name (mp -> lowsel)); | ^ m_draft.c:69:14: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | m_setcur (mp, mp -> lowsel); | ^ m_draft.c:70:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | m_sync (mp); | ^ m_draft.c:71:12: warning: passing arguments to 'm_fmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | m_fmsg (mp); | ^ m_draft.c:16:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | char *m_draft (folder, msg, use, isdf) | ^ In file included from m_draft.c:6: ./../h/mh.h:274:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 274 | char *m_draft (); | ^ 26 warnings generated. mv m_draft.o shared/m_draft.o rm -f m_draft.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_draft.c m_draft.c:28:37: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | if (*isdf == NOTOK || (cp = m_find ("Draft-Folder")) == NULL) { | ^ m_draft.c:30:23: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | return m_maildir (msg && *msg ? msg : draft); | ^ m_draft.c:33:20: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | folder = path (*cp == '+' || *cp == '@' ? cp + 1 : cp, | ^ m_draft.c:38:12: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | (void) chdir (m_maildir ("")); | ^ m_draft.c:38:29: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | (void) chdir (m_maildir ("")); | ^ m_draft.c:39:38: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | (void) strcpy (buffer, m_maildir (folder)); | ^ m_draft.c:42:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | adios (buffer, "error on folder"); | ^ m_draft.c:44:17: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | if (!getanswer (cp)) | ^ m_draft.c:45:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | done (0); | ^ m_draft.c:47:15: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | if (!makedir (buffer)) | ^ m_draft.c:48:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | adios (NULLCP, "unable to create folder %s", buffer); | ^ m_draft.c:52:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | adios (buffer, "unable to change directory to"); | ^ m_draft.c:53:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if (!(mp = m_gmsg (folder))) | ^ m_draft.c:54:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | adios (NULLCP, "unable to read folder %s", folder); | ^ m_draft.c:56:23: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if ((mp = m_remsg (mp, 0, MAXFOLDER)) == NULL) | ^ m_draft.c:57:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | adios (NULLCP, "unable to allocate folder storage"); | ^ m_draft.c:60:20: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | if (!m_convert (mp, msg && *msg ? msg : use ? "cur" : "new")) | ^ m_draft.c:61:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | done (1); | ^ m_draft.c:62:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | m_setseq (mp); | ^ m_draft.c:64:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | adios (NULLCP, "only one message draft at a time!"); | ^ m_draft.c:66:61: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | (void) sprintf (buffer, "%s/%s", mp -> foldpath, m_name (mp -> lowsel)); | ^ m_draft.c:69:14: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | m_setcur (mp, mp -> lowsel); | ^ m_draft.c:70:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | m_sync (mp); | ^ m_draft.c:71:12: warning: passing arguments to 'm_fmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | m_fmsg (mp); | ^ m_draft.c:16:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | char *m_draft (folder, msg, use, isdf) | ^ In file included from m_draft.c:6: ./../h/mh.h:274:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 274 | char *m_draft (); | ^ 26 warnings generated. ld -x -r m_draft.o mv a.out m_draft.o rm -f m_find.o shared/m_find.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_find.c m_find.c:14:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | if (uleq (np -> n_name, str)) | ^ m_find.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *m_find (str) | ^ In file included from m_find.c:3: ./../h/mh.h:277:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 277 | char *m_find (); | ^ 3 warnings generated. mv m_find.o shared/m_find.o rm -f m_find.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_find.c m_find.c:14:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | if (uleq (np -> n_name, str)) | ^ m_find.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *m_find (str) | ^ In file included from m_find.c:3: ./../h/mh.h:277:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 277 | char *m_find (); | ^ 3 warnings generated. ld -x -r m_find.o mv a.out m_find.o rm -f m_fmsg.o shared/m_fmsg.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_fmsg.c m_fmsg.c:10:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | void m_fmsg (mp) | ^ In file included from m_fmsg.c:6: ./../h/mh.h:278:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 278 | void m_fmsg (); | ^ 2 warnings generated. mv m_fmsg.o shared/m_fmsg.o rm -f m_fmsg.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_fmsg.c m_fmsg.c:10:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | void m_fmsg (mp) | ^ In file included from m_fmsg.c:6: ./../h/mh.h:278:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 278 | void m_fmsg (); | ^ 2 warnings generated. ld -x -r m_fmsg.o mv a.out m_fmsg.o rm -f m_foil.o shared/m_foil.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_foil.c m_foil.c:17:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | adios (NULLCP, "unable to allocate profile storage"); | ^ m_foil.c:19:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | np -> n_name = getcpy ("Path"); | ^ m_foil.c:20:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | np -> n_field = getcpy (path); | ^ m_foil.c:25:52: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | mypath = strlen(mypath) < BUFSIZ / 4 ? getcpy (mypath) : NULL; | ^ m_foil.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_foil (path) | ^ In file included from m_foil.c:3: ./../h/mh.h:279:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 279 | void m_foil (); | ^ 6 warnings generated. mv m_foil.o shared/m_foil.o rm -f m_foil.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_foil.c m_foil.c:17:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | adios (NULLCP, "unable to allocate profile storage"); | ^ m_foil.c:19:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | np -> n_name = getcpy ("Path"); | ^ m_foil.c:20:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | np -> n_field = getcpy (path); | ^ m_foil.c:25:52: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | mypath = strlen(mypath) < BUFSIZ / 4 ? getcpy (mypath) : NULL; | ^ m_foil.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_foil (path) | ^ In file included from m_foil.c:3: ./../h/mh.h:279:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 279 | void m_foil (); | ^ 6 warnings generated. ld -x -r m_foil.o mv a.out m_foil.o rm -f m_getdefs.o shared/m_getdefs.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_getdefs.c m_getdefs.c:33:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 33 | off_t lseek (); | ^ /usr/include/stdio.h:439:10: note: conflicting prototype is here 439 | __off_t lseek(int, __off_t, int); | ^ m_getdefs.c:52:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 52 | if (mypath = getenv ("HOME")) | ~~~~~~~^~~~~~~~~~~~~~~~~ m_getdefs.c:52:13: note: place parentheses around the assignment to silence this warning 52 | if (mypath = getenv ("HOME")) | ^ | ( ) m_getdefs.c:52:13: note: use '==' to turn this assignment into an equality comparison 52 | if (mypath = getenv ("HOME")) | ^ | == m_getdefs.c:53:22: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | mypath = getcpy (mypath); | ^ m_getdefs.c:58:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | adios (NULLCP, "no HOME envariable"); | ^ m_getdefs.c:60:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | mypath = getcpy (pw -> pw_dir); | ^ m_getdefs.c:62:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | adios (NULLCP, "HOME envariable too long"); | ^ m_getdefs.c:69:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | adios (NULLCP, "MH envariable too long"); | ^ m_getdefs.c:70:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | defpath = path (cp, TFILE); | ^ m_getdefs.c:71:18: warning: passing arguments to 'FOpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | if ((ib = FOpen (defpath, "r", "MHFD", 0)) == NULL) | ^ m_getdefs.c:72:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | adios (defpath, "unable to read"); | ^ m_getdefs.c:74:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | (void) m_putenv ("MH", defpath); | ^ m_getdefs.c:79:18: warning: passing arguments to 'FOpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if ((ib = FOpen (defpath, "r", "MHFD", 0)) == NULL) | ^ m_getdefs.c:82:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | adios ("fork", "unable to"); | ^ m_getdefs.c:94:19: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | if (pidwait (pid, OK) | ^ m_getdefs.c:96:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | adios (NULLCP, "[install-mh aborted]"); | ^ m_getdefs.c:103:15: warning: passing arguments to 'm_readefs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | m_readefs (&m_defs, ib, mh_profile, 0); | ^ m_getdefs.c:104:19: warning: passing arguments to 'FClose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | (void) FClose (ib); | ^ m_getdefs.c:106:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | if ((pp = m_find ("path")) != NULL && *pp) { | ^ m_getdefs.c:108:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | adios (NULLCP, "Path profile component too long"); | ^ m_getdefs.c:115:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | adios (buf, "error opening"); | ^ m_getdefs.c:118:20: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | if (!getanswer(cp)) | ^ m_getdefs.c:119:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | adios (NULLCP, "unable to access MH-directory \"%s\"", buf); | ^ m_getdefs.c:121:19: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | if (!makedir (buf)) | ^ m_getdefs.c:122:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | adios (NULLCP, "unable to create", buf); | ^ m_getdefs.c:160:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | adios (NULLCP, "MHCONTEXT envariable too long"); | ^ m_getdefs.c:161:50: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | if ((ib = FOpen (ctxpath = getcpy (m_maildir (cp)), "r", "MHCONTEXTFD", 1)) | ^ m_getdefs.c:161:39: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | if ((ib = FOpen (ctxpath = getcpy (m_maildir (cp)), "r", "MHCONTEXTFD", 1)) | ^ m_getdefs.c:161:21: warning: passing arguments to 'FOpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | if ((ib = FOpen (ctxpath = getcpy (m_maildir (cp)), "r", "MHCONTEXTFD", 1)) | ^ m_getdefs.c:169:12: warning: passing arguments to 'm_readefs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | m_readefs ((struct node **) 0, ib, cp, 1); | ^ m_getdefs.c:170:16: warning: passing arguments to 'FClose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | (void) FClose (ib); | ^ m_getdefs.c:197:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | advise (NULLCP, "bad value for $%s: %s", envariable, cp); | ^ m_getdefs.c:198:18: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | (void) unputenv (envariable); | ^ m_getdefs.c:212:20: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | if (!m_putenv (envariable, buffer)) | ^ m_getdefs.c:215:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 215 | else | ^ m_getdefs.c:181:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | static FILE *FOpen (filename, mode, envariable, ctx) | ^ m_getdefs.c:30:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static FILE *FOpen (); | ^ m_getdefs.c:229:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | static int FClose (f) | ^ m_getdefs.c:31:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | static int FClose (); | ^ 38 warnings generated. mv m_getdefs.o shared/m_getdefs.o rm -f m_getdefs.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_getdefs.c m_getdefs.c:33:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 33 | off_t lseek (); | ^ /usr/include/stdio.h:439:10: note: conflicting prototype is here 439 | __off_t lseek(int, __off_t, int); | ^ m_getdefs.c:52:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 52 | if (mypath = getenv ("HOME")) | ~~~~~~~^~~~~~~~~~~~~~~~~ m_getdefs.c:52:13: note: place parentheses around the assignment to silence this warning 52 | if (mypath = getenv ("HOME")) | ^ | ( ) m_getdefs.c:52:13: note: use '==' to turn this assignment into an equality comparison 52 | if (mypath = getenv ("HOME")) | ^ | == m_getdefs.c:53:22: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | mypath = getcpy (mypath); | ^ m_getdefs.c:58:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | adios (NULLCP, "no HOME envariable"); | ^ m_getdefs.c:60:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | mypath = getcpy (pw -> pw_dir); | ^ m_getdefs.c:62:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | adios (NULLCP, "HOME envariable too long"); | ^ m_getdefs.c:69:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | adios (NULLCP, "MH envariable too long"); | ^ m_getdefs.c:70:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | defpath = path (cp, TFILE); | ^ m_getdefs.c:71:18: warning: passing arguments to 'FOpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | if ((ib = FOpen (defpath, "r", "MHFD", 0)) == NULL) | ^ m_getdefs.c:72:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | adios (defpath, "unable to read"); | ^ m_getdefs.c:74:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | (void) m_putenv ("MH", defpath); | ^ m_getdefs.c:79:18: warning: passing arguments to 'FOpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if ((ib = FOpen (defpath, "r", "MHFD", 0)) == NULL) | ^ m_getdefs.c:82:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | adios ("fork", "unable to"); | ^ m_getdefs.c:94:19: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | if (pidwait (pid, OK) | ^ m_getdefs.c:96:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | adios (NULLCP, "[install-mh aborted]"); | ^ m_getdefs.c:103:15: warning: passing arguments to 'm_readefs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | m_readefs (&m_defs, ib, mh_profile, 0); | ^ m_getdefs.c:104:19: warning: passing arguments to 'FClose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | (void) FClose (ib); | ^ m_getdefs.c:106:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | if ((pp = m_find ("path")) != NULL && *pp) { | ^ m_getdefs.c:108:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | adios (NULLCP, "Path profile component too long"); | ^ m_getdefs.c:115:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | adios (buf, "error opening"); | ^ m_getdefs.c:118:20: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | if (!getanswer(cp)) | ^ m_getdefs.c:119:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | adios (NULLCP, "unable to access MH-directory \"%s\"", buf); | ^ m_getdefs.c:121:19: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | if (!makedir (buf)) | ^ m_getdefs.c:122:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | adios (NULLCP, "unable to create", buf); | ^ m_getdefs.c:160:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | adios (NULLCP, "MHCONTEXT envariable too long"); | ^ m_getdefs.c:161:50: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | if ((ib = FOpen (ctxpath = getcpy (m_maildir (cp)), "r", "MHCONTEXTFD", 1)) | ^ m_getdefs.c:161:39: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | if ((ib = FOpen (ctxpath = getcpy (m_maildir (cp)), "r", "MHCONTEXTFD", 1)) | ^ m_getdefs.c:161:21: warning: passing arguments to 'FOpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | if ((ib = FOpen (ctxpath = getcpy (m_maildir (cp)), "r", "MHCONTEXTFD", 1)) | ^ m_getdefs.c:169:12: warning: passing arguments to 'm_readefs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | m_readefs ((struct node **) 0, ib, cp, 1); | ^ m_getdefs.c:170:16: warning: passing arguments to 'FClose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | (void) FClose (ib); | ^ m_getdefs.c:197:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | advise (NULLCP, "bad value for $%s: %s", envariable, cp); | ^ m_getdefs.c:198:18: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | (void) unputenv (envariable); | ^ m_getdefs.c:212:20: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | if (!m_putenv (envariable, buffer)) | ^ m_getdefs.c:215:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 215 | else | ^ m_getdefs.c:181:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | static FILE *FOpen (filename, mode, envariable, ctx) | ^ m_getdefs.c:30:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static FILE *FOpen (); | ^ m_getdefs.c:229:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | static int FClose (f) | ^ m_getdefs.c:31:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | static int FClose (); | ^ 38 warnings generated. ld -x -r m_getdefs.o mv a.out m_getdefs.o rm -f m_getfld.o shared/m_getfld.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_getfld.c In file included from m_getfld.c:8: ./../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ m_getfld.c:192:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 192 | m_getfld (state, name, buf, bufsz, iob) | ^ | int m_getfld.c:224:9: warning: call to undeclared function 'm_Eom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | if (eom (c, iob)) { | ^ m_getfld.c:138:28: note: expanded from macro 'eom' 138 | (((c) == *msg_delim && m_Eom(c,iob)) ||\ | ^ m_getfld.c:224:9: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:227:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | while ((c = Getc(iob)) >= 0 && eom (c, iob)) | ^ m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:279:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | if (c < 0 || (c = Getc(iob)) < 0 || eom (c, iob)) { | ^ m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:282:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | while ((c = Getc(iob)) >= 0 && eom (c, iob)) | ^ m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:325:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | advise (NULLCP, "eof encountered in field \"%s\"", | ^ m_getfld.c:351:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | advise (NULLCP, "eol encountered in field \"%s\"", name); | ^ m_getfld.c:357:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | advise (NULLCP, "field name \"%s\" exceeds %d bytes", | ^ m_getfld.c:384:19: warning: passing arguments to 'locc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | while (ep = locc( c, bp, '\n' )) { | ^ m_getfld.c:384:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 384 | while (ep = locc( c, bp, '\n' )) { | ~~~^~~~~~~~~~~~~~~~~~~~~ m_getfld.c:384:13: note: place parentheses around the assignment to silence this warning 384 | while (ep = locc( c, bp, '\n' )) { | ^ | ( ) m_getfld.c:384:13: note: use '==' to turn this assignment into an equality comparison 384 | while (ep = locc( c, bp, '\n' )) { | ^ | == m_getfld.c:463:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | advise (NULLCP, "file missing final eol"); | ^ m_getfld.c:508:18: warning: passing arguments to 'matchc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | if (ep = matchc( fdelimlen, fdelim, c, bp ) ) | ^ m_getfld.c:508:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | if (ep = matchc( fdelimlen, fdelim, c, bp ) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:508:10: note: place parentheses around the assignment to silence this warning 508 | if (ep = matchc( fdelimlen, fdelim, c, bp ) ) | ^ | ( ) m_getfld.c:508:10: note: use '==' to turn this assignment into an equality comparison 508 | if (ep = matchc( fdelimlen, fdelim, c, bp ) ) | ^ | == m_getfld.c:525:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 525 | if (sp = pat_map[*ep & 0x00ff]) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:525:14: note: place parentheses around the assignment to silence this warning 525 | if (sp = pat_map[*ep & 0x00ff]) { | ^ | ( ) m_getfld.c:525:14: note: use '==' to turn this assignment into an equality comparison 525 | if (sp = pat_map[*ep & 0x00ff]) { | ^ | == m_getfld.c:564:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | adios (NULLCP, "m_getfld() called with bogus state of %d", state); | ^ m_getfld.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | m_getfld (state, name, buf, bufsz, iob) | ^ In file included from m_getfld.c:6: ./../h/mh.h:281:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 281 | int m_getfld (); | ^ m_getfld.c:644:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | adios (NULLCP, "maildrop delimiter must be at least 2 bytes"); | ^ m_getfld.c:658:33: warning: call to undeclared function 'm_Eom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 658 | while ((c = Getc(iob)) >= 0 && eom (c, iob)) | ^ m_getfld.c:138:28: note: expanded from macro 'eom' 138 | (((c) == *msg_delim && m_Eom(c,iob)) ||\ | ^ m_getfld.c:658:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | m_unknown(iob) | ^ In file included from m_getfld.c:6: ./../h/mh.h:304:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 304 | void m_unknown (); | ^ m_getfld.c:669:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 669 | if (eom_action = action) { | ~~~~~~~~~~~^~~~~~~~ m_getfld.c:669:20: note: place parentheses around the assignment to silence this warning 669 | if (eom_action = action) { | ^ | ( ) m_getfld.c:669:20: note: use '==' to turn this assignment into an equality comparison 669 | if (eom_action = action) { | ^ | == m_getfld.c:666:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | void m_eomsbr (action) | ^ In file included from m_getfld.c:6: ./../h/mh.h:275:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 275 | void m_eomsbr (); | ^ m_getfld.c:686:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | int m_Eom (c, iob) | ^ m_getfld.c:785:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 785 | if (cp = dp = index (unixbuf, ' ')) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:785:12: note: place parentheses around the assignment to silence this warning 785 | if (cp = dp = index (unixbuf, ' ')) { | ^ | ( ) m_getfld.c:785:12: note: use '==' to turn this assignment into an equality comparison 785 | if (cp = dp = index (unixbuf, ' ')) { | ^ | == m_getfld.c:786:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 786 | while (cp = index (cp + 1, 'r')) | ~~~^~~~~~~~~~~~~~~~~~~~~ m_getfld.c:786:12: note: place parentheses around the assignment to silence this warning 786 | while (cp = index (cp + 1, 'r')) | ^ | ( ) m_getfld.c:786:12: note: use '==' to turn this assignment into an equality comparison 786 | while (cp = index (cp + 1, 'r')) | ^ | == m_getfld.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | matchc( patln, pat, strln, str ) | ^ m_getfld.c:141:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | static unsigned char *matchc(); | ^ m_getfld.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | locc( cnt, src, term ) | ^ m_getfld.c:142:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | static unsigned char *locc(); | ^ 34 warnings generated. mv m_getfld.o shared/m_getfld.o rm -f m_getfld.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_getfld.c In file included from m_getfld.c:8: ./../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ m_getfld.c:192:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 192 | m_getfld (state, name, buf, bufsz, iob) | ^ | int m_getfld.c:224:9: warning: call to undeclared function 'm_Eom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | if (eom (c, iob)) { | ^ m_getfld.c:138:28: note: expanded from macro 'eom' 138 | (((c) == *msg_delim && m_Eom(c,iob)) ||\ | ^ m_getfld.c:224:9: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:227:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | while ((c = Getc(iob)) >= 0 && eom (c, iob)) | ^ m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:279:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | if (c < 0 || (c = Getc(iob)) < 0 || eom (c, iob)) { | ^ m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:282:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | while ((c = Getc(iob)) >= 0 && eom (c, iob)) | ^ m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:325:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | advise (NULLCP, "eof encountered in field \"%s\"", | ^ m_getfld.c:351:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | advise (NULLCP, "eol encountered in field \"%s\"", name); | ^ m_getfld.c:357:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | advise (NULLCP, "field name \"%s\" exceeds %d bytes", | ^ m_getfld.c:384:19: warning: passing arguments to 'locc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | while (ep = locc( c, bp, '\n' )) { | ^ m_getfld.c:384:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 384 | while (ep = locc( c, bp, '\n' )) { | ~~~^~~~~~~~~~~~~~~~~~~~~ m_getfld.c:384:13: note: place parentheses around the assignment to silence this warning 384 | while (ep = locc( c, bp, '\n' )) { | ^ | ( ) m_getfld.c:384:13: note: use '==' to turn this assignment into an equality comparison 384 | while (ep = locc( c, bp, '\n' )) { | ^ | == m_getfld.c:463:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | advise (NULLCP, "file missing final eol"); | ^ m_getfld.c:508:18: warning: passing arguments to 'matchc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | if (ep = matchc( fdelimlen, fdelim, c, bp ) ) | ^ m_getfld.c:508:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | if (ep = matchc( fdelimlen, fdelim, c, bp ) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:508:10: note: place parentheses around the assignment to silence this warning 508 | if (ep = matchc( fdelimlen, fdelim, c, bp ) ) | ^ | ( ) m_getfld.c:508:10: note: use '==' to turn this assignment into an equality comparison 508 | if (ep = matchc( fdelimlen, fdelim, c, bp ) ) | ^ | == m_getfld.c:525:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 525 | if (sp = pat_map[*ep & 0x00ff]) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:525:14: note: place parentheses around the assignment to silence this warning 525 | if (sp = pat_map[*ep & 0x00ff]) { | ^ | ( ) m_getfld.c:525:14: note: use '==' to turn this assignment into an equality comparison 525 | if (sp = pat_map[*ep & 0x00ff]) { | ^ | == m_getfld.c:564:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | adios (NULLCP, "m_getfld() called with bogus state of %d", state); | ^ m_getfld.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | m_getfld (state, name, buf, bufsz, iob) | ^ In file included from m_getfld.c:6: ./../h/mh.h:281:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 281 | int m_getfld (); | ^ m_getfld.c:644:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | adios (NULLCP, "maildrop delimiter must be at least 2 bytes"); | ^ m_getfld.c:658:33: warning: call to undeclared function 'm_Eom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 658 | while ((c = Getc(iob)) >= 0 && eom (c, iob)) | ^ m_getfld.c:138:28: note: expanded from macro 'eom' 138 | (((c) == *msg_delim && m_Eom(c,iob)) ||\ | ^ m_getfld.c:658:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | m_unknown(iob) | ^ In file included from m_getfld.c:6: ./../h/mh.h:304:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 304 | void m_unknown (); | ^ m_getfld.c:669:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 669 | if (eom_action = action) { | ~~~~~~~~~~~^~~~~~~~ m_getfld.c:669:20: note: place parentheses around the assignment to silence this warning 669 | if (eom_action = action) { | ^ | ( ) m_getfld.c:669:20: note: use '==' to turn this assignment into an equality comparison 669 | if (eom_action = action) { | ^ | == m_getfld.c:666:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | void m_eomsbr (action) | ^ In file included from m_getfld.c:6: ./../h/mh.h:275:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 275 | void m_eomsbr (); | ^ m_getfld.c:686:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | int m_Eom (c, iob) | ^ m_getfld.c:785:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 785 | if (cp = dp = index (unixbuf, ' ')) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:785:12: note: place parentheses around the assignment to silence this warning 785 | if (cp = dp = index (unixbuf, ' ')) { | ^ | ( ) m_getfld.c:785:12: note: use '==' to turn this assignment into an equality comparison 785 | if (cp = dp = index (unixbuf, ' ')) { | ^ | == m_getfld.c:786:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 786 | while (cp = index (cp + 1, 'r')) | ~~~^~~~~~~~~~~~~~~~~~~~~ m_getfld.c:786:12: note: place parentheses around the assignment to silence this warning 786 | while (cp = index (cp + 1, 'r')) | ^ | ( ) m_getfld.c:786:12: note: use '==' to turn this assignment into an equality comparison 786 | while (cp = index (cp + 1, 'r')) | ^ | == m_getfld.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | matchc( patln, pat, strln, str ) | ^ m_getfld.c:141:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | static unsigned char *matchc(); | ^ m_getfld.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | locc( cnt, src, term ) | ^ m_getfld.c:142:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | static unsigned char *locc(); | ^ 34 warnings generated. ld -x -r m_getfld.o mv a.out m_getfld.o rm -f m_getfolder.o shared/m_getfolder.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_getfolder.c m_getfolder.c:11:27: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | if (((folder = m_find (pfolder)) == NULL | ^ m_getfolder.c:12:23: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | && (folder = m_find (inbox)) == NULL) || *folder == 0) | ^ m_getfolder.c:15:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | adios (NULLCP, "%s too long", pfolder); | ^ 3 warnings generated. mv m_getfolder.o shared/m_getfolder.o rm -f m_getfolder.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_getfolder.c m_getfolder.c:11:27: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | if (((folder = m_find (pfolder)) == NULL | ^ m_getfolder.c:12:23: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | && (folder = m_find (inbox)) == NULL) || *folder == 0) | ^ m_getfolder.c:15:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | adios (NULLCP, "%s too long", pfolder); | ^ 3 warnings generated. ld -x -r m_getfolder.o mv a.out m_getfolder.o rm -f m_gmprot.o shared/m_gmprot.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_gmprot.c m_gmprot.c:7:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | m_gmprot () { | ^ | int m_gmprot.c:10:32: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | return atooi ((cp = m_find ("msg-protect")) && *cp ? cp : msgprot); | ^ m_gmprot.c:10:18: warning: passing arguments to 'atooi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | return atooi ((cp = m_find ("msg-protect")) && *cp ? cp : msgprot); | ^ 3 warnings generated. mv m_gmprot.o shared/m_gmprot.o rm -f m_gmprot.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_gmprot.c m_gmprot.c:7:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | m_gmprot () { | ^ | int m_gmprot.c:10:32: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | return atooi ((cp = m_find ("msg-protect")) && *cp ? cp : msgprot); | ^ m_gmprot.c:10:18: warning: passing arguments to 'atooi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | return atooi ((cp = m_find ("msg-protect")) && *cp ? cp : msgprot); | ^ 3 warnings generated. ld -x -r m_gmprot.o mv a.out m_gmprot.o rm -f m_gmsg.o shared/m_gmsg.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_gmsg.c m_gmsg.c:20:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 20 | static m_getatr(); | ~~~~~~ ^ | int m_gmsg.c:49:42: warning: passing arguments to 'm_mailpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if ((dd = opendir (name = m_mailpath (name))) == NULL) { | ^ m_gmsg.c:60:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | adios (NULLCP, "unable to allocate folder storage"); | ^ m_gmsg.c:66:22: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | if (st.st_uid != getuid () || access (name, 02) == NOTOK) | ^ m_gmsg.c:66:35: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | if (st.st_uid != getuid () || access (name, 02) == NOTOK) | ^ m_gmsg.c:75:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | adios (NULLCP, "unable to allocate info storage"); | ^ m_gmsg.c:78:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 78 | while (dp = readdir (dd)) { | ~~~^~~~~~~~~~~~~~ m_gmsg.c:78:15: note: place parentheses around the assignment to silence this warning 78 | while (dp = readdir (dd)) { | ^ | ( ) m_gmsg.c:78:15: note: use '==' to turn this assignment into an equality comparison 78 | while (dp = readdir (dd)) { | ^ | == m_gmsg.c:88:17: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | if (i = m_atoi (dp -> d_name)) { | ^ m_gmsg.c:88:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 88 | if (i = m_atoi (dp -> d_name)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ m_gmsg.c:88:8: note: place parentheses around the assignment to silence this warning 88 | if (i = m_atoi (dp -> d_name)) { | ^ | ( ) m_gmsg.c:88:8: note: use '==' to turn this assignment into an equality comparison 88 | if (i = m_atoi (dp -> d_name)) { | ^ | == m_gmsg.c:96:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | adios (NULLCP, "unable to allocate info storage"); | ^ m_gmsg.c:198:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | adios (NULLCP, "unable to allocate folder storage"); | ^ m_gmsg.c:213:14: warning: passing arguments to 'm_getatr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | m_getatr (mp); | ^ m_gmsg.c:24:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | struct msgs *m_gmsg (name) | ^ In file included from m_gmsg.c:6: ./../h/mh.h:284:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 284 | struct msgs *m_gmsg (); | ^ m_gmsg.c:220:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 220 | static m_getatr (mp) | ~~~~~~ ^ | int m_gmsg.c:238:36: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | mp -> msgattrs[i = 0] = getcpy (current); | ^ m_gmsg.c:239:27: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] 239 | mp -> msgattrs[++i] = '\0'; | ^~~~ m_gmsg.c:243:19: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] 243 | if (mh_seq == '\0' || *mh_seq == '\0') | ^~~~ | (void *)0 m_gmsg.c:247:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 247 | if (fp = fopen (field, "r")) { | ~~~^~~~~~~~~~~~~~~~~~~~ m_gmsg.c:247:12: note: place parentheses around the assignment to silence this warning 247 | if (fp = fopen (field, "r")) { | ^ | ( ) m_gmsg.c:247:12: note: use '==' to turn this assignment into an equality comparison 247 | if (fp = fopen (field, "r")) { | ^ | == m_gmsg.c:249:31: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | switch (state = m_getfld (state, name, field, sizeof field, fp)) { | ^ m_gmsg.c:253:19: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | tmpfld = add(field, NULLCP); | ^ m_gmsg.c:255:20: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | state = m_getfld(state, name, field, sizeof field, fp); | ^ m_gmsg.c:256:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | tmpfld = add(field, tmpfld); | ^ m_gmsg.c:258:35: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | (void) m_setatr (mp, getcpy (name), trimcpy (tmpfld)); | ^ m_gmsg.c:258:51: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | (void) m_setatr (mp, getcpy (name), trimcpy (tmpfld)); | ^ m_gmsg.c:258:23: warning: passing arguments to 'm_setatr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | (void) m_setatr (mp, getcpy (name), trimcpy (tmpfld)); | ^ m_gmsg.c:266:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | adios (NULLCP, | ^ m_gmsg.c:274:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | adios (NULLCP, "%s/%s is poorly formatted", | ^ m_gmsg.c:287:14: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | if (ssequal ("atr-", np -> n_name) | ^ m_gmsg.c:291:18: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | cp = getcpy (np -> n_name + alen); | ^ m_gmsg.c:293:40: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | if ((i = m_setatr (mp, cp, getcpy (np -> n_field))) != NOTOK) | ^ m_gmsg.c:293:24: warning: passing arguments to 'm_setatr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | if ((i = m_setatr (mp, cp, getcpy (np -> n_field))) != NOTOK) | ^ m_gmsg.c:220:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | static m_getatr (mp) | ^ m_gmsg.c:20:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static m_getatr(); | ^ m_gmsg.c:336:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | for (ap = brkstring (field, " ", "\n"); | ^ m_gmsg.c:339:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 339 | if (cp = index (*ap, '-')) | ~~~^~~~~~~~~~~~~~~~~~ m_gmsg.c:339:9: note: place parentheses around the assignment to silence this warning 339 | if (cp = index (*ap, '-')) | ^ | ( ) m_gmsg.c:339:9: note: use '==' to turn this assignment into an equality comparison 339 | if (cp = index (*ap, '-')) | ^ | == m_gmsg.c:341:18: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | if ((j = m_atoi (*ap)) > 0) { | ^ m_gmsg.c:350:27: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | for (k = cp ? m_atoi (cp) : j; j <= k; j++) | ^ m_gmsg.c:300:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | static int m_setatr (mp, name, field) | ^ m_gmsg.c:21:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | static int m_setatr(); | ^ 40 warnings generated. mv m_gmsg.o shared/m_gmsg.o rm -f m_gmsg.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_gmsg.c m_gmsg.c:20:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 20 | static m_getatr(); | ~~~~~~ ^ | int m_gmsg.c:49:42: warning: passing arguments to 'm_mailpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if ((dd = opendir (name = m_mailpath (name))) == NULL) { | ^ m_gmsg.c:60:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | adios (NULLCP, "unable to allocate folder storage"); | ^ m_gmsg.c:66:22: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | if (st.st_uid != getuid () || access (name, 02) == NOTOK) | ^ m_gmsg.c:66:35: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | if (st.st_uid != getuid () || access (name, 02) == NOTOK) | ^ m_gmsg.c:75:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | adios (NULLCP, "unable to allocate info storage"); | ^ m_gmsg.c:78:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 78 | while (dp = readdir (dd)) { | ~~~^~~~~~~~~~~~~~ m_gmsg.c:78:15: note: place parentheses around the assignment to silence this warning 78 | while (dp = readdir (dd)) { | ^ | ( ) m_gmsg.c:78:15: note: use '==' to turn this assignment into an equality comparison 78 | while (dp = readdir (dd)) { | ^ | == m_gmsg.c:88:17: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | if (i = m_atoi (dp -> d_name)) { | ^ m_gmsg.c:88:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 88 | if (i = m_atoi (dp -> d_name)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ m_gmsg.c:88:8: note: place parentheses around the assignment to silence this warning 88 | if (i = m_atoi (dp -> d_name)) { | ^ | ( ) m_gmsg.c:88:8: note: use '==' to turn this assignment into an equality comparison 88 | if (i = m_atoi (dp -> d_name)) { | ^ | == m_gmsg.c:96:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | adios (NULLCP, "unable to allocate info storage"); | ^ m_gmsg.c:198:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | adios (NULLCP, "unable to allocate folder storage"); | ^ m_gmsg.c:213:14: warning: passing arguments to 'm_getatr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | m_getatr (mp); | ^ m_gmsg.c:24:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | struct msgs *m_gmsg (name) | ^ In file included from m_gmsg.c:6: ./../h/mh.h:284:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 284 | struct msgs *m_gmsg (); | ^ m_gmsg.c:220:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 220 | static m_getatr (mp) | ~~~~~~ ^ | int m_gmsg.c:238:36: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | mp -> msgattrs[i = 0] = getcpy (current); | ^ m_gmsg.c:239:27: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] 239 | mp -> msgattrs[++i] = '\0'; | ^~~~ m_gmsg.c:243:19: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] 243 | if (mh_seq == '\0' || *mh_seq == '\0') | ^~~~ | (void *)0 m_gmsg.c:247:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 247 | if (fp = fopen (field, "r")) { | ~~~^~~~~~~~~~~~~~~~~~~~ m_gmsg.c:247:12: note: place parentheses around the assignment to silence this warning 247 | if (fp = fopen (field, "r")) { | ^ | ( ) m_gmsg.c:247:12: note: use '==' to turn this assignment into an equality comparison 247 | if (fp = fopen (field, "r")) { | ^ | == m_gmsg.c:249:31: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | switch (state = m_getfld (state, name, field, sizeof field, fp)) { | ^ m_gmsg.c:253:19: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | tmpfld = add(field, NULLCP); | ^ m_gmsg.c:255:20: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | state = m_getfld(state, name, field, sizeof field, fp); | ^ m_gmsg.c:256:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | tmpfld = add(field, tmpfld); | ^ m_gmsg.c:258:35: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | (void) m_setatr (mp, getcpy (name), trimcpy (tmpfld)); | ^ m_gmsg.c:258:51: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | (void) m_setatr (mp, getcpy (name), trimcpy (tmpfld)); | ^ m_gmsg.c:258:23: warning: passing arguments to 'm_setatr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | (void) m_setatr (mp, getcpy (name), trimcpy (tmpfld)); | ^ m_gmsg.c:266:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | adios (NULLCP, | ^ m_gmsg.c:274:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | adios (NULLCP, "%s/%s is poorly formatted", | ^ m_gmsg.c:287:14: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | if (ssequal ("atr-", np -> n_name) | ^ m_gmsg.c:291:18: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | cp = getcpy (np -> n_name + alen); | ^ m_gmsg.c:293:40: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | if ((i = m_setatr (mp, cp, getcpy (np -> n_field))) != NOTOK) | ^ m_gmsg.c:293:24: warning: passing arguments to 'm_setatr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | if ((i = m_setatr (mp, cp, getcpy (np -> n_field))) != NOTOK) | ^ m_gmsg.c:220:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | static m_getatr (mp) | ^ m_gmsg.c:20:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static m_getatr(); | ^ m_gmsg.c:336:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | for (ap = brkstring (field, " ", "\n"); | ^ m_gmsg.c:339:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 339 | if (cp = index (*ap, '-')) | ~~~^~~~~~~~~~~~~~~~~~ m_gmsg.c:339:9: note: place parentheses around the assignment to silence this warning 339 | if (cp = index (*ap, '-')) | ^ | ( ) m_gmsg.c:339:9: note: use '==' to turn this assignment into an equality comparison 339 | if (cp = index (*ap, '-')) | ^ | == m_gmsg.c:341:18: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | if ((j = m_atoi (*ap)) > 0) { | ^ m_gmsg.c:350:27: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | for (k = cp ? m_atoi (cp) : j; j <= k; j++) | ^ m_gmsg.c:300:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | static int m_setatr (mp, name, field) | ^ m_gmsg.c:21:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | static int m_setatr(); | ^ 40 warnings generated. ld -x -r m_gmsg.o mv a.out m_gmsg.o rm -f m_maildir.o shared/m_maildir.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_maildir.c m_maildir.c:28:25: warning: passing arguments to 'exmaildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | if ((cp = exmaildir (folder)) | ^ m_maildir.c:22:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | char *m_maildir (folder) | ^ In file included from m_maildir.c:6: ./../h/mh.h:285:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 285 | char *m_maildir (); | ^ m_maildir.c:49:12: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | cp = path (folder, TFOLDER); | ^ m_maildir.c:52:14: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | cp = getcpy (m_maildir (folder)); | ^ m_maildir.c:38:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | char *m_mailpath (folder) | ^ In file included from m_maildir.c:6: ./../h/mh.h:286:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 286 | char *m_mailpath (); | ^ m_maildir.c:79:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if ((pp = m_find ("path")) != NULL && *pp) { | ^ m_maildir.c:84:12: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | cp = copy (pp, cp); | ^ m_maildir.c:87:18: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | cp = copy (path ("./", TFOLDER), cp); | ^ m_maildir.c:87:12: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | cp = copy (path ("./", TFOLDER), cp); | ^ m_maildir.c:61:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | static char *exmaildir (folder) | ^ m_maildir.c:19:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | static char *exmaildir (); | ^ 13 warnings generated. mv m_maildir.o shared/m_maildir.o rm -f m_maildir.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_maildir.c m_maildir.c:28:25: warning: passing arguments to 'exmaildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | if ((cp = exmaildir (folder)) | ^ m_maildir.c:22:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | char *m_maildir (folder) | ^ In file included from m_maildir.c:6: ./../h/mh.h:285:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 285 | char *m_maildir (); | ^ m_maildir.c:49:12: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | cp = path (folder, TFOLDER); | ^ m_maildir.c:52:14: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | cp = getcpy (m_maildir (folder)); | ^ m_maildir.c:38:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | char *m_mailpath (folder) | ^ In file included from m_maildir.c:6: ./../h/mh.h:286:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 286 | char *m_mailpath (); | ^ m_maildir.c:79:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if ((pp = m_find ("path")) != NULL && *pp) { | ^ m_maildir.c:84:12: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | cp = copy (pp, cp); | ^ m_maildir.c:87:18: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | cp = copy (path ("./", TFOLDER), cp); | ^ m_maildir.c:87:12: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | cp = copy (path ("./", TFOLDER), cp); | ^ m_maildir.c:61:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | static char *exmaildir (folder) | ^ m_maildir.c:19:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | static char *exmaildir (); | ^ 13 warnings generated. ld -x -r m_maildir.o mv a.out m_maildir.o rm -f m_name.o shared/m_name.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_name.c m_name.c:9:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | char *m_name (num) | ^ In file included from m_name.c:3: ./../h/mh.h:287:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 287 | char *m_name (); | ^ 2 warnings generated. mv m_name.o shared/m_name.o rm -f m_name.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_name.c m_name.c:9:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | char *m_name (num) | ^ In file included from m_name.c:3: ./../h/mh.h:287:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 287 | char *m_name (); | ^ 2 warnings generated. ld -x -r m_name.o mv a.out m_name.o rm -f m_readefs.o shared/m_readefs.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_readefs.c m_readefs.c:57:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | admonish (NULLCP, "bug: m_readefs called but pump not primed"); | ^ m_readefs.c:62:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | switch (state = m_getfld (state, name, field, sizeof field, ib)) { | ^ m_readefs.c:68:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | adios (NULLCP, "unable to allocate profile storage"); | ^ m_readefs.c:71:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | np -> n_name = getcpy (name); | ^ m_readefs.c:73:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | cp = getcpy (field); | ^ m_readefs.c:76:9: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | (state, name, field, sizeof field, ib); | ^ m_readefs.c:77:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | cp = add (field, cp); | ^ m_readefs.c:79:31: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | np -> n_field = trimcpy (cp); | ^ m_readefs.c:83:31: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | np -> n_field = trimcpy (field); | ^ m_readefs.c:96:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | adios (NULLCP, "no blank lines are permitted in %s", file); | ^ m_readefs.c:102:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | adios (NULLCP, "%s is poorly formatted", file); | ^ m_readefs.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | void m_readefs (npp, ib, file, ctx) | ^ In file included from m_readefs.c:6: ./../h/mh.h:289:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 289 | void m_readefs (); | ^ 13 warnings generated. mv m_readefs.o shared/m_readefs.o rm -f m_readefs.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_readefs.c m_readefs.c:57:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | admonish (NULLCP, "bug: m_readefs called but pump not primed"); | ^ m_readefs.c:62:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | switch (state = m_getfld (state, name, field, sizeof field, ib)) { | ^ m_readefs.c:68:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | adios (NULLCP, "unable to allocate profile storage"); | ^ m_readefs.c:71:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | np -> n_name = getcpy (name); | ^ m_readefs.c:73:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | cp = getcpy (field); | ^ m_readefs.c:76:9: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | (state, name, field, sizeof field, ib); | ^ m_readefs.c:77:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | cp = add (field, cp); | ^ m_readefs.c:79:31: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | np -> n_field = trimcpy (cp); | ^ m_readefs.c:83:31: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | np -> n_field = trimcpy (field); | ^ m_readefs.c:96:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | adios (NULLCP, "no blank lines are permitted in %s", file); | ^ m_readefs.c:102:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | adios (NULLCP, "%s is poorly formatted", file); | ^ m_readefs.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | void m_readefs (npp, ib, file, ctx) | ^ In file included from m_readefs.c:6: ./../h/mh.h:289:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 289 | void m_readefs (); | ^ 13 warnings generated. ld -x -r m_readefs.o mv a.out m_readefs.o rm -f m_remsg.o shared/m_remsg.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_remsg.c m_remsg.c:33:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | adios (NULLCP, "unable to re-allocate folder storage"); | ^ m_remsg.c:10:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | struct msgs *m_remsg (mp, lo, hi) | ^ In file included from m_remsg.c:6: ./../h/mh.h:290:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 290 | struct msgs *m_remsg (); | ^ 3 warnings generated. mv m_remsg.o shared/m_remsg.o rm -f m_remsg.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_remsg.c m_remsg.c:33:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | adios (NULLCP, "unable to re-allocate folder storage"); | ^ m_remsg.c:10:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | struct msgs *m_remsg (mp, lo, hi) | ^ In file included from m_remsg.c:6: ./../h/mh.h:290:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 290 | struct msgs *m_remsg (); | ^ 3 warnings generated. ld -x -r m_remsg.o mv a.out m_remsg.o rm -f m_replace.o shared/m_replace.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_replace.c m_replace.c:17:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | adios (NULLCP, "unable to allocate profile storage"); | ^ m_replace.c:19:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | np -> n_name = getcpy (key); | ^ m_replace.c:20:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | np -> n_field = getcpy (value); | ^ m_replace.c:28:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | if (uleq (np -> n_name, key)) { | ^ m_replace.c:31:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | admonish (NULLCP, "bug: m_replace(key=\"%s\",value=\"%s\")", | ^ m_replace.c:35:26: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | np -> n_field = getcpy (value); | ^ m_replace.c:45:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | adios (NULLCP, "unable to allocate profile storage"); | ^ m_replace.c:48:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | np -> n_name = getcpy (key); | ^ m_replace.c:49:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | np -> n_field = getcpy (value); | ^ m_replace.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_replace (key, value) | ^ In file included from m_replace.c:3: ./../h/mh.h:291:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 291 | void m_replace (); | ^ 11 warnings generated. mv m_replace.o shared/m_replace.o rm -f m_replace.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_replace.c m_replace.c:17:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | adios (NULLCP, "unable to allocate profile storage"); | ^ m_replace.c:19:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | np -> n_name = getcpy (key); | ^ m_replace.c:20:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | np -> n_field = getcpy (value); | ^ m_replace.c:28:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | if (uleq (np -> n_name, key)) { | ^ m_replace.c:31:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | admonish (NULLCP, "bug: m_replace(key=\"%s\",value=\"%s\")", | ^ m_replace.c:35:26: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | np -> n_field = getcpy (value); | ^ m_replace.c:45:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | adios (NULLCP, "unable to allocate profile storage"); | ^ m_replace.c:48:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | np -> n_name = getcpy (key); | ^ m_replace.c:49:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | np -> n_field = getcpy (value); | ^ m_replace.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_replace (key, value) | ^ In file included from m_replace.c:3: ./../h/mh.h:291:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 291 | void m_replace (); | ^ 11 warnings generated. ld -x -r m_replace.o mv a.out m_replace.o rm -f m_scratch.o shared/m_scratch.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_scratch.c m_scratch.c:17:24: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if ((cp = r1bindex (file, '/')) == file) | ^ m_scratch.c:20:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 20 | (void) sprintf (buffer, "%.*s%s", cp - file, file, tmpfil); | ~~^~ ~~~~~~~~~ m_scratch.c:21:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | (void) unlink (buffer); | ^ m_scratch.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *m_scratch (file, template) | ^ In file included from m_scratch.c:3: ./../h/mh.h:292:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 292 | char *m_scratch (); | ^ 5 warnings generated. mv m_scratch.o shared/m_scratch.o rm -f m_scratch.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_scratch.c m_scratch.c:17:24: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if ((cp = r1bindex (file, '/')) == file) | ^ m_scratch.c:20:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 20 | (void) sprintf (buffer, "%.*s%s", cp - file, file, tmpfil); | ~~^~ ~~~~~~~~~ m_scratch.c:21:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | (void) unlink (buffer); | ^ m_scratch.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *m_scratch (file, template) | ^ In file included from m_scratch.c:3: ./../h/mh.h:292:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 292 | char *m_scratch (); | ^ 5 warnings generated. ld -x -r m_scratch.o mv a.out m_scratch.o rm -f m_seq.o shared/m_seq.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_seq.c m_seq.c:25:38: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | (void) sprintf(buffer, "%s", m_name(mp->curmsg)); | ^ m_seq.c:46:34: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | (void) sprintf(bp, "%s", m_name(i)); | ^ m_seq.c:53:36: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | (void) sprintf(bp, "-%s", m_name(i - 1)); | ^ m_seq.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | m_seq(mp, cp) | ^ In file included from m_seq.c:6: ./../h/mh.h:293:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 293 | char *m_seq (); | ^ 5 warnings generated. mv m_seq.o shared/m_seq.o rm -f m_seq.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_seq.c m_seq.c:25:38: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | (void) sprintf(buffer, "%s", m_name(mp->curmsg)); | ^ m_seq.c:46:34: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | (void) sprintf(bp, "%s", m_name(i)); | ^ m_seq.c:53:36: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | (void) sprintf(bp, "-%s", m_name(i - 1)); | ^ m_seq.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | m_seq(mp, cp) | ^ In file included from m_seq.c:6: ./../h/mh.h:293:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 293 | char *m_seq (); | ^ 5 warnings generated. ld -x -r m_seq.o mv a.out m_seq.o rm -f m_seqbits.o shared/m_seqbits.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_seqbits.c m_seqbits.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *m_seqbits (mp) | ^ In file included from m_seqbits.c:3: ./../h/mh.h:295:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 295 | char *m_seqbits (); | ^ 2 warnings generated. mv m_seqbits.o shared/m_seqbits.o rm -f m_seqbits.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_seqbits.c m_seqbits.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *m_seqbits (mp) | ^ In file included from m_seqbits.c:3: ./../h/mh.h:295:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 295 | char *m_seqbits (); | ^ 2 warnings generated. ld -x -r m_seqbits.o mv a.out m_seqbits.o rm -f m_seqflag.o shared/m_seqflag.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_seqflag.c m_seqflag.c:6:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int m_seqflag (mp, cp) | ^ In file included from m_seqflag.c:3: ./../h/mh.h:297:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 297 | int m_seqflag (); | ^ 2 warnings generated. mv m_seqflag.o shared/m_seqflag.o rm -f m_seqflag.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_seqflag.c m_seqflag.c:6:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int m_seqflag (mp, cp) | ^ In file included from m_seqflag.c:3: ./../h/mh.h:297:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 297 | int m_seqflag (); | ^ 2 warnings generated. ld -x -r m_seqflag.o mv a.out m_seqflag.o rm -f m_seqnew.o shared/m_seqnew.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_seqnew.c m_seqnew.c:21:18: warning: passing arguments to 'm_seqok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | if (!m_seqok (cp)) | ^ m_seqnew.c:42:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | advise (NULLCP, "only %d sequences allowed (no room for %s)!", | ^ m_seqnew.c:47:32: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | mp -> msgattrs[i] = getcpy (cp); | ^ m_seqnew.c:12:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | int m_seqnew (mp, cp, public) | ^ In file included from m_seqnew.c:6: ./../h/mh.h:298:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 298 | int m_seqnew (); | ^ m_seqnew.c:73:18: warning: passing arguments to 'm_seqok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if (!m_seqok (cp)) | ^ m_seqnew.c:97:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | advise (NULLCP, "only %d sequences allowed (no room for %s)!", | ^ m_seqnew.c:102:32: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | mp -> msgattrs[i] = getcpy (cp); | ^ m_seqnew.c:63:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | int m_seqadd (mp, cp, j, public) | ^ In file included from m_seqnew.c:6: ./../h/mh.h:294:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 294 | int m_seqadd (); | ^ m_seqnew.c:127:18: warning: passing arguments to 'm_seqok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if (!m_seqok (cp)) | ^ m_seqnew.c:139:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | advise (NULLCP, "no such sequence as %s", cp); | ^ m_seqnew.c:119:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | int m_seqdel (mp, cp, j) | ^ In file included from m_seqnew.c:6: ./../h/mh.h:296:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 296 | int m_seqdel (); | ^ m_seqnew.c:151:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | advise (NULLCP, "empty sequence name"); | ^ m_seqnew.c:164:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | advise (NULLCP, "illegal sequence name: %s", cp); | ^ m_seqnew.c:169:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | advise (NULLCP, "illegal sequence name: %s", cp); | ^ m_seqnew.c:174:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | advise (NULLCP, "illegal sequence name: %s", cp); | ^ m_seqnew.c:178:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | advise (NULLCP, "illegal sequence name: %s", cp); | ^ m_seqnew.c:145:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | static int m_seqok (cp) | ^ m_seqnew.c:10:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | static int m_seqok(); | ^ 21 warnings generated. mv m_seqnew.o shared/m_seqnew.o rm -f m_seqnew.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_seqnew.c m_seqnew.c:21:18: warning: passing arguments to 'm_seqok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | if (!m_seqok (cp)) | ^ m_seqnew.c:42:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | advise (NULLCP, "only %d sequences allowed (no room for %s)!", | ^ m_seqnew.c:47:32: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | mp -> msgattrs[i] = getcpy (cp); | ^ m_seqnew.c:12:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | int m_seqnew (mp, cp, public) | ^ In file included from m_seqnew.c:6: ./../h/mh.h:298:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 298 | int m_seqnew (); | ^ m_seqnew.c:73:18: warning: passing arguments to 'm_seqok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if (!m_seqok (cp)) | ^ m_seqnew.c:97:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | advise (NULLCP, "only %d sequences allowed (no room for %s)!", | ^ m_seqnew.c:102:32: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | mp -> msgattrs[i] = getcpy (cp); | ^ m_seqnew.c:63:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | int m_seqadd (mp, cp, j, public) | ^ In file included from m_seqnew.c:6: ./../h/mh.h:294:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 294 | int m_seqadd (); | ^ m_seqnew.c:127:18: warning: passing arguments to 'm_seqok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if (!m_seqok (cp)) | ^ m_seqnew.c:139:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | advise (NULLCP, "no such sequence as %s", cp); | ^ m_seqnew.c:119:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | int m_seqdel (mp, cp, j) | ^ In file included from m_seqnew.c:6: ./../h/mh.h:296:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 296 | int m_seqdel (); | ^ m_seqnew.c:151:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | advise (NULLCP, "empty sequence name"); | ^ m_seqnew.c:164:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | advise (NULLCP, "illegal sequence name: %s", cp); | ^ m_seqnew.c:169:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | advise (NULLCP, "illegal sequence name: %s", cp); | ^ m_seqnew.c:174:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | advise (NULLCP, "illegal sequence name: %s", cp); | ^ m_seqnew.c:178:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | advise (NULLCP, "illegal sequence name: %s", cp); | ^ m_seqnew.c:145:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | static int m_seqok (cp) | ^ m_seqnew.c:10:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | static int m_seqok(); | ^ 21 warnings generated. ld -x -r m_seqnew.o mv a.out m_seqnew.o rm -f m_setcur.o shared/m_setcur.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_setcur.c m_setcur.c:23:19: warning: passing arguments to 'm_seqnew' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | if (!m_seqnew (mp, current, public)) | ^ m_setcur.c:25:21: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | (void) m_seqadd (mp, current, mp -> curmsg = num, public); | ^ m_setcur.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_setcur (mp, num) | ^ In file included from m_setcur.c:3: ./../h/mh.h:299:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 299 | void m_setcur (); | ^ 4 warnings generated. mv m_setcur.o shared/m_setcur.o rm -f m_setcur.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_setcur.c m_setcur.c:23:19: warning: passing arguments to 'm_seqnew' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | if (!m_seqnew (mp, current, public)) | ^ m_setcur.c:25:21: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | (void) m_seqadd (mp, current, mp -> curmsg = num, public); | ^ m_setcur.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_setcur (mp, num) | ^ In file included from m_setcur.c:3: ./../h/mh.h:299:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 299 | void m_setcur (); | ^ 4 warnings generated. ld -x -r m_setcur.o mv a.out m_setcur.o rm -f m_setseq.o shared/m_setseq.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_setseq.c m_setseq.c:16:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | if ((cp = m_find (psequence)) == NULL | ^ m_setseq.c:17:38: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ m_setseq.c:17:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ m_setseq.c:25:15: warning: passing arguments to 'm_seqnew' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | if (m_seqnew (mp, *ap, -1)) | ^ m_setseq.c:28:23: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | (void) m_seqadd (mp, *ap, msgnum, -1); | ^ m_setseq.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_setseq (mp) | ^ In file included from m_setseq.c:3: ./../h/mh.h:300:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 300 | void m_setseq (); | ^ 7 warnings generated. mv m_setseq.o shared/m_setseq.o rm -f m_setseq.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_setseq.c m_setseq.c:16:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | if ((cp = m_find (psequence)) == NULL | ^ m_setseq.c:17:38: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ m_setseq.c:17:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ m_setseq.c:25:15: warning: passing arguments to 'm_seqnew' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | if (m_seqnew (mp, *ap, -1)) | ^ m_setseq.c:28:23: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | (void) m_seqadd (mp, *ap, msgnum, -1); | ^ m_setseq.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_setseq (mp) | ^ In file included from m_setseq.c:3: ./../h/mh.h:300:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 300 | void m_setseq (); | ^ 7 warnings generated. ld -x -r m_setseq.o mv a.out m_setseq.o rm -f m_setvis.o shared/m_setvis.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_setvis.c m_setvis.c:17:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if ((cp = m_find (usequence)) == NULL | ^ m_setvis.c:18:38: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ m_setvis.c:18:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ m_setvis.c:27:20: warning: passing arguments to 'm_seqflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | if (m_seqflag (mp, *ap)) | ^ m_setvis.c:30:20: warning: passing arguments to 'm_seqdel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | (void) m_seqdel (mp, *ap, msgnum); | ^ m_setvis.c:35:23: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | (void) m_seqadd (mp, *ap, msgnum, -1); | ^ m_setvis.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_setvis (mp, seen) | ^ In file included from m_setvis.c:3: ./../h/mh.h:301:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 301 | void m_setvis (); | ^ 8 warnings generated. mv m_setvis.o shared/m_setvis.o rm -f m_setvis.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_setvis.c m_setvis.c:17:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if ((cp = m_find (usequence)) == NULL | ^ m_setvis.c:18:38: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ m_setvis.c:18:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ m_setvis.c:27:20: warning: passing arguments to 'm_seqflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | if (m_seqflag (mp, *ap)) | ^ m_setvis.c:30:20: warning: passing arguments to 'm_seqdel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | (void) m_seqdel (mp, *ap, msgnum); | ^ m_setvis.c:35:23: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | (void) m_seqadd (mp, *ap, msgnum, -1); | ^ m_setvis.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_setvis (mp, seen) | ^ In file included from m_setvis.c:3: ./../h/mh.h:301:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 301 | void m_setvis (); | ^ 8 warnings generated. ld -x -r m_setvis.o mv a.out m_setvis.o rm -f m_sync.o shared/m_sync.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_sync.c m_sync.c:56:21: warning: passing arguments to 'm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if (cp = m_seq (mp, mp -> msgattrs[i])) | ^ m_sync.c:56:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 56 | if (cp = m_seq (mp, mp -> msgattrs[i])) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_sync.c:56:13: note: place parentheses around the assignment to silence this warning 56 | if (cp = m_seq (mp, mp -> msgattrs[i])) | ^ | ( ) m_sync.c:56:13: note: use '==' to turn this assignment into an equality comparison 56 | if (cp = m_seq (mp, mp -> msgattrs[i])) | ^ | == m_sync.c:57:13: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | m_replace (attr, cp); | ^ m_sync.c:59:19: warning: passing arguments to 'm_delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | (void) m_delete (attr); | ^ m_sync.c:62:22: warning: passing arguments to 'm_delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | (void) m_delete (attr); | ^ m_sync.c:63:22: warning: passing arguments to 'm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if ((cp = m_seq (mp, mp -> msgattrs[i])) == NULL) | ^ m_sync.c:67:8: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | && (unlink (seq) == NOTOK || | ^ m_sync.c:69:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | admonish (attr, "unable to write"); | ^ m_sync.c:99:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | (void) unlink (seq); | ^ m_sync.c:21:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | void m_sync (mp) | ^ In file included from m_sync.c:6: ./../h/mh.h:302:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 302 | void m_sync (); | ^ 11 warnings generated. mv m_sync.o shared/m_sync.o rm -f m_sync.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_sync.c m_sync.c:56:21: warning: passing arguments to 'm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if (cp = m_seq (mp, mp -> msgattrs[i])) | ^ m_sync.c:56:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 56 | if (cp = m_seq (mp, mp -> msgattrs[i])) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_sync.c:56:13: note: place parentheses around the assignment to silence this warning 56 | if (cp = m_seq (mp, mp -> msgattrs[i])) | ^ | ( ) m_sync.c:56:13: note: use '==' to turn this assignment into an equality comparison 56 | if (cp = m_seq (mp, mp -> msgattrs[i])) | ^ | == m_sync.c:57:13: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | m_replace (attr, cp); | ^ m_sync.c:59:19: warning: passing arguments to 'm_delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | (void) m_delete (attr); | ^ m_sync.c:62:22: warning: passing arguments to 'm_delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | (void) m_delete (attr); | ^ m_sync.c:63:22: warning: passing arguments to 'm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if ((cp = m_seq (mp, mp -> msgattrs[i])) == NULL) | ^ m_sync.c:67:8: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | && (unlink (seq) == NOTOK || | ^ m_sync.c:69:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | admonish (attr, "unable to write"); | ^ m_sync.c:99:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | (void) unlink (seq); | ^ m_sync.c:21:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | void m_sync (mp) | ^ In file included from m_sync.c:6: ./../h/mh.h:302:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 302 | void m_sync (); | ^ 11 warnings generated. ld -x -r m_sync.o mv a.out m_sync.o rm -f m_tmpfil.o shared/m_tmpfil.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_tmpfil.c m_tmpfil.c:13:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | (void) unlink (mktemp (tmpfil)); | ^ m_tmpfil.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *m_tmpfil (template) | ^ In file included from m_tmpfil.c:3: ./../h/mh.h:303:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 303 | char *m_tmpfil (); | ^ 3 warnings generated. mv m_tmpfil.o shared/m_tmpfil.o rm -f m_tmpfil.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_tmpfil.c m_tmpfil.c:13:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | (void) unlink (mktemp (tmpfil)); | ^ m_tmpfil.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *m_tmpfil (template) | ^ In file included from m_tmpfil.c:3: ./../h/mh.h:303:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 303 | char *m_tmpfil (); | ^ 3 warnings generated. ld -x -r m_tmpfil.o mv a.out m_tmpfil.o rm -f m_update.o shared/m_update.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_update.c m_update.c:43:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | adios (ctxpath, "unable to write"); | ^ m_update.c:58:2: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | _exit (0); /* we are child, time to die */ | ^ m_update.c:58:2: note: include the header or explicitly provide a declaration for '_exit' m_update.c:75:9: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | if (getuid () == geteuid ()) | ^ m_update.c:75:22: warning: call to undeclared function 'geteuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | if (getuid () == geteuid ()) | ^ m_update.c:78:29: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | for (i = 0; (child_id = fork ()) == -1 && i < 5; i++) | ^ m_update.c:79:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | sleep (5); | ^ m_update.c:85:13: warning: call to undeclared function 'setgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | (void) setgid (getgid ()); | ^ m_update.c:85:21: warning: call to undeclared function 'getgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | (void) setgid (getgid ()); | ^ m_update.c:86:13: warning: call to undeclared function 'setuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | (void) setuid (getuid ()); | ^ m_update.c:90:21: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | (void) pidwait (child_id, NOTOK); | ^ 10 warnings generated. mv m_update.o shared/m_update.o rm -f m_update.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_update.c m_update.c:43:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | adios (ctxpath, "unable to write"); | ^ m_update.c:58:2: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | _exit (0); /* we are child, time to die */ | ^ m_update.c:58:2: note: include the header or explicitly provide a declaration for '_exit' m_update.c:75:9: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | if (getuid () == geteuid ()) | ^ m_update.c:75:22: warning: call to undeclared function 'geteuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | if (getuid () == geteuid ()) | ^ m_update.c:78:29: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | for (i = 0; (child_id = fork ()) == -1 && i < 5; i++) | ^ m_update.c:79:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | sleep (5); | ^ m_update.c:85:13: warning: call to undeclared function 'setgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | (void) setgid (getgid ()); | ^ m_update.c:85:21: warning: call to undeclared function 'getgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | (void) setgid (getgid ()); | ^ m_update.c:86:13: warning: call to undeclared function 'setuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | (void) setuid (getuid ()); | ^ m_update.c:90:21: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | (void) pidwait (child_id, NOTOK); | ^ 10 warnings generated. ld -x -r m_update.o mv a.out m_update.o rm -f ml_codeconv.o shared/ml_codeconv.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic ml_codeconv.c ml_codeconv.c:60:17: warning: passing arguments to 'read_profile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | read_profile(ml_coding_info); | ^ ml_codeconv.c:78:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | if ((s = m_find("display-coding")) == NULL) | ^ ml_codeconv.c:80:36: warning: passing arguments to 'coding_to_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | CSL_DISPLAY(csl) = coding_to_cs(s); | ^ ml_codeconv.c:83:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | if ((s = m_find("file-coding")) == NULL) | ^ ml_codeconv.c:85:33: warning: passing arguments to 'coding_to_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | CSL_FILE(csl) = coding_to_cs(s); | ^ ml_codeconv.c:88:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | if ((s = m_find("process-coding")) == NULL) | ^ ml_codeconv.c:90:36: warning: passing arguments to 'coding_to_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | CSL_PROCESS(csl) = coding_to_cs(s); | ^ ml_codeconv.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | read_profile(csl) | ^ ml_codeconv.c:43:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static void read_profile(); | ^ ml_codeconv.c:104:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | else if (uleq(coding, "ja_JP.JIS7")) | ^ ml_codeconv.c:106:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | else if (uleq(coding, "ja_JP.EUC")) | ^ ml_codeconv.c:108:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | else if (uleq(coding, "ja_JP.SJIS")) | ^ ml_codeconv.c:110:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | else if (uleq(coding, "C")) | ^ ml_codeconv.c:114:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | else if (uleq(coding,"japanese") || uleq(coding,"ja_JP.jis8") | ^ ml_codeconv.c:114:45: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | else if (uleq(coding,"japanese") || uleq(coding,"ja_JP.jis8") | ^ ml_codeconv.c:115:9: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | || uleq(coding,"ja_JP.pjis") || uleq(coding,"ja_JP.jis") | ^ ml_codeconv.c:115:38: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | || uleq(coding,"ja_JP.pjis") || uleq(coding,"ja_JP.jis") | ^ ml_codeconv.c:116:9: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | || uleq(coding,"wr_WR.ct") || uleq(coding,"wr_WR.junet")) { | ^ ml_codeconv.c:116:38: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | || uleq(coding,"wr_WR.ct") || uleq(coding,"wr_WR.junet")) { | ^ ml_codeconv.c:118:20: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | } else if (uleq(coding,"ja_JP.ujis")) { | ^ ml_codeconv.c:120:20: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | } else if (uleq(coding,"ja_JP.mscode")) { | ^ ml_codeconv.c:122:20: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | } else if (uleq(coding,"noconv")) { | ^ ml_codeconv.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | coding_to_cs(coding) | ^ ml_codeconv.c:44:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static coding_system_t coding_to_cs(); | ^ ml_codeconv.c:135:44: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | if (fstat(fileno(stream), &buf)) adios (NULLCP, "unable to fstat stream"); | ^ ml_codeconv.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | select_coding_system(stream) | ^ ml_codeconv.c:45:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static coding_system_t select_coding_system(); | ^ ml_codeconv.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | ml_ismlchar(c) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:380:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 380 | int ml_ismlchar (); | ^ ml_codeconv.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | ml_ismlptr(p) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:381:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 381 | int ml_ismlptr (); | ^ ml_codeconv.c:175:17: warning: passing arguments to 'ml_fputs_sbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | ml_fputs_sbr(scanlk, stream, 0); | ^ ml_codeconv.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | ml_fputs(scanlk, stream) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:382:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 382 | void ml_fputs (); | ^ ml_codeconv.c:183:17: warning: passing arguments to 'ml_fputs_sbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | ml_fputs_sbr(scanlk, stream, 1); | ^ ml_codeconv.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | ml_pretty_fputs(scanlk, stream) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:383:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 383 | void ml_pretty_fputs (); | ^ ml_codeconv.c:191:15: warning: passing arguments to 'jis7_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | jis7_fputs(scanlk, stream, 0); | ^ ml_codeconv.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | junet_fputs(scanlk, stream) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:384:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 384 | void junet_fputs (); | ^ ml_codeconv.c:206:12: warning: passing arguments to 'sjis_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | sjis_fputs(scanlk, stream, pretty); | ^ ml_codeconv.c:209:12: warning: passing arguments to 'jeuc_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | jeuc_fputs(scanlk, stream, pretty); | ^ ml_codeconv.c:214:12: warning: passing arguments to 'jis7_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | jis7_fputs(scanlk, stream, pretty); | ^ ml_codeconv.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | ml_fputs_sbr(scanlk, stream, pretty) | ^ ml_codeconv.c:46:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static void ml_fputs_sbr(); | ^ ml_codeconv.c:231:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 231 | while (u1 = *scanlk++) { | ~~~^~~~~~~~~~~ ml_codeconv.c:231:15: note: place parentheses around the assignment to silence this warning 231 | while (u1 = *scanlk++) { | ^ | ( ) ml_codeconv.c:231:15: note: use '==' to turn this assignment into an equality comparison 231 | while (u1 = *scanlk++) { | ^ | == ml_codeconv.c:243:16: warning: passing arguments to 'cntrl_putc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | cntrl_putc(u1, stream); | ^ ml_codeconv.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | jeuc_fputs(scanlk, stream, pretty) | ^ ml_codeconv.c:47:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static void jeuc_fputs(); | ^ ml_codeconv.c:271:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 271 | while (u1 = *scanlk++) { | ~~~^~~~~~~~~~~ ml_codeconv.c:271:15: note: place parentheses around the assignment to silence this warning 271 | while (u1 = *scanlk++) { | ^ | ( ) ml_codeconv.c:271:15: note: use '==' to turn this assignment into an equality comparison 271 | while (u1 = *scanlk++) { | ^ | == ml_codeconv.c:284:16: warning: passing arguments to 'cntrl_putc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | cntrl_putc(u1, stream); | ^ ml_codeconv.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | sjis_fputs(scanlk, stream, pretty) | ^ ml_codeconv.c:48:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static void sjis_fputs(); | ^ ml_codeconv.c:311:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 311 | while (u1 = *scanlk++) { | ~~~^~~~~~~~~~~ ml_codeconv.c:311:15: note: place parentheses around the assignment to silence this warning 311 | while (u1 = *scanlk++) { | ^ | ( ) ml_codeconv.c:311:15: note: use '==' to turn this assignment into an equality comparison 311 | while (u1 = *scanlk++) { | ^ | == ml_codeconv.c:327:16: warning: passing arguments to 'cntrl_putc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | cntrl_putc(u1, stream); | ^ ml_codeconv.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | jis7_fputs(scanlk, stream, pretty) | ^ ml_codeconv.c:49:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static void jis7_fputs(); | ^ ml_codeconv.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | cntrl_putc(c, stream) | ^ ml_codeconv.c:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static void cntrl_putc(); | ^ ml_codeconv.c:364:16: warning: passing arguments to 'ml_conv_sbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | ml_conv_sbr(s, coding); | ^ ml_codeconv.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | ml_conv(s) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:385:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 385 | char *ml_conv (); | ^ ml_codeconv.c:398:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 398 | while (c1 = *in++) { | ~~~^~~~~~~ ml_codeconv.c:398:15: note: place parentheses around the assignment to silence this warning 398 | while (c1 = *in++) { | ^ | ( ) ml_codeconv.c:398:15: note: use '==' to turn this assignment into an equality comparison 398 | while (c1 = *in++) { | ^ | == ml_codeconv.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | ml_conv_sbr(in, cs) | ^ ml_codeconv.c:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static void ml_conv_sbr(); | ^ 65 warnings generated. mv ml_codeconv.o shared/ml_codeconv.o rm -f ml_codeconv.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c ml_codeconv.c ml_codeconv.c:60:17: warning: passing arguments to 'read_profile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | read_profile(ml_coding_info); | ^ ml_codeconv.c:78:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | if ((s = m_find("display-coding")) == NULL) | ^ ml_codeconv.c:80:36: warning: passing arguments to 'coding_to_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | CSL_DISPLAY(csl) = coding_to_cs(s); | ^ ml_codeconv.c:83:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | if ((s = m_find("file-coding")) == NULL) | ^ ml_codeconv.c:85:33: warning: passing arguments to 'coding_to_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | CSL_FILE(csl) = coding_to_cs(s); | ^ ml_codeconv.c:88:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | if ((s = m_find("process-coding")) == NULL) | ^ ml_codeconv.c:90:36: warning: passing arguments to 'coding_to_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | CSL_PROCESS(csl) = coding_to_cs(s); | ^ ml_codeconv.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | read_profile(csl) | ^ ml_codeconv.c:43:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static void read_profile(); | ^ ml_codeconv.c:104:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | else if (uleq(coding, "ja_JP.JIS7")) | ^ ml_codeconv.c:106:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | else if (uleq(coding, "ja_JP.EUC")) | ^ ml_codeconv.c:108:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | else if (uleq(coding, "ja_JP.SJIS")) | ^ ml_codeconv.c:110:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | else if (uleq(coding, "C")) | ^ ml_codeconv.c:114:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | else if (uleq(coding,"japanese") || uleq(coding,"ja_JP.jis8") | ^ ml_codeconv.c:114:45: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | else if (uleq(coding,"japanese") || uleq(coding,"ja_JP.jis8") | ^ ml_codeconv.c:115:9: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | || uleq(coding,"ja_JP.pjis") || uleq(coding,"ja_JP.jis") | ^ ml_codeconv.c:115:38: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | || uleq(coding,"ja_JP.pjis") || uleq(coding,"ja_JP.jis") | ^ ml_codeconv.c:116:9: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | || uleq(coding,"wr_WR.ct") || uleq(coding,"wr_WR.junet")) { | ^ ml_codeconv.c:116:38: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | || uleq(coding,"wr_WR.ct") || uleq(coding,"wr_WR.junet")) { | ^ ml_codeconv.c:118:20: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | } else if (uleq(coding,"ja_JP.ujis")) { | ^ ml_codeconv.c:120:20: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | } else if (uleq(coding,"ja_JP.mscode")) { | ^ ml_codeconv.c:122:20: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | } else if (uleq(coding,"noconv")) { | ^ ml_codeconv.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | coding_to_cs(coding) | ^ ml_codeconv.c:44:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static coding_system_t coding_to_cs(); | ^ ml_codeconv.c:135:44: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | if (fstat(fileno(stream), &buf)) adios (NULLCP, "unable to fstat stream"); | ^ ml_codeconv.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | select_coding_system(stream) | ^ ml_codeconv.c:45:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static coding_system_t select_coding_system(); | ^ ml_codeconv.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | ml_ismlchar(c) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:380:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 380 | int ml_ismlchar (); | ^ ml_codeconv.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | ml_ismlptr(p) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:381:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 381 | int ml_ismlptr (); | ^ ml_codeconv.c:175:17: warning: passing arguments to 'ml_fputs_sbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | ml_fputs_sbr(scanlk, stream, 0); | ^ ml_codeconv.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | ml_fputs(scanlk, stream) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:382:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 382 | void ml_fputs (); | ^ ml_codeconv.c:183:17: warning: passing arguments to 'ml_fputs_sbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | ml_fputs_sbr(scanlk, stream, 1); | ^ ml_codeconv.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | ml_pretty_fputs(scanlk, stream) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:383:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 383 | void ml_pretty_fputs (); | ^ ml_codeconv.c:191:15: warning: passing arguments to 'jis7_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | jis7_fputs(scanlk, stream, 0); | ^ ml_codeconv.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | junet_fputs(scanlk, stream) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:384:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 384 | void junet_fputs (); | ^ ml_codeconv.c:206:12: warning: passing arguments to 'sjis_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | sjis_fputs(scanlk, stream, pretty); | ^ ml_codeconv.c:209:12: warning: passing arguments to 'jeuc_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | jeuc_fputs(scanlk, stream, pretty); | ^ ml_codeconv.c:214:12: warning: passing arguments to 'jis7_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | jis7_fputs(scanlk, stream, pretty); | ^ ml_codeconv.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | ml_fputs_sbr(scanlk, stream, pretty) | ^ ml_codeconv.c:46:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static void ml_fputs_sbr(); | ^ ml_codeconv.c:231:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 231 | while (u1 = *scanlk++) { | ~~~^~~~~~~~~~~ ml_codeconv.c:231:15: note: place parentheses around the assignment to silence this warning 231 | while (u1 = *scanlk++) { | ^ | ( ) ml_codeconv.c:231:15: note: use '==' to turn this assignment into an equality comparison 231 | while (u1 = *scanlk++) { | ^ | == ml_codeconv.c:243:16: warning: passing arguments to 'cntrl_putc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | cntrl_putc(u1, stream); | ^ ml_codeconv.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | jeuc_fputs(scanlk, stream, pretty) | ^ ml_codeconv.c:47:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static void jeuc_fputs(); | ^ ml_codeconv.c:271:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 271 | while (u1 = *scanlk++) { | ~~~^~~~~~~~~~~ ml_codeconv.c:271:15: note: place parentheses around the assignment to silence this warning 271 | while (u1 = *scanlk++) { | ^ | ( ) ml_codeconv.c:271:15: note: use '==' to turn this assignment into an equality comparison 271 | while (u1 = *scanlk++) { | ^ | == ml_codeconv.c:284:16: warning: passing arguments to 'cntrl_putc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | cntrl_putc(u1, stream); | ^ ml_codeconv.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | sjis_fputs(scanlk, stream, pretty) | ^ ml_codeconv.c:48:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static void sjis_fputs(); | ^ ml_codeconv.c:311:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 311 | while (u1 = *scanlk++) { | ~~~^~~~~~~~~~~ ml_codeconv.c:311:15: note: place parentheses around the assignment to silence this warning 311 | while (u1 = *scanlk++) { | ^ | ( ) ml_codeconv.c:311:15: note: use '==' to turn this assignment into an equality comparison 311 | while (u1 = *scanlk++) { | ^ | == ml_codeconv.c:327:16: warning: passing arguments to 'cntrl_putc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | cntrl_putc(u1, stream); | ^ ml_codeconv.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | jis7_fputs(scanlk, stream, pretty) | ^ ml_codeconv.c:49:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static void jis7_fputs(); | ^ ml_codeconv.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | cntrl_putc(c, stream) | ^ ml_codeconv.c:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static void cntrl_putc(); | ^ ml_codeconv.c:364:16: warning: passing arguments to 'ml_conv_sbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | ml_conv_sbr(s, coding); | ^ ml_codeconv.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | ml_conv(s) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:385:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 385 | char *ml_conv (); | ^ ml_codeconv.c:398:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 398 | while (c1 = *in++) { | ~~~^~~~~~~ ml_codeconv.c:398:15: note: place parentheses around the assignment to silence this warning 398 | while (c1 = *in++) { | ^ | ( ) ml_codeconv.c:398:15: note: use '==' to turn this assignment into an equality comparison 398 | while (c1 = *in++) { | ^ | == ml_codeconv.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | ml_conv_sbr(in, cs) | ^ ml_codeconv.c:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static void ml_conv_sbr(); | ^ 65 warnings generated. ld -x -r ml_codeconv.o mv a.out ml_codeconv.o rm -f ml_exthdr.o shared/ml_exthdr.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic ml_exthdr.c ml_exthdr.c:87:13: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | if (uprf(component, "X-")) | ^ ml_exthdr.c:92:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | if (uleq(component, *p)) { | ^ ml_exthdr.c:102:21: warning: passing arguments to 'ml_to_mmh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | (void) ml_to_mmh(input, output, width); | ^ ml_exthdr.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | exthdr_encode(input, output, width, component) | ^ In file included from ml_exthdr.c:7: ./../h/mh.h:388:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 388 | char *exthdr_encode (); | ^ ml_exthdr.c:183:20: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | if (ml_ismlptr(p)) { | ^ ml_exthdr.c:172:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | int encoded_length(buf, bp, kanji_pos, p) | ^ ml_exthdr.c:228:17: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | if (ml_ismlptr(pp)) { | ^ ml_exthdr.c:252:17: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | if (ml_ismlptr(pp)) { | ^ ml_exthdr.c:279:36: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | if (japan_environ ? ml_ismlptr(pp) : (*pp & 0x80)) { | ^ ml_exthdr.c:320:36: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | if (japan_environ ? ml_ismlptr(pp) : (*pp & 0x80)) { | ^ ml_exthdr.c:210:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | int parse_specials(encodep, ctextp, dpp, epp, ppp) | ^ ml_exthdr.c:386:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | mm_charset = m_find("MM-Charset"); | ^ ml_exthdr.c:411:18: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | if (ml_ismlptr(pp)) { | ^ ml_exthdr.c:425:18: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | if (ml_ismlptr(pp)) { | ^ ml_exthdr.c:488:17: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | if (ml_ismlptr(ip)) { | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | PUT_ENCODED_WORD(); | ^ ml_exthdr.c:137:11: note: expanded from macro 'PUT_ENCODED_WORD' 137 | op = copy("=?ISO-2022-JP?B?", op); width += 16;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'bin_to_b64' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:138:16: note: expanded from macro 'PUT_ENCODED_WORD' 138 | x = bin_to_b64(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:140:11: note: expanded from macro 'PUT_ENCODED_WORD' 140 | op = copy("=?", op); width += 2;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:141:11: note: expanded from macro 'PUT_ENCODED_WORD' 141 | op = copy(mm_charset, op); width += strlen(mm_charset);\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:142:11: note: expanded from macro 'PUT_ENCODED_WORD' 142 | op = copy("?Q?", op); width += 3;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'bin_to_qpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:143:16: note: expanded from macro 'PUT_ENCODED_WORD' 143 | x = bin_to_qpr(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:145:14: note: expanded from macro 'PUT_ENCODED_WORD' 145 | op = copy("?=", op); width += 2;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | PUT_ENCODED_WORD(); | ^ ml_exthdr.c:137:11: note: expanded from macro 'PUT_ENCODED_WORD' 137 | op = copy("=?ISO-2022-JP?B?", op); width += 16;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'bin_to_b64' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:138:16: note: expanded from macro 'PUT_ENCODED_WORD' 138 | x = bin_to_b64(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:140:11: note: expanded from macro 'PUT_ENCODED_WORD' 140 | op = copy("=?", op); width += 2;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:141:11: note: expanded from macro 'PUT_ENCODED_WORD' 141 | op = copy(mm_charset, op); width += strlen(mm_charset);\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:142:11: note: expanded from macro 'PUT_ENCODED_WORD' 142 | op = copy("?Q?", op); width += 3;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'bin_to_qpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:143:16: note: expanded from macro 'PUT_ENCODED_WORD' 143 | x = bin_to_qpr(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:145:14: note: expanded from macro 'PUT_ENCODED_WORD' 145 | op = copy("?=", op); width += 2;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | PUT_ENCODED_WORD(); | ^ ml_exthdr.c:137:11: note: expanded from macro 'PUT_ENCODED_WORD' 137 | op = copy("=?ISO-2022-JP?B?", op); width += 16;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'bin_to_b64' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:138:16: note: expanded from macro 'PUT_ENCODED_WORD' 138 | x = bin_to_b64(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:140:11: note: expanded from macro 'PUT_ENCODED_WORD' 140 | op = copy("=?", op); width += 2;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:141:11: note: expanded from macro 'PUT_ENCODED_WORD' 141 | op = copy(mm_charset, op); width += strlen(mm_charset);\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:142:11: note: expanded from macro 'PUT_ENCODED_WORD' 142 | op = copy("?Q?", op); width += 3;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'bin_to_qpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:143:16: note: expanded from macro 'PUT_ENCODED_WORD' 143 | x = bin_to_qpr(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:145:14: note: expanded from macro 'PUT_ENCODED_WORD' 145 | op = copy("?=", op); width += 2;\ | ^ ml_exthdr.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | ml_to_mmh(ibuf, obuf, width) | ^ ml_exthdr.c:69:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | static int ml_to_mmh(); | ^ ml_exthdr.c:583:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 583 | while (c1 = *in++) { | ~~~^~~~~~~ ml_exthdr.c:583:15: note: place parentheses around the assignment to silence this warning 583 | while (c1 = *in++) { | ^ | ( ) ml_exthdr.c:583:15: note: use '==' to turn this assignment into an equality comparison 583 | while (c1 = *in++) { | ^ | == ml_exthdr.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | bin_to_b64(in, out) | ^ ml_exthdr.c:71:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static int bin_to_b64(); | ^ ml_exthdr.c:613:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 613 | while (c1 = *in++) { | ~~~^~~~~~~ ml_exthdr.c:613:15: note: place parentheses around the assignment to silence this warning 613 | while (c1 = *in++) { | ^ | ( ) ml_exthdr.c:613:15: note: use '==' to turn this assignment into an equality comparison 613 | while (c1 = *in++) { | ^ | == ml_exthdr.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | bin_to_qpr(in, out) | ^ ml_exthdr.c:72:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static int bin_to_qpr(); | ^ ml_exthdr.c:648:10: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | if (uprf(cp, "=?") && | ^ ml_exthdr.c:654:22: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | ((in = stringdex("?=", tmp + 1) + tmp + 1 - cp) >= 0) && | ^ ml_exthdr.c:655:23: warning: passing arguments to 'mmh_to_ml' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | ((out = mmh_to_ml(cp, cp+in+1, op)) >= 0)) { | ^ ml_exthdr.c:666:17: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | (void) ml_conv(first); | ^ ml_exthdr.c:684:16: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | (void) ml_conv(first); | ^ ml_exthdr.c:636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | exthdr_decode(input, output) | ^ In file included from ml_exthdr.c:7: ./../h/mh.h:389:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 389 | char *exthdr_decode (); | ^ ml_exthdr.c:725:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | if (!uleq(buf, "us-ascii") && (!mm_charset || !uleq(buf, mm_charset))) | ^ ml_exthdr.c:725:56: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | if (!uleq(buf, "us-ascii") && (!mm_charset || !uleq(buf, mm_charset))) | ^ ml_exthdr.c:744:19: warning: passing arguments to 'b64_to_bin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | (void) b64_to_bin(buf, op); | ^ ml_exthdr.c:746:19: warning: passing arguments to 'qpr_to_bin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | (void) qpr_to_bin(buf, op); | ^ ml_exthdr.c:695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | mmh_to_ml(bp, ep, op) | ^ ml_exthdr.c:70:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static int mmh_to_ml(); | ^ ml_exthdr.c:758:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 758 | while (c1 = *in++) { | ~~~^~~~~~~ ml_exthdr.c:758:15: note: place parentheses around the assignment to silence this warning 758 | while (c1 = *in++) { | ^ | ( ) ml_exthdr.c:758:15: note: use '==' to turn this assignment into an equality comparison 758 | while (c1 = *in++) { | ^ | == ml_exthdr.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | b64_to_bin(in, out) | ^ ml_exthdr.c:73:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static int b64_to_bin(); | ^ ml_exthdr.c:794:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 794 | while (c1 = *in++) { | ~~~^~~~~~~ ml_exthdr.c:794:15: note: place parentheses around the assignment to silence this warning 794 | while (c1 = *in++) { | ^ | ( ) ml_exthdr.c:794:15: note: use '==' to turn this assignment into an equality comparison 794 | while (c1 = *in++) { | ^ | == ml_exthdr.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | qpr_to_bin(in, out) | ^ ml_exthdr.c:74:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | static int qpr_to_bin(); | ^ 64 warnings generated. mv ml_exthdr.o shared/ml_exthdr.o rm -f ml_exthdr.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c ml_exthdr.c ml_exthdr.c:87:13: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | if (uprf(component, "X-")) | ^ ml_exthdr.c:92:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | if (uleq(component, *p)) { | ^ ml_exthdr.c:102:21: warning: passing arguments to 'ml_to_mmh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | (void) ml_to_mmh(input, output, width); | ^ ml_exthdr.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | exthdr_encode(input, output, width, component) | ^ In file included from ml_exthdr.c:7: ./../h/mh.h:388:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 388 | char *exthdr_encode (); | ^ ml_exthdr.c:183:20: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | if (ml_ismlptr(p)) { | ^ ml_exthdr.c:172:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | int encoded_length(buf, bp, kanji_pos, p) | ^ ml_exthdr.c:228:17: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | if (ml_ismlptr(pp)) { | ^ ml_exthdr.c:252:17: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | if (ml_ismlptr(pp)) { | ^ ml_exthdr.c:279:36: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | if (japan_environ ? ml_ismlptr(pp) : (*pp & 0x80)) { | ^ ml_exthdr.c:320:36: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | if (japan_environ ? ml_ismlptr(pp) : (*pp & 0x80)) { | ^ ml_exthdr.c:210:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | int parse_specials(encodep, ctextp, dpp, epp, ppp) | ^ ml_exthdr.c:386:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | mm_charset = m_find("MM-Charset"); | ^ ml_exthdr.c:411:18: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | if (ml_ismlptr(pp)) { | ^ ml_exthdr.c:425:18: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | if (ml_ismlptr(pp)) { | ^ ml_exthdr.c:488:17: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | if (ml_ismlptr(ip)) { | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | PUT_ENCODED_WORD(); | ^ ml_exthdr.c:137:11: note: expanded from macro 'PUT_ENCODED_WORD' 137 | op = copy("=?ISO-2022-JP?B?", op); width += 16;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'bin_to_b64' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:138:16: note: expanded from macro 'PUT_ENCODED_WORD' 138 | x = bin_to_b64(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:140:11: note: expanded from macro 'PUT_ENCODED_WORD' 140 | op = copy("=?", op); width += 2;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:141:11: note: expanded from macro 'PUT_ENCODED_WORD' 141 | op = copy(mm_charset, op); width += strlen(mm_charset);\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:142:11: note: expanded from macro 'PUT_ENCODED_WORD' 142 | op = copy("?Q?", op); width += 3;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'bin_to_qpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:143:16: note: expanded from macro 'PUT_ENCODED_WORD' 143 | x = bin_to_qpr(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:145:14: note: expanded from macro 'PUT_ENCODED_WORD' 145 | op = copy("?=", op); width += 2;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | PUT_ENCODED_WORD(); | ^ ml_exthdr.c:137:11: note: expanded from macro 'PUT_ENCODED_WORD' 137 | op = copy("=?ISO-2022-JP?B?", op); width += 16;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'bin_to_b64' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:138:16: note: expanded from macro 'PUT_ENCODED_WORD' 138 | x = bin_to_b64(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:140:11: note: expanded from macro 'PUT_ENCODED_WORD' 140 | op = copy("=?", op); width += 2;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:141:11: note: expanded from macro 'PUT_ENCODED_WORD' 141 | op = copy(mm_charset, op); width += strlen(mm_charset);\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:142:11: note: expanded from macro 'PUT_ENCODED_WORD' 142 | op = copy("?Q?", op); width += 3;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'bin_to_qpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:143:16: note: expanded from macro 'PUT_ENCODED_WORD' 143 | x = bin_to_qpr(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:145:14: note: expanded from macro 'PUT_ENCODED_WORD' 145 | op = copy("?=", op); width += 2;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | PUT_ENCODED_WORD(); | ^ ml_exthdr.c:137:11: note: expanded from macro 'PUT_ENCODED_WORD' 137 | op = copy("=?ISO-2022-JP?B?", op); width += 16;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'bin_to_b64' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:138:16: note: expanded from macro 'PUT_ENCODED_WORD' 138 | x = bin_to_b64(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:140:11: note: expanded from macro 'PUT_ENCODED_WORD' 140 | op = copy("=?", op); width += 2;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:141:11: note: expanded from macro 'PUT_ENCODED_WORD' 141 | op = copy(mm_charset, op); width += strlen(mm_charset);\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:142:11: note: expanded from macro 'PUT_ENCODED_WORD' 142 | op = copy("?Q?", op); width += 3;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'bin_to_qpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:143:16: note: expanded from macro 'PUT_ENCODED_WORD' 143 | x = bin_to_qpr(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:145:14: note: expanded from macro 'PUT_ENCODED_WORD' 145 | op = copy("?=", op); width += 2;\ | ^ ml_exthdr.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | ml_to_mmh(ibuf, obuf, width) | ^ ml_exthdr.c:69:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | static int ml_to_mmh(); | ^ ml_exthdr.c:583:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 583 | while (c1 = *in++) { | ~~~^~~~~~~ ml_exthdr.c:583:15: note: place parentheses around the assignment to silence this warning 583 | while (c1 = *in++) { | ^ | ( ) ml_exthdr.c:583:15: note: use '==' to turn this assignment into an equality comparison 583 | while (c1 = *in++) { | ^ | == ml_exthdr.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | bin_to_b64(in, out) | ^ ml_exthdr.c:71:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static int bin_to_b64(); | ^ ml_exthdr.c:613:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 613 | while (c1 = *in++) { | ~~~^~~~~~~ ml_exthdr.c:613:15: note: place parentheses around the assignment to silence this warning 613 | while (c1 = *in++) { | ^ | ( ) ml_exthdr.c:613:15: note: use '==' to turn this assignment into an equality comparison 613 | while (c1 = *in++) { | ^ | == ml_exthdr.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | bin_to_qpr(in, out) | ^ ml_exthdr.c:72:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static int bin_to_qpr(); | ^ ml_exthdr.c:648:10: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | if (uprf(cp, "=?") && | ^ ml_exthdr.c:654:22: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | ((in = stringdex("?=", tmp + 1) + tmp + 1 - cp) >= 0) && | ^ ml_exthdr.c:655:23: warning: passing arguments to 'mmh_to_ml' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | ((out = mmh_to_ml(cp, cp+in+1, op)) >= 0)) { | ^ ml_exthdr.c:666:17: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | (void) ml_conv(first); | ^ ml_exthdr.c:684:16: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | (void) ml_conv(first); | ^ ml_exthdr.c:636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | exthdr_decode(input, output) | ^ In file included from ml_exthdr.c:7: ./../h/mh.h:389:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 389 | char *exthdr_decode (); | ^ ml_exthdr.c:725:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | if (!uleq(buf, "us-ascii") && (!mm_charset || !uleq(buf, mm_charset))) | ^ ml_exthdr.c:725:56: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | if (!uleq(buf, "us-ascii") && (!mm_charset || !uleq(buf, mm_charset))) | ^ ml_exthdr.c:744:19: warning: passing arguments to 'b64_to_bin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | (void) b64_to_bin(buf, op); | ^ ml_exthdr.c:746:19: warning: passing arguments to 'qpr_to_bin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | (void) qpr_to_bin(buf, op); | ^ ml_exthdr.c:695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | mmh_to_ml(bp, ep, op) | ^ ml_exthdr.c:70:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static int mmh_to_ml(); | ^ ml_exthdr.c:758:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 758 | while (c1 = *in++) { | ~~~^~~~~~~ ml_exthdr.c:758:15: note: place parentheses around the assignment to silence this warning 758 | while (c1 = *in++) { | ^ | ( ) ml_exthdr.c:758:15: note: use '==' to turn this assignment into an equality comparison 758 | while (c1 = *in++) { | ^ | == ml_exthdr.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | b64_to_bin(in, out) | ^ ml_exthdr.c:73:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static int b64_to_bin(); | ^ ml_exthdr.c:794:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 794 | while (c1 = *in++) { | ~~~^~~~~~~ ml_exthdr.c:794:15: note: place parentheses around the assignment to silence this warning 794 | while (c1 = *in++) { | ^ | ( ) ml_exthdr.c:794:15: note: use '==' to turn this assignment into an equality comparison 794 | while (c1 = *in++) { | ^ | == ml_exthdr.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | qpr_to_bin(in, out) | ^ ml_exthdr.c:74:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | static int qpr_to_bin(); | ^ 64 warnings generated. ld -x -r ml_exthdr.o mv a.out ml_exthdr.o rm -f makedir.o shared/makedir.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic makedir.c makedir.c:34:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | makedir (dir) | ^ | int makedir.c:55:16: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | advise (dir, "unable to create directory"); | ^ makedir.c:59:16: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | advise (dir, "unable to create directory"); | ^ makedir.c:67:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | advise (dir, "unable to create directory"); | ^ makedir.c:75:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | advise ("fork", "unable to"); | ^ makedir.c:89:10: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | if (pidXwait (pid, "mkdir")) | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ makedir.c:89:10: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ makedir.c:94:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | if ((cp = m_find ("folder-protect")) == NULL) | ^ makedir.c:96:30: warning: passing arguments to 'atooi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | (void) chmod (dir, atooi (cp)); | ^ makedir.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | makedir (dir) | ^ In file included from makedir.c:14: ./../h/mh.h:307:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 307 | int makedir (); | ^ 11 warnings generated. mv makedir.o shared/makedir.o rm -f makedir.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c makedir.c makedir.c:34:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | makedir (dir) | ^ | int makedir.c:55:16: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | advise (dir, "unable to create directory"); | ^ makedir.c:59:16: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | advise (dir, "unable to create directory"); | ^ makedir.c:67:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | advise (dir, "unable to create directory"); | ^ makedir.c:75:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | advise ("fork", "unable to"); | ^ makedir.c:89:10: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | if (pidXwait (pid, "mkdir")) | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ makedir.c:89:10: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ makedir.c:94:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | if ((cp = m_find ("folder-protect")) == NULL) | ^ makedir.c:96:30: warning: passing arguments to 'atooi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | (void) chmod (dir, atooi (cp)); | ^ makedir.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | makedir (dir) | ^ In file included from makedir.c:14: ./../h/mh.h:307:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 307 | int makedir (); | ^ 11 warnings generated. ld -x -r makedir.o mv a.out makedir.o rm -f path.o shared/path.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic path.c path.c:20:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 20 | static compath(); | ~~~~~~ ^ | int path.c:30:22: warning: passing arguments to 'expath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if ((cp = expath (name, flag)) | ^ path.c:23:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | char *path (name, flag) | ^ In file included from path.c:6: ./../h/mh.h:308:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 308 | char *path (); | ^ path.c:50:20: warning: passing arguments to 'm_mailpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | name = m_mailpath (buffer); | ^ path.c:51:10: warning: passing arguments to 'compath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | compath (name); | ^ path.c:52:43: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | (void) sprintf (buffer, "%s/", m_maildir ("")); | ^ path.c:53:14: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if (ssequal (buffer, name)) { | ^ path.c:55:20: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | name = getcpy (name + strlen (buffer)); | ^ path.c:67:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | return getcpy (name); | ^ path.c:73:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | return getcpy (pwds); | ^ path.c:86:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 86 | (void) sprintf (buffer, "%.*s", cp - pwds, pwds); | ~~^~ ~~~~~~~~~ path.c:87:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | return getcpy (buffer); | ^ path.c:95:32: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 95 | (void) sprintf (buffer, "%.*s/%s", cp - pwds, pwds, name); | ~~^~ ~~~~~~~~~ path.c:96:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | return getcpy (buffer); | ^ path.c:40:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | static char *expath (name, flag) | ^ path.c:19:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | static char *expath (); | ^ path.c:101:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | static compath (f) | ~~~~~~ ^ | int path.c:101:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] path.c:20:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static compath(); | ^ 20 warnings generated. mv path.o shared/path.o rm -f path.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c path.c path.c:20:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 20 | static compath(); | ~~~~~~ ^ | int path.c:30:22: warning: passing arguments to 'expath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if ((cp = expath (name, flag)) | ^ path.c:23:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | char *path (name, flag) | ^ In file included from path.c:6: ./../h/mh.h:308:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 308 | char *path (); | ^ path.c:50:20: warning: passing arguments to 'm_mailpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | name = m_mailpath (buffer); | ^ path.c:51:10: warning: passing arguments to 'compath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | compath (name); | ^ path.c:52:43: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | (void) sprintf (buffer, "%s/", m_maildir ("")); | ^ path.c:53:14: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if (ssequal (buffer, name)) { | ^ path.c:55:20: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | name = getcpy (name + strlen (buffer)); | ^ path.c:67:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | return getcpy (name); | ^ path.c:73:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | return getcpy (pwds); | ^ path.c:86:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 86 | (void) sprintf (buffer, "%.*s", cp - pwds, pwds); | ~~^~ ~~~~~~~~~ path.c:87:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | return getcpy (buffer); | ^ path.c:95:32: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 95 | (void) sprintf (buffer, "%.*s/%s", cp - pwds, pwds, name); | ~~^~ ~~~~~~~~~ path.c:96:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | return getcpy (buffer); | ^ path.c:40:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | static char *expath (name, flag) | ^ path.c:19:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | static char *expath (); | ^ path.c:101:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | static compath (f) | ~~~~~~ ^ | int path.c:101:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] path.c:20:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static compath(); | ^ 20 warnings generated. ld -x -r path.o mv a.out path.o rm -f peekc.o shared/peekc.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic peekc.c peekc.c:7:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | int peekc(ib) | ^ In file included from peekc.c:3: ./../h/mh.h:309:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 309 | int peekc (); | ^ 2 warnings generated. mv peekc.o shared/peekc.o rm -f peekc.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c peekc.c peekc.c:7:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | int peekc(ib) | ^ In file included from peekc.c:3: ./../h/mh.h:309:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 309 | int peekc (); | ^ 2 warnings generated. ld -x -r peekc.o mv a.out peekc.o rm -f pidwait.o shared/pidwait.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic pidwait.c pidwait.c:14:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | int pidwait (id, sigsok) | ^ In file included from pidwait.c:6: ./../h/mh.h:310:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 310 | int pidwait (); | ^ 2 warnings generated. mv pidwait.o shared/pidwait.o rm -f pidwait.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c pidwait.c pidwait.c:14:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | int pidwait (id, sigsok) | ^ In file included from pidwait.c:6: ./../h/mh.h:310:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 310 | int pidwait (); | ^ 2 warnings generated. ld -x -r pidwait.o mv a.out pidwait.o rm -f pidstatus.o shared/pidstatus.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic pidstatus.c pidstatus.c:65:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 65 | if (signum = ((status & 0xff00) >> 8)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ pidstatus.c:65:17: note: place parentheses around the assignment to silence this warning 65 | if (signum = ((status & 0xff00) >> 8)) { | ^ | ( ) pidstatus.c:65:17: note: use '==' to turn this assignment into an equality comparison 65 | if (signum = ((status & 0xff00) >> 8)) { | ^ | == pidstatus.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | int pidstatus (status, fp, cp) | ^ In file included from pidstatus.c:6: ./../h/mh.h:312:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 312 | int pidstatus (); | ^ 3 warnings generated. mv pidstatus.o shared/pidstatus.o rm -f pidstatus.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c pidstatus.c pidstatus.c:65:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 65 | if (signum = ((status & 0xff00) >> 8)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ pidstatus.c:65:17: note: place parentheses around the assignment to silence this warning 65 | if (signum = ((status & 0xff00) >> 8)) { | ^ | ( ) pidstatus.c:65:17: note: use '==' to turn this assignment into an equality comparison 65 | if (signum = ((status & 0xff00) >> 8)) { | ^ | == pidstatus.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | int pidstatus (status, fp, cp) | ^ In file included from pidstatus.c:6: ./../h/mh.h:312:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 312 | int pidstatus (); | ^ 3 warnings generated. ld -x -r pidstatus.o mv a.out pidstatus.o rm -f printsw.o shared/printsw.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic printsw.c printsw.c:22:12: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | (ssequal (substr, swp -> sw) && len >= swp -> minchars)) { | ^ printsw.c:24:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 24 | if (sp = (&swp[1]) -> sw) /* next switch */ | ~~~^~~~~~~~~~~~~~~~~ printsw.c:24:13: note: place parentheses around the assignment to silence this warning 24 | if (sp = (&swp[1]) -> sw) /* next switch */ | ^ | ( ) printsw.c:24:13: note: use '==' to turn this assignment into an equality comparison 24 | if (sp = (&swp[1]) -> sw) /* next switch */ | ^ | == printsw.c:40:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 40 | while (*cp++ = *cp1++); | ~~~~~~^~~~~~~~ printsw.c:40:16: note: place parentheses around the assignment to silence this warning 40 | while (*cp++ = *cp1++); | ^ | ( ) printsw.c:40:16: note: use '==' to turn this assignment into an equality comparison 40 | while (*cp++ = *cp1++); | ^ | == printsw.c:41:3: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | printf (" %s%s\n", prefix, buf); | ^ printsw.c:41:3: note: include the header or explicitly provide a declaration for 'printf' printsw.c:6:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void printsw (substr, swp, prefix) | ^ In file included from printsw.c:3: ./../h/mh.h:313:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 313 | void printsw (); | ^ 6 warnings generated. mv printsw.o shared/printsw.o rm -f printsw.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c printsw.c printsw.c:22:12: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | (ssequal (substr, swp -> sw) && len >= swp -> minchars)) { | ^ printsw.c:24:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 24 | if (sp = (&swp[1]) -> sw) /* next switch */ | ~~~^~~~~~~~~~~~~~~~~ printsw.c:24:13: note: place parentheses around the assignment to silence this warning 24 | if (sp = (&swp[1]) -> sw) /* next switch */ | ^ | ( ) printsw.c:24:13: note: use '==' to turn this assignment into an equality comparison 24 | if (sp = (&swp[1]) -> sw) /* next switch */ | ^ | == printsw.c:40:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 40 | while (*cp++ = *cp1++); | ~~~~~~^~~~~~~~ printsw.c:40:16: note: place parentheses around the assignment to silence this warning 40 | while (*cp++ = *cp1++); | ^ | ( ) printsw.c:40:16: note: use '==' to turn this assignment into an equality comparison 40 | while (*cp++ = *cp1++); | ^ | == printsw.c:41:3: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | printf (" %s%s\n", prefix, buf); | ^ printsw.c:41:3: note: include the header or explicitly provide a declaration for 'printf' printsw.c:6:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void printsw (substr, swp, prefix) | ^ In file included from printsw.c:3: ./../h/mh.h:313:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 313 | void printsw (); | ^ 6 warnings generated. ld -x -r printsw.o mv a.out printsw.o rm -f push.o shared/push.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic push.c push.c:15:10: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | switch (fork ()) { | ^ push.c:17:3: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | sleep (5); | ^ push.c:35:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | done (0); | ^ push.c:40:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | advise (NULLCP, "unable to fork, so can't push..."); | ^ 4 warnings generated. mv push.o shared/push.o rm -f push.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c push.c push.c:15:10: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | switch (fork ()) { | ^ push.c:17:3: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | sleep (5); | ^ push.c:35:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | done (0); | ^ push.c:40:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | advise (NULLCP, "unable to fork, so can't push..."); | ^ 4 warnings generated. ld -x -r push.o mv a.out push.o rm -f putenv.o shared/putenv.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic putenv.c putenv.c:12:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | static nvmatch(); | ~~~~~~ ^ | int putenv.c:29:14: warning: passing arguments to 'nvmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | if (nvmatch (name, *ep)) { | ^ putenv.c:14:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | int m_putenv (name, value) | ^ In file included from putenv.c:6: ./../h/mh.h:288:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 288 | int m_putenv (); | ^ putenv.c:52:14: warning: passing arguments to 'nvmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | if (nvmatch (name, *ep)) | ^ putenv.c:45:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | int unputenv (name) | ^ In file included from putenv.c:6: ./../h/mh.h:327:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 327 | int unputenv (); | ^ putenv.c:66:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | static nvmatch (s1, s2) | ~~~~~~ ^ | int putenv.c:66:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] putenv.c:12:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | static nvmatch(); | ^ 10 warnings generated. mv putenv.o shared/putenv.o rm -f putenv.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c putenv.c putenv.c:12:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | static nvmatch(); | ~~~~~~ ^ | int putenv.c:29:14: warning: passing arguments to 'nvmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | if (nvmatch (name, *ep)) { | ^ putenv.c:14:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | int m_putenv (name, value) | ^ In file included from putenv.c:6: ./../h/mh.h:288:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 288 | int m_putenv (); | ^ putenv.c:52:14: warning: passing arguments to 'nvmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | if (nvmatch (name, *ep)) | ^ putenv.c:45:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | int unputenv (name) | ^ In file included from putenv.c:6: ./../h/mh.h:327:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 327 | int unputenv (); | ^ putenv.c:66:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | static nvmatch (s1, s2) | ~~~~~~ ^ | int putenv.c:66:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] putenv.c:12:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | static nvmatch(); | ^ 10 warnings generated. ld -x -r putenv.o mv a.out putenv.o rm -f pwd.o shared/pwd.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic pwd.c pwd.c:40:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | admonish (NULLCP, "unable to determine working directory: %s", curwd); | ^ 1 warning generated. mv pwd.o shared/pwd.o rm -f pwd.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c pwd.c pwd.c:40:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | admonish (NULLCP, "unable to determine working directory: %s", curwd); | ^ 1 warning generated. ld -x -r pwd.o mv a.out pwd.o rm -f refile.o shared/refile.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic refile.c refile.c:21:28: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | vec[vecp++] = r1bindex (fileproc, '/'); | ^ refile.c:37:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | advise ("fork", "unable to"); | ^ refile.c:47:22: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | return (pidwait (pid, NOTOK)); | ^ refile.c:12:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | int refile (arg, file) | ^ In file included from refile.c:6: ./../h/mh.h:317:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 317 | int refile (); | ^ 5 warnings generated. mv refile.o shared/refile.o rm -f refile.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c refile.c refile.c:21:28: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | vec[vecp++] = r1bindex (fileproc, '/'); | ^ refile.c:37:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | advise ("fork", "unable to"); | ^ refile.c:47:22: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | return (pidwait (pid, NOTOK)); | ^ refile.c:12:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | int refile (arg, file) | ^ In file included from refile.c:6: ./../h/mh.h:317:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 317 | int refile (); | ^ 5 warnings generated. ld -x -r refile.o mv a.out refile.o rm -f remdir.o shared/remdir.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic remdir.c remdir.c:13:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | remdir (dir) | ^ | int remdir.c:43:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | admonish (dir, "unable to remove directory"); | ^ remdir.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | remdir (dir) | ^ In file included from remdir.c:6: ./../h/mh.h:318:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 318 | int remdir (); | ^ 4 warnings generated. mv remdir.o shared/remdir.o rm -f remdir.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c remdir.c remdir.c:13:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | remdir (dir) | ^ | int remdir.c:43:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | admonish (dir, "unable to remove directory"); | ^ remdir.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | remdir (dir) | ^ In file included from remdir.c:6: ./../h/mh.h:318:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 318 | int remdir (); | ^ 4 warnings generated. ld -x -r remdir.o mv a.out remdir.o rm -f r1bindex.o shared/r1bindex.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic r1bindex.c r1bindex.c:4:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | char *r1bindex(str, chr) | ^ 1 warning generated. mv r1bindex.o shared/r1bindex.o rm -f r1bindex.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c r1bindex.c r1bindex.c:4:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | char *r1bindex(str, chr) | ^ 1 warning generated. ld -x -r r1bindex.o mv a.out r1bindex.o rm -f ruserpass.o shared/ruserpass.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic ruserpass.c ruserpass.c:29:7: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 29 | char *malloc(), *index(), *getenv(), *getpass(), *getlogin(); | ^ ruserpass.c:29:7: note: 'malloc' is a builtin with type 'void *(unsigned long)' ruserpass.c:62:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 62 | ruserpass(host, aname, apass) | ^ | int ruserpass.c:70:15: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | hdir = getenv("HOME"); | ^ ruserpass.c:93:8: warning: call to undeclared function 'uleq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | if (uleq(host, tokval)) | ^ ruserpass.c:102:32: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | *aname = malloc((unsigned) strlen(tokval) + 1); | ^ ruserpass.c:102:32: note: include the header or explicitly provide a declaration for 'strlen' ruserpass.c:102:20: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | *aname = malloc((unsigned) strlen(tokval) + 1); | ^ ruserpass.c:114:20: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | *apass = malloc((unsigned) strlen(tokval) + 1); | ^ ruserpass.c:142:24: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | if ((pp = getpwuid (getuid())) != NULL) | ^ ruserpass.c:153:18: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | *aname = malloc((unsigned) strlen(myname) + 1); | ^ ruserpass.c:162:20: warning: passing arguments to 'getpass' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | mypass = getpass (prompt); | ^ ruserpass.c:168:18: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | *apass = malloc((unsigned) strlen(mypass) + 1); | ^ ruserpass.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | ruserpass(host, aname, apass) | ^ ruserpass.c:222:8: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | if (!strcmp(t->tokstr, tokval)) | ^ ruserpass.c:222:8: note: include the header or explicitly provide a declaration for 'strcmp' 13 warnings generated. mv ruserpass.o shared/ruserpass.o rm -f ruserpass.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c ruserpass.c ruserpass.c:29:7: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 29 | char *malloc(), *index(), *getenv(), *getpass(), *getlogin(); | ^ ruserpass.c:29:7: note: 'malloc' is a builtin with type 'void *(unsigned long)' ruserpass.c:62:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 62 | ruserpass(host, aname, apass) | ^ | int ruserpass.c:70:15: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | hdir = getenv("HOME"); | ^ ruserpass.c:93:8: warning: call to undeclared function 'uleq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | if (uleq(host, tokval)) | ^ ruserpass.c:102:32: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | *aname = malloc((unsigned) strlen(tokval) + 1); | ^ ruserpass.c:102:32: note: include the header or explicitly provide a declaration for 'strlen' ruserpass.c:102:20: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | *aname = malloc((unsigned) strlen(tokval) + 1); | ^ ruserpass.c:114:20: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | *apass = malloc((unsigned) strlen(tokval) + 1); | ^ ruserpass.c:142:24: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | if ((pp = getpwuid (getuid())) != NULL) | ^ ruserpass.c:153:18: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | *aname = malloc((unsigned) strlen(myname) + 1); | ^ ruserpass.c:162:20: warning: passing arguments to 'getpass' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | mypass = getpass (prompt); | ^ ruserpass.c:168:18: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | *apass = malloc((unsigned) strlen(mypass) + 1); | ^ ruserpass.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | ruserpass(host, aname, apass) | ^ ruserpass.c:222:8: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | if (!strcmp(t->tokstr, tokval)) | ^ ruserpass.c:222:8: note: include the header or explicitly provide a declaration for 'strcmp' 13 warnings generated. ld -x -r ruserpass.o mv a.out ruserpass.o rm -f showfile.o shared/showfile.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic showfile.c showfile.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | showfile (arg, file) | ^ | int showfile.c:22:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | if (strcmp (r1bindex (lproc, '/'), "mhl") == 0) | ^ showfile.c:27:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | advise ("fork", "unable to"); | ^ showfile.c:32:29: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | vec[vecp++] = r1bindex (lproc, '/'); | ^ showfile.c:53:22: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | return (pidwait (pid, NOTOK) & 0377 ? 1 : 0); | ^ showfile.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | showfile (arg, file) | ^ In file included from showfile.c:3: ./../h/mh.h:319:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 319 | int showfile (); | ^ 7 warnings generated. mv showfile.o shared/showfile.o rm -f showfile.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c showfile.c showfile.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | showfile (arg, file) | ^ | int showfile.c:22:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | if (strcmp (r1bindex (lproc, '/'), "mhl") == 0) | ^ showfile.c:27:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | advise ("fork", "unable to"); | ^ showfile.c:32:29: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | vec[vecp++] = r1bindex (lproc, '/'); | ^ showfile.c:53:22: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | return (pidwait (pid, NOTOK) & 0377 ? 1 : 0); | ^ showfile.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | showfile (arg, file) | ^ In file included from showfile.c:3: ./../h/mh.h:319:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 319 | int showfile (); | ^ 7 warnings generated. ld -x -r showfile.o mv a.out showfile.o rm -f smatch.o shared/smatch.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic smatch.c smatch.c:12:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | smatch(string, swp) | ^ | int smatch.c:27:53: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 27 | for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { | ~~~~^~~~~~~~~~ smatch.c:27:53: note: place parentheses around the assignment to silence this warning 27 | for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { | ^ | ( ) smatch.c:27:53: note: use '==' to turn this assignment into an equality comparison 27 | for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { | ^ | == smatch.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | smatch(string, swp) | ^ In file included from smatch.c:6: ./../h/mh.h:320:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 320 | int smatch (); | ^ 4 warnings generated. mv smatch.o shared/smatch.o rm -f smatch.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c smatch.c smatch.c:12:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | smatch(string, swp) | ^ | int smatch.c:27:53: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 27 | for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { | ~~~~^~~~~~~~~~ smatch.c:27:53: note: place parentheses around the assignment to silence this warning 27 | for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { | ^ | ( ) smatch.c:27:53: note: use '==' to turn this assignment into an equality comparison 27 | for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { | ^ | == smatch.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | smatch(string, swp) | ^ In file included from smatch.c:6: ./../h/mh.h:320:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 320 | int smatch (); | ^ 4 warnings generated. ld -x -r smatch.o mv a.out smatch.o rm -f sprintb.o shared/sprintb.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic sprintb.c sprintb.c:26:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 26 | while (i = *bits++) | ~~^~~~~~~~~ sprintb.c:26:11: note: place parentheses around the assignment to silence this warning 26 | while (i = *bits++) | ^ | ( ) sprintb.c:26:11: note: use '==' to turn this assignment into an equality comparison 26 | while (i = *bits++) | ^ | == sprintb.c:10:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | char *sprintb (buffer, v, bits) | ^ In file included from sprintb.c:6: ./../h/mh.h:321:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 321 | char *sprintb(); | ^ 3 warnings generated. mv sprintb.o shared/sprintb.o rm -f sprintb.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c sprintb.c sprintb.c:26:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 26 | while (i = *bits++) | ~~^~~~~~~~~ sprintb.c:26:11: note: place parentheses around the assignment to silence this warning 26 | while (i = *bits++) | ^ | ( ) sprintb.c:26:11: note: use '==' to turn this assignment into an equality comparison 26 | while (i = *bits++) | ^ | == sprintb.c:10:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | char *sprintb (buffer, v, bits) | ^ In file included from sprintb.c:6: ./../h/mh.h:321:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 321 | char *sprintb(); | ^ 3 warnings generated. ld -x -r sprintb.o mv a.out sprintb.o rm -f ssequal.o shared/ssequal.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic ssequal.c ssequal.c:4:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 4 | ssequal (substr, str) | ^ | int ssequal.c:4:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2 warnings generated. mv ssequal.o shared/ssequal.o rm -f ssequal.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c ssequal.c ssequal.c:4:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 4 | ssequal (substr, str) | ^ | int ssequal.c:4:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2 warnings generated. ld -x -r ssequal.o mv a.out ssequal.o rm -f strindex.o shared/strindex.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic strindex.c strindex.c:16:6: warning: call to undeclared function 'uprf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | if (uprf (p, p1)) | ^ strindex.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | int stringdex (p1, p2) | ^ 2 warnings generated. mv strindex.o shared/strindex.o rm -f strindex.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c strindex.c strindex.c:16:6: warning: call to undeclared function 'uprf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | if (uprf (p, p1)) | ^ strindex.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | int stringdex (p1, p2) | ^ 2 warnings generated. ld -x -r strindex.o mv a.out strindex.o rm -f trimcpy.o shared/trimcpy.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic trimcpy.c trimcpy.c:28:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | return getcpy (cp); | ^ trimcpy.c:12:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | char *trimcpy (cp) | ^ In file included from trimcpy.c:7: ./../h/mh.h:324:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 324 | char *trimcpy (); | ^ 3 warnings generated. mv trimcpy.o shared/trimcpy.o rm -f trimcpy.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c trimcpy.c trimcpy.c:28:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | return getcpy (cp); | ^ trimcpy.c:12:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | char *trimcpy (cp) | ^ In file included from trimcpy.c:7: ./../h/mh.h:324:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 324 | char *trimcpy (); | ^ 3 warnings generated. ld -x -r trimcpy.o mv a.out trimcpy.o rm -f uleq.o shared/uleq.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic uleq.c uleq.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | uleq (c1, c2) | ^ | int uleq.c:22:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 22 | while (c = *c1++) | ~~^~~~~~~ uleq.c:22:14: note: place parentheses around the assignment to silence this warning 22 | while (c = *c1++) | ^ | ( ) uleq.c:22:14: note: use '==' to turn this assignment into an equality comparison 22 | while (c = *c1++) | ^ | == uleq.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | uleq (c1, c2) | ^ 3 warnings generated. mv uleq.o shared/uleq.o rm -f uleq.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c uleq.c uleq.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | uleq (c1, c2) | ^ | int uleq.c:22:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 22 | while (c = *c1++) | ~~^~~~~~~ uleq.c:22:14: note: place parentheses around the assignment to silence this warning 22 | while (c = *c1++) | ^ | ( ) uleq.c:22:14: note: use '==' to turn this assignment into an equality comparison 22 | while (c = *c1++) | ^ | == uleq.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | uleq (c1, c2) | ^ 3 warnings generated. ld -x -r uleq.o mv a.out uleq.o rm -f uprf.o shared/uprf.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic uprf.c uprf.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | uprf (c1, c2) | ^ | int uprf.c:20:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 20 | while (c = *c2++) | ~~^~~~~~~ uprf.c:20:14: note: place parentheses around the assignment to silence this warning 20 | while (c = *c2++) | ^ | ( ) uprf.c:20:14: note: use '==' to turn this assignment into an equality comparison 20 | while (c = *c2++) | ^ | == uprf.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | uprf (c1, c2) | ^ 3 warnings generated. mv uprf.o shared/uprf.o rm -f uprf.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c uprf.c uprf.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | uprf (c1, c2) | ^ | int uprf.c:20:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 20 | while (c = *c2++) | ~~^~~~~~~ uprf.c:20:14: note: place parentheses around the assignment to silence this warning 20 | while (c = *c2++) | ^ | ( ) uprf.c:20:14: note: use '==' to turn this assignment into an equality comparison 20 | while (c = *c2++) | ^ | == uprf.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | uprf (c1, c2) | ^ 3 warnings generated. ld -x -r uprf.o mv a.out uprf.o rm -f vfgets.o shared/vfgets.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic vfgets.c vfgets.c:27:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | adios (NULLCP, "unable to allocate string storage"); | ^ vfgets.c:41:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | adios (NULLCP, "vfgets() botch -- you lose big"); | ^ vfgets.c:67:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | adios (NULLCP, "unable to allocate string storage"); | ^ vfgets.c:13:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | int vfgets (in, bp) | ^ In file included from vfgets.c:6: ./../h/mh.h:329:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 329 | int vfgets (); | ^ 5 warnings generated. mv vfgets.o shared/vfgets.o rm -f vfgets.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c vfgets.c vfgets.c:27:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | adios (NULLCP, "unable to allocate string storage"); | ^ vfgets.c:41:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | adios (NULLCP, "vfgets() botch -- you lose big"); | ^ vfgets.c:67:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | adios (NULLCP, "unable to allocate string storage"); | ^ vfgets.c:13:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | int vfgets (in, bp) | ^ In file included from vfgets.c:6: ./../h/mh.h:329:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 329 | int vfgets (); | ^ 5 warnings generated. ld -x -r vfgets.o mv a.out vfgets.o rm -f formatdef.o shared/formatdef.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic formatdef.c mv formatdef.o shared/formatdef.o rm -f formatdef.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c formatdef.c ld -x -r formatdef.o mv a.out formatdef.o rm -f m_msgdef.o shared/m_msgdef.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -fpic m_msgdef.c mv m_msgdef.o shared/m_msgdef.o rm -f m_msgdef.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m_msgdef.c ld -x -r m_msgdef.o mv a.out m_msgdef.o if [ -f libmh.a ]; then mv libmh.a zlibmh.a; fi ar r libmh.a add.o adios.o admonish.o addrsbr.o advertise.o advise.o ambigsw.o atooi.o brkstring.o closefds.o concat.o copy.o copyip.o cpydata.o cpydgst.o discard.o done.o fdcompare.o gans.o getans.o getanswer.o getcpy.o help.o fmtcompile.o formataddr.o formatsbr.o m_atoi.o m_backup.o m_convert.o m_delete.o m_draft.o m_find.o m_fmsg.o m_foil.o m_getdefs.o m_getfld.o m_getfolder.o m_gmprot.o m_gmsg.o m_maildir.o m_name.o m_readefs.o m_remsg.o m_replace.o m_scratch.o m_seq.o m_seqbits.o m_seqflag.o m_seqnew.o m_setcur.o m_setseq.o m_setvis.o m_sync.o m_tmpfil.o m_update.o ml_codeconv.o ml_exthdr.o makedir.o path.o peekc.o pidwait.o pidstatus.o printsw.o push.o putenv.o pwd.o refile.o remdir.o r1bindex.o ruserpass.o showfile.o smatch.o sprintb.o ssequal.o strindex.o trimcpy.o uleq.o uprf.o vfgets.o formatdef.o m_msgdef.o; ranlib libmh.a ar: warning: creating libmh.a -rw-r--r-- 1 root wheel 292624 Jan 21 01:07 libmh.a MH library built normally if [ -f libmh.so ]; then mv -f libmh.so zlibmh.so; fi (cd shared; cc -shared -o ../libmh.so -Wl,-soname,libmh.so.3 add.o adios.o admonish.o addrsbr.o advertise.o advise.o ambigsw.o atooi.o brkstring.o closefds.o concat.o copy.o copyip.o cpydata.o cpydgst.o discard.o done.o fdcompare.o gans.o getans.o getanswer.o getcpy.o help.o fmtcompile.o formataddr.o formatsbr.o m_atoi.o m_backup.o m_convert.o m_delete.o m_draft.o m_find.o m_fmsg.o m_foil.o m_getdefs.o m_getfld.o m_getfolder.o m_gmprot.o m_gmsg.o m_maildir.o m_name.o m_readefs.o m_remsg.o m_replace.o m_scratch.o m_seq.o m_seqbits.o m_seqflag.o m_seqnew.o m_setcur.o m_setseq.o m_setvis.o m_sync.o m_tmpfil.o m_update.o ml_codeconv.o ml_exthdr.o makedir.o path.o peekc.o pidwait.o pidstatus.o printsw.o push.o putenv.o pwd.o refile.o remdir.o r1bindex.o ruserpass.o showfile.o smatch.o sprintb.o ssequal.o strindex.o trimcpy.o uleq.o uprf.o vfgets.o formatdef.o m_msgdef.o) ln libmh.so libmh.so.3 -rwxr-xr-x 2 root wheel 134312 Jan 21 01:07 libmh.so -rwxr-xr-x 2 root wheel 134312 Jan 21 01:07 libmh.so.3 MH shared library built normally for d in sendmail; do (cd $d; make DESTDIR= -k all); done cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I.. -c hosts.c In file included from hosts.c:16: ../../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ hosts.c:58:9: warning: call to undeclared function 'uleq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | if (uleq (LocalName (), site)) | ^ hosts.c:72:31: warning: passing arguments to 'mh_gethostbyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | if (hp = mh_gethostbyname (q)) { | ^ hosts.c:72:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 72 | if (hp = mh_gethostbyname (q)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~ hosts.c:72:12: note: place parentheses around the assignment to silence this warning 72 | if (hp = mh_gethostbyname (q)) { | ^ | ( ) hosts.c:72:12: note: use '==' to turn this assignment into an equality comparison 72 | if (hp = mh_gethostbyname (q)) { | ^ | == hosts.c:82:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 82 | else | ^ hosts.c:40:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | char *OfficialName (name) | ^ hosts.c:115:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 115 | if (cp = index (buffer, '#')) | ~~~^~~~~~~~~~~~~~~~~~~~~ hosts.c:115:9: note: place parentheses around the assignment to silence this warning 115 | if (cp = index (buffer, '#')) | ^ | ( ) hosts.c:115:9: note: use '==' to turn this assignment into an equality comparison 115 | if (cp = index (buffer, '#')) | ^ | == hosts.c:117:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 117 | if (cp = index (buffer, '\n')) | ~~~^~~~~~~~~~~~~~~~~~~~~~ hosts.c:117:9: note: place parentheses around the assignment to silence this warning 117 | if (cp = index (buffer, '\n')) | ^ | ( ) hosts.c:117:9: note: use '==' to turn this assignment into an equality comparison 117 | if (cp = index (buffer, '\n')) | ^ | == hosts.c:128:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | if (cp = index (dp = cp, ' ')) { | ~~~^~~~~~~~~~~~~~~~~~~~~~ hosts.c:128:9: note: place parentheses around the assignment to silence this warning 128 | if (cp = index (dp = cp, ' ')) { | ^ | ( ) hosts.c:128:9: note: use '==' to turn this assignment into an equality comparison 128 | if (cp = index (dp = cp, ' ')) { | ^ | == hosts.c:135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 135 | if (cp = index (*q++ = cp, ' ')) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ hosts.c:135:10: note: place parentheses around the assignment to silence this warning 135 | if (cp = index (*q++ = cp, ' ')) | ^ | ( ) hosts.c:135:10: note: use '==' to turn this assignment into an equality comparison 135 | if (cp = index (*q++ = cp, ' ')) | ^ | == hosts.c:148:23: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | h -> h_name = getcpy (dp); | ^ hosts.c:152:20: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | *r++ = getcpy (*q); | ^ 12 warnings generated. ld -x -r hosts.o mv a.out hosts.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I.. -c smail.c In file included from smail.c:50: ../../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ smail.c:326:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 326 | else | ^ smail.c:333:24: warning: passing arguments to 'rclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | if ((sd1 = rclient (server, "tcp", "smtp")) == NOTOK) | ^ smail.c:353:16: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | if ((sd2 = dup (sd1)) == NOTOK) { | ^ smail.c:354:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | (void) close (sd1); | ^ smail.c:355:19: warning: passing arguments to 'sm_ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | return sm_ierror ("unable to dup"); | ^ smail.c:363:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 363 | (void) close (sd1); | ^ smail.c:366:19: warning: passing arguments to 'sm_ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | return sm_ierror ("unable to fdopen"); | ^ smail.c:369:12: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 369 | (void) alarm (SM_OPEN); | ^ smail.c:377:20: warning: passing arguments to 'sm_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | (void) sm_end (NOTOK); | ^ smail.c:382:21: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | result = smtalk (SM_HELO, "EHLO %s", | ^ smail.c:394:20: warning: passing arguments to 'sm_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | (void) sm_end (NOTOK); | ^ smail.c:400:22: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | result = smtalk (SM_HELO, "HELO %s", client); | ^ smail.c:407:17: warning: passing arguments to 'sm_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | (void) sm_end (NOTOK); | ^ smail.c:414:26: warning: passing arguments to 'EHLOset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | if (watch && EHLOset ("XVRB")) | ^ smail.c:415:16: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | (void) smtalk (SM_HELO, "VERB on"); | ^ smail.c:416:25: warning: passing arguments to 'EHLOset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | if (onex && EHLOset ("XONE")) | ^ smail.c:417:16: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | (void) smtalk (SM_HELO, "ONEX"); | ^ smail.c:418:27: warning: passing arguments to 'EHLOset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | if (queued && EHLOset ("XQUE")) | ^ smail.c:419:16: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | (void) smtalk (SM_HELO, "QUED"); | ^ smail.c:295:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | int sm_init (client, server, watch, verbose, debug, onex, queued) | ^ In file included from smail.c:49: ./smail.h:18:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | int sm_init (), sm_winit (), sm_wadr (), sm_waend (), sm_wtxt (), | ^ smail.c:440:22: warning: passing arguments to 'client' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | if ((sd = client (server, protocol, service, FALSE, response)) != NOTOK) | ^ smail.c:472:22: warning: passing arguments to 'sm_ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | (void) sm_ierror ("%s", response); | ^ smail.c:429:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | static int rclient (server, protocol, service) | ^ smail.c:112:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static int rclient(), sm_ierror(), smtalk(), sm_wrecord(), sm_wstream(); | ^ smail.c:492:20: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | switch (smtalk (SM_MAIL, "%s FROM:<%s>", | ^ smail.c:479:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | int sm_winit (mode, from) | ^ In file included from smail.c:49: ./smail.h:18:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | int sm_init (), sm_winit (), sm_wadr (), sm_waend (), sm_wtxt (), | ^ smail.c:524:20: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | switch (smtalk (SM_RCPT, host && *host ? "RCPT TO:<%s%s@%s>" | ^ smail.c:515:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | int sm_wadr (mbox, host, path) | ^ In file included from smail.c:49: ./smail.h:18:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | int sm_init (), sm_winit (), sm_wadr (), sm_waend (), sm_wtxt (), | ^ smail.c:563:20: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | switch (smtalk (SM_DATA, "DATA")) { | ^ smail.c:596:12: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 596 | (void) alarm (SM_TEXT); | ^ smail.c:597:25: warning: passing arguments to 'sm_wstream' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | result = sm_wstream (buffer, len); | ^ smail.c:589:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | int sm_wtxt (buffer, len) | ^ In file included from smail.c:49: ./smail.h:18:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | int sm_init (), sm_winit (), sm_wadr (), sm_waend (), sm_wtxt (), | ^ smail.c:606:20: warning: passing arguments to 'sm_wstream' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | if (sm_wstream ((char *) NULL, 0) == NOTOK) | ^ smail.c:609:20: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | switch (smtalk (SM_DOT + 3 * sm_addrs, ".")) { | ^ smail.c:651:20: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | (void) smtalk (SM_QUIT, "QUIT"); | ^ smail.c:659:17: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | if (smtalk (SM_RSET, "RSET") == 250 && type == DONE) | ^ smail.c:666:20: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | (void) smtalk (SM_QUIT, "QUIT"); | ^ smail.c:689:9: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 689 | (void) alarm (SM_CLOS); | ^ smail.c:694:9: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 694 | (void) alarm (SM_CLOS); | ^ smail.c:630:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | int sm_end (type) | ^ In file included from smail.c:49: ./smail.h:19:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | sm_wtend (), sm_end (); | ^ smail.c:1065:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | static int sm_ierror (fmt, a, b, c, d) | ^ smail.c:112:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static int rclient(), sm_ierror(), smtalk(), sm_wrecord(), sm_wstream(); | ^ smail.c:1168:12: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1168 | (void) alarm ((unsigned) time); | ^ smail.c:1169:30: warning: passing arguments to 'sm_wrecord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | if ((result = sm_wrecord (buffer, strlen (buffer))) != NOTOK) | ^ smail.c:1083:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | static int smtalk (time, fmt, a, b, c, d) | ^ smail.c:112:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static int rclient(), sm_ierror(), smtalk(), sm_wrecord(), sm_wstream(); | ^ smail.c:1178:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | static int sm_wrecord (buffer, len) | ^ smail.c:112:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static int rclient(), sm_ierror(), smtalk(), sm_wrecord(), sm_wstream(); | ^ smail.c:1194:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | static int sm_wstream (buffer, len) | ^ smail.c:112:60: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static int rclient(), sm_ierror(), smtalk(), sm_wrecord(), sm_wstream(); | ^ smail.c:1287:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1287 | for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) | ~~~^~~~~~~ smail.c:1287:31: note: place parentheses around the assignment to silence this warning 1287 | for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) | ^ | ( ) smail.c:1287:31: note: use '==' to turn this assignment into an equality comparison 1287 | for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) | ^ | == smail.c:1301:35: warning: passing arguments to 'sm_rrecord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | for (more = FALSE; sm_rrecord (bp = buffer, &bc) != NOTOK;) { | ^ smail.c:1314:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1314 | if (*ehlo = malloc ((unsigned) (strlen (buffer + 4) + 1))) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smail.c:1314:13: note: place parentheses around the assignment to silence this warning 1314 | if (*ehlo = malloc ((unsigned) (strlen (buffer + 4) + 1))) { | ^ | ( ) smail.c:1314:13: note: use '==' to turn this assignment into an equality comparison 1314 | if (*ehlo = malloc ((unsigned) (strlen (buffer + 4) + 1))) { | ^ | == smail.c:1383:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | static int sm_rrecord (buffer, len) | ^ smail.c:113:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | static int sm_werror(), smhear(), sm_rrecord(), sm_rerror(); | ^ smail.c:1430:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1430 | static TYPESIG alrmser (i) | ^ smail.c:84:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static TYPESIG alrmser (); | ^ smail.c:1446:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | char *rp_string (code) | ^ In file included from smail.c:49: ./smail.h:20:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | char *rp_string (); | ^ smail.c:1569:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1569 | for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) | ~~~^~~~~~~ smail.c:1569:30: note: place parentheses around the assignment to silence this warning 1569 | for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) | ^ | ( ) smail.c:1569:30: note: use '==' to turn this assignment into an equality comparison 1569 | for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) | ^ | == smail.c:1562:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | char *EHLOset (s) | ^ smail.c:132:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | char *EHLOset (); | ^ 68 warnings generated. ld -x -r smail.o mv a.out smail.o if [ -f sendmts.a ]; then mv sendmts.a zsendmts.a; fi ar r sendmts.a hosts.o smail.o; ranlib sendmts.a ar: warning: creating sendmts.a rm -f ../libmts.a cd ..; ln sendmail/sendmts.a libmts.a rm -f ../llib-lmts cd .. ; ln sendmail/llib-lsendmail llib-lmts -rw-r--r-- 2 root wheel 26540 Jan 21 01:07 sendmts.a SendMail/SMTP-MTS library built normally for d in mts bboards tws mf; do (cd $d; make DESTDIR= -k all); done cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I.. -c mts.c -o mts.o In file included from mts.c:16: ./mts.h:23:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ mts.c:259:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 259 | mts_init (name) | ^ | int mts.c:287:41: warning: passing arguments to 'tailor_value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | if (b -> keyword && (cp = tailor_value (bp))) | ^ mts.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | mts_init (name) | ^ mts.c:310:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | static char *tailor_value (s) | ^ mts.c:41:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static char *tailor_value (); | ^ mts.c:394:12: warning: call to undeclared function 'gethostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 394 | (void) gethostname (buffer, sizeof buffer); | ^ mts.c:398:31: warning: passing arguments to 'mh_gethostbyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | if (hp = mh_gethostbyname (buffer)) | ^ mts.c:398:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 398 | if (hp = mh_gethostbyname (buffer)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ mts.c:398:12: note: place parentheses around the assignment to silence this warning 398 | if (hp = mh_gethostbyname (buffer)) | ^ | ( ) mts.c:398:12: note: use '==' to turn this assignment into an equality comparison 398 | if (hp = mh_gethostbyname (buffer)) | ^ | == mts.c:437:12: warning: call to undeclared function 'gethostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 437 | (void) gethostname (buffer, sizeof buffer); | ^ mts.c:526:25: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 526 | if ((pw = getpwuid (getuid ())) == NULL | ^ mts.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | mh_gethostbyname(name) | ^ mts.c:358:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 358 | struct hostent *mh_gethostbyname(); | ^ 13 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I.. -c lock.c -o lock.o In file included from lock.c:20: ./mts.h:23:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ lock.c:106:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | static lockname(), timerON(), timerOFF(); | ~~~~~~ ^ | int lock.c:106:21: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | static lockname(), timerON(), timerOFF(); | ~~~~~~ ^ | int lock.c:106:32: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | static lockname(), timerON(), timerOFF(); | ~~~~~~ ^ | int lock.c:108:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 108 | time_t time (); | ^ /usr/include/time.h:131:8: note: conflicting prototype is here 131 | time_t time(time_t *); | ^ lock.c:109:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 109 | char *mktemp (); | ^ /usr/include/stdlib.h:219:7: note: conflicting prototype is here 219 | char *mktemp(char *); | ^ lock.c:117:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | mts_init ("mts"); | ^ lock.c:126:22: warning: passing arguments to 'f_lkopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | return f_lkopen (file, access); | ^ lock.c:131:22: warning: passing arguments to 'b_lkopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | return b_lkopen (file, access); | ^ lock.c:113:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | int lkopen (file, access) | ^ In file included from lock.c:20: ./mts.h:51:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | int lkopen (), lkclose (); | ^ lock.c:150:14: warning: passing arguments to 'lockname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | lockname (curlock, tmplock, file, (int) st.st_dev, (int) st.st_ino); | ^ lock.c:153:17: warning: passing arguments to 'lockit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | switch (lockit (tmplock, curlock)) { | ^ lock.c:157:14: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | (void) unlink (curlock); | ^ lock.c:163:11: warning: passing arguments to 'timerON' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | timerON (curlock, i); | ^ lock.c:171:7: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | sleep (5); | ^ lock.c:178:7: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | sleep (5); | ^ lock.c:180:14: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | (void) unlink (curlock); | ^ lock.c:137:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | static int b_lkopen (file, access) | ^ lock.c:105:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static int b_lkopen(), lockit(), f_lkopen(); | ^ lock.c:197:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | (void) close (fd); | ^ lock.c:199:10: warning: call to undeclared function 'link'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | fd = link (tmp, file); | ^ lock.c:200:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | (void) unlink (tmp); | ^ lock.c:186:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | static int lockit (tmp, file) | ^ lock.c:105:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static int b_lkopen(), lockit(), f_lkopen(); | ^ lock.c:207:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 207 | static lockname (curlock, tmplock, file, dev, ino) | ~~~~~~ ^ | int lock.c:222:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 222 | (void) sprintf (bp, "%.*s", cp - file, file); | ~~^~ ~~~~~~~~~ lock.c:246:34: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 246 | (void) sprintf (tmplock, "%.*s,LCK.XXXXXX", | ~~^~ 247 | cp - curlock, curlock); | ~~~~~~~~~~~~ lock.c:248:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | (void) unlink (mktemp (tmplock)); | ^ lock.c:207:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | static lockname (curlock, tmplock, file, dev, ino) | ^ lock.c:106:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | static lockname(), timerON(), timerOFF(); | ^ lock.c:368:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 368 | (void) close (fd); | ^ lock.c:370:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 370 | sleep (5); | ^ lock.c:373:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 373 | (void) close (fd); | ^ lock.c:312:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | static int f_lkopen (file, access) | ^ lock.c:105:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static int b_lkopen(), lockit(), f_lkopen(); | ^ lock.c:443:10: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | (void) unlink (curlock); | ^ lock.c:444:12: warning: passing arguments to 'timerOFF' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | timerOFF (fd); | ^ lock.c:448:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | return (close (fd)); | ^ lock.c:385:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | int lkclose (fd, file) | ^ In file included from lock.c:20: ./mts.h:51:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | int lkopen (), lkclose (); | ^ lock.c:465:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 465 | (void) close (fd); | ^ lock.c:454:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | FILE *lkfopen (file, mode) | ^ In file included from lock.c:20: ./mts.h:52:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | FILE *lkfopen (); | ^ lock.c:534:10: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 534 | (void) unlink (curlock); | ^ lock.c:538:12: warning: passing arguments to 'timerOFF' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | timerOFF (fileno (fp)); | ^ lock.c:475:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | int lkfclose (fp, file) | ^ In file included from lock.c:20: ./mts.h:53:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | int lkfclose (); | ^ lock.c:615:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 615 | (void) close (j); | ^ lock.c:617:12: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 617 | (void) alarm (NSECS); | ^ lock.c:597:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | static TYPESIG alrmser (sig) | ^ lock.c:626:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 626 | static timerON (lock, fd) | ~~~~~~ ^ | int lock.c:651:9: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 651 | (void) alarm (NSECS); | ^ lock.c:626:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | static timerON (lock, fd) | ^ lock.c:106:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | static lockname(), timerON(), timerOFF(); | ^ lock.c:657:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 657 | static timerOFF (fd) | ~~~~~~ ^ | int lock.c:663:12: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 663 | (void) alarm (0); | ^ lock.c:657:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | static timerOFF (fd) | ^ lock.c:106:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | static lockname(), timerON(), timerOFF(); | ^ 59 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I.. -c client.c -o client.o In file included from client.c:15: ./mts.h:23:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ client.c:152:33: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | ap = copyip (brkstring (getcpy (args), " ", "\n"), ap); | ^ client.c:152:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | ap = copyip (brkstring (getcpy (args), " ", "\n"), ap); | ^ client.c:152:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | ap = copyip (brkstring (getcpy (args), " ", "\n"), ap); | ^ client.c:155:37: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | ap = copyip (brkstring (getcpy (servers), " ", "\n"), ap); | ^ client.c:155:29: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | ap = copyip (brkstring (getcpy (servers), " ", "\n"), ap); | ^ client.c:155:18: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | ap = copyip (brkstring (getcpy (servers), " ", "\n"), ap); | ^ client.c:157:17: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | *ap++ = getcpy ("localhost"); | ^ client.c:190:27: warning: passing arguments to 'gethostbystring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | if (hp = gethostbystring (*ap)) { | ^ client.c:190:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 190 | if (hp = gethostbystring (*ap)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~ client.c:190:9: note: place parentheses around the assignment to silence this warning 190 | if (hp = gethostbystring (*ap)) { | ^ | ( ) client.c:190:9: note: use '==' to turn this assignment into an equality comparison 190 | if (hp = gethostbystring (*ap)) { | ^ | == client.c:110:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | int client (args, protocol, service, rproto, response) | ^ client.c:211:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | static int rcaux (sp, hp, rproto, response) | ^ client.c:247:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | (void) close (sd); | ^ client.c:291:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | static int getport (rproto, addrtype, response) | ^ client.c:348:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | static int inet (hp, net) | ^ client.c:403:26: warning: passing arguments to 'mh_gethostbyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | return mh_gethostbyname (s); | ^ client.c:382:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | struct hostent *gethostbystring (s) | ^ client.c:102:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | struct hostent *gethostbystring (); | ^ client.c:438:16: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | while (brkany (c = *sp, brksep)) | ^ client.c:440:19: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | if (!c || brkany (c, brkterm)) { | ^ client.c:447:32: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | while ((c = *++sp) && !brkany (c, brksep) && !brkany (c, brkterm)) | ^ client.c:447:55: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | while ((c = *++sp) && !brkany (c, brksep) && !brkany (c, brkterm)) | ^ client.c:426:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | static char **brkstring (strg, brksep, brkterm) | ^ client.c:106:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | static char *getcpy (), **copyip (), **brkstring (); | ^ client.c:456:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 456 | static brkany (chr, strg) | ~~~~~~ ^ | int client.c:456:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] client.c:105:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static int brkany (); | ^ client.c:470:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | static char **copyip (p, q) | ^ client.c:106:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | static char *getcpy (), **copyip (), **brkstring (); | ^ client.c:482:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | static char *getcpy (str) | ^ client.c:106:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | static char *getcpy (), **copyip (), **brkstring (); | ^ 31 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I.. -c getbbent.c -o getbbent.o getbbent.c:117:19: warning: passing arguments to 'setbbinfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | return setbbinfo (BBOARDS, file, f); | ^ getbbent.c:124:21: warning: passing arguments to 'setbbent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | return setbbent (f); | ^ getbbent.c:112:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | int setbbfile (file, f) | ^ In file included from getbbent.c:8: ./bboards.h:75:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | int setbbent (), endbbent (), setbbfile (), setbbinfo (), setpwinfo (), | ^ getbbent.c:141:22: warning: passing arguments to 'setpwinfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | return setpwinfo (pw, file, f); | ^ getbbent.c:129:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | int setbbinfo (user, file, f) | ^ In file included from getbbent.c:8: ./bboards.h:75:49: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | int setbbent (), endbbent (), setbbfile (), setbbinfo (), setpwinfo (), | ^ getbbent.c:150:19: warning: passing arguments to 'setpwaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | if (!setpwaux (pw, file)) | ^ getbbent.c:156:21: warning: passing arguments to 'setbbent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | return setbbent (f); | ^ getbbent.c:145:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | int setpwinfo (pw, file, f) | ^ In file included from getbbent.c:8: ./bboards.h:75:63: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | int setbbent (), endbbent (), setbbfile (), setbbinfo (), setpwinfo (), | ^ getbbent.c:172:21: warning: passing arguments to 'setpwaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | return setpwaux (pw, file); | ^ getbbent.c:161:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | static int setbbaux (name, file) | ^ getbbent.c:176:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | static int setpwaux (pw, file) | ^ getbbent.c:103:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | static int setpwaux(), getbbitem(), bblose(); | ^ getbbent.c:194:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | int setbbent (f) | ^ In file included from getbbent.c:8: ./bboards.h:75:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | int setbbent (), endbbent (), setbbfile (), setbbinfo (), setpwinfo (), | ^ getbbent.c:278:20: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | p = q = bbskip (p, COLON); | ^ getbbent.c:279:32: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | p = bb -> bb_file = bbskip (p, COLON); | ^ getbbent.c:281:34: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | p = bb -> bb_passwd = bbskip (p, COLON); | ^ getbbent.c:282:20: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | p = r = bbskip (p, COLON); | ^ getbbent.c:283:32: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | p = bb -> bb_addr = bbskip (p, COLON); | ^ getbbent.c:284:35: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | p = bb -> bb_request = bbskip (p, COLON); | ^ getbbent.c:285:33: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | p = bb -> bb_relay = bbskip (p, COLON); | ^ getbbent.c:286:20: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | p = d = bbskip (p, COLON); | ^ getbbent.c:287:20: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | p = f = bbskip (p, COLON); | ^ getbbent.c:288:19: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | (void) bbskip (p, NEWLINE); | ^ getbbent.c:293:13: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | q = bbskip (q, COMMA); | ^ getbbent.c:307:17: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | r = bbskip (r, COMMA); | ^ getbbent.c:315:13: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | d = bbskip (d, COMMA); | ^ getbbent.c:362:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | struct bboard *getbbnam (name) | ^ In file included from getbbent.c:8: ./bboards.h:79:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | struct bboard *getbbent (), *getbbnam (), *getbbaka (), *getbbcpy(); | ^ getbbent.c:382:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | struct bboard *getbbaka (aka) | ^ In file included from getbbent.c:8: ./bboards.h:79:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | struct bboard *getbbent (), *getbbnam (), *getbbaka (), *getbbcpy(); | ^ getbbent.c:461:26: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 461 | (void) sprintf (prf, "%.*s", cp - bb -> bb_file, bb -> bb_file); | ~~^~ ~~~~~~~~~~~~~~~~~~ getbbent.c:467:35: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 467 | (void) sprintf (BBInfo, "%s.%.*s%s", prf, dp - cp, cp, CNTFILE); | ~~^~ ~~~~~~~ getbbent.c:469:34: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 469 | (void) sprintf (BBMap, "%s.%.*s%s", prf, dp - cp, cp, MAPFILE); | ~~^~ ~~~~~~~ getbbent.c:479:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 479 | if (cp = index (BBDate, NEWLINE)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:479:9: note: place parentheses around the assignment to silence this warning 479 | if (cp = index (BBDate, NEWLINE)) | ^ | ( ) getbbent.c:479:9: note: use '==' to turn this assignment into an equality comparison 479 | if (cp = index (BBDate, NEWLINE)) | ^ | == getbbent.c:517:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 517 | while (p = *q++) | ~~^~~~~~ getbbent.c:517:14: note: place parentheses around the assignment to silence this warning 517 | while (p = *q++) | ^ | ( ) getbbent.c:517:14: note: use '==' to turn this assignment into an equality comparison 517 | while (p = *q++) | ^ | == getbbent.c:524:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 524 | while (p = *r++) | ~~^~~~~~ getbbent.c:524:15: note: place parentheses around the assignment to silence this warning 524 | while (p = *r++) | ^ | ( ) getbbent.c:524:15: note: use '==' to turn this assignment into an equality comparison 524 | while (p = *r++) | ^ | == getbbent.c:489:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | int ldrbb (b) | ^ In file included from getbbent.c:8: ./bboards.h:76:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | ldrbb (), ldrchk (), getbbdist (); | ^ getbbent.c:572:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | b -> bb_name = getcpy (bp -> bb_name); | ^ getbbent.c:573:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | b -> bb_file = getcpy (bp -> bb_file); | ^ getbbent.c:574:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | b -> bb_archive = getcpy (bp -> bb_archive); | ^ getbbent.c:575:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | b -> bb_info = getcpy (bp -> bb_info); | ^ getbbent.c:576:26: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | b -> bb_map = getcpy (bp -> bb_map); | ^ getbbent.c:577:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | b -> bb_passwd = getcpy (bp -> bb_passwd); | ^ getbbent.c:581:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | b -> bb_date = getcpy (bp -> bb_date); | ^ getbbent.c:582:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | b -> bb_addr = getcpy (bp -> bb_addr); | ^ getbbent.c:583:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | b -> bb_request = getcpy (bp -> bb_request); | ^ getbbent.c:584:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | b -> bb_relay = getcpy (bp -> bb_relay); | ^ getbbent.c:592:46: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | for (p = bp -> bb_aka; *p; *q++ = getcpy (*p++)) | ^ getbbent.c:602:49: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | for (p = bp -> bb_leader; *p; *q++ = getcpy (*p++)) | ^ getbbent.c:612:47: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | for (p = bp -> bb_dist; *p; *q++ = getcpy (*p++)) | ^ getbbent.c:558:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | struct bboard *getbbcpy (bp) | ^ In file included from getbbent.c:8: ./bboards.h:79:59: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | struct bboard *getbbent (), *getbbnam (), *getbbaka (), *getbbcpy(); | ^ getbbent.c:634:25: warning: passing arguments to 'getbbitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | if (result = getbbitem (bb, *dp, action)) | ^ getbbent.c:634:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 634 | if (result = getbbitem (bb, *dp, action)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:634:13: note: place parentheses around the assignment to silence this warning 634 | if (result = getbbitem (bb, *dp, action)) | ^ | ( ) getbbent.c:634:13: note: use '==' to turn this assignment into an equality comparison 634 | if (result = getbbitem (bb, *dp, action)) | ^ | == getbbent.c:625:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | int getbbdist (bb, action) | ^ In file included from getbbent.c:8: ./bboards.h:76:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | ldrbb (), ldrchk (), getbbdist (); | ^ getbbent.c:674:28: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 674 | (void) sprintf (prf, "%.*s", cp - bb -> bb_file, bb -> bb_file); | ~~^~ ~~~~~~~~~~~~~~~~~~ getbbent.c:677:35: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 677 | (void) sprintf (file, "%s.%.*s%s", prf, dp - cp, cp, DSTFILE); | ~~^~ ~~~~~~~ getbbent.c:688:17: warning: passing arguments to 'bblose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | return bblose ("unable to read file %s", hp); | ^ getbbent.c:690:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 690 | if (np = index (buffer, '\n')) | ~~~^~~~~~~~~~~~~~~~~~~~~~ getbbent.c:690:10: note: place parentheses around the assignment to silence this warning 690 | if (np = index (buffer, '\n')) | ^ | ( ) getbbent.c:690:10: note: use '==' to turn this assignment into an equality comparison 690 | if (np = index (buffer, '\n')) | ^ | == getbbent.c:692:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 692 | if (result = getbbitem (bb, buffer, action)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:692:14: note: place parentheses around the assignment to silence this warning 692 | if (result = getbbitem (bb, buffer, action)) { | ^ | ( ) getbbent.c:692:14: note: use '==' to turn this assignment into an equality comparison 692 | if (result = getbbitem (bb, buffer, action)) { | ^ | == getbbent.c:694:21: warning: passing arguments to 'bblose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | (void) bblose ("error with file %s, item %s", hp, buffer); | ^ getbbent.c:702:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 702 | if (hp = rindex (item, '@')) { | ~~~^~~~~~~~~~~~~~~~~~~~ getbbent.c:702:13: note: place parentheses around the assignment to silence this warning 702 | if (hp = rindex (item, '@')) { | ^ | ( ) getbbent.c:702:13: note: use '==' to turn this assignment into an equality comparison 702 | if (hp = rindex (item, '@')) { | ^ | == getbbent.c:712:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | if (result = (*action) (mbox, host)) | ^ getbbent.c:712:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 712 | if (result = (*action) (mbox, host)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:712:17: note: place parentheses around the assignment to silence this warning 712 | if (result = (*action) (mbox, host)) | ^ | ( ) getbbent.c:712:17: note: use '==' to turn this assignment into an equality comparison 712 | if (result = (*action) (mbox, host)) | ^ | == getbbent.c:713:17: warning: passing arguments to 'bblose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | (void) bblose ("action (%s, %s) returned 0%o", mbox, host, result); | ^ getbbent.c:646:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | static int getbbitem (bb, item, action) | ^ getbbent.c:103:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | static int setpwaux(), getbbitem(), bblose(); | ^ getbbent.c:722:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | static int bblose (fmt, a, b, c) | ^ getbbent.c:103:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | static int setpwaux(), getbbitem(), bblose(); | ^ getbbent.c:736:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | void make_lower (s1, s2) | ^ In file included from getbbent.c:8: ./bboards.h:74:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | void make_lower (); | ^ getbbent.c:750:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | static char *bbskip (p, c) | ^ getbbent.c:81:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static char *bbskip (), *getcpy (); | ^ getbbent.c:774:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 774 | if (p = malloc ((unsigned) (strlen (s) + 1))) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:774:11: note: place parentheses around the assignment to silence this warning 774 | if (p = malloc ((unsigned) (strlen (s) + 1))) | ^ | ( ) getbbent.c:774:11: note: use '==' to turn this assignment into an equality comparison 774 | if (p = malloc ((unsigned) (strlen (s) + 1))) | ^ | == getbbent.c:766:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | static char *getcpy (s) | ^ getbbent.c:81:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static char *bbskip (), *getcpy (); | ^ 82 warnings generated. lex -nt dtimep.lex | sed -f lexedit.sed > dtimep.c lex failed: using pre-lexed dtimep.c cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I.. -c dtimep.c -o dtimep.o dtimep.c:118:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 118 | static zonehack (tw) | ~~~~~~ ^ | int dtimep.c:123:17: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | if (twclock (tw) == -1L) | ^ dtimep.c:118:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | static zonehack (tw) | ^ dtimep.c:176:27: warning: call to undeclared function 'lex_string'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | switch (cp = str, *cp ? lex_string( &str, start_cond) : 0) { | ^ dtimep.c:133:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | struct tws *dparsetime (str) | ^ In file included from dtimep.c:12: ./tws.h:51:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | struct tws *dgmtime(), *dlocaltime (), *dparsetime (), *dtwstime (); | ^ 6 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I.. -c -DONECASE lexstring.c lexstring.c:61:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | lex_string( strptr, start_cond) | ^ | int lexstring.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I.. -c dtime.c -o dtime.o dtime.c:124:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 124 | time_t time (); | ^ /usr/include/time.h:131:8: note: conflicting prototype is here 131 | time_t time(time_t *); | ^ dtime.c:125:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 125 | struct tm *localtime (); | ^ /usr/include/time.h:127:12: note: conflicting prototype is here 127 | struct tm *localtime(const time_t *); | ^ dtime.c:133:12: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | return dtime (&clock); | ^ ./tws.h:54:40: note: expanded from macro 'dtime' 54 | #define dtime(cl) dasctime (dlocaltime (cl), TW_ZONE) | ^ dtime.c:133:12: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./tws.h:54:28: note: expanded from macro 'dtime' 54 | #define dtime(cl) dasctime (dlocaltime (cl), TW_ZONE) | ^ dtime.c:137:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | char *dctime (tw) | ^ In file included from dtime.c:9: ./tws.h:50:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | char *dasctime (), *dtimezone (), *dctime (), *dtimenow (); | ^ dtime.c:160:23: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | return dlocaltime (&clock); | ^ dtime.c:164:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | struct tws *dlocaltime (clock) | ^ In file included from dtime.c:9: ./tws.h:51:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | struct tws *dgmtime(), *dlocaltime (), *dparsetime (), *dtwstime (); | ^ dtime.c:209:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | struct tws *dgmtime (clock) | ^ In file included from dtime.c:9: ./tws.h:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | struct tws *dgmtime(), *dlocaltime (), *dparsetime (), *dtwstime (); | ^ dtime.c:255:12: warning: passing arguments to 'dtimezone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | dtimezone(tw -> tw_zone, tw->tw_flags | flags)); | ^ dtime.c:240:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | char *dasctime (tw, flags) | ^ In file included from dtime.c:9: ./tws.h:50:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | char *dasctime (), *dtimezone (), *dctime (), *dtimenow (); | ^ dtime.c:274:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | char *dtimezone (offset, flags) | ^ In file included from dtime.c:9: ./tws.h:50:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | char *dasctime (), *dtimezone (), *dctime (), *dtimenow (); | ^ dtime.c:315:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | void twscopy (tb, tw) | ^ In file included from dtime.c:9: ./tws.h:47:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | void twscopy (); | ^ dtime.c:345:17: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | (void) twclock (tw1); | ^ dtime.c:347:17: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | (void) twclock (tw2); | ^ dtime.c:337:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | int twsort (tw1, tw2) | ^ In file included from dtime.c:9: ./tws.h:48:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | int twsort (); | ^ dtime.c:364:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | time_t twclock (tw) | ^ In file included from dtime.c:9: ./tws.h:49:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | time_t twclock (); | ^ dtime.c:416:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 416 | set_dotw (tw) | ^ | int dtime.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I.. -c date.c -o date.o date.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 9 | main (argc, argv) | ^ | int date.c:15:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | exit (0); | ^ date.c:15:5: note: include the header or explicitly provide a declaration for 'exit' date.c:9:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | main (argc, argv) | ^ 3 warnings generated. cc -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o date date.o dtime.o cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I.. -c mf.c -o mf.o mf.c:16:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | static char *getcpy (s) | ^ mf.c:28:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | static char *add (s1, s2) | ^ mf.c:45:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | int isfrom (string) | ^ In file included from mf.c:6: ./mf.h:67:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | int isfrom (), lequal (), mfgets (); | ^ mf.c:53:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | int lequal (a, b) | ^ In file included from mf.c:6: ./mf.h:67:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | int isfrom (), lequal (), mfgets (); | ^ mf.c:110:23: warning: passing arguments to 'uucpadrx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | adrxp = uucpadrx (addrs); | ^ mf.c:115:22: warning: passing arguments to 'getadrx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | adrxp = getadrx (addrs); | ^ mf.c:94:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | struct adrx *seekadrx (addrs) | ^ In file included from mf.c:6: ./mf.h:69:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | struct adrx *seekadrx (), *getadrx (), *uucpadrx (); | ^ mf.c:147:11: warning: passing arguments to 'compress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | compress (addrs, vp); | ^ mf.c:171:27: warning: passing arguments to 'isat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | if (*xp != 0 && isat (--xp)) { | ^ mf.c:202:15: warning: passing arguments to 'isat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | if (isat (wp)) { | ^ mf.c:135:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | struct adrx *uucpadrx (addrs) | ^ In file included from mf.c:6: ./mf.h:69:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | struct adrx *seekadrx (), *getadrx (), *uucpadrx (); | ^ mf.c:215:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | static void compress (fp, tp) | ^ mf.c:13:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | static void compress(); | ^ mf.c:235:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | static int isat (p) | ^ mf.c:10:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | static int isat(), parse_address(), phrase(); | ^ mf.c:409:21: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | (void) my_lex (adr); | ^ mf.c:427:21: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | (void) my_lex (adr); | ^ mf.c:435:26: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 435 | (void) sprintf (adr, "%.*s", cp - ap, ap); | ~~^~ ~~~~~~~ mf.c:363:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | struct adrx *getadrx (addrs) | ^ In file included from mf.c:6: ./mf.h:69:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | struct adrx *seekadrx (), *getadrx (), *uucpadrx (); | ^ mf.c:464:20: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | switch (my_lex (buffer)) { | ^ mf.c:490:21: warning: passing arguments to 'route_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | if (route_addr (buffer) == NOTOK) | ^ mf.c:501:20: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | switch (my_lex (buffer)) { | ^ mf.c:506:17: warning: passing arguments to 'phrase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | if (phrase (buffer) == NOTOK) | ^ mf.c:512:22: warning: passing arguments to 'route_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | if (route_addr (buffer) == NOTOK) | ^ mf.c:532:23: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | switch (my_lex (buffer)) { | ^ mf.c:569:21: warning: passing arguments to 'route_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | if (route_addr (buffer) == NOTOK) | ^ mf.c:577:17: warning: passing arguments to 'domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | if (domain (buffer) == NOTOK) | ^ mf.c:620:17: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | switch (my_lex (buffer)) { | ^ mf.c:616:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | static int phrase (buffer) | ^ mf.c:10:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | static int isat(), parse_address(), phrase(); | ^ mf.c:638:16: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | if (my_lex (buffer) == LX_AT) { | ^ mf.c:639:12: warning: passing arguments to 'route' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | if (route (buffer) == NOTOK) | ^ mf.c:645:20: warning: passing arguments to 'local_part' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | if (local_part (buffer) == NOTOK) | ^ mf.c:650:20: warning: passing arguments to 'domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | return domain (buffer); | ^ mf.c:633:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | static int route_addr (buffer) | ^ mf.c:11:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | static int route_addr(), local_part(), domain(), route(); | ^ mf.c:672:17: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | switch (my_lex (buffer)) { | ^ mf.c:683:17: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | switch (my_lex (buffer)) { | ^ mf.c:666:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | static int local_part (buffer) | ^ mf.c:11:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | static int route_addr(), local_part(), domain(), route(); | ^ mf.c:700:17: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | switch (my_lex (buffer)) { | ^ mf.c:713:17: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | switch (my_lex (buffer)) { | ^ mf.c:696:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | static int domain (buffer) | ^ mf.c:11:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | static int route_addr(), local_part(), domain(), route(); | ^ mf.c:738:17: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | switch (my_lex (buffer)) { | ^ mf.c:750:17: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | switch (my_lex (buffer)) { | ^ mf.c:754:22: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | switch (my_lex (buffer)) { | ^ mf.c:732:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | static int route (buffer) | ^ mf.c:11:50: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | static int route_addr(), local_part(), domain(), route(); | ^ mf.c:790:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | static int my_lex (buffer) | ^ mf.c:12:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | static int my_lex(); | ^ mf.c:918:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | char *legal_person (p) | ^ In file included from mf.c:6: ./mf.h:68:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | char *legal_person (); | ^ mf.c:997:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 997 | else | ^ mf.c:939:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | int mfgets (in, bp) | ^ In file included from mf.c:6: ./mf.h:67:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | int isfrom (), lequal (), mfgets (); | ^ 61 warnings generated. if [ -f libzot.a ]; then mv libzot.a zlibzot.a; fi ar r libzot.a mts/mts.o mts/lock.o mts/client.o mf/mf.o bboards/getbbent.o tws/dtime.o tws/dtimep.o tws/lexstring.o; ranlib libzot.a ar: warning: creating libzot.a -rw-r--r-- 1 root wheel 132936 Jan 21 01:07 libzot.a ZOTnet library built normally cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c ali.c -o ali.o ali.c:56:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 56 | main (argc, argv) | ^ | int ali.c:80:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | invo_name = r1bindex (argv[0], '/'); | ^ ali.c:81:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | mts_init (invo_name); | ^ ali.c:82:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if ((cp = m_find (invo_name)) != NULL) { | ^ ali.c:83:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ ali.c:83:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ ali.c:84:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | ap = copyip (ap, arguments); | ^ ali.c:88:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | (void) copyip (argv + 1, ap); | ^ ali.c:93:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 93 | while (cp = *argp++) { | ~~~^~~~~~~~~ ali.c:93:15: note: place parentheses around the assignment to silence this warning 93 | while (cp = *argp++) { | ^ | ( ) ali.c:93:15: note: use '==' to turn this assignment into an equality comparison 93 | while (cp = *argp++) { | ^ | == ali.c:95:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | switch (smatch (++cp, switches)) { | ^ ali.c:97:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | ambigsw (cp, switches); | ^ ali.c:98:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | done (1); | ^ ali.c:100:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | adios (NULLCP, "-%s unknown", cp); | ^ ali.c:104:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | help (buf, switches); | ^ ali.c:105:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | done (1); | ^ ali.c:109:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ ali.c:110:22: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | if ((i = alias (cp)) != AK_OK) | ^ ali.c:112:17: warning: passing arguments to 'akerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | cp, akerror (i)); | ^ ali.c:111:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | adios (NULLCP, "aliasing error in %s - %s", | ^ ali.c:143:18: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ ali.c:143:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 143 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ~~~^~~~~~~~~~~~~~~~~~~~~~ ali.c:143:9: note: place parentheses around the assignment to silence this warning 143 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ | ( ) ali.c:143:9: note: use '==' to turn this assignment into an equality comparison 143 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ | == ali.c:146:37: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) | ^ ali.c:146:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) | ^ ali.c:147:18: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | if ((i = alias (*ap)) != AK_OK) | ^ ali.c:149:50: warning: passing arguments to 'akerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | "aliasing error in %s - %s", *ap, akerror (i)); | ^ ali.c:148:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | adios (NULLCP, | ^ ali.c:153:15: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | (void) alias (AliasFile); | ^ ali.c:162:3: warning: call to undeclared function 'print_usr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | print_usr (vec[i], list, normalize); | ^ ali.c:164:3: warning: call to undeclared function 'print_aka'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | print_aka (akvalue (vec[i]), list, 0); | ^ ali.c:164:22: warning: passing arguments to 'akvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | print_aka (akvalue (vec[i]), list, 0); | ^ ali.c:167:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | adios (NULLCP, | ^ ali.c:174:26: warning: passing arguments to 'akresult' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | print_aka (akresult (ak), list, pos); | ^ ali.c:178:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | done (0); | ^ ali.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | main (argc, argv) | ^ ali.c:183:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 183 | print_aka (p, list, margin) | ^ | int ali.c:198:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 198 | while (c = *p++) | ~~^~~~~~ ali.c:198:14: note: place parentheses around the assignment to silence this warning 198 | while (c = *p++) | ^ | ( ) ali.c:198:14: note: use '==' to turn this assignment into an equality comparison 198 | while (c = *p++) | ^ | == ali.c:204:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 204 | else | ^ ali.c:221:15: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | ml_fputs(p-1, stdout); | ^ ali.c:226:15: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | ml_fputs(p-1, stdout); | ^ ali.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | print_aka (p, list, margin) | ^ ali.c:242:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 242 | print_usr (s, list, norm) | ^ | int ali.c:254:23: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | if ((pp = getname (s)) == NULL) | ^ ali.c:255:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | adios (NULLCP, "no address in \"%s\"", s); | ^ ali.c:256:20: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | if ((mp = getm (pp, NULLCP, 0, norm, NULLCP)) == NULL) | ^ ali.c:257:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | adios (NULLCP, "bad address \"%s\"", s); | ^ ali.c:258:20: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | while (getname ("")) | ^ ali.c:263:16: warning: passing arguments to 'akresult' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | pp = akresult (ak); | ^ ali.c:264:22: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | while (cp = getname (pp)) { | ^ ali.c:264:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 264 | while (cp = getname (pp)) { | ~~~^~~~~~~~~~~~~~ ali.c:264:12: note: place parentheses around the assignment to silence this warning 264 | while (cp = getname (pp)) { | ^ | ( ) ali.c:264:12: note: use '==' to turn this assignment into an equality comparison 264 | while (cp = getname (pp)) { | ^ | == ali.c:265:21: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | if ((np = getm (cp, NULLCP, 0, norm, NULLCP)) == NULL) | ^ ali.c:267:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | if (uleq (mp -> m_host, np -> m_host) | ^ ali.c:268:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | && uleq (mp -> m_mbox, np -> m_mbox)) { | ^ ali.c:269:37: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | vp = vp ? add (ak -> ak_name, add (",", vp)) | ^ ali.c:269:17: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | vp = vp ? add (ak -> ak_name, add (",", vp)) | ^ ali.c:270:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | : getcpy (ak -> ak_name); | ^ ali.c:271:10: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | mnfree (np); | ^ ali.c:272:18: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | while (getname ("")) | ^ ali.c:276:13: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | mnfree (np); | ^ ali.c:279:12: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | mnfree (mp); | ^ ali.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | print_usr (s, list, norm) | ^ 60 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c aliasbr.c -o aliasbr.o aliasbr.c:29:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 29 | static add_aka(); | ~~~~~~ ^ | int aliasbr.c:47:15: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | (void) alias (AliasFile); | ^ aliasbr.c:50:15: warning: passing arguments to 'akval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | v = akval (akahead, s); | ^ aliasbr.c:41:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | char *akvalue (s) | ^ In file included from aliasbr.c:7: ./../h/aliasbr.h:43:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | char *akresult (), *akvalue (), *akerror (); | ^ aliasbr.c:72:30: warning: passing arguments to 'akval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | pp = ad -> ad_local ? akval (ak -> ak_next, ad -> ad_text) | ^ aliasbr.c:73:15: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | : getcpy (ad -> ad_text); | ^ aliasbr.c:75:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 75 | if (dp = cp) { | ~~~^~~~ aliasbr.c:75:9: note: place parentheses around the assignment to silence this warning 75 | if (dp = cp) { | ^ | ( ) aliasbr.c:75:9: note: use '==' to turn this assignment into an equality comparison 75 | if (dp = cp) { | ^ | == aliasbr.c:87:19: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | (void) ml_conv(cp); | ^ aliasbr.c:63:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | char *akresult (ak) | ^ In file included from aliasbr.c:7: ./../h/aliasbr.h:43:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | char *akresult (), *akvalue (), *akerror (); | ^ aliasbr.c:101:11: warning: passing arguments to 'aleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | if (aleq (s, ak -> ak_name)) | ^ aliasbr.c:104:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | return getcpy (s); | ^ aliasbr.c:93:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | static char *akval (ak, s) | ^ aliasbr.c:25:48: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static char *scanp (), *getp (), *seekp (), *akval (), *getalias (); | ^ aliasbr.c:114:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 114 | while (c = *string++) | ~~^~~~~~~~~~~ aliasbr.c:114:14: note: place parentheses around the assignment to silence this warning 114 | while (c = *string++) | ^ | ( ) aliasbr.c:114:14: note: use '==' to turn this assignment into an equality comparison 114 | while (c = *string++) | ^ | == aliasbr.c:108:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | static int aleq (string, aliasent) | ^ aliasbr.c:30:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static int aleq(), addfile(), addgroup(), addmember(), addall(); | ^ aliasbr.c:142:17: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | file = libpath (file); | ^ aliasbr.c:148:19: warning: passing arguments to 'vfgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | while (vfgets (fp, &ap) == OK) { | ^ aliasbr.c:150:23: warning: passing arguments to 'scanp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | switch (*(pp = scanp (bp))) { | ^ aliasbr.c:152:20: warning: passing arguments to 'getp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | if (!*(cp = getp (pp + 1))) { | ^ aliasbr.c:170:20: warning: passing arguments to 'seekp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | if (!*(cp = seekp (pp, &lc, &ap))) { | ^ aliasbr.c:174:21: warning: passing arguments to 'akalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | if (!(ak = akalloc (cp))) { | ^ aliasbr.c:192:23: warning: passing arguments to 'scanp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | switch (*(pp = scanp (ap))) { | ^ aliasbr.c:198:20: warning: passing arguments to 'getp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | if (!*(cp = getp (pp + 1))) { | ^ aliasbr.c:202:16: warning: passing arguments to 'addfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | if (!addfile (ak, cp)) { | ^ aliasbr.c:209:20: warning: passing arguments to 'getp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | if (!*(cp = getp (pp + 1))) { | ^ aliasbr.c:213:17: warning: passing arguments to 'addgroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | if (!addgroup (ak, cp)) { | ^ aliasbr.c:220:20: warning: passing arguments to 'getp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | if (!*(cp = getp (pp + 1))) { | ^ aliasbr.c:224:18: warning: passing arguments to 'addmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | if (!addmember (ak, cp)) { | ^ aliasbr.c:231:17: warning: passing arguments to 'addall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | (void) addall (ak); | ^ aliasbr.c:235:24: warning: passing arguments to 'getalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | while (cp = getalias (pp)) | ^ aliasbr.c:235:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 235 | while (cp = getalias (pp)) | ~~~^~~~~~~~~~~~~~~ aliasbr.c:235:13: note: place parentheses around the assignment to silence this warning 235 | while (cp = getalias (pp)) | ^ | ( ) aliasbr.c:235:13: note: use '==' to turn this assignment into an equality comparison 235 | while (cp = getalias (pp)) | ^ | == aliasbr.c:236:15: warning: passing arguments to 'add_aka' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | add_aka (ak, cp); | ^ aliasbr.c:128:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | int alias (file) | ^ In file included from aliasbr.c:7: ./../h/aliasbr.h:42:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | int alias (), akvisible (), init_pw (); | ^ aliasbr.c:247:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | char *akerror (i) | ^ In file included from aliasbr.c:7: ./../h/aliasbr.h:43:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | char *akresult (), *akvalue (), *akerror (); | ^ aliasbr.c:279:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | static char *scanp (p) | ^ aliasbr.c:25:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static char *scanp (), *getp (), *seekp (), *akval (), *getalias (); | ^ aliasbr.c:288:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | static char *getp (p) | ^ aliasbr.c:25:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static char *scanp (), *getp (), *seekp (), *akval (), *getalias (); | ^ aliasbr.c:302:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | static char *seekp (p, c, a) | ^ aliasbr.c:25:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static char *scanp (), *getp (), *seekp (), *akval (), *getalias (); | ^ aliasbr.c:329:30: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | if ((fp = fopen (libpath (file), "r")) == NULL) { | ^ aliasbr.c:335:23: warning: passing arguments to 'getalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | while (cp = getalias (buffer)) | ^ aliasbr.c:335:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 335 | while (cp = getalias (buffer)) | ~~~^~~~~~~~~~~~~~~~~~~ aliasbr.c:335:12: note: place parentheses around the assignment to silence this warning 335 | while (cp = getalias (buffer)) | ^ | ( ) aliasbr.c:335:12: note: use '==' to turn this assignment into an equality comparison 335 | while (cp = getalias (buffer)) | ^ | == aliasbr.c:336:14: warning: passing arguments to 'add_aka' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | add_aka (ak, cp); | ^ aliasbr.c:321:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | static int addfile (ak, file) | ^ aliasbr.c:30:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static int aleq(), addfile(), addgroup(), addmember(), addall(); | ^ aliasbr.c:364:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 364 | while (gp = *gr -> gr_mem++) | ~~~^~~~~~~~~~~~~~~~~ aliasbr.c:364:15: note: place parentheses around the assignment to silence this warning 364 | while (gp = *gr -> gr_mem++) | ^ | ( ) aliasbr.c:364:15: note: use '==' to turn this assignment into an equality comparison 364 | while (gp = *gr -> gr_mem++) | ^ | == aliasbr.c:371:11: warning: passing arguments to 'add_aka' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | add_aka (ak, hm -> h_name); | ^ aliasbr.c:375:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 375 | if (pw = getpwnam(gp)) | ~~~^~~~~~~~~~~~~~ aliasbr.c:375:16: note: place parentheses around the assignment to silence this warning 375 | if (pw = getpwnam(gp)) | ^ | ( ) aliasbr.c:375:16: note: use '==' to turn this assignment into an equality comparison 375 | if (pw = getpwnam(gp)) | ^ | == aliasbr.c:377:10: warning: passing arguments to 'hmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | hmalloc(pw); | ^ aliasbr.c:378:11: warning: passing arguments to 'add_aka' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | add_aka (ak, gp); | ^ aliasbr.c:344:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | static int addgroup (ak, grp) | ^ aliasbr.c:30:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static int aleq(), addfile(), addgroup(), addmember(), addall(); | ^ aliasbr.c:414:14: warning: passing arguments to 'add_aka' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | add_aka (ak, hm -> h_name); | ^ aliasbr.c:388:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | static int addmember (ak, grp) | ^ aliasbr.c:30:43: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static int aleq(), addfile(), addgroup(), addmember(), addall(); | ^ aliasbr.c:437:14: warning: passing arguments to 'add_aka' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | add_aka (ak, hm -> h_name); | ^ aliasbr.c:421:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | static int addall (ak) | ^ aliasbr.c:30:56: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static int aleq(), addfile(), addgroup(), addmember(), addall(); | ^ aliasbr.c:469:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 469 | else | ^ aliasbr.c:444:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | static char *getalias (addrs) | ^ aliasbr.c:25:59: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static char *scanp (), *getp (), *seekp (), *akval (), *getalias (); | ^ aliasbr.c:477:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 477 | static add_aka (ak, pp) | ~~~~~~ ^ | int aliasbr.c:491:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | ad -> ad_text = getcpy (pp); | ^ aliasbr.c:477:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | static add_aka (ak, pp) | ^ aliasbr.c:29:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | static add_aka(); | ^ aliasbr.c:501:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 501 | init_pw () { | ^ | int aliasbr.c:517:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 517 | while (pw = getpwent ()) | ~~~^~~~~~~~~~~~~ aliasbr.c:517:15: note: place parentheses around the assignment to silence this warning 517 | while (pw = getpwent ()) | ^ | ( ) aliasbr.c:517:15: note: use '==' to turn this assignment into an equality comparison 517 | while (pw = getpwent ()) | ^ | == aliasbr.c:518:15: warning: passing arguments to 'hmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | if (!hmalloc (pw)) | ^ aliasbr.c:537:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | p -> ak_name = getcpy (id); | ^ aliasbr.c:529:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | static struct aka *akalloc (id) | ^ aliasbr.c:26:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static struct aka *akalloc (); | ^ aliasbr.c:559:26: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | p -> h_name = getcpy (pw -> pw_name); | ^ aliasbr.c:562:26: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | p -> h_home = getcpy (pw -> pw_dir); | ^ aliasbr.c:563:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | p -> h_shell = getcpy (pw -> pw_shell); | ^ aliasbr.c:551:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | static struct home *hmalloc (pw) | ^ aliasbr.c:27:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static struct home *hmalloc (); | ^ aliasbr.c:595:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | if (uleq (name, hp -> h_name)) | ^ aliasbr.c:606:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 606 | if (pw = getpwnam(lname)) | ~~~^~~~~~~~~~~~~~~~~ aliasbr.c:606:12: note: place parentheses around the assignment to silence this warning 606 | if (pw = getpwnam(lname)) | ^ | ( ) aliasbr.c:606:12: note: use '==' to turn this assignment into an equality comparison 606 | if (pw = getpwnam(lname)) | ^ | == aliasbr.c:580:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | struct home *seek_home (name) | ^ In file included from aliasbr.c:7: ./../h/aliasbr.h:39:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | struct home *seek_home (); | ^ 86 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xali ali.o aliasbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo ali ali cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c anno.c -o anno.o anno.c:13:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | static make_comp(); | ~~~~~~ ^ | int anno.c:43:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 43 | main (argc, argv) | ^ | int anno.c:69:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | invo_name = r1bindex (argv[0], '/'); | ^ anno.c:70:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | if ((cp = m_find (invo_name)) != NULL) { | ^ anno.c:71:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ anno.c:71:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ anno.c:72:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | ap = copyip (ap, arguments); | ^ anno.c:76:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | (void) copyip (argv + 1, ap); | ^ anno.c:81:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 81 | while (cp = *argp++) { | ~~~^~~~~~~~~ anno.c:81:15: note: place parentheses around the assignment to silence this warning 81 | while (cp = *argp++) { | ^ | ( ) anno.c:81:15: note: use '==' to turn this assignment into an equality comparison 81 | while (cp = *argp++) { | ^ | == anno.c:83:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | switch (smatch (++cp, switches)) { | ^ anno.c:85:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | ambigsw (cp, switches); | ^ anno.c:86:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | done (1); | ^ anno.c:88:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | adios (NULLCP, "-%s unknown", cp); | ^ anno.c:92:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | help (buf, switches); | ^ anno.c:93:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | done (1); | ^ anno.c:97:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | adios (NULLCP, "only one component at a time!"); | ^ anno.c:99:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ anno.c:118:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | adios (NULLCP, "only one body at a time!"); | ^ anno.c:120:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ anno.c:125:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | adios (NULLCP, "only one folder at a time!"); | ^ anno.c:127:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ anno.c:139:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | if (!m_find ("path")) | ^ anno.c:140:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | free (path ("./", TFOLDER)); | ^ anno.c:145:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | maildir = m_maildir (folder); | ^ anno.c:147:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | if (chdir (maildir) == NOTOK) | ^ anno.c:148:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | adios (maildir, "unable to change directory to"); | ^ anno.c:149:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | if (!(mp = m_gmsg (folder))) | ^ anno.c:150:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | adios (NULLCP, "unable to read folder %s", folder); | ^ anno.c:152:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | adios (NULLCP, "no messages in %s", folder); | ^ anno.c:155:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | if (!m_convert (mp, msgs[msgnum])) | ^ anno.c:156:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | done (1); | ^ anno.c:158:15: warning: passing arguments to 'make_comp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | make_comp (&comp); | ^ anno.c:162:13: warning: call to undeclared function 'annotate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | (void) annotate (m_name (msgnum), comp, text, inplace, datesw); | ^ anno.c:162:30: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | (void) annotate (m_name (msgnum), comp, text, inplace, datesw); | ^ anno.c:164:15: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | m_replace (pfolder, folder); | ^ anno.c:166:11: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | m_setcur (mp, mp -> lowsel); | ^ anno.c:167:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | m_sync (mp); | ^ anno.c:170:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | done (0); | ^ anno.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | main (argc, argv) | ^ anno.c:175:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 175 | static make_comp (ap) | ~~~~~~ ^ | int anno.c:186:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | done (1); | ^ anno.c:187:16: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | *ap = trimcpy (buffer); | ^ anno.c:193:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | adios (NULLCP, "null component name"); | ^ anno.c:195:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | adios (NULLCP, "invalid component name %s", *ap); | ^ anno.c:197:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | adios (NULLCP, "too large component name %s", *ap); | ^ anno.c:201:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | adios (NULLCP, "invalid component name %s", *ap); | ^ anno.c:175:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | static make_comp (ap) | ^ anno.c:13:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | static make_comp(); | ^ 48 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c annosbr.c -o annosbr.o annosbr.c:15:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 15 | off_t lseek (); | ^ /usr/include/sys/types.h:374:8: note: conflicting prototype is here 374 | off_t lseek(int, off_t, int); | ^ annosbr.c:16:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | static annosbr(); | ~~~~~~ ^ | int annosbr.c:20:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 20 | annotate (file, comp, text, inplace, datesw) | ^ | int annosbr.c:30:15: warning: call to undeclared function 'lkopen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | if ((fd = lkopen (file, 2)) == NOTOK) { | ^ annosbr.c:36:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | admonish (file, "unable to lock and open"); | ^ annosbr.c:42:17: warning: passing arguments to 'annosbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | i = annosbr (fd, file, comp, text, inplace, datesw); | ^ annosbr.c:46:12: warning: call to undeclared function 'lkclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | (void) lkclose (fd, file); | ^ annosbr.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | annotate (file, comp, text, inplace, datesw) | ^ annosbr.c:54:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | static annosbr (src, file, comp, text, inplace, datesw) | ~~~~~~ ^ | int annosbr.c:73:38: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | (void) strcpy (tmpfil, m_scratch (file, "annotate")); | ^ annosbr.c:76:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | admonish (tmpfil, "unable to create"); | ^ annosbr.c:83:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 83 | if (cp = text) { | ~~~^~~~~~ annosbr.c:83:12: note: place parentheses around the assignment to silence this warning 83 | if (cp = text) { | ^ | ( ) annosbr.c:83:12: note: use '==' to turn this assignment into an equality comparison 83 | if (cp = text) { | ^ | == annosbr.c:91:24: warning: field width should have type 'int', but argument has type 'long' [-Wformat] 91 | fprintf (tmp, "%s: %*.*s", comp, cp - sp, cp - sp, sp); | ~~^~~ ~~~~~~~ annosbr.c:97:13: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | cpydata (src, fileno (tmp), file, tmpfil); | ^ annosbr.c:101:12: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | if ((fd = open (tmpfil, 0)) == NOTOK) | ^ annosbr.c:102:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | adios (tmpfil, "unable to open for re-reading"); | ^ annosbr.c:104:10: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | cpydata (fd, src, tmpfil, file); | ^ annosbr.c:105:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | (void) close (fd); | ^ annosbr.c:106:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | (void) unlink (tmpfil); | ^ annosbr.c:112:34: warning: passing arguments to 'm_backup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | (void) strcpy (buffer, m_backup (file)); | ^ annosbr.c:119:14: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | (void) unlink (tmpfil); | ^ annosbr.c:123:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | admonish (buffer, "unable to rename %s to", file); | ^ annosbr.c:129:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | admonish (file, "unable to rename %s to", tmpfil); | ^ annosbr.c:54:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | static annosbr (src, file, comp, text, inplace, datesw) | ^ annosbr.c:16:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | static annosbr(); | ^ 25 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xanno anno.o annosbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o /usr/local/bin/ld.bfd: ../zotnet/libzot.a(lock.o): in function `lockname': lock.c:(.text+0x62e): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo anno anno cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c burst.c -o burst.o burst.c:14:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 14 | static cpybrst(), burst(); | ~~~~~~ ^ | int burst.c:14:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 14 | static cpybrst(), burst(); | ~~~~~~ ^ | int burst.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | main (argc, argv) | ^ | int burst.c:81:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | invo_name = r1bindex (argv[0], '/'); | ^ burst.c:82:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if ((cp = m_find (invo_name)) != NULL) { | ^ burst.c:83:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ burst.c:83:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ burst.c:84:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | ap = copyip (ap, arguments); | ^ burst.c:88:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | (void) copyip (argv + 1, ap); | ^ burst.c:93:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 93 | while (cp = *argp++) { | ~~~^~~~~~~~~ burst.c:93:15: note: place parentheses around the assignment to silence this warning 93 | while (cp = *argp++) { | ^ | ( ) burst.c:93:15: note: use '==' to turn this assignment into an equality comparison 93 | while (cp = *argp++) { | ^ | == burst.c:95:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | switch (smatch (++cp, switches)) { | ^ burst.c:97:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | ambigsw (cp, switches); | ^ burst.c:98:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | done (1); | ^ burst.c:100:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | adios (NULLCP, "-%s unknown\n", cp); | ^ burst.c:104:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | help (buf, switches); | ^ burst.c:105:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | done (1); | ^ burst.c:130:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | adios (NULLCP, "only one folder at a time!"); | ^ burst.c:132:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ burst.c:140:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | if (!m_find ("path")) | ^ burst.c:141:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | free (path ("./", TFOLDER)); | ^ burst.c:146:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | maildir = m_maildir (folder); | ^ burst.c:148:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | if (chdir (maildir) == NOTOK) | ^ burst.c:149:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | adios (maildir, "unable to change directory to"); | ^ burst.c:150:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | if (!(mp = m_gmsg (folder))) | ^ burst.c:151:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | adios (NULLCP, "unable to read folder %s", folder); | ^ burst.c:153:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | adios (NULLCP, "no messages in %s", folder); | ^ burst.c:156:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | if (!m_convert (mp, msgs[msgnum])) | ^ burst.c:157:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | done (1); | ^ burst.c:158:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | m_setseq (mp); | ^ burst.c:163:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | adios (NULLCP, "unable to allocate burst storage"); | ^ burst.c:168:12: warning: passing arguments to 'burst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | burst (smsgs, msgnum, inplace, quietsw, verbosw); | ^ burst.c:172:15: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | m_replace (pfolder, folder); | ^ burst.c:175:15: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | m_setcur (mp, mp -> lowsel); | ^ burst.c:179:15: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | m_setcur (mp, hi); | ^ burst.c:180:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | m_sync (mp); | ^ burst.c:183:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | done (0); | ^ burst.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | main (argc, argv) | ^ burst.c:188:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 188 | static burst (smsgs, msgnum, inplace, quietsw, verbosw) | ~~~~~~ ^ | int burst.c:215:38: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | if ((in = fopen (msgnam = m_name (msgnum), "r")) == NULL) | ^ burst.c:216:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | adios (msgnam, "unable to read message"); | ^ burst.c:234:23: warning: passing arguments to 'peekc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | && ((cc = peekc (in)) == '\n' || cc == EOF)) | ^ burst.c:258:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | adios (NULLCP, "burst() botch -- you lose big"); | ^ burst.c:262:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | admonish (NULLCP, "message %d not in digest format", msgnum); | ^ burst.c:274:23: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | if ((mp = m_remsg (mp, 0, mp -> hghmsg + msgp)) == NULL) | ^ burst.c:275:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | adios (NULLCP, "unable to allocate folder storage"); | ^ burst.c:287:32: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | (void) strcpy (f1, m_name (i)); | ^ burst.c:288:32: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | (void) strcpy (f2, m_name (j)); | ^ burst.c:294:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | admonish (f1, "unable to rename %s to", f2); | ^ burst.c:304:28: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | (void) strcpy (f1, m_name (i)); | ^ burst.c:305:31: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | (void) strcpy (f2, m_scratch ("", invo_name)); | ^ burst.c:311:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | adios (f2, "unable to write message"); | ^ burst.c:314:10: warning: passing arguments to 'cpybrst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | cpybrst (in, out, msgnam, f2, | ^ burst.c:319:34: warning: passing arguments to 'm_backup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | (void) strcpy (f3, m_backup (f1)); | ^ burst.c:321:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | admonish (f3, "unable to rename %s to", f1); | ^ burst.c:324:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | admonish (f1, "unable to rename %s to", f2); | ^ burst.c:188:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | static burst (smsgs, msgnum, inplace, quietsw, verbosw) | ^ burst.c:14:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | static cpybrst(), burst(); | ^ burst.c:339:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 339 | static cpybrst (in, out, ifile, ofile, len) | ~~~~~~ ^ | int burst.c:394:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | adios (ifile, "error reading"); | ^ burst.c:396:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | adios (ofile, "error writing"); | ^ burst.c:339:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | static cpybrst (in, out, ifile, ofile, len) | ^ burst.c:14:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | static cpybrst(), burst(); | ^ 62 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xburst burst.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo burst burst cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c comp.c -o comp.o comp.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | main (argc, argv) | ^ | int comp.c:119:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | invo_name = r1bindex (argv[0], '/'); | ^ comp.c:120:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | if ((cp = m_find (invo_name)) != NULL) { | ^ comp.c:121:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ comp.c:121:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ comp.c:122:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | ap = copyip (ap, arguments); | ^ comp.c:126:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | (void) copyip (argv + 1, ap); | ^ comp.c:131:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 131 | while (cp = *argp++) { | ~~~^~~~~~~~~ comp.c:131:15: note: place parentheses around the assignment to silence this warning 131 | while (cp = *argp++) { | ^ | ( ) comp.c:131:15: note: use '==' to turn this assignment into an equality comparison 131 | while (cp = *argp++) { | ^ | == comp.c:133:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | switch (smatch (++cp, switches)) { | ^ comp.c:135:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | ambigsw (cp, switches); | ^ comp.c:136:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | done (1); | ^ comp.c:138:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | adios (NULLCP, "-%s unknown", cp); | ^ comp.c:142:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | help (buf, switches); | ^ comp.c:143:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | done (1); | ^ comp.c:147:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ comp.c:156:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ comp.c:165:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ comp.c:177:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | adios (NULLCP, "only one file at a time!"); | ^ comp.c:179:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ comp.c:185:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | adios (NULLCP, "only one draft folder at a time!"); | ^ comp.c:187:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ comp.c:188:22: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | dfolder = path (*cp == '+' || *cp == '@' ? cp + 1 : cp, | ^ comp.c:193:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | adios (NULLCP, "only one draft message at a time!"); | ^ comp.c:195:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ comp.c:204:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | adios (NULLCP, "only one folder at a time!"); | ^ comp.c:206:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ comp.c:210:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | adios (NULLCP, "only one message at a time!"); | ^ comp.c:217:18: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | cwd = getcpy (pwd ()); | ^ comp.c:219:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | if (!m_find ("path")) | ^ comp.c:220:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | free (path ("./", TFOLDER)); | ^ comp.c:222:28: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | if ((dfolder || m_find ("Draft-Folder")) && !folder && msg && !file) | ^ comp.c:225:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | adios (NULLCP, "can't mix forms and folders/msgs"); | ^ comp.c:232:22: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | maildir = m_maildir (folder); | ^ comp.c:234:6: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 234 | if (chdir (maildir) == NOTOK) | ^ comp.c:235:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | adios (maildir, "unable to change directory to"); | ^ comp.c:236:20: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | if (!(mp = m_gmsg (folder))) | ^ comp.c:237:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | adios (NULLCP, "unable to read folder %s", folder); | ^ comp.c:239:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | adios (NULLCP, "no messages in %s", folder); | ^ comp.c:241:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | if (!m_convert (mp, msg)) | ^ comp.c:242:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | done (1); | ^ comp.c:243:11: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | m_setseq (mp); | ^ comp.c:246:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | adios (NULLCP, "only one message at a time!"); | ^ comp.c:248:12: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | if ((in = open (form = getcpy (m_name (mp -> lowsel)), 0)) == NOTOK) | ^ comp.c:248:40: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | if ((in = open (form = getcpy (m_name (mp -> lowsel)), 0)) == NOTOK) | ^ comp.c:248:32: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | if ((in = open (form = getcpy (m_name (mp -> lowsel)), 0)) == NOTOK) | ^ comp.c:249:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | adios (form, "unable to open message"); | ^ comp.c:253:16: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | if ((in = open (libpath (form), 0)) == NOTOK) | ^ comp.c:253:30: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | if ((in = open (libpath (form), 0)) == NOTOK) | ^ comp.c:254:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | adios (form, "unable to open form file"); | ^ comp.c:257:16: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 257 | if ((in = open (libpath (components), 0)) == NOTOK) | ^ comp.c:257:30: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | if ((in = open (libpath (components), 0)) == NOTOK) | ^ comp.c:258:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | adios (components, "unable to open default components file"); | ^ comp.c:265:34: warning: passing arguments to 'm_draft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | (void) strcpy (drft, m_draft (dfolder, file, use, &isdf)); | ^ comp.c:266:16: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | if ((out = open (drft, 0)) != NOTOK) { | ^ comp.c:267:16: warning: passing arguments to 'fdcompare' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | i = fdcompare (in, out); | ^ comp.c:268:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | (void) close (out); | ^ comp.c:273:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | adios (drft, "unable to stat"); | ^ comp.c:276:26: warning: passing arguments to 'getans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | if (!(argp = getans ("\nDisposition? ", isdf ? aqrunl : aqrul))) | ^ comp.c:277:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | done (1); | ^ comp.c:278:25: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | switch (i = smatch (*argp, isdf ? aqrunl : aqrul)) { | ^ comp.c:280:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | done (0); | ^ comp.c:291:23: warning: passing arguments to 'showfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | (void) showfile (++argp, drft); | ^ comp.c:294:18: warning: passing arguments to 'refile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | if (refile (++argp, drft) == 0) | ^ comp.c:298:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | advise (NULLCP, "say what?"); | ^ comp.c:305:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | adios (drft, "unable to open"); | ^ comp.c:307:16: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | if ((out = creat (drft, m_gmprot ())) == NOTOK) | ^ comp.c:308:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | adios (drft, "unable to create"); | ^ comp.c:309:13: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | cpydata (in, out, form, drft); | ^ comp.c:310:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | (void) close (in); | ^ comp.c:317:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | done (0); | ^ comp.c:318:12: warning: call to undeclared function 'what_now'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | (void) what_now (ed, nedit, use, drft, NULLCP, 0, NULLMP, NULLCP, 0, cwd); | ^ comp.c:319:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | done (1); | ^ comp.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | main (argc, argv) | ^ 73 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c whatnowproc.c -o whatnowproc.o whatnowproc.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 9 | what_now (ed, nedit, use, file, altmsg, dist, mp, text, inplace, cwd) | ^ | int whatnowproc.c:30:28: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | vec[vecp++] = r1bindex (whatnowproc, '/'); | ^ whatnowproc.c:33:21: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | (void) m_putenv ("mhdraft", file); | ^ whatnowproc.c:35:18: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | (void) m_putenv ("mhfolder", mp -> foldpath); | ^ whatnowproc.c:37:18: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | (void) unputenv ("mhfolder"); | ^ whatnowproc.c:40:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | (void) m_putenv ("mhaltmsg", altmsg); | ^ whatnowproc.c:43:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | (void) m_putenv ("mhaltmsg", buffer); | ^ whatnowproc.c:46:18: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | (void) unputenv ("mhaltmsg"); | ^ whatnowproc.c:47:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 47 | if (bp = getenv ("mhaltmsg"))/* XXX */ | ~~~^~~~~~~~~~~~~~~~~~~~~ whatnowproc.c:47:12: note: place parentheses around the assignment to silence this warning 47 | if (bp = getenv ("mhaltmsg"))/* XXX */ | ^ | ( ) whatnowproc.c:47:12: note: use '==' to turn this assignment into an equality comparison 47 | if (bp = getenv ("mhaltmsg"))/* XXX */ | ^ | == whatnowproc.c:48:18: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | (void) m_putenv ("editalt", bp); | ^ whatnowproc.c:50:21: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | (void) m_putenv ("mhdist", buffer); | ^ whatnowproc.c:52:18: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | (void) unputenv ("mheditor"); | ^ whatnowproc.c:54:54: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | (void) m_putenv ("mheditor", ed ? ed : (ed = m_find ("editor")) ? ed : sysed); | ^ whatnowproc.c:54:18: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | (void) m_putenv ("mheditor", ed ? ed : (ed = m_find ("editor")) ? ed : sysed); | ^ whatnowproc.c:56:21: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | (void) m_putenv ("mhuse", buffer); | ^ whatnowproc.c:58:21: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | (void) unputenv ("mhmessages"); | ^ whatnowproc.c:59:21: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | (void) unputenv ("mhannotate"); | ^ whatnowproc.c:60:21: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | (void) unputenv ("mhinplace"); | ^ whatnowproc.c:66:56: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | (void) sprintf (bp, "%s%s", found ? " " : "", m_name (msgnum)); | ^ whatnowproc.c:73:41: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | (void) sprintf (bp, "-%s", m_name (k)); | ^ whatnowproc.c:80:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | (void) m_putenv ("mhmessages", buffer); | ^ whatnowproc.c:81:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | (void) m_putenv ("mhannotate", text); | ^ whatnowproc.c:83:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | (void) m_putenv ("mhinplace", buffer); | ^ whatnowproc.c:91:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | (void) chdir (cwd); | ^ whatnowproc.c:94:2: warning: call to undeclared function 'WhatNow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | WhatNow (vecp, vec); | ^ whatnowproc.c:95:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | done (0); | ^ whatnowproc.c:98:5: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | execvp (whatnowproc, vec); | ^ whatnowproc.c:9:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | what_now (ed, nedit, use, file, altmsg, dist, mp, text, inplace, cwd) | ^ 28 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c whatnowsbr.c -o whatnowsbr.o whatnowsbr.c:100:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | invo_name = r1bindex (argv[0], '/'); | ^ whatnowsbr.c:101:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | if ((cp = m_find (invo_name)) != NULL) { | ^ whatnowsbr.c:102:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ whatnowsbr.c:102:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ whatnowsbr.c:103:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | ap = copyip (ap, arguments); | ^ whatnowsbr.c:107:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | (void) copyip (argv + 1, ap); | ^ whatnowsbr.c:112:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 112 | while (cp = *argp++) { | ~~~^~~~~~~~~ whatnowsbr.c:112:15: note: place parentheses around the assignment to silence this warning 112 | while (cp = *argp++) { | ^ | ( ) whatnowsbr.c:112:15: note: use '==' to turn this assignment into an equality comparison 112 | while (cp = *argp++) { | ^ | == whatnowsbr.c:114:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | switch (smatch (++cp, whatnowswitches)) { | ^ whatnowsbr.c:116:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | ambigsw (cp, whatnowswitches); | ^ whatnowsbr.c:117:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | done (1); | ^ whatnowsbr.c:119:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | adios (NULLCP, "-%s unknown", cp); | ^ whatnowsbr.c:122:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | help (buf, whatnowswitches); | ^ whatnowsbr.c:123:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | done (1); | ^ whatnowsbr.c:127:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | adios (NULLCP, "only one draft folder at a time!"); | ^ whatnowsbr.c:129:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ whatnowsbr.c:130:22: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | dfolder = path (*cp == '+' || *cp == '@' ? cp + 1 : cp, | ^ whatnowsbr.c:135:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | adios (NULLCP, "only one draft message at a time!"); | ^ whatnowsbr.c:137:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ whatnowsbr.c:146:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ whatnowsbr.c:155:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ whatnowsbr.c:159:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | adios (NULLCP, "only one draft at a time!"); | ^ whatnowsbr.c:167:25: warning: passing arguments to 'm_draft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | drft = getcpy (m_draft (dfolder, dmsg, 1, &isdf)); | ^ whatnowsbr.c:167:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | drft = getcpy (m_draft (dfolder, dmsg, 1, &isdf)); | ^ whatnowsbr.c:168:57: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | msgnam = (cp = getenv ("mhaltmsg")) && *cp ? getcpy (cp) : NULLCP; | ^ whatnowsbr.c:174:18: warning: passing arguments to 'editfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | && editfile (&ed, NULLVP, drft, use, NULLMP, msgnam, NULLCP) < 0) | ^ whatnowsbr.c:175:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | done (1); | ^ whatnowsbr.c:181:22: warning: passing arguments to 'getans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | if (!(argp = getans (prompt, aleqs))) { | ^ whatnowsbr.c:183:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | done (1); | ^ whatnowsbr.c:185:17: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | switch (smatch (*argp, aleqs)) { | ^ whatnowsbr.c:188:23: warning: passing arguments to 'showfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | (void) showfile (++argp, msgnam); | ^ whatnowsbr.c:190:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | advise (NULLCP, "no alternate message to display"); | ^ whatnowsbr.c:196:16: warning: passing arguments to 'editfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | if (editfile (&ed, argp, drft, NOUSE, NULLMP, msgnam, NULLCP) | ^ whatnowsbr.c:198:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | done (1); | ^ whatnowsbr.c:202:19: warning: passing arguments to 'showfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | (void) showfile (++argp, drft); | ^ whatnowsbr.c:206:19: warning: passing arguments to 'whomfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | (void) whomfile (++argp, drft); | ^ whatnowsbr.c:213:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | adios (drft, "unable to unlink"); | ^ whatnowsbr.c:217:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | advise (NULLCP, "draft left on %s", drft); | ^ whatnowsbr.c:218:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | done (1); | ^ whatnowsbr.c:221:16: warning: passing arguments to 'sendfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | if (sendfile (++argp, drft, 1)) | ^ whatnowsbr.c:222:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | done (1); | ^ whatnowsbr.c:226:19: warning: passing arguments to 'sendfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | (void) sendfile (++argp, drft, 0); | ^ whatnowsbr.c:230:14: warning: passing arguments to 'refile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | if (refile (++argp, drft) == 0) | ^ whatnowsbr.c:231:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | done (0); | ^ whatnowsbr.c:235:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | advise (NULLCP, "say what?"); | ^ whatnowsbr.c:80:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | int WhatNow (argc, argv) | ^ whatnowsbr.c:275:35: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | if (*ed == NULL && (*ed = m_find ("editor")) == NULL) | ^ whatnowsbr.c:281:25: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | if ((cp = r1bindex (*ed, '/')) == NULL) | ^ whatnowsbr.c:284:23: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | if ((cp = m_find (cp)) != NULL) | ^ whatnowsbr.c:324:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | advise ("fork", "unable to"); | ^ whatnowsbr.c:333:23: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | (void) m_putenv ("mhfolder", mp -> foldpath); | ^ whatnowsbr.c:334:19: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | (void) m_putenv ("editalt", altpath); | ^ whatnowsbr.c:338:29: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | vec[vecp++] = r1bindex (*ed, '/'); | ^ whatnowsbr.c:351:27: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | if (status = pidwait (pid, NOTOK)) { | ^ whatnowsbr.c:351:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 351 | if (status = pidwait (pid, NOTOK)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ whatnowsbr.c:351:17: note: place parentheses around the assignment to silence this warning 351 | if (status = pidwait (pid, NOTOK)) { | ^ | ( ) whatnowsbr.c:351:17: note: use '==' to turn this assignment into an equality comparison 351 | if (status = pidwait (pid, NOTOK)) { | ^ | == whatnowsbr.c:362:37: warning: passing arguments to 'm_backup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | (rename (file, cp = m_backup (file)) != NOTOK)) { | ^ whatnowsbr.c:363:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | advise (NULLCP, "problems with edit--draft left in %s", | ^ whatnowsbr.c:367:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | advise (NULLCP, "problems with edit--%s preserved", | ^ whatnowsbr.c:366:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 366 | else | ^ whatnowsbr.c:380:11: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 380 | && (!mp -> msgflags & READONLY) | ^ ~ whatnowsbr.c:380:11: note: add parentheses after the '!' to evaluate the bitwise operator first 380 | && (!mp -> msgflags & READONLY) | ^ | ( ) whatnowsbr.c:380:11: note: add parentheses around left hand side expression to silence this warning 380 | && (!mp -> msgflags & READONLY) | ^ | ( ) whatnowsbr.c:384:14: warning: passing arguments to 'copyf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | && copyf (linkpath, altpath) == NOTOK | ^ whatnowsbr.c:389:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | advise (linkpath, "unable to update %s from", altmsg); | ^ whatnowsbr.c:402:21: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | edsave = getcpy (*ed); | ^ whatnowsbr.c:250:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | static int editfile (ed, arg, file, use, mp, altmsg, cwd) | ^ whatnowsbr.c:21:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | static int editfile(), copyf(), sendfile(), sendit(), whomfile(); | ^ whatnowsbr.c:422:15: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 422 | if ((in = open (ifile, 0)) == NOTOK) | ^ whatnowsbr.c:426:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | admonish (ofile, "unable to truncate"); | ^ whatnowsbr.c:435:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | advise (ofile, "may have damaged"); | ^ whatnowsbr.c:413:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | static int copyf (ifile, ofile) | ^ whatnowsbr.c:21:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | static int editfile(), copyf(), sendfile(), sendit(), whomfile(); | ^ whatnowsbr.c:449:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 449 | static sendfile (arg, file, pushsw) | ~~~~~~ ^ | int whatnowsbr.c:462:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | if ((cp = m_find ("automhnproc")) | ^ whatnowsbr.c:464:17: warning: passing arguments to 'mhnfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | && mhnfile (file) | ^ whatnowsbr.c:470:31: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | if (strcmp (sp = r1bindex (sendproc, '/'), "send") == 0) { | ^ whatnowsbr.c:472:9: warning: passing arguments to 'sendit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | sendit (invo_name = sp, arg, file, pushsw); | ^ whatnowsbr.c:484:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | advise (NULLCP, "unable to fork, so sending directly..."); | ^ whatnowsbr.c:502:18: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | if (pidwait (child_id, OK) == 0) | ^ whatnowsbr.c:503:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | done (0); | ^ whatnowsbr.c:449:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | static sendfile (arg, file, pushsw) | ^ whatnowsbr.c:21:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | static int editfile(), copyf(), sendfile(), sendit(), whomfile(); | ^ whatnowsbr.c:525:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | switch (state = m_getfld (state, name, buf, sizeof buf, fp)) { | ^ whatnowsbr.c:529:19: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | if (uleq (name, VRSN_FIELD) || uprf (name, XXX_FIELD_PRF)) { | ^ whatnowsbr.c:529:46: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | if (uleq (name, VRSN_FIELD) || uprf (name, XXX_FIELD_PRF)) { | ^ whatnowsbr.c:534:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | state = m_getfld (state, name, buf, sizeof buf, fp); | ^ whatnowsbr.c:547:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | state = m_getfld (state, name, buf, sizeof buf, fp); | ^ whatnowsbr.c:514:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | static int mhnfile (msgnam) | ^ whatnowsbr.c:23:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | static int mhnfile(); | ^ whatnowsbr.c:693:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 693 | static sendit (sp, arg, file, pushed) | ~~~~~~ ^ | int whatnowsbr.c:715:16: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | (void) copyip (arg, vec); | ^ whatnowsbr.c:716:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | if ((cp = m_find (sp)) != NULL) { | ^ whatnowsbr.c:717:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ whatnowsbr.c:717:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ whatnowsbr.c:718:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | ap = copyip (ap, arguments); | ^ whatnowsbr.c:723:16: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | (void) copyip (vec, ap); | ^ whatnowsbr.c:729:37: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | vec[vecp++] = getcpy (m_maildir ("")); | ^ whatnowsbr.c:729:26: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | vec[vecp++] = getcpy (m_maildir ("")); | ^ whatnowsbr.c:733:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 733 | while (cp = *argp++) { | ~~~^~~~~~~~~ whatnowsbr.c:733:15: note: place parentheses around the assignment to silence this warning 733 | while (cp = *argp++) { | ^ | ( ) whatnowsbr.c:733:15: note: use '==' to turn this assignment into an equality comparison 733 | while (cp = *argp++) { | ^ | == whatnowsbr.c:735:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | switch (smatch (++cp, sendswitches)) { | ^ whatnowsbr.c:737:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | ambigsw (cp, sendswitches); | ^ whatnowsbr.c:740:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | advise (NULLCP, "-%s unknown\n", cp); | ^ whatnowsbr.c:744:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | help (buf, sendswitches); | ^ whatnowsbr.c:756:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | advise (NULLCP, "missing argument to %s", argp[-2]); | ^ whatnowsbr.c:818:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | advise (NULLCP, "missing argument to %s", argp[-2]); | ^ whatnowsbr.c:827:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | advise (NULLCP, "missing argument to %s", argp[-2]); | ^ whatnowsbr.c:833:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | advise (NULLCP, "usage: %s [switches]", sp); | ^ whatnowsbr.c:836:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ whatnowsbr.c:836:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 836 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ~~~^~~~~~~~~~~~~~~~~~~~~~ whatnowsbr.c:836:12: note: place parentheses around the assignment to silence this warning 836 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ | ( ) whatnowsbr.c:836:12: note: use '==' to turn this assignment into an equality comparison 836 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ | == whatnowsbr.c:839:33: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) { | ^ whatnowsbr.c:839:21: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) { | ^ whatnowsbr.c:857:19: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | if ((cp = m_find ("signature")) && *cp) | ^ whatnowsbr.c:858:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | (void) m_putenv ("SIGNATURE", cp); | ^ whatnowsbr.c:886:31: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | distfile = getcpy (m_scratch (altmsg, invo_name)); | ^ whatnowsbr.c:886:20: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | distfile = getcpy (m_scratch (altmsg, invo_name)); | ^ whatnowsbr.c:888:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | adios (distfile, "unable to link %s to", altmsg); | ^ whatnowsbr.c:895:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 895 | if (pushsw = pushed) | ~~~~~~~^~~~~~~~ whatnowsbr.c:895:16: note: place parentheses around the assignment to silence this warning 895 | if (pushsw = pushed) | ^ | ( ) whatnowsbr.c:895:16: note: use '==' to turn this assignment into an equality comparison 895 | if (pushsw = pushed) | ^ | == whatnowsbr.c:898:23: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | vec[0] = r1bindex (postproc, '/'); | ^ whatnowsbr.c:899:14: warning: passing arguments to 'closefds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | closefds (3); | ^ whatnowsbr.c:901:9: warning: call to undeclared function 'sendsbr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 901 | if (sendsbr (vec, vecp, file, &st) == OK) | ^ whatnowsbr.c:902:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | done (0); | ^ whatnowsbr.c:693:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | static sendit (sp, arg, file, pushed) | ^ whatnowsbr.c:21:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | static int editfile(), copyf(), sendfile(), sendit(), whomfile(); | ^ whatnowsbr.c:920:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | advise ("fork", "unable to"); | ^ whatnowsbr.c:925:29: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | vec[vecp++] = r1bindex (whomproc, '/'); | ^ whatnowsbr.c:938:22: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | return (pidwait (pid, NOTOK) & 0377 ? 1 : 0); | ^ whatnowsbr.c:907:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | static int whomfile (arg, file) | ^ whatnowsbr.c:21:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | static int editfile(), copyf(), sendfile(), sendit(), whomfile(); | ^ 125 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c sendsbr.c -o sendsbr.o sendsbr.c:16:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | static alert(), anno(), annoaux(); | ~~~~~~ ^ | int sendsbr.c:16:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | static alert(), anno(), annoaux(); | ~~~~~~ ^ | int sendsbr.c:16:26: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | static alert(), anno(), annoaux(); | ~~~~~~ ^ | int sendsbr.c:44:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 44 | off_t lseek (); | ^ /usr/include/stdio.h:439:10: note: conflicting prototype is here 439 | __off_t lseek(int, __off_t, int); | ^ sendsbr.c:45:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 45 | time_t time (); | ^ /usr/include/time.h:131:8: note: conflicting prototype is here 131 | time_t time(time_t *); | ^ sendsbr.c:60:23: warning: passing arguments to 'sendaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | status = sendaux (vec, vecp, drft, st) ? NOTOK : OK; | ^ sendsbr.c:49:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | int sendsbr (vec, vecp, drft, st) | ^ sendsbr.c:109:18: warning: passing arguments to 'sendaux2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | return sendaux2 (vec, vecp, drft, st); | ^ sendsbr.c:113:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | adios (drft, "unable to open for reading"); | ^ sendsbr.c:118:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | switch (state = m_getfld (state, name, buffer, sizeof buffer, in)) { | ^ sendsbr.c:124:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | if (uleq (name, "Message-ID")) { | ^ sendsbr.c:126:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | state = m_getfld (state, name, buffer, sizeof buffer, | ^ sendsbr.c:130:16: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | if (uprf (name, XXX_FIELD_PRF) | ^ sendsbr.c:131:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | || uleq (name, VRSN_FIELD) | ^ sendsbr.c:132:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | || uleq (name, "Encrypted")) { | ^ sendsbr.c:133:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | dp = add (concat (name, ":", buffer, NULLCP), dp); | ^ sendsbr.c:135:25: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | state = m_getfld (state, name, buffer, | ^ sendsbr.c:137:17: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | dp = add (buffer, dp); | ^ sendsbr.c:139:23: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | } else if (uleq (name, "Subject")) { | ^ sendsbr.c:143:18: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | subject = add (buffer, NULLCP); | ^ sendsbr.c:145:25: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | state = m_getfld (state, name, buffer, | ^ sendsbr.c:147:22: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | subject = add (buffer, subject); | ^ sendsbr.c:149:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | dp = add (concat (name, ":", subject, NULLCP), dp); | ^ sendsbr.c:161:22: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | subject = add ("\n\t", subject); | ^ sendsbr.c:165:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | cp = add (concat (name, ":", buffer, NULLCP), cp); | ^ sendsbr.c:167:25: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | state = m_getfld (state, name, buffer, | ^ sendsbr.c:169:17: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | cp = add (buffer, cp); | ^ sendsbr.c:184:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | adios (NULLCP, "message format error in component #%d", | ^ sendsbr.c:188:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | adios (NULLCP, "getfld () returned %d", state); | ^ sendsbr.c:194:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | adios (NULLCP, "headers missing from draft"); | ^ sendsbr.c:225:67: warning: call to undeclared function 'LocalName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | (void) sprintf (msgid, "<%d.%ld@%s>", getpid (), (long)clock, LocalName ()); | ^ sendsbr.c:225:67: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 225 | (void) sprintf (msgid, "<%d.%ld@%s>", getpid (), (long)clock, LocalName ()); | ~~ ^~~~~~~~~~~~ | %d sendsbr.c:232:35: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | (void) strcpy (tmpdrf, m_scratch (drft, invo_name)); | ^ sendsbr.c:234:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | adios (tmpdrf, "unable to open for writing"); | ^ sendsbr.c:261:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | adios (NULLCP, "premature eof"); | ^ sendsbr.c:273:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | adios (tmpdrf, "error writing to"); | ^ sendsbr.c:292:20: warning: passing arguments to 'sendaux2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | status = sendaux2 (vec, vecp, tmpdrf, st); | ^ sendsbr.c:307:45: warning: passing arguments to 'm_backup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | rename (drft, strcpy (buffer, m_backup (drft))) == NOTOK) | ^ sendsbr.c:308:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | advise (buffer, "unable to rename %s to", drft); | ^ sendsbr.c:79:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | static int sendaux (vec, vecp, drft, st) | ^ sendsbr.c:18:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | static int sendaux(); | ^ sendsbr.c:342:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | if ((cp = m_find("sendername"))) { | ^ sendsbr.c:346:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | if ((cp = m_find("from-address"))) { | ^ sendsbr.c:353:44: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | if (rename (drft, strcpy (file, m_scratch (drft, invo_name))) | ^ sendsbr.c:355:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | adios (file, "unable to rename %s to", drft); | ^ sendsbr.c:366:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | admonish (NULLCP, "unable to create file for annotation list"); | ^ sendsbr.c:365:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 365 | else | ^ sendsbr.c:367:21: warning: call to undeclared function 'distout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | if (distfile && distout (drft, distfile, backup) == NOTOK) | ^ sendsbr.c:368:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | done (1); | ^ sendsbr.c:375:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | adios ("fork", "unable to"); | ^ sendsbr.c:389:28: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | if ((status = pidwait (child_id, NOTOK)) == 0) { | ^ sendsbr.c:391:12: warning: passing arguments to 'anno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | anno (fd2, st); | ^ sendsbr.c:393:50: warning: passing arguments to 'm_backup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | && rename (drft, strcpy (buf, m_backup (drft))) | ^ sendsbr.c:395:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | advise (buf, "unable to rename %s to", drft); | ^ sendsbr.c:399:13: warning: passing arguments to 'alert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | alert (drft, fd); | ^ sendsbr.c:403:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | advise (NULLCP, "message not delivered to anyone"); | ^ sendsbr.c:409:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | advise (drft, "unable to rename %s to", backup); | ^ sendsbr.c:319:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | static int sendaux2 (vec, vecp, drft, st) | ^ sendsbr.c:20:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static int sendaux2(); | ^ sendsbr.c:420:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 420 | static alert (file, out) | ~~~~~~ ^ | int sendsbr.c:433:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | advise ("fork", "unable to"); | ^ sendsbr.c:441:13: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 441 | if ((in = open (file, 0)) == NOTOK) | ^ sendsbr.c:442:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | admonish (file, "unable to re-open"); | ^ sendsbr.c:449:15: warning: passing arguments to 'cpydgst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | cpydgst (in, out, file, "temporary file"); | ^ sendsbr.c:453:47: warning: passing arguments to 'm_backup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | if (rename (file, strcpy (buf, m_backup (file))) == NOTOK) | ^ sendsbr.c:454:13: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | admonish (buf, "unable to rename %s to", file); | ^ sendsbr.c:443:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 443 | else { | ^ sendsbr.c:462:33: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | execlp (mailproc, r1bindex (mailproc, '/'), getusr (), | ^ sendsbr.c:420:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | static alert (file, out) | ^ sendsbr.c:16:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | static alert(), anno(), annoaux(); | ^ sendsbr.c:479:37: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | (void) strcpy (tmpfil, m_tmpfil (invo_name)); | ^ sendsbr.c:480:15: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 480 | if ((fd = creat (tmpfil, 0600)) == NOTOK) | ^ sendsbr.c:484:15: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 484 | if ((fd = open (tmpfil, 2)) == NOTOK) | ^ sendsbr.c:487:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | advise (NULLCP, "temporary file %s selected", tmpfil); | ^ sendsbr.c:490:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | advise (tmpfil, "unable to remove"); | ^ sendsbr.c:497:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 497 | static anno (fd, st) | ~~~~~~ ^ | int sendsbr.c:512:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | admonish (NULLCP, "$mhaltmsg mismatch"); | ^ sendsbr.c:520:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | advise (NULLCP, | ^ sendsbr.c:523:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | cwd = getcpy (pwd ()); | ^ sendsbr.c:531:14: warning: passing arguments to 'annoaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | annoaux (fd); | ^ sendsbr.c:497:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | static anno (fd, st) | ^ sendsbr.c:16:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | static alert(), anno(), annoaux(); | ^ sendsbr.c:551:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 551 | static annoaux (fd) | ~~~~~~ ^ | int sendsbr.c:567:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | admonish (NULLCP, "$mhfolder not set"); | ^ sendsbr.c:570:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | maildir = m_maildir (folder); | ^ sendsbr.c:573:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | admonish (maildir, "unable to change directory to"); | ^ sendsbr.c:576:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | if (!(mp = m_gmsg (folder))) { | ^ sendsbr.c:578:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | admonish (NULLCP, "unable to read folder %s"); | ^ sendsbr.c:583:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | admonish (NULLCP, "no messages in %s", folder); | ^ sendsbr.c:589:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | admonish (NULLCP, "$mhmessages not set"); | ^ sendsbr.c:594:16: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 594 | && (fd3 = open ("/dev/null", 2)) != NOTOK | ^ sendsbr.c:601:38: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | for (ap = brkstring (cp = getcpy (cp), " ", NULLCP); *ap; ap++) | ^ sendsbr.c:601:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | for (ap = brkstring (cp = getcpy (cp), " ", NULLCP); *ap; ap++) | ^ sendsbr.c:602:19: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | (void) m_convert (mp, *ap); | ^ sendsbr.c:608:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | admonish (NULLCP, "no messages to annotate"); | ^ sendsbr.c:615:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | admonish (NULLCP, "unable to fdopen annotation list"); | ^ sendsbr.c:620:11: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | cp = add (buffer, cp); | ^ sendsbr.c:624:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | advise (NULLCP, "annotate%s with %s: \"%s\"", | ^ sendsbr.c:629:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | advise (NULLCP, "annotate message %d", msgnum); | ^ sendsbr.c:630:13: warning: call to undeclared function 'annotate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 630 | (void) annotate (m_name (msgnum), annotext, cp, inplace, 1); | ^ sendsbr.c:630:30: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | (void) annotate (m_name (msgnum), annotext, cp, inplace, 1); | ^ sendsbr.c:636:12: warning: passing arguments to 'm_fmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | m_fmsg (mp); | ^ sendsbr.c:551:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | static annoaux (fd) | ^ sendsbr.c:16:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | static alert(), anno(), annoaux(); | ^ sendsbr.c:641:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | void done (status) | ^ In file included from sendsbr.c:6: ./../h/mh.h:262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 262 | void done (); | ^ 106 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c distsbr.c -o distsbr.o distsbr.c:11:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 11 | static ready_msg(); | ~~~~~~ ^ | int distsbr.c:17:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 17 | off_t lseek (); | ^ /usr/include/stdio.h:439:10: note: conflicting prototype is here 439 | __off_t lseek(int, __off_t, int); | ^ distsbr.c:39:48: warning: passing arguments to 'm_backup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | if (rename (drft, strcpy (backup, m_backup (drft))) == NOTOK) | ^ distsbr.c:40:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | adios (backup, "unable to rename %s to",drft); | ^ distsbr.c:42:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | adios (backup, "unable to read"); | ^ distsbr.c:45:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | adios (drft, "unable to create temporary file"); | ^ distsbr.c:46:12: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | (void) chmod (drft, m_gmprot ()); | ^ distsbr.c:48:15: warning: passing arguments to 'ready_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | ready_msg (msgnam); | ^ distsbr.c:50:13: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | cpydata (hdrfd, fileno (ofp), msgnam, drft); | ^ distsbr.c:56:12: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | m_getfld (state, name, buffer, sizeof buffer, ifp)) { | ^ distsbr.c:60:12: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | if (uprf (name, "distribute-")) | ^ distsbr.c:62:12: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | if (uprf (name, "distribution-")) | ^ distsbr.c:64:13: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | if (!uprf (name, "resent")) { | ^ distsbr.c:65:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | advise (NULLCP, BADHDR, "draft", name); | ^ distsbr.c:69:30: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | resent = add (":", add (name, resent)); | ^ distsbr.c:69:20: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | resent = add (":", add (name, resent)); | ^ distsbr.c:70:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | resent = add (buffer, resent); | ^ distsbr.c:73:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | state = m_getfld (state, name, | ^ distsbr.c:75:20: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | resent = add (buffer, resent); | ^ distsbr.c:86:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | advise (NULLCP, BADTXT, "draft"); | ^ distsbr.c:95:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | advise (NULLCP, BADRFT, "draft"); | ^ distsbr.c:99:10: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | (void) unlink (drft); | ^ distsbr.c:101:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | adios (drft, "unable to rename %s to", backup); | ^ distsbr.c:105:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | adios (NULLCP, "getfld() returned %d", state); | ^ distsbr.c:114:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | advise (NULLCP, BADMSG, "draft"); | ^ distsbr.c:116:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | (void) unlink (drft); | ^ distsbr.c:118:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | adios (drft, "unable to rename %s to", backup); | ^ distsbr.c:125:10: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | cpydata (txtfd, fileno (ofp), msgnam, drft); | ^ distsbr.c:26:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | int distout (drft, msgnam, backup) | ^ distsbr.c:135:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 135 | static ready_msg (msgnam) | ~~~~~~ ^ | int distsbr.c:147:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | (void) close (hdrfd), hdrfd = NOTOK; | ^ distsbr.c:152:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | adios (msgnam, "unable to open message"); | ^ distsbr.c:154:37: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | (void) strcpy (tmpfil, m_tmpfil ("dist")); | ^ distsbr.c:155:18: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | if ((hdrfd = creat (tmpfil, 0600)) == NOTOK) | ^ distsbr.c:156:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | adios (tmpfil, "unable to create temporary file"); | ^ distsbr.c:158:18: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | if ((hdrfd = open (tmpfil, 2)) == NOTOK) | ^ distsbr.c:159:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | adios (tmpfil, "unable to re-open temporary file"); | ^ distsbr.c:160:16: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | if ((out = dup (hdrfd)) == NOTOK | ^ distsbr.c:162:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | adios (NULLCP, "no file descriptors -- you lose big"); | ^ distsbr.c:163:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | (void) unlink (tmpfil); | ^ distsbr.c:169:12: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | m_getfld (state, name, buffer, sizeof buffer, ifp)) { | ^ distsbr.c:173:12: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | if (uprf (name, "resent")) | ^ distsbr.c:177:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | state = m_getfld (state, name, | ^ distsbr.c:189:35: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | (void) strcpy (tmpfil, m_tmpfil ("dist")); | ^ distsbr.c:191:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | adios (tmpfil, "unable to create temporary file"); | ^ distsbr.c:194:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | adios (tmpfil, "unable to re-open temporary file"); | ^ distsbr.c:197:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | adios (NULLCP, "no file descriptors -- you lose big"); | ^ distsbr.c:201:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | state = m_getfld (state, name, | ^ distsbr.c:210:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | adios (NULLCP, "format error in message %s", msgnam); | ^ distsbr.c:213:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | adios (NULLCP, "getfld() returned %d", state); | ^ distsbr.c:135:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | static ready_msg (msgnam) | ^ distsbr.c:11:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | static ready_msg(); | ^ 52 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xcomp comp.o whatnowproc.o whatnowsbr.o sendsbr.o annosbr.o distsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o /usr/local/bin/ld.bfd: ../zotnet/libzot.a(lock.o): in function `lockname': lock.c:(.text+0x62e): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo comp comp cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c dist.c -o dist.o dist.c:87:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | main (argc, argv) | ^ | int dist.c:124:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | invo_name = r1bindex (argv[0], '/'); | ^ dist.c:125:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | if ((cp = m_find (invo_name)) != NULL) { | ^ dist.c:126:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ dist.c:126:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ dist.c:127:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | ap = copyip (ap, arguments); | ^ dist.c:131:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | (void) copyip (argv + 1, ap); | ^ dist.c:136:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 136 | while (cp = *argp++) { | ~~~^~~~~~~~~ dist.c:136:15: note: place parentheses around the assignment to silence this warning 136 | while (cp = *argp++) { | ^ | ( ) dist.c:136:15: note: use '==' to turn this assignment into an equality comparison 136 | while (cp = *argp++) { | ^ | == dist.c:138:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | switch (smatch (++cp, switches)) { | ^ dist.c:140:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | ambigsw (cp, switches); | ^ dist.c:141:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | done (1); | ^ dist.c:143:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | adios (NULLCP, "-%s unknown", cp); | ^ dist.c:147:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | help (buf, switches); | ^ dist.c:148:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | done (1); | ^ dist.c:159:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ dist.c:168:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ dist.c:177:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | adios (NULLCP, "only one file at a time!"); | ^ dist.c:179:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ dist.c:180:19: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | file = path (cp, TFILE); | ^ dist.c:184:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ dist.c:196:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | adios (NULLCP, "only one draft folder at a time!"); | ^ dist.c:198:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ dist.c:199:22: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | dfolder = path (*cp == '+' || *cp == '@' ? cp + 1 : cp, | ^ dist.c:204:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | adios (NULLCP, "only one draft message at a time!"); | ^ dist.c:206:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ dist.c:215:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | adios (NULLCP, "only one folder at a time!"); | ^ dist.c:217:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ dist.c:221:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | adios (NULLCP, "only one message at a time!"); | ^ dist.c:228:18: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | cwd = getcpy (pwd ()); | ^ dist.c:230:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | if (!m_find ("path")) | ^ dist.c:231:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | free (path ("./", TFOLDER)); | ^ dist.c:233:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | adios (NULLCP, "can't mix files and folders/msgs"); | ^ dist.c:236:12: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | if ((in = open (libpath (form), 0)) == NOTOK) | ^ dist.c:236:26: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | if ((in = open (libpath (form), 0)) == NOTOK) | ^ dist.c:237:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | adios (form, "unable to open form file"); | ^ dist.c:240:12: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | if ((in = open (libpath (distcomps), 0)) == NOTOK) | ^ dist.c:240:26: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | if ((in = open (libpath (distcomps), 0)) == NOTOK) | ^ dist.c:241:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | adios (distcomps, "unable to open default components file"); | ^ dist.c:246:34: warning: passing arguments to 'm_draft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | (void) strcpy (drft, m_draft (dfolder, dmsg, NOUSE, &isdf)); | ^ dist.c:250:26: warning: passing arguments to 'getans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | if (!(argp = getans ("\nDisposition? ", isdf ? aqrnl : aqrl))) | ^ dist.c:251:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | done (1); | ^ dist.c:252:25: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | switch (i = smatch (*argp, isdf ? aqrnl : aqrl)) { | ^ dist.c:254:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | done (0); | ^ dist.c:261:23: warning: passing arguments to 'showfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | (void) showfile (++argp, drft); | ^ dist.c:264:18: warning: passing arguments to 'refile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | if (refile (++argp, drft) == 0) | ^ dist.c:268:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | advise (NULLCP, "say what?"); | ^ dist.c:273:16: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | if ((out = creat (drft, m_gmprot ())) == NOTOK) | ^ dist.c:274:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | adios (drft, "unable to create"); | ^ dist.c:276:13: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | cpydata (in, out, form, drft); | ^ dist.c:277:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | (void) close (in); | ^ dist.c:291:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | maildir = m_maildir (folder); | ^ dist.c:293:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 293 | if (chdir (maildir) == NOTOK) | ^ dist.c:294:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | adios (maildir, "unable to change directory to"); | ^ dist.c:295:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | if (!(mp = m_gmsg (folder))) | ^ dist.c:296:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | adios (NULLCP, "unable to read folder %s", folder); | ^ dist.c:298:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | adios (NULLCP, "no messages in %s", folder); | ^ dist.c:300:20: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | if (!m_convert (mp, msg)) | ^ dist.c:301:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | done (1); | ^ dist.c:302:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | m_setseq (mp); | ^ dist.c:305:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | adios (NULLCP, "only one message at a time!"); | ^ dist.c:308:15: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 308 | if ((in = open (msgnam = file ? file : getcpy (m_name (mp -> lowsel)), 0)) | ^ dist.c:308:59: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | if ((in = open (msgnam = file ? file : getcpy (m_name (mp -> lowsel)), 0)) | ^ dist.c:308:51: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | if ((in = open (msgnam = file ? file : getcpy (m_name (mp -> lowsel)), 0)) | ^ dist.c:310:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | adios (msgnam, "unable to open message"); | ^ dist.c:313:12: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | m_replace (pfolder, folder); | ^ dist.c:315:15: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | m_setcur (mp, mp -> lowsel); | ^ dist.c:316:9: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | m_sync (mp); | ^ dist.c:321:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | done (0); | ^ dist.c:322:12: warning: call to undeclared function 'what_now'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 322 | (void) what_now (ed, nedit, NOUSE, drft, msgnam, 1, mp, | ^ dist.c:324:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | done (1); | ^ dist.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | main (argc, argv) | ^ 71 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xdist dist.o whatnowproc.o whatnowsbr.o sendsbr.o annosbr.o distsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o /usr/local/bin/ld.bfd: ../zotnet/libzot.a(lock.o): in function `lockname': lock.c:(.text+0x62e): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo dist dist cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c folder.c -o folder.o folder.c:14:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 14 | static dodir(), addir(), addfold(), dother(); | ~~~~~~ ^ | int folder.c:14:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 14 | static dodir(), addir(), addfold(), dother(); | ~~~~~~ ^ | int folder.c:14:27: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 14 | static dodir(), addir(), addfold(), dother(); | ~~~~~~ ^ | int folder.c:14:38: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 14 | static dodir(), addir(), addfold(), dother(); | ~~~~~~ ^ | int folder.c:105:7: warning: parameter 'argc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | main (argc, argv) | ^ 106 | char *argv[]; 107 | { folder.c:105:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | main (argc, argv) | ^ | int folder.c:129:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | invo_name = r1bindex (argv[0], '/'); | ^ folder.c:132:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | if ((cp = m_find (invo_name)) != NULL) { | ^ folder.c:133:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ folder.c:133:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ folder.c:134:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | ap = copyip (ap, arguments); | ^ folder.c:138:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | (void) copyip (argv + 1, ap); | ^ folder.c:143:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 143 | while (cp = *argp++) { | ~~~^~~~~~~~~ folder.c:143:15: note: place parentheses around the assignment to silence this warning 143 | while (cp = *argp++) { | ^ | ( ) folder.c:143:15: note: use '==' to turn this assignment into an equality comparison 143 | while (cp = *argp++) { | ^ | == folder.c:145:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | switch (smatch (++cp, switches)) { | ^ folder.c:147:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | ambigsw (cp, switches); | ^ folder.c:148:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | done (1); | ^ folder.c:150:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | adios (NULLCP, "-%s unknown", cp); | ^ folder.c:154:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | help (buf, switches); | ^ folder.c:155:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | done (1); | ^ folder.c:240:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | adios (NULLCP, "only one folder at a time!"); | ^ folder.c:242:20: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | argfolder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ folder.c:245:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | adios (NULLCP, "only one (current) message at a time!"); | ^ folder.c:252:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | if (!m_find ("path")) | ^ folder.c:253:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | free (path ("./", TFOLDER)); | ^ folder.c:254:31: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | mhdir = concat (m_maildir (""), "/", NULLCP); | ^ folder.c:260:23: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | if ((cp = m_find (stack)) == NULL | ^ folder.c:261:39: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ folder.c:261:26: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ folder.c:263:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | adios (NULLCP, "no other folder"); | ^ folder.c:264:23: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | for (cp = getcpy (m_getfolder ()); *ap; ap++) | ^ folder.c:265:22: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | cp = add (*ap, add (" ", cp)); | ^ folder.c:265:12: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | cp = add (*ap, add (" ", cp)); | ^ folder.c:266:16: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | m_replace (stack, cp); | ^ folder.c:270:20: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | (cp = m_find (stack)) | ^ folder.c:272:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | : getcpy (m_getfolder ())); | ^ folder.c:269:16: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | m_replace (stack, | ^ folder.c:278:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | adios (NULLCP, "sorry, no folders allowed with -pop"); | ^ folder.c:279:19: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | if ((cp = m_find (stack)) == NULL | ^ folder.c:280:35: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ folder.c:280:22: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ folder.c:282:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | adios (NULLCP, "folder stack empty"); | ^ folder.c:284:30: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | cp = cp ? add (*ap, add (" ", cp)) : getcpy (*ap); | ^ folder.c:284:20: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | cp = cp ? add (*ap, add (" ", cp)) : getcpy (*ap); | ^ folder.c:284:50: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | cp = cp ? add (*ap, add (" ", cp)) : getcpy (*ap); | ^ folder.c:286:16: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | m_replace (stack, cp); | ^ folder.c:288:22: warning: passing arguments to 'm_delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | (void) m_delete (stack); | ^ folder.c:291:6: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | if (access (cp = m_maildir (argfolder), 0) == NOTOK) | ^ folder.c:291:29: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | if (access (cp = m_maildir (argfolder), 0) == NOTOK) | ^ folder.c:292:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | adios (cp, "unable to find folder"); | ^ folder.c:293:12: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | m_replace (pfolder, argfolder); | ^ folder.c:300:18: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | if (cp = m_find (stack)) { | ^ folder.c:300:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 300 | if (cp = m_find (stack)) { | ~~~^~~~~~~~~~~~~~~~ folder.c:300:9: note: place parentheses around the assignment to silence this warning 300 | if (cp = m_find (stack)) { | ^ | ( ) folder.c:300:9: note: use '==' to turn this assignment into an equality comparison 300 | if (cp = m_find (stack)) { | ^ | == folder.c:301:39: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | for (ap = brkstring (dp = getcpy (cp), " ", "\n"); *ap; ap++) | ^ folder.c:301:26: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | for (ap = brkstring (dp = getcpy (cp), " ", "\n"); *ap; ap++) | ^ folder.c:308:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | done (0); | ^ folder.c:315:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | adios(NULLCP, "out of memory"); | ^ folder.c:320:16: warning: passing arguments to 'pfold' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | if (pfold (argfolder, msg)) { | ^ folder.c:321:13: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | m_replace (pfolder, argfolder); | ^ folder.c:325:9: warning: passing arguments to 'dodir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | dodir (folder); /* so just list all level-1 sub-folders */ | ^ folder.c:329:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | admonish (NULLCP, "no folder given for message %s", msg); | ^ folder.c:332:42: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | (void) strcpy (folder, (cp = m_find (pfolder)) ? cp : ""); | ^ folder.c:333:12: warning: passing arguments to 'dodir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | dodir ("."); | ^ folder.c:348:35: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | if (stat (strcpy (buf, m_maildir (folder)), &st) == NOTOK) { | ^ folder.c:350:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | adios (buf, "error on folder"); | ^ folder.c:354:22: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | if (!getanswer (cp)) | ^ folder.c:355:9: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | done (1); | ^ folder.c:359:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | done (1); | ^ folder.c:362:19: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | if (!makedir (buf)) | ^ folder.c:363:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | adios (NULLCP, "unable to create folder %s", buf); | ^ folder.c:366:12: warning: passing arguments to 'pfold' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | if (pfold (folder, msg) && argfolder) | ^ folder.c:367:16: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | m_replace (pfolder, argfolder); | ^ folder.c:372:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | done (0); | ^ folder.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | main (argc, argv) | ^ folder.c:377:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 377 | static dodir (dir) | ~~~~~~ ^ | int folder.c:386:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 386 | if (chdir (mhdir) == NOTOK) | ^ folder.c:387:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | adios (mhdir, "unable to change directory to"); | ^ folder.c:389:11: warning: passing arguments to 'addir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | addir (strcpy (buffer, dir)); | ^ folder.c:391:15: warning: passing arguments to 'pfold' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | (void) pfold (folds[i], NULLCP), (void) fflush (stdout); | ^ folder.c:377:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | static dodir (dir) | ^ folder.c:14:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | static dodir(), addir(), addfold(), dother(); | ^ folder.c:409:26: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | mailfile = m_maildir (fold); | ^ folder.c:410:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 410 | if (chdir (mailfile) == NOTOK) { | ^ folder.c:412:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | admonish (mailfile, "unable to change directory to"); | ^ folder.c:429:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | if (!(mp = m_gmsg (fold))) { | ^ folder.c:430:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | admonish (NULLCP, "unable to read folder %s", fold); | ^ folder.c:434:23: warning: passing arguments to 'sfold' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | if (msg && !sfold (mp, msg)) | ^ folder.c:437:13: warning: passing arguments to 'tfold' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | mp = tfold (mp); | ^ folder.c:472:12: warning: passing arguments to 'm_fmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | m_fmsg (mp); | ^ folder.c:399:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | static int pfold (fold, msg) | ^ folder.c:15:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | static int pfold(), sfold(), compare(); | ^ folder.c:486:20: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | if (!m_convert (mp, msg)) | ^ folder.c:490:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | admonish (NULLCP, "only one message at a time!"); | ^ folder.c:493:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | m_setseq (mp); | ^ folder.c:494:14: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | m_setcur (mp, mp -> lowsel); | ^ folder.c:495:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | m_sync (mp); | ^ folder.c:482:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | static int sfold (mp, msg) | ^ folder.c:15:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | static int pfold(), sfold(), compare(); | ^ folder.c:510:43: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | if (mp -> lowmsg > 1 && (mp = m_remsg (mp, 1, mp -> hghmsg)) == NULL) | ^ folder.c:511:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | adios (NULLCP, "unable to allocate folder storage"); | ^ folder.c:516:33: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | (void) strcpy (newmsg, m_name (hole)); | ^ folder.c:517:33: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | (void) strcpy (oldmsg, m_name (msgnum)); | ^ folder.c:521:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | adios (newmsg, "unable to rename %s to", oldmsg); | ^ folder.c:523:16: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | m_setcur (mp, mp -> curmsg = hole); | ^ folder.c:537:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | m_sync (mp); | ^ folder.c:502:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | struct msgs *tfold (mp) | ^ folder.c:99:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | struct msgs *tfold (); | ^ folder.c:545:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 545 | static addir (name) | ~~~~~~ ^ | int folder.c:570:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | admonish (name, "unable to read directory "); | ^ folder.c:573:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 573 | while (dp = readdir (dd)) | ~~~^~~~~~~~~~~~~~ folder.c:573:15: note: place parentheses around the assignment to silence this warning 573 | while (dp = readdir (dd)) | ^ | ( ) folder.c:573:15: note: use '==' to turn this assignment into an equality comparison 573 | while (dp = readdir (dd)) | ^ | == folder.c:583:11: warning: passing arguments to 'addfold' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | addfold (base); | ^ folder.c:545:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | static addir (name) | ^ folder.c:14:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | static dodir(), addir(), addfold(), dother(); | ^ folder.c:592:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 592 | static addfold (fold) | ~~~~~~ ^ | int folder.c:603:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | adios (NULLCP, "out of memory"); | ^ folder.c:606:17: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | cp = getcpy (fold); | ^ folder.c:608:14: warning: passing arguments to 'compare' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | if (compare (cp, folds[i]) < 0) { | ^ folder.c:592:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | static addfold (fold) | ^ folder.c:14:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | static dodir(), addir(), addfold(), dother(); | ^ folder.c:628:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 628 | if (i = *s1++ - *s2++) | ~~^~~~~~~~~~~~~~~ folder.c:628:8: note: place parentheses around the assignment to silence this warning 628 | if (i = *s1++ - *s2++) | ^ | ( ) folder.c:628:8: note: use '==' to turn this assignment into an equality comparison 628 | if (i = *s1++ - *s2++) | ^ | == folder.c:621:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | static int compare (s1, s2) | ^ folder.c:15:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | static int pfold(), sfold(), compare(); | ^ folder.c:636:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 636 | static dother () { | ~~~~~~ ^ | int folder.c:646:14: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | if (ssequal (atrcur, np -> n_name) | ^ folder.c:647:15: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | && !ssequal (mhdir, np -> n_name + atrlen)) | ^ 124 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xfolder folder.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo folder folder cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c forw.c -o forw.o forw.c:25:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 25 | static mhl_draft(), copy_draft(), build_form(); | ~~~~~~ ^ | int forw.c:25:21: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 25 | static mhl_draft(), copy_draft(), build_form(); | ~~~~~~ ^ | int forw.c:25:35: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 25 | static mhl_draft(), copy_draft(), build_form(); | ~~~~~~ ^ | int forw.c:136:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 136 | time_t time (); | ^ /usr/include/time.h:131:8: note: conflicting prototype is here 131 | time_t time(time_t *); | ^ forw.c:137:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | off_t lseek(); | ^ /usr/include/sys/types.h:374:8: note: conflicting prototype is here 374 | off_t lseek(int, off_t, int); | ^ forw.c:143:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 143 | main (argc, argv) | ^ | int forw.c:189:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | invo_name = r1bindex (argv[0], '/'); | ^ forw.c:190:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | if ((cp = m_find (invo_name)) != NULL) { | ^ forw.c:191:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ forw.c:191:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ forw.c:192:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | ap = copyip (ap, arguments); | ^ forw.c:196:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | (void) copyip (argv + 1, ap); | ^ forw.c:201:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 201 | while (cp = *argp++) { | ~~~^~~~~~~~~ forw.c:201:15: note: place parentheses around the assignment to silence this warning 201 | while (cp = *argp++) { | ^ | ( ) forw.c:201:15: note: use '==' to turn this assignment into an equality comparison 201 | while (cp = *argp++) { | ^ | == forw.c:203:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | switch (smatch (++cp, switches)) { | ^ forw.c:205:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | ambigsw (cp, switches); | ^ forw.c:206:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | done (1); | ^ forw.c:208:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | adios (NULLCP, "-%s unknown", cp); | ^ forw.c:212:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | help (buf, switches); | ^ forw.c:213:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | done (1); | ^ forw.c:224:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ forw.c:233:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ forw.c:246:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | adios (NULLCP, "only one file at a time!"); | ^ forw.c:248:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ forw.c:249:19: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | file = path (cp, TFILE); | ^ forw.c:253:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ forw.c:254:32: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | filter = getcpy (libpath (cp)); | ^ forw.c:254:23: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | filter = getcpy (libpath (cp)); | ^ forw.c:259:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ forw.c:263:32: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | filter = getcpy (libpath (mhlforward)); | ^ forw.c:263:23: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | filter = getcpy (libpath (mhlforward)); | ^ forw.c:288:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ forw.c:293:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ forw.c:295:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | adios (NULLCP, "bad argument %s %s", argp[-2], cp); | ^ forw.c:299:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ forw.c:301:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | adios (NULLCP, "bad argument %s %s", argp[-2], cp); | ^ forw.c:306:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | adios (NULLCP, "only one draft folder at a time!"); | ^ forw.c:308:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ forw.c:309:22: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | dfolder = path (*cp == '+' || *cp == '@' ? cp + 1 : cp, | ^ forw.c:314:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | adios (NULLCP, "only one draft message at a time!"); | ^ forw.c:316:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ forw.c:332:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | adios (NULLCP, "only one folder at a time!"); | ^ forw.c:334:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ forw.c:342:18: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | cwd = getcpy (pwd ()); | ^ forw.c:344:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | if (!m_find ("path")) | ^ forw.c:345:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | free (path ("./", TFOLDER)); | ^ forw.c:347:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | adios (NULLCP, "can't mix files and folders/msgs"); | ^ forw.c:354:46: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | (void) strcpy (drft, buildsw ? m_maildir ("draft") | ^ forw.c:355:16: warning: passing arguments to 'm_draft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | : m_draft (dfolder, NULLCP, NOUSE, &isdf)); | ^ forw.c:360:26: warning: passing arguments to 'getans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | if (!(argp = getans ("\nDisposition? ", isdf ? aqrnl : aqrl))) | ^ forw.c:361:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | done (1); | ^ forw.c:362:25: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | switch (i = smatch (*argp, isdf ? aqrnl : aqrl)) { | ^ forw.c:364:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | done (0); | ^ forw.c:371:23: warning: passing arguments to 'showfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | (void) showfile (++argp, drft); | ^ forw.c:374:18: warning: passing arguments to 'refile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | if (refile (++argp, drft) == 0) | ^ forw.c:378:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | advise (NULLCP, "say what?"); | ^ forw.c:395:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | maildir = m_maildir (folder); | ^ forw.c:397:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | if (chdir (maildir) == NOTOK) | ^ forw.c:398:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | adios (maildir, "unable to change directory to"); | ^ forw.c:399:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | if (!(mp = m_gmsg (folder))) | ^ forw.c:400:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | adios (NULLCP, "unable to read folder %s", folder); | ^ forw.c:402:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | adios (NULLCP, "no messages in %s", folder); | ^ forw.c:405:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | if (!m_convert (mp, msgs[msgnum])) | ^ forw.c:406:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | done (1); | ^ forw.c:407:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | m_setseq (mp); | ^ forw.c:412:19: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | if (filter && access (filter, 04) == NOTOK) | ^ forw.c:413:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | adios (filter, "unable to read"); | ^ forw.c:419:23: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | && (cp = m_find (buf)) | ^ forw.c:426:23: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | if ((cp = m_find (buf)) == NULL || (volume = atoi (cp)) <= 0) | ^ forw.c:430:18: warning: passing arguments to 'build_form' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | in = build_form (form, digest, volume, issue); | ^ forw.c:434:16: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | if ((in = open (libpath (form), 0)) == NOTOK) | ^ forw.c:434:30: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | if ((in = open (libpath (form), 0)) == NOTOK) | ^ forw.c:435:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | adios (form, "unable to open form file"); | ^ forw.c:438:16: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 438 | if ((in = open (libpath (forwcomps), 0)) == NOTOK) | ^ forw.c:438:30: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | if ((in = open (libpath (forwcomps), 0)) == NOTOK) | ^ forw.c:439:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | adios (forwcomps, "unable to open default components file"); | ^ forw.c:443:16: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | if ((out = creat (drft, m_gmprot ())) == NOTOK) | ^ forw.c:444:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | adios (drft, "unable to create"); | ^ forw.c:446:13: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | cpydata (in, out, form, drft); | ^ forw.c:447:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 447 | (void) close (in); | ^ forw.c:452:12: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 452 | if ((in = open (file, 0)) == NOTOK) | ^ forw.c:453:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | adios (file, "unable to open"); | ^ forw.c:454:10: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | cpydata (in, out, file, drft); | ^ forw.c:461:12: warning: passing arguments to 'mhl_draft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | mhl_draft (out, digest, volume, issue, drft, filter, dashflg); | ^ forw.c:463:13: warning: passing arguments to 'copy_draft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | copy_draft (out, digest, drft, volume, issue, mime); | ^ forw.c:469:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | m_replace (buf, getcpy (value)); | ^ forw.c:469:12: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | m_replace (buf, getcpy (value)); | ^ forw.c:472:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | m_replace (buf, getcpy (value)); | ^ forw.c:472:12: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | m_replace (buf, getcpy (value)); | ^ forw.c:475:15: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | m_replace (pfolder, folder); | ^ forw.c:477:11: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | m_setcur (mp, mp -> lowsel); | ^ forw.c:478:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | m_sync (mp); | ^ forw.c:483:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | done (0); | ^ forw.c:484:12: warning: call to undeclared function 'what_now'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 484 | (void) what_now (ed, nedit, NOUSE, drft, NULLCP, 0, mp, | ^ forw.c:486:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | done (1); | ^ forw.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | main (argc, argv) | ^ forw.c:491:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 491 | static mhl_draft (out, digest, volume, issue, file, filter, dashflg) | ~~~~~~ ^ | int forw.c:508:9: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 508 | if (pipe (pd) == NOTOK) | ^ forw.c:509:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | adios ("pipe", "unable to create"); | ^ forw.c:511:23: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | vec[0] = r1bindex (mhlproc, '/'); | ^ forw.c:513:29: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 513 | for (i = 0; (child_id = fork ()) == NOTOK && i < 5; i++) | ^ forw.c:514:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 514 | sleep (5); | ^ forw.c:517:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | adios ("fork", "unable to"); | ^ forw.c:520:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 520 | (void) close (pd[0]); | ^ forw.c:521:13: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 521 | (void) dup2 (pd[1], 1); | ^ forw.c:538:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | adios (NULLCP, "more than %d messages for %s exec", | ^ forw.c:542:33: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | vec[i++] = getcpy (m_name (msgnum)); | ^ forw.c:542:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | vec[i++] = getcpy (m_name (msgnum)); | ^ forw.c:545:6: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 545 | execvp (mhlproc, vec); | ^ forw.c:548:6: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 548 | _exit (-1); | ^ forw.c:548:6: note: include the header or explicitly provide a declaration for '_exit' forw.c:552:14: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | cpydata (pd[0], out, vec[0], file); | ^ forw.c:554:13: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | (void) pidXwait (child_id, mhlproc); | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ forw.c:554:13: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ forw.c:491:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | static mhl_draft (out, digest, volume, issue, file, filter, dashflg) | ^ forw.c:25:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static mhl_draft(), copy_draft(), build_form(); | ^ forw.c:561:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 561 | static copy_draft (out, digest, file, volume, issue, mime) | ~~~~~~ ^ | int forw.c:580:9: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 580 | (void) write (out, buffer, strlen (buffer)); | ^ forw.c:583:41: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | (void) sprintf (buffer, " %s", m_name (msgnum)); | ^ forw.c:608:13: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 608 | (void) write (out, buffer, strlen (buffer)); | ^ forw.c:610:16: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 610 | if ((fd = open (msgnam = m_name (msgnum), 0)) == NOTOK) { | ^ forw.c:610:38: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | if ((fd = open (msgnam = m_name (msgnum), 0)) == NOTOK) { | ^ forw.c:611:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | admonish (msgnam, "unable to read message"); | ^ forw.c:614:14: warning: passing arguments to 'cpydgst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | cpydgst (fd, out, msgnam, file); | ^ forw.c:615:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 615 | (void) close (fd); | ^ forw.c:625:12: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 625 | (void) write (out, buffer, strlen (buffer)); | ^ forw.c:561:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | static copy_draft (out, digest, file, volume, issue, mime) | ^ forw.c:25:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static mhl_draft(), copy_draft(), build_form(); | ^ forw.c:656:18: warning: passing arguments to 'new_fs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | nfs = new_fs (form, NULLCP, NULLCP); | ^ forw.c:658:12: warning: call to undeclared function 'fmt_compile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 658 | (void) fmt_compile (nfs, &fmt); | ^ forw.c:665:23: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | cptr->c_text = getcpy(dtimenow ()); | ^ forw.c:673:37: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | (void) strcpy (tmpfil, m_tmpfil (invo_name)); | ^ forw.c:675:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | adios (tmpfil, "unable to create"); | ^ forw.c:676:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 676 | (void) unlink (tmpfil); | ^ forw.c:677:15: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 677 | if ((in = dup (fileno (tmp))) == NOTOK) | ^ forw.c:678:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | adios ("dup", "unable to"); | ^ forw.c:681:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | adios (NULLCP, "unable to allocate format line storage"); | ^ forw.c:682:20: warning: passing arguments to 'fmtscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | (void) fmtscan (fmt, line, fmtsize, dat); | ^ forw.c:684:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | ml_fputs (line, tmp); | ^ forw.c:690:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | adios (tmpfil, "error writing"); | ^ forw.c:640:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | static int build_form (form, digest, volume, issue) | ^ forw.c:25:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static mhl_draft(), copy_draft(), build_form(); | ^ 140 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xforw forw.o whatnowproc.o whatnowsbr.o sendsbr.o annosbr.o distsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o /usr/local/bin/ld.bfd: ../zotnet/libzot.a(lock.o): in function `lockname': lock.c:(.text+0x62e): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo forw forw cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c inc.c -o inc.o In file included from inc.c:32: ./../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ inc.c:166:1: warning: '/*' within block comment [-Wcomment] 166 | /* ARGSUSED */ | ^ inc.c:180:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 180 | main (argc, argv) | ^ | int inc.c:289:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | invo_name = r1bindex (argv[0], '/'); | ^ inc.c:294:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | mts_init (invo_name); | ^ inc.c:322:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | if ((cp = m_find (invo_name)) != NULL) { | ^ inc.c:323:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ inc.c:323:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ inc.c:324:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | ap = copyip (ap, arguments); | ^ inc.c:329:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | adios (NULLCP, "too many arguments."); | ^ inc.c:330:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | (void) copyip (argv + 1, ap); | ^ inc.c:333:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | adios (NULLCP, "argument too long"); | ^ inc.c:338:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 338 | while (cp = *argp++) { | ~~~^~~~~~~~~ inc.c:338:15: note: place parentheses around the assignment to silence this warning 338 | while (cp = *argp++) { | ^ | ( ) inc.c:338:15: note: use '==' to turn this assignment into an equality comparison 338 | while (cp = *argp++) { | ^ | == inc.c:340:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | switch (smatch (++cp, switches)) { | ^ inc.c:342:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | ambigsw (cp, switches); | ^ inc.c:343:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | done (1); | ^ inc.c:345:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | adios (NULLCP, "-%s unknown", cp); | ^ inc.c:348:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | help (buf, switches); | ^ inc.c:349:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | done (1); | ^ inc.c:353:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ inc.c:354:35: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | audfile = getcpy (m_maildir (cp)); | ^ inc.c:354:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | audfile = getcpy (m_maildir (cp)); | ^ inc.c:372:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ inc.c:373:19: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | from = path (cp, TFILE);/* fall */ | ^ inc.c:389:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ inc.c:394:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ inc.c:400:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ inc.c:424:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ inc.c:428:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ inc.c:436:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ inc.c:457:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | adios (NULLCP, "only one folder at a time!"); | ^ inc.c:459:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ inc.c:462:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | adios (NULLCP, "usage: %s [+folder] [switches]", invo_name); | ^ inc.c:491:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | adios (NULLCP, "no mail to incorporate"); | ^ inc.c:502:6: warning: call to undeclared function 'ruserpass'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 502 | ruserpass (host, &user, &pass); | ^ inc.c:521:11: warning: call to undeclared function 'pop_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 521 | status = pop_init (host, user, pass, snoop, rpop); | ^ inc.c:524:25: warning: call to undeclared function 'pop_stat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 524 | if (status == NOTOK || pop_stat (&nmsgs, &nbytes) == NOTOK) | ^ inc.c:525:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | adios (NULLCP, "%s", response); | ^ inc.c:527:13: warning: call to undeclared function 'pop_quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | (void) pop_quit (); | ^ inc.c:528:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | adios (NULLCP, "no mail to incorporate"); | ^ inc.c:534:25: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | || ((newmail = m_find ("maildrop")) && *newmail)) { | ^ inc.c:536:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | adios (NULLCP, "Maildrop name too long"); | ^ inc.c:537:27: warning: passing arguments to 'm_mailpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | newmail = m_mailpath (newmail); | ^ inc.c:546:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | adios (NULLCP, "no mail to incorporate"); | ^ inc.c:553:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | if (!m_find ("path")) | ^ inc.c:554:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | free (path ("./", TFOLDER)); | ^ inc.c:555:38: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | if (!folder && !(folder = m_find (inbox))) | ^ inc.c:558:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | adios (NULLCP, "Inbox name too long"); | ^ inc.c:559:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | maildir = m_maildir (folder); | ^ inc.c:563:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | adios (maildir, "error on folder"); | ^ inc.c:565:26: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | if (noisy && !getanswer (cp)) | ^ inc.c:566:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | done (1); | ^ inc.c:568:15: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | if (!makedir (maildir)) | ^ inc.c:569:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | adios (NULLCP, "unable to create folder %s", maildir); | ^ inc.c:573:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | adios (maildir, "unable to change directory to"); | ^ inc.c:574:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | if (!(mp = m_gmsg (folder))) | ^ inc.c:575:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | adios (NULLCP, "unable to read folder %s", folder); | ^ inc.c:586:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | adios (newmail, "unable to read"); | ^ inc.c:600:15: warning: passing arguments to 'lkfopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | in = lkfopen (newmail, "r"); | ^ inc.c:605:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | adios (NULLCP, "unable to lock and fopen %s", newmail); | ^ inc.c:588:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 588 | else { | ^ inc.c:615:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | advise (NULLCP, "Creating Receive-Audit: %s", audfile); | ^ inc.c:617:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | adios (audfile, "unable to append to"); | ^ inc.c:634:16: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | if (m_find ("mhe")) { | ^ inc.c:638:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | admonish (cp, "unable to append to"); | ^ inc.c:646:18: warning: passing arguments to 'new_fs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | nfs = new_fs (form, format, FORMAT); | ^ inc.c:658:18: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | file = path (file, TFILE); | ^ inc.c:661:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | adios (file, "error on file"); | ^ inc.c:663:27: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | if (noisy && !getanswer (cp)) | ^ inc.c:664:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | done (1); | ^ inc.c:668:25: warning: passing arguments to 'mbx_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | if ((pd = mbx_open (file, getuid (), getgid (), m_gmprot ())) | ^ inc.c:670:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | adios (file, "unable to open"); | ^ inc.c:672:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | adios (NULLCP, "unable to fdopen %s", file); | ^ inc.c:676:24: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | if ((mp = m_remsg (mp, 0, mp -> hghmsg + nmsgs)) == NULL) | ^ inc.c:677:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | adios (NULLCP, "unable to allocate folder storage"); | ^ inc.c:689:7: warning: call to undeclared function 'pop_retr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 689 | if (pop_retr (i, pop_pack) == NOTOK) | ^ inc.c:690:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | adios (NULLCP, "%s", response); | ^ inc.c:695:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | adios (file, "write error on"); | ^ inc.c:699:23: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | cp = getcpy (m_name (msgnum)); | ^ inc.c:699:15: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | cp = getcpy (m_name (msgnum)); | ^ inc.c:701:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | adios (cp, "unable to write"); | ^ inc.c:705:7: warning: call to undeclared function 'pop_retr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 705 | if (pop_retr (i, pop_action) == NOTOK) | ^ inc.c:706:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | adios (NULLCP, "%s", response); | ^ inc.c:709:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | adios (cp, "write error on"); | ^ inc.c:712:23: warning: passing arguments to 'scan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | switch (p = scan (pf, msgnum, 0, nfs, width, | ^ inc.c:735:13: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | ml_fputs (scanl, aud); | ^ inc.c:742:13: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | ml_fputs (scanl, mhe); | ^ inc.c:771:14: warning: call to undeclared function 'pop_quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 771 | (void) pop_quit (); | ^ inc.c:773:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | adios (file, "write error on"); | ^ inc.c:775:20: warning: passing arguments to 'map_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | (void) map_write (file, pd, 0, 0L, start, stop, pos, size, | ^ inc.c:782:14: warning: call to undeclared function 'pop_quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 782 | (void) pop_quit (); | ^ inc.c:784:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | adios (cp, "write error on"); | ^ inc.c:789:21: warning: call to undeclared function 'pop_dele'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 789 | if (trnflag && pop_dele (i) == NOTOK) | ^ inc.c:790:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | adios (NULLCP, "%s", response); | ^ inc.c:792:6: warning: call to undeclared function 'pop_quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 792 | if (pop_quit () == NOTOK) | ^ inc.c:793:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | adios (NULLCP, "%s", response); | ^ inc.c:795:23: warning: passing arguments to 'mbx_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | (void) mbx_close (file, pd); | ^ inc.c:804:15: warning: passing arguments to 'm_unknown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | m_unknown (in); /* the MAGIC invocation... */ | ^ inc.c:808:24: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | if ((mp = m_remsg (mp, 0, mp -> hghoff + MAXFOLDER)) == NULL) { | ^ inc.c:809:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | advise (NULLCP, "unable to allocate folder storage"); | ^ inc.c:814:19: warning: passing arguments to 'scan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | switch (i = scan (in, msgnum + 1, msgnum + 1, nfs, width, | ^ inc.c:825:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | advise (NULLCP, "aborted!"); /* doesn't clean up locks! */ | ^ inc.c:829:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | advise (NULLCP, | ^ inc.c:835:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | advise (NULLCP, "scan() botch (%d)", i); | ^ inc.c:842:16: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | ml_fputs (scanl, aud); | ^ inc.c:849:16: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | ml_fputs (scanl, mhe); | ^ inc.c:889:21: warning: passing arguments to 'lkfclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | if (! lkfclose (in, newmail)) | ^ inc.c:895:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 895 | else | ^ inc.c:897:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | adios (NULLCP, "failed"); | ^ inc.c:910:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | done (0); | ^ inc.c:920:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | advise (NULLCP, "new messages have arrived!\007"); | ^ inc.c:922:15: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 922 | if ((i = creat (newmail, 0600)) != NOTOK) | ^ inc.c:925:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | admonish (newmail, "error zero'ing"); | ^ inc.c:926:30: warning: passing arguments to 'map_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | (void) unlink (map_name (newmail)); | ^ inc.c:929:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 929 | else | ^ inc.c:934:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | admonish (NULLCP, "no messages incorporated"); | ^ inc.c:936:12: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | m_replace (pfolder, folder); | ^ inc.c:943:15: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | m_setcur (mp, mp -> curmsg); | ^ inc.c:955:24: warning: passing arguments to 'lkfclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | if (! lkfclose (in, newmail)) | ^ inc.c:961:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 961 | else | ^ inc.c:964:14: warning: passing arguments to 'm_setvis' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | m_setvis (mp, 0); | ^ inc.c:965:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | m_sync (mp); | ^ inc.c:1007:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | done (0); | ^ inc.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | main (argc, argv) | ^ inc.c:1017:19: warning: passing arguments to 'mbx_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | (void) mbx_close (file, pd); | ^ inc.c:1026:17: warning: passing arguments to 'lkfclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | if (! lkfclose (in, newmail)) | ^ inc.c:1012:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | void done (status) | ^ In file included from inc.c:18: ./../h/mh.h:262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 262 | void done (); | ^ inc.c:1067:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | static int pop_action (s) | ^ inc.c:160:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | static int pop_action (), pop_pack (); | ^ inc.c:1082:32: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | for (j = 0; (j = stringdex (mmdlm1, buffer)) >= 0; buffer[j]++) | ^ inc.c:1084:32: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | for (j = 0; (j = stringdex (mmdlm2, buffer)) >= 0; buffer[j]++) | ^ inc.c:1075:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | static int pop_pack (s) | ^ inc.c:160:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | static int pop_action (), pop_pack (); | ^ inc.c:1098:15: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1098 | if ((md = open (cp = map_name (file), 0)) == NOTOK | ^ inc.c:1098:35: warning: passing arguments to 'map_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | if ((md = open (cp = map_name (file), 0)) == NOTOK | ^ inc.c:1099:17: warning: passing arguments to 'map_chk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | || map_chk (cp, md, &d, (long) st.st_size, 1)) { | ^ 137 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c scansbr.c -o scansbr.o scansbr.c:102:19: warning: call to undeclared function 'sc_width'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | if ((width = sc_width ()) < WIDTH/2) | ^ scansbr.c:109:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | adios (NULLCP, "unable to malloc scan line (%d bytes)", slwidth+2); | ^ scansbr.c:113:11: warning: call to undeclared function 'fmt_compile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | ncomps = fmt_compile (nfs, &fmt) + 1; | ^ scansbr.c:126:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 126 | if (cptr = (struct comp *) calloc (1, sizeof *cptr)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scansbr.c:126:15: note: place parentheses around the assignment to silence this warning 126 | if (cptr = (struct comp *) calloc (1, sizeof *cptr)) { | ^ | ( ) scansbr.c:126:15: note: use '==' to turn this assignment into an equality comparison 126 | if (cptr = (struct comp *) calloc (1, sizeof *cptr)) { | ^ | == scansbr.c:134:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | cptr->c_text = getcpy(dtimenow ()); | ^ scansbr.c:138:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | adios (NULLCP, "unable to allocate component buffers"); | ^ scansbr.c:142:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | adios (NULLCP, "unable to allocate component buffer stack"); | ^ scansbr.c:147:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | adios (NULLCP, "unable to allocate component buffer"); | ^ scansbr.c:161:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | if ((state = m_getfld (FLD, name, tmpbuf, rlwidth, inb)) == FILEEOF) | ^ scansbr.c:163:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | advise("read", "unable to"); /* "read error" */ | ^ scansbr.c:165:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 165 | } else | ^ scansbr.c:170:22: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | scnmsg = m_name (outnum); | ^ scansbr.c:177:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | adios (scnmsg, "unable to write"); | ^ scansbr.c:180:6: warning: call to undeclared function 'mh_fputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | FPUTS ("Return-Path: "); | ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' 60 | if (mh_fputs(buf,scnout) == EOF)\ | ^ scansbr.c:180:6: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] scansbr.c:61:13: note: expanded from macro 'FPUTS' 61 | adios (scnmsg, "write error on");\ | ^ scansbr.c:181:6: warning: call to undeclared function 'mh_fputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | FPUTS (cp); | ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' 60 | if (mh_fputs(buf,scnout) == EOF)\ | ^ scansbr.c:181:6: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] scansbr.c:61:13: note: expanded from macro 'FPUTS' 61 | adios (scnmsg, "write error on");\ | ^ scansbr.c:187:42: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | for (compnum = 1; ; state = m_getfld (state, name, tmpbuf, rlwidth, inb)) { | ^ scansbr.c:193:7: warning: call to undeclared function 'mh_fputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | FPUTS (name); | ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' 60 | if (mh_fputs(buf,scnout) == EOF)\ | ^ scansbr.c:193:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] scansbr.c:61:13: note: expanded from macro 'FPUTS' 61 | adios (scnmsg, "write error on");\ | ^ scansbr.c:195:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | adios (scnmsg, "write error on"); | ^ scansbr.c:196:7: warning: call to undeclared function 'mh_fputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | FPUTS (tmpbuf); | ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' 60 | if (mh_fputs(buf,scnout) == EOF)\ | ^ scansbr.c:196:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] scansbr.c:61:13: note: expanded from macro 'FPUTS' 61 | adios (scnmsg, "write error on");\ | ^ scansbr.c:204:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 204 | if (cptr = wantcomp[CHASH(name)]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ scansbr.c:204:12: note: place parentheses around the assignment to silence this warning 204 | if (cptr = wantcomp[CHASH(name)]) | ^ | ( ) scansbr.c:204:12: note: use '==' to turn this assignment into an equality comparison 204 | if (cptr = wantcomp[CHASH(name)]) | ^ | == scansbr.c:206:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | if (uleq(name, cptr->c_name)) { | ^ scansbr.c:209:19: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | (void) ml_conv(tmpbuf); | ^ scansbr.c:223:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 223 | } while (cptr = cptr->c_next); | ~~~~~^~~~~~~~~~~~~~ scansbr.c:223:21: note: place parentheses around the assignment to silence this warning 223 | } while (cptr = cptr->c_next); | ^ | ( ) scansbr.c:223:21: note: use '==' to turn this assignment into an equality comparison 223 | } while (cptr = cptr->c_next); | ^ | == scansbr.c:226:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | state = m_getfld (state, name, tmpbuf, rlwidth, inb); | ^ scansbr.c:228:4: warning: call to undeclared function 'mh_fputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | FPUTS (tmpbuf); | ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' 60 | if (mh_fputs(buf,scnout) == EOF)\ | ^ scansbr.c:228:4: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] scansbr.c:61:13: note: expanded from macro 'FPUTS' 61 | adios (scnmsg, "write error on");\ | ^ scansbr.c:239:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | adios (scnmsg, "write error on"); | ^ scansbr.c:240:3: warning: call to undeclared function 'mh_fputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | FPUTS (tmpbuf); | ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' 60 | if (mh_fputs(buf,scnout) == EOF)\ | ^ scansbr.c:240:3: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] scansbr.c:61:13: note: expanded from macro 'FPUTS' 61 | adios (scnmsg, "write error on");\ | ^ scansbr.c:260:14: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | adios (scnmsg, "write error on"); | ^ scansbr.c:268:23: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | state = m_getfld( state, name, scnout->_ptr, | ^ scansbr.c:285:7: warning: call to undeclared function 'mh_fputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | FPUTS ("\n\nBAD MSG:\n"); | ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' 60 | if (mh_fputs(buf,scnout) == EOF)\ | ^ scansbr.c:285:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] scansbr.c:61:13: note: expanded from macro 'FPUTS' 61 | adios (scnmsg, "write error on");\ | ^ scansbr.c:286:7: warning: call to undeclared function 'mh_fputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 286 | FPUTS (name); | ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' 60 | if (mh_fputs(buf,scnout) == EOF)\ | ^ scansbr.c:286:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] scansbr.c:61:13: note: expanded from macro 'FPUTS' 61 | adios (scnmsg, "write error on");\ | ^ scansbr.c:288:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | adios (scnmsg, "write error on"); | ^ scansbr.c:298:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | adios (NULLCP, "getfld() returned %d", state); | ^ scansbr.c:306:8: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | advise("read", "unable to"); /* "read error" */ | ^ scansbr.c:316:20: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | (void) ml_conv(tmpbuf); | ^ scansbr.c:325:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | adios (scnmsg, "write error on"); | ^ scansbr.c:338:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | adios (NULLCP, "unable to allocate tws buffer"); | ^ scansbr.c:339:40: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | *datecomp->c_tws = *dlocaltime ((time_t *) &st.st_mtime); | ^ scansbr.c:347:17: warning: passing arguments to 'fmtscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | (void) fmtscan (fmt, scanl, slwidth, dat); | ^ scansbr.c:359:11: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | ml_fputs (scanl, stdout); | ^ scansbr.c:367:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 367 | while ( cptr = *savecomp++ ) { | ~~~~~^~~~~~~~~~~~~ scansbr.c:367:18: note: place parentheses around the assignment to silence this warning 367 | while ( cptr = *savecomp++ ) { | ^ | ( ) scansbr.c:367:18: note: use '==' to turn this assignment into an equality comparison 367 | while ( cptr = *savecomp++ ) { | ^ | == scansbr.c:374:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | adios (scnmsg, "write error on"); | ^ scansbr.c:68:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | int scan (inb, innum, outnum, nfs, width, curflg, unseen, | ^ In file included from scansbr.c:9: ./../h/scansbr.h:48:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | int scan (); | ^ scansbr.c:387:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | char *OfficialName (name) | ^ In file included from scansbr.c:7: ./../h/addrsbr.h:46:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | char *OfficialName (); | ^ scansbr.c:393:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 393 | mh_fputs(s, stream) | ^ | int scansbr.c:398:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 398 | while(c = *s++) | ~~^~~~~~ scansbr.c:398:13: note: place parentheses around the assignment to silence this warning 398 | while(c = *s++) | ^ | ( ) scansbr.c:398:13: note: use '==' to turn this assignment into an equality comparison 398 | while(c = *s++) | ^ | == scansbr.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | mh_fputs(s, stream) | ^ 57 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c dropsbr.c -o dropsbr.o In file included from dropsbr.c:10: ./../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ dropsbr.c:38:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 38 | off_t lseek (); | ^ /usr/include/stdio.h:439:10: note: conflicting prototype is here 439 | __off_t lseek(int, __off_t, int); | ^ dropsbr.c:68:25: warning: passing arguments to 'mbx_Xopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | if ((fd = mbx_Xopen (file, uid, gid, mode, &clear)) == NOTOK) | ^ dropsbr.c:75:15: warning: passing arguments to 'mbx_chk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | if (mbx_chk (fd) == NOTOK) { | ^ dropsbr.c:76:14: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | (void) close (fd); | ^ dropsbr.c:83:14: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | (void) close (fd); | ^ dropsbr.c:59:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | int mbx_open (file, uid, gid, mode) | ^ In file included from dropsbr.c:9: ./../h/dropsbr.h:39:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | int mbx_open (), mbx_Xopen (), mbx_copy (), mbx_size (), mbx_close (); | ^ dropsbr.c:107:19: warning: passing arguments to 'lkopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | if ((fd = lkopen (file, 6)) == NOTOK) | ^ dropsbr.c:110:22: warning: passing arguments to 'mbx_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | if (mbx_create (file, uid, gid, mode) == NOTOK) | ^ dropsbr.c:120:7: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | sleep (5); | ^ dropsbr.c:94:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | int mbx_Xopen (file, uid, gid, mode, clear) | ^ In file included from dropsbr.c:9: ./../h/dropsbr.h:39:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | int mbx_open (), mbx_Xopen (), mbx_copy (), mbx_size (), mbx_close (); | ^ dropsbr.c:145:15: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | if ((fd = creat (file, 0600)) == NOTOK) | ^ dropsbr.c:148:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | (void) close (fd); | ^ dropsbr.c:149:12: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | (void) chown (file, uid, gid); | ^ dropsbr.c:137:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | static int mbx_create (file, uid, gid, mode) | ^ dropsbr.c:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | static int mbx_create(), mbx_chk(), map_open(); | ^ dropsbr.c:165:9: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | || read (fd, ldelim, count) != count) | ^ dropsbr.c:170:9: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | && write (fd, "\n", 1) != 1 | ^ dropsbr.c:156:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | static int mbx_chk (fd) | ^ dropsbr.c:34:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | static int mbx_create(), mbx_chk(), map_open(); | ^ dropsbr.c:199:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | admonish (NULLCP, "unable to allocate drop storage"); | ^ dropsbr.c:243:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | admonish (NULLCP, "unable to allocate drop storage"); | ^ dropsbr.c:179:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | int mbx_read (fp, pos, drops, noisy) | ^ In file included from dropsbr.c:9: ./../h/dropsbr.h:40:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | int mbx_read (), mbx_write (); | ^ dropsbr.c:281:9: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 281 | if (write (md, mmdlm1, j) != j) | ^ dropsbr.c:289:29: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | for (j = 0; (j = stringdex (mmdlm1, buffer)) >= 0; buffer[j]++) | ^ dropsbr.c:291:29: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | for (j = 0; (j = stringdex (mmdlm2, buffer)) >= 0; buffer[j]++) | ^ dropsbr.c:307:19: warning: passing arguments to 'map_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | (void) map_write (mailbox, md, id, last, start, stop, off, size, noisy); | ^ dropsbr.c:260:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | int mbx_write (mailbox, md, fp, id, last, pos, stop, mapping, noisy) | ^ In file included from dropsbr.c:9: ./../h/dropsbr.h:40:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | int mbx_read (), mbx_write (); | ^ dropsbr.c:339:10: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 339 | if (write (md, mmdlm1, j) != j) | ^ dropsbr.c:352:18: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 352 | while ((i = read (fd, buffer, sizeof buffer)) > 0) { | ^ dropsbr.c:354:19: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | (j = stringdex (mmdlm1, buffer)) >= 0; | ^ dropsbr.c:358:19: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | (j = stringdex (mmdlm2, buffer)) >= 0; | ^ dropsbr.c:374:20: warning: passing arguments to 'map_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | (void) map_write (mailbox, md, 0, (long)0, start, stop, pos, size, | ^ dropsbr.c:380:15: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 380 | if ((j = dup (fd)) == NOTOK) | ^ dropsbr.c:383:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 383 | (void) close (j); | ^ dropsbr.c:424:20: warning: passing arguments to 'map_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | (void) map_write (mailbox, md, 0, (long)0, start, stop, pos, size, | ^ dropsbr.c:314:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | int mbx_copy (mailbox, md, fd, mapping, text, noisy) | ^ In file included from dropsbr.c:9: ./../h/dropsbr.h:39:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | int mbx_open (), mbx_Xopen (), mbx_copy (), mbx_size (), mbx_close (); | ^ dropsbr.c:443:15: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | if ((fd = dup (md)) == NOTOK || (fp = fdopen (fd, "r")) == NULL) { | ^ dropsbr.c:445:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 445 | (void) close (fd); | ^ dropsbr.c:433:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | int mbx_size (md, start, stop) | ^ In file included from dropsbr.c:9: ./../h/dropsbr.h:39:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | int mbx_open (), mbx_Xopen (), mbx_copy (), mbx_size (), mbx_close (); | ^ dropsbr.c:465:20: warning: passing arguments to 'lkclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | (void) lkclose (md, mailbox); | ^ dropsbr.c:461:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | int mbx_close (mailbox, md) | ^ In file included from dropsbr.c:9: ./../h/dropsbr.h:39:58: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | int mbx_open (), mbx_Xopen (), mbx_copy (), mbx_size (), mbx_close (); | ^ dropsbr.c:483:24: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | if ((cp = r1bindex (file, '/')) == file) | ^ dropsbr.c:486:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 486 | (void) sprintf (buffer, "%.*s.%s.map", cp - file, file, cp); | ~~^~ ~~~~~~~~~ dropsbr.c:477:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | char *map_name (file) | ^ In file included from dropsbr.c:9: ./../h/dropsbr.h:36:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | char *map_name (); | ^ dropsbr.c:507:15: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 507 | if ((md = open (cp = map_name (file), 0)) == NOTOK | ^ dropsbr.c:508:17: warning: passing arguments to 'map_chk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | || map_chk (cp, md, mp = &d, pos, noisy)) { | ^ dropsbr.c:510:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 510 | (void) close (md); | ^ dropsbr.c:517:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 517 | (void) close (md); | ^ dropsbr.c:524:14: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 524 | if ((i = read (md, (char *) (dp + 1), msgp * sizeof *dp)) < sizeof *dp) { | ^ dropsbr.c:541:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 541 | (void) close (md); | ^ dropsbr.c:493:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | int map_read (file, pos, drops, noisy) | ^ In file included from dropsbr.c:9: ./../h/dropsbr.h:35:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | int map_chk (), map_read (), map_write (); | ^ dropsbr.c:570:24: warning: passing arguments to 'map_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | if ((fd = map_open (file = map_name (mailbox), &clear, md)) == NOTOK) | ^ dropsbr.c:573:27: warning: passing arguments to 'map_chk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | if (!clear && map_chk (file, fd, &d1, pos, noisy)) { | ^ dropsbr.c:574:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 574 | (void) unlink (file); | ^ dropsbr.c:576:21: warning: passing arguments to 'map_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | if ((fd = map_open (file, &clear, md)) == NOTOK) | ^ dropsbr.c:582:12: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 582 | if ((td = dup (md)) == NOTOK || (fp = fdopen (td, "r")) == NULL) { | ^ dropsbr.c:584:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | admonish (file, "unable to %s", td != NOTOK ? "fdopen" : "dup"); | ^ dropsbr.c:586:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 586 | (void) close (td); | ^ dropsbr.c:612:11: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 612 | if (write (fd, (char *) dp, sizeof *dp) != sizeof *dp) { | ^ dropsbr.c:614:17: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | admonish (file, "write error"); | ^ dropsbr.c:640:6: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 640 | if (write (fd, (char *) dp, sizeof *dp) != sizeof *dp) { | ^ dropsbr.c:642:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | admonish (file, "write error"); | ^ dropsbr.c:661:9: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 661 | if (write (fd, (char *) dp, sizeof *dp) != sizeof *dp) { | ^ dropsbr.c:663:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | admonish (file, "write error"); | ^ dropsbr.c:548:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | int map_write (mailbox, md, id, last, start, stop, pos, size, noisy) | ^ In file included from dropsbr.c:9: ./../h/dropsbr.h:35:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | int map_chk (), map_read (), map_write (); | ^ dropsbr.c:675:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | static int map_open (file, clear, md) | ^ dropsbr.c:34:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | static int mbx_create(), mbx_chk(), map_open(); | ^ dropsbr.c:700:9: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 700 | if (read (fd, (char *) &tmpd, sizeof *dp) != sizeof *dp) { | ^ dropsbr.c:717:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | admonish (NULLCP, "%s: version mismatch (%d != %d)", file, | ^ dropsbr.c:724:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | admonish (NULLCP, | ^ dropsbr.c:732:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | admonish (NULLCP, "%s: corrupt index(1)", file); | ^ dropsbr.c:748:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | admonish (NULLCP, "%s: corrupt index(2)", file); | ^ dropsbr.c:689:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | int map_chk (file, fd, dp, pos, noisy) | ^ In file included from dropsbr.c:9: ./../h/dropsbr.h:35:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | int map_chk (), map_read (), map_write (); | ^ 85 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c trmsbr.c -o trmsbr.o trmsbr.c:45:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | static read_termcap () { | ~~~~~~ ^ | int trmsbr.c:56:53: warning: passing arguments to 'tgetent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if ((term = getenv ("TERM")) == NULL || tgetent (myterm, term) <= OK) | ^ trmsbr.c:61:10: warning: call to undeclared function 'tgetflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | HC = tgetflag ("hc"); | ^ trmsbr.c:63:34: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if (!initCO && (CO = tgetnum ("co")) <= 0) | ^ trmsbr.c:65:34: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | if (!initLI && (LI = tgetnum ("li")) <= 0) | ^ trmsbr.c:69:18: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | CL = tgetstr ("cl", &cp); | ^ trmsbr.c:70:22: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | if (bp = tgetstr ("pc", &cp)) | ^ trmsbr.c:70:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 70 | if (bp = tgetstr ("pc", &cp)) | ~~~^~~~~~~~~~~~~~~~~~~~~ trmsbr.c:70:12: note: place parentheses around the assignment to silence this warning 70 | if (bp = tgetstr ("pc", &cp)) | ^ | ( ) trmsbr.c:70:12: note: use '==' to turn this assignment into an equality comparison 70 | if (bp = tgetstr ("pc", &cp)) | ^ | == trmsbr.c:72:17: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | if (tgetnum ("sg") <= 0) { | ^ trmsbr.c:73:15: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | SE = tgetstr ("se", &cp); | ^ trmsbr.c:74:15: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | SO = tgetstr ("so", &cp); | ^ trmsbr.c:113:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | static int outc (c) | ^ trmsbr.c:124:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | tputs (CL, LI, outc); | ^ trmsbr.c:151:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | tputs (SO, 1, outc); | ^ trmsbr.c:138:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | int SOprintf (fmt, a, b, c, d, e, f) | ^ 15 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c popsbr.c -o popsbr.o popsbr.c:67:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | static putline(); | ~~~~~~ ^ | int In file included from popsbr.c:79: ./md5.c:104:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | void MD5Init (context) | ^ In file included from popsbr.c:79: In file included from ./md5.c:32: ./../h/md5.h:75:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | void MD5Init PROTO_LIST ((MD5_CTX *)); | ^ In file included from popsbr.c:79: ./md5.c:149:4: warning: passing arguments to 'MD5_memcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | ((POINTER)&context->buffer[index], (POINTER)input, partLen); | ^ ./md5.c:150:15: warning: passing arguments to 'MD5Transform' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | MD5Transform (context->state, context->buffer); | ^ ./md5.c:153:17: warning: passing arguments to 'MD5Transform' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | MD5Transform (context->state, &input[i]); | ^ ./md5.c:162:2: warning: passing arguments to 'MD5_memcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | ((POINTER)&context->buffer[index], (POINTER)&input[i], | ^ ./md5.c:127:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | void MD5Update (context, input, inputLen) | ^ In file included from popsbr.c:79: In file included from ./md5.c:32: ./../h/md5.h:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | void MD5Update PROTO_LIST | ^ In file included from popsbr.c:79: ./md5.c:177:10: warning: passing arguments to 'Encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | Encode (bits, context->count, 8); | ^ ./md5.c:188:10: warning: passing arguments to 'Encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | Encode (digest, context->state, 16); | ^ ./md5.c:192:14: warning: passing arguments to 'MD5_memset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | MD5_memset ((POINTER)context, 0, sizeof (*context)); | ^ ./md5.c:169:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | void MD5Final (digest, context) | ^ In file included from popsbr.c:79: In file included from ./md5.c:32: ./../h/md5.h:78:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); | ^ In file included from popsbr.c:79: ./md5.c:203:10: warning: passing arguments to 'Decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | Decode (x, block, 64); | ^ ./md5.c:284:14: warning: passing arguments to 'MD5_memset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | MD5_memset ((POINTER)x, 0, sizeof (x)); | ^ ./md5.c:197:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | static void MD5Transform (state, block) | ^ ./md5.c:53:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static void MD5Transform PROTO_LIST ((UINT4 [4], unsigned char [64])); | ^ ./md5.c:290:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | static void Encode (output, input, len) | ^ ./md5.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void Encode PROTO_LIST | ^ ./md5.c:308:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | static void Decode (output, input, len) | ^ ./md5.c:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | static void Decode PROTO_LIST | ^ ./md5.c:323:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | static void MD5_memcpy (output, input, len) | ^ ./md5.c:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static void MD5_memcpy PROTO_LIST ((POINTER, POINTER, unsigned int)); | ^ ./md5.c:336:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | static void MD5_memset (output, value, len) | ^ ./md5.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void MD5_memset PROTO_LIST ((POINTER, int, unsigned int)); | ^ popsbr.c:81:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | static char *pop_auth (user, pass) | ^ popsbr.c:153:16: warning: call to undeclared function 'client'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | if ((fd1 = client (host, "tcp", POPSERVICE, rpop, response)) == NOTOK) | ^ popsbr.c:163:16: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | if ((fd2 = dup (fd1)) == NOTOK) { | ^ popsbr.c:167:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | (void) close (fd1); | ^ popsbr.c:171:9: warning: call to undeclared function 'pop_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | if (pop_set (fd1, fd2, snoop) == NOTOK) | ^ popsbr.c:179:22: warning: passing arguments to 'get_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | switch (get_line (response, sizeof response, input)) { | ^ popsbr.c:190:25: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | if (cp && command ("APOP %s", cp) != NOTOK) | ^ popsbr.c:195:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | if (command ("USER %s", user) != NOTOK | ^ popsbr.c:196:18: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | && command ("%s %s", rpop ? "RPOP" : (pophack++, "PASS"), | ^ popsbr.c:216:21: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | (void) command ("QUIT"); | ^ popsbr.c:125:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | int pop_init (host, user, pass, snoop, rpop) | ^ popsbr.c:253:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | (void) close (in); | ^ popsbr.c:233:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | int pop_set (in, out, snoop) | ^ popsbr.c:264:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | int pop_fd (in, out) | ^ popsbr.c:285:17: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | if (command ("STAT") == NOTOK) | ^ popsbr.c:275:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | int pop_stat (nmsgs, nbytes) | ^ popsbr.c:364:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | if (command ("LIST %d", msgno) == NOTOK) | ^ popsbr.c:385:17: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | if (command ("LIST") == NOTOK) | ^ popsbr.c:347:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | int pop_list (msgno, nmsgs, msgs, bytes) | ^ popsbr.c:427:41: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 427 | return traverse (action, "RETR %d", (targ_t)msgno, 0, 0, 0); | ^~~~~~~~~~~~~ popsbr.c:422:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | int pop_retr (msgno, action) | ^ popsbr.c:436:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | static int traverse (action, fmt, a, b, c, d) | ^ popsbr.c:450:17: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | if (command (fmt, a, b, c, d) == NOTOK) | ^ popsbr.c:464:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | (*action) (response); | ^ popsbr.c:474:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | return command ("DELE %d", msgno); | ^ popsbr.c:471:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | int pop_dele (msgno) | ^ popsbr.c:479:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | return command ("NOOP"); | ^ popsbr.c:492:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | return command ("RSET"); | ^ popsbr.c:503:43: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 503 | return traverse (action, "TOP %d %d", (targ_t)msgno, (targ_t)lines, 0, 0); | ^~~~~~~~~~~~~ popsbr.c:503:58: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 503 | return traverse (action, "TOP %d %d", (targ_t)msgno, (targ_t)lines, 0, 0); | ^~~~~~~~~~~~~ popsbr.c:497:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | int pop_top (msgno, lines, action) | ^ popsbr.c:574:17: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | i = command ("QUIT"); | ^ popsbr.c:575:12: warning: call to undeclared function 'pop_done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 575 | (void) pop_done (); | ^ popsbr.c:609:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 609 | if (cp = index (buffer, ' ')) | ~~~^~~~~~~~~~~~~~~~~~~~~ popsbr.c:609:13: note: place parentheses around the assignment to silence this warning 609 | if (cp = index (buffer, ' ')) | ^ | ( ) popsbr.c:609:13: note: use '==' to turn this assignment into an equality comparison 609 | if (cp = index (buffer, ' ')) | ^ | == popsbr.c:616:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 616 | else | ^ popsbr.c:619:17: warning: passing arguments to 'putline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | if (putline (buffer, output) == NOTOK) | ^ popsbr.c:622:22: warning: passing arguments to 'get_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | switch (get_line (response, sizeof response, input)) { | ^ popsbr.c:595:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | static int command (fmt, a, b, c, d) | ^ popsbr.c:63:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | static int command(), multiline(); | ^ popsbr.c:648:18: warning: passing arguments to 'get_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | if (get_line (buffer, sizeof buffer, input) != OK) | ^ popsbr.c:668:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | static int get_line (s, n, iop) | ^ popsbr.c:66:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static int get_line(); | ^ popsbr.c:698:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 698 | static putline (s, iop) | ~~~~~~ ^ | int popsbr.c:698:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] popsbr.c:67:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static putline(); | ^ 71 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xinc inc.o scansbr.o dropsbr.o trmsbr.o popsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o -lcurses /usr/local/bin/ld.bfd: ../zotnet/libzot.a(lock.o): in function `lockname': lock.c:(.text+0x62e): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo inc inc cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c mark.c -o mark.o mark.c:48:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | main (argc, argv) | ^ | int mark.c:79:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | invo_name = r1bindex (argv[0], '/'); | ^ mark.c:80:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | if ((cp = m_find (invo_name)) != NULL) { | ^ mark.c:81:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ mark.c:81:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ mark.c:82:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | ap = copyip (ap, arguments); | ^ mark.c:86:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | (void) copyip (argv + 1, ap); | ^ mark.c:91:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 91 | while (cp = *argp++) { | ~~~^~~~~~~~~ mark.c:91:15: note: place parentheses around the assignment to silence this warning 91 | while (cp = *argp++) { | ^ | ( ) mark.c:91:15: note: use '==' to turn this assignment into an equality comparison 91 | while (cp = *argp++) { | ^ | == mark.c:93:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | switch (smatch (++cp, switches)) { | ^ mark.c:95:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | ambigsw (cp, switches); | ^ mark.c:96:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | done (1); | ^ mark.c:98:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | adios (NULLCP, "-%s unknown\n", cp); | ^ mark.c:102:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | help (buf, switches); | ^ mark.c:103:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | done (1); | ^ mark.c:120:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mark.c:124:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | adios (NULLCP, "only %d sequences allowed!", NATTRS); | ^ mark.c:147:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | adios (NULLCP, "only one folder at a time!"); | ^ mark.c:149:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ mark.c:160:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 160 | else | ^ mark.c:163:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | if (!m_find ("path")) | ^ mark.c:164:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | free (path ("./", TFOLDER)); | ^ mark.c:169:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | maildir = m_maildir (folder); | ^ mark.c:171:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | if (chdir (maildir) == NOTOK) | ^ mark.c:172:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | adios (maildir, "unable to change directory to"); | ^ mark.c:173:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | if (!(mp = m_gmsg (folder))) | ^ mark.c:174:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | adios (NULLCP, "unable to read folder %s", folder); | ^ mark.c:176:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | adios (NULLCP, "no messages in %s", folder); | ^ mark.c:179:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | if (!m_convert (mp, msgs[msgnum])) | ^ mark.c:180:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | done (1); | ^ mark.c:185:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | adios (NULLCP, "folder %s is read-only, so -public not allowed", | ^ mark.c:194:20: warning: passing arguments to 'sprintb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | ctxpath, sprintb (buf, (unsigned) ctxflags, DBITS)); | ^ mark.c:197:11: warning: passing arguments to 'sprintb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | sprintb (buf, (unsigned) mp -> msgflags, FBITS)); | ^ mark.c:212:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | adios (NULLCP, "-%s requires at least one -sequence argument", | ^ mark.c:218:30: warning: passing arguments to 'm_seqnew' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | if (zerosw && !m_seqnew (mp, seqs[seqp], publicsw)) | ^ mark.c:219:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | done (1); | ^ mark.c:222:21: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | if (!m_seqadd (mp, seqs[seqp], msgnum, publicsw)) | ^ mark.c:223:9: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | done (1); | ^ mark.c:231:18: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | if (!m_seqadd (mp, seqs[seqp], msgnum, publicsw)) | ^ mark.c:232:13: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | done (1); | ^ mark.c:235:21: warning: passing arguments to 'm_seqdel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | if (!m_seqdel (mp, seqs[seqp], msgnum)) | ^ mark.c:236:9: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | done (1); | ^ mark.c:248:16: warning: passing arguments to 'm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | empty(m_seq (mp, mp -> msgattrs[i]))); | ^ mark.c:248:16: warning: passing arguments to 'm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mark.c:251:47: warning: passing arguments to 'm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | printf ("%s: %s\n", seqs[seqp], empty(m_seq (mp, seqs[seqp]))); | ^ mark.c:251:47: warning: passing arguments to 'm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mark.c:259:18: warning: passing arguments to 'm_seqbits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | m_seqbits (mp))); | ^ mark.c:258:12: warning: passing arguments to 'sprintb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | sprintb (buf, (unsigned) mp -> msgstats[msgnum], | ^ mark.c:262:15: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | m_replace (pfolder, folder); | ^ mark.c:263:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | m_sync (mp); | ^ mark.c:266:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | done (0); | ^ mark.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | main (argc, argv) | ^ 51 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xmark mark.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo mark mark cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c mhmail.c -o mhmail.o mhmail.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | main (argc, argv) | ^ | int mhmail.c:82:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | invo_name = r1bindex (argv[0], '/'); | ^ mhmail.c:83:12: warning: passing arguments to 'm_foil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | m_foil (NULLCP); | ^ mhmail.c:86:2: warning: call to undeclared function 'execlp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | execlp (incproc, r1bindex (incproc, '/'), NULLCP); | ^ mhmail.c:86:28: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | execlp (incproc, r1bindex (incproc, '/'), NULLCP); | ^ mhmail.c:87:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | adios (incproc, "unable to exec"); | ^ mhmail.c:92:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 92 | while (cp = *argp++) { | ~~~^~~~~~~~~ mhmail.c:92:15: note: place parentheses around the assignment to silence this warning 92 | while (cp = *argp++) { | ^ | ( ) mhmail.c:92:15: note: use '==' to turn this assignment into an equality comparison 92 | while (cp = *argp++) { | ^ | == mhmail.c:94:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | switch (smatch (++cp, switches)) { | ^ mhmail.c:96:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | ambigsw (cp, switches); | ^ mhmail.c:97:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | done (1); | ^ mhmail.c:100:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | adios (NULLCP, "-%s unknown", cp); | ^ mhmail.c:105:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | help (buf, switches); | ^ mhmail.c:106:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | done (1); | ^ mhmail.c:110:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhmail.c:115:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhmail.c:124:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhmail.c:136:37: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | cclist = cclist ? add (cp, add (", ", cclist)) : getcpy (cp); | ^ mhmail.c:136:28: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | cclist = cclist ? add (cp, add (", ", cclist)) : getcpy (cp); | ^ mhmail.c:136:62: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | cclist = cclist ? add (cp, add (", ", cclist)) : getcpy (cp); | ^ mhmail.c:138:37: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | tolist = tolist ? add (cp, add (", ", tolist)) : getcpy (cp); | ^ mhmail.c:138:28: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | tolist = tolist ? add (cp, add (", ", tolist)) : getcpy (cp); | ^ mhmail.c:138:62: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | tolist = tolist ? add (cp, add (", ", tolist)) : getcpy (cp); | ^ mhmail.c:144:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | adios (NULLCP, "usage: %s addrs ... [switches]", invo_name); | ^ mhmail.c:145:37: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | (void) strcpy (tmpfil, m_tmpfil (invo_name)); | ^ mhmail.c:147:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | adios (tmpfil, "unable to write"); | ^ mhmail.c:148:12: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | (void) chmod (tmpfil, 0600); | ^ mhmail.c:172:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | adios (tmpfil, "error writing"); | ^ mhmail.c:174:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | (void) unlink (tmpfil); | ^ mhmail.c:175:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | done (1); | ^ mhmail.c:183:28: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | vec[nvec++] = r1bindex (postproc, '/'); | ^ mhmail.c:190:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | if ((cp = m_find("sendername"))) { | ^ mhmail.c:194:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | if ((cp = m_find("from-address"))) { | ^ mhmail.c:202:19: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | if ((cp = m_find ("signature")) && *cp) | ^ mhmail.c:203:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | (void) m_putenv ("SIGNATURE", cp); | ^ mhmail.c:217:29: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | for (i = 0; (child_id = fork ()) == NOTOK && i < 5; i++) | ^ mhmail.c:218:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | sleep (5); | ^ mhmail.c:221:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | admonish (NULLCP, "unable to fork"); | ^ mhmail.c:224:6: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | execvp (postproc, vec); | ^ mhmail.c:227:6: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | _exit (-1); | ^ mhmail.c:227:6: note: include the header or explicitly provide a declaration for '_exit' mhmail.c:230:19: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | if (status = pidXwait (child_id, postproc)) { | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mhmail.c:230:19: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mhmail.c:230:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 230 | if (status = pidXwait (child_id, postproc)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhmail.c:230:17: note: place parentheses around the assignment to silence this warning 230 | if (status = pidXwait (child_id, postproc)) { | ^ | ( ) mhmail.c:230:17: note: use '==' to turn this assignment into an equality comparison 230 | if (status = pidXwait (child_id, postproc)) { | ^ | == mhmail.c:232:3: warning: call to undeclared function 'execl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 232 | execl ("/bin/mv", "mv", tmpfil, "dead.letter", NULLCP); | ^ mhmail.c:238:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 238 | (void) unlink (tmpfil); | ^ mhmail.c:239:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | done (status ? 1 : 0); | ^ mhmail.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | main (argc, argv) | ^ mhmail.c:255:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | (void) unlink (tmpfil); | ^ mhmail.c:256:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | done (i != 0 ? 1 : 0); | ^ mhmail.c:247:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | static TYPESIG intrser (i) | ^ mhmail.c:41:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static TYPESIG intrser (); | ^ 50 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xmhmail mhmail.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo mhmail mhmail cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c mhn.c -o mhn.o In file included from mhn.c:12: ./../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ mhn.c:228:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 228 | off_t lseek (); | ^ /usr/include/stdio.h:439:10: note: conflicting prototype is here 439 | __off_t lseek(int, __off_t, int); | ^ mhn.c:229:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 229 | time_t time (); | ^ /usr/include/time.h:131:8: note: conflicting prototype is here 131 | time_t time(time_t *); | ^ mhn.c:374:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 374 | main (argc, argv) | ^ | int mhn.c:408:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | invo_name = r1bindex (argv[0], '/'); | ^ mhn.c:409:25: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | if (argv[1] && uprf (argv[1], "-via")) | ^ mhn.c:410:9: warning: passing arguments to 'm_foil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | m_foil (NULLCP); | ^ mhn.c:411:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | if ((cp = m_find (invo_name)) != NULL) { | ^ mhn.c:412:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ mhn.c:412:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ mhn.c:413:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | ap = copyip (ap, arguments); | ^ mhn.c:417:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | (void) copyip (argv + 1, ap); | ^ mhn.c:422:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 422 | while (cp = *argp++) { | ~~~^~~~~~~~~ mhn.c:422:15: note: place parentheses around the assignment to silence this warning 422 | while (cp = *argp++) { | ^ | ( ) mhn.c:422:15: note: use '==' to turn this assignment into an equality comparison 422 | while (cp = *argp++) { | ^ | == mhn.c:424:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | switch (smatch (++cp, switches)) { | ^ mhn.c:426:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | ambigsw (cp, switches); | ^ mhn.c:427:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | done (1); | ^ mhn.c:429:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | adios (NULLCP, "-%s unknown", cp); | ^ mhn.c:433:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | help (buf, switches); | ^ mhn.c:434:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | done (1); | ^ mhn.c:457:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhn.c:458:34: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | switch (*icachesw = smatch (cp, caches)) { | ^ mhn.c:460:16: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | ambigsw (cp, caches); | ^ mhn.c:461:13: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | done (1); | ^ mhn.c:463:14: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | adios (NULLCP, "%s unknown", cp); | ^ mhn.c:489:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhn.c:492:32: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | formsw = getcpy (libpath (cp)); | ^ mhn.c:492:23: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | formsw = getcpy (libpath (cp)); | ^ mhn.c:511:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhn.c:513:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | adios (NULLCP, | ^ mhn.c:563:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhn.c:565:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | adios (NULLCP, | ^ mhn.c:580:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhn.c:589:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhn.c:594:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhn.c:595:37: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | file = *cp == '-' ? cp : path (cp, TFILE); | ^ mhn.c:600:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhn.c:604:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhn.c:608:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhn.c:612:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhn.c:616:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhn.c:620:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhn.c:626:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhn.c:647:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | adios (NULLCP, "only one folder at a time!"); | ^ mhn.c:649:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ mhn.c:656:27: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | formsw = getcpy (libpath ("mhl.headers")); | ^ mhn.c:656:18: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | formsw = getcpy (libpath ("mhl.headers")); | ^ mhn.c:663:11: warning: passing arguments to 'via_mail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | via_mail (f1, f2, f3, f4, f5, f6, f7); | ^ mhn.c:668:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | adios (NULLCP, "missing -viamail \"mailpath\" switch"); | ^ mhn.c:670:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 670 | if (cp = getenv ("MHN")) { | ~~~^~~~~~~~~~~~~~~~ mhn.c:670:12: note: place parentheses around the assignment to silence this warning 670 | if (cp = getenv ("MHN")) { | ^ | ( ) mhn.c:670:12: note: use '==' to turn this assignment into an equality comparison 670 | if (cp = getenv ("MHN")) { | ^ | == mhn.c:671:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 671 | if (fp = fopen (cp, "r")) { | ~~~^~~~~~~~~~~~~~~~~ mhn.c:671:9: note: place parentheses around the assignment to silence this warning 671 | if (fp = fopen (cp, "r")) { | ^ | ( ) mhn.c:671:9: note: use '==' to turn this assignment into an equality comparison 671 | if (fp = fopen (cp, "r")) { | ^ | == mhn.c:672:16: warning: passing arguments to 'm_readefs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | m_readefs ((struct node **) 0, fp, cp, 0); | ^ mhn.c:677:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | admonish ("", "unable to read $MHN profile (%s)", cp); | ^ mhn.c:679:34: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | if (fp = fopen (cp = libpath ("mhn_defaults"), "r")) { | ^ mhn.c:679:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 679 | if (fp = fopen (cp = libpath ("mhn_defaults"), "r")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhn.c:679:12: note: place parentheses around the assignment to silence this warning 679 | if (fp = fopen (cp = libpath ("mhn_defaults"), "r")) { | ^ | ( ) mhn.c:679:12: note: use '==' to turn this assignment into an equality comparison 679 | if (fp = fopen (cp = libpath ("mhn_defaults"), "r")) { | ^ | == mhn.c:680:12: warning: passing arguments to 'm_readefs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | m_readefs ((struct node **) 0, fp, cp, 0); | ^ mhn.c:686:32: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | if ((cache_public = m_find (buf)) && *cache_public != '/') | ^ mhn.c:689:34: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | if (!(cache_private = m_find (buf))) | ^ mhn.c:691:39: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | cache_private = getcpy (m_maildir (cache_private)); | ^ mhn.c:691:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | cache_private = getcpy (m_maildir (cache_private)); | ^ mhn.c:693:35: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | cwdlen = strlen (cwd = getcpy (pwd ())); | ^ mhn.c:695:32: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | dir = getcpy ((cp = m_find (buf)) && *cp ? cp : cwd); | ^ mhn.c:695:18: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | dir = getcpy ((cp = m_find (buf)) && *cp ? cp : cwd); | ^ mhn.c:697:24: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | : add (m_maildir (invo_name), NULLCP); | ^ mhn.c:697:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | : add (m_maildir (invo_name), NULLCP); | ^ mhn.c:699:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | if (!m_find ("path")) | ^ mhn.c:700:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | free (path ("./", TFOLDER)); | ^ mhn.c:712:13: warning: passing arguments to 'build_comp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | build_comp (cp); | ^ mhn.c:720:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | adios (NULLCP, "only one file at a time!"); | ^ mhn.c:723:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | adios (NULLCP, "out of memory"); | ^ mhn.c:726:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 726 | if (stdinP = (strcmp (file, "-") == 0)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ mhn.c:726:13: note: place parentheses around the assignment to silence this warning 726 | if (stdinP = (strcmp (file, "-") == 0)) { | ^ | ( ) mhn.c:726:13: note: use '==' to turn this assignment into an equality comparison 726 | if (stdinP = (strcmp (file, "-") == 0)) { | ^ | == mhn.c:729:27: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | file = add (m_tmpfil (invo_name), NULLCP); | ^ mhn.c:729:17: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | file = add (m_tmpfil (invo_name), NULLCP); | ^ mhn.c:732:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | adios (file, "unable to fopen for writing and reading"); | ^ mhn.c:740:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | adios ("stdin", "error reading"); | ^ mhn.c:745:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | adios (file, "error writing"); | ^ mhn.c:752:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | adios (file, "unable to read"); | ^ mhn.c:754:23: warning: passing arguments to 'get_content' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | if (ct = get_content (fp, file, 1)) { | ^ mhn.c:754:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 754 | if (ct = get_content (fp, file, 1)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ mhn.c:754:9: note: place parentheses around the assignment to silence this warning 754 | if (ct = get_content (fp, file, 1)) { | ^ | ( ) mhn.c:754:9: note: use '==' to turn this assignment into an equality comparison 754 | if (ct = get_content (fp, file, 1)) { | ^ | == mhn.c:763:52: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | if (ct -> c_ctinitfnx && (*ct -> c_ctinitfnx) (ct) == NOTOK) | ^ mhn.c:764:16: warning: passing arguments to 'free_content' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | free_content (ct); | ^ mhn.c:769:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | advise (NULLCP, "unable to decode %s", file); | ^ mhn.c:781:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | maildir = m_maildir (folder); | ^ mhn.c:784:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | adios (maildir, "unable to change directory to"); | ^ mhn.c:785:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | if (!(mp = m_gmsg (folder))) | ^ mhn.c:786:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | adios (NULLCP, "unable to read folder %s", folder); | ^ mhn.c:788:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | adios (NULLCP, "no messages in %s", folder); | ^ mhn.c:791:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | if (!m_convert (mp, msgs[msgnum])) | ^ mhn.c:792:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | done (1); | ^ mhn.c:793:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | m_setseq (mp); | ^ mhn.c:797:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | adios (NULLCP, "out of memory"); | ^ mhn.c:804:39: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | if ((fp = fopen (msgnam = m_name (msgnum), "r")) == NULL) | ^ mhn.c:805:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | adios (msgnam, "unable to read message"); | ^ mhn.c:807:27: warning: passing arguments to 'get_content' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | if (ct = get_content (fp, msgnam, 1)) { | ^ mhn.c:807:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 807 | if (ct = get_content (fp, msgnam, 1)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhn.c:807:13: note: place parentheses around the assignment to silence this warning 807 | if (ct = get_content (fp, msgnam, 1)) { | ^ | ( ) mhn.c:807:13: note: use '==' to turn this assignment into an equality comparison 807 | if (ct = get_content (fp, msgnam, 1)) { | ^ | == mhn.c:813:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | if (ct -> c_ctinitfnx && (*ct -> c_ctinitfnx) (ct) == NOTOK) | ^ mhn.c:814:20: warning: passing arguments to 'free_content' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | free_content (ct); | ^ mhn.c:819:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | advise (NULLCP, "unable to decode message %s", msgnam); | ^ mhn.c:826:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | done (1); | ^ mhn.c:841:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 841 | for (ctp = cts; ct = *ctp; ctp++) | ~~~^~~~~~ mhn.c:841:24: note: place parentheses around the assignment to silence this warning 841 | for (ctp = cts; ct = *ctp; ctp++) | ^ | ( ) mhn.c:841:24: note: use '==' to turn this assignment into an equality comparison 841 | for (ctp = cts; ct = *ctp; ctp++) | ^ | == mhn.c:842:14: warning: passing arguments to 'type_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | if (type_ok (ct, 1) | ^ mhn.c:858:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 858 | for (ctp = cts; ct = *ctp; ctp++) | ~~~^~~~~~ mhn.c:858:21: note: place parentheses around the assignment to silence this warning 858 | for (ctp = cts; ct = *ctp; ctp++) | ^ | ( ) mhn.c:858:21: note: use '==' to turn this assignment into an equality comparison 858 | for (ctp = cts; ct = *ctp; ctp++) | ^ | == mhn.c:859:18: warning: passing arguments to 'type_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | if (type_ok (ct, 1) && ct -> c_ctlistfnx) { | ^ mhn.c:861:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | (void) (*ct -> c_ctlistfnx) (ct, 1); | ^ mhn.c:865:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | (*ct -> c_ceclosefnx) (ct); | ^ mhn.c:872:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 872 | for (ctp = cts; ct = *ctp; ctp++) | ~~~^~~~~~ mhn.c:872:21: note: place parentheses around the assignment to silence this warning 872 | for (ctp = cts; ct = *ctp; ctp++) | ^ | ( ) mhn.c:872:21: note: use '==' to turn this assignment into an equality comparison 872 | for (ctp = cts; ct = *ctp; ctp++) | ^ | == mhn.c:873:18: warning: passing arguments to 'type_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | if (type_ok (ct, 1) && ct -> c_ctstorefnx) { | ^ mhn.c:875:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | (void) (*ct -> c_ctstorefnx) (ct, NULLCP); | ^ mhn.c:879:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | (*ct -> c_ceclosefnx) (ct); | ^ mhn.c:886:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 886 | for (ctp = cts; ct = *ctp; ctp++) | ~~~^~~~~~ mhn.c:886:21: note: place parentheses around the assignment to silence this warning 886 | for (ctp = cts; ct = *ctp; ctp++) | ^ | ( ) mhn.c:886:21: note: use '==' to turn this assignment into an equality comparison 886 | for (ctp = cts; ct = *ctp; ctp++) | ^ | == mhn.c:887:18: warning: passing arguments to 'type_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | if (type_ok (ct, 1)) { | ^ mhn.c:888:17: warning: passing arguments to 'cache_content' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | cache_content (ct); | ^ mhn.c:892:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | (*ct -> c_ceclosefnx) (ct); | ^ mhn.c:903:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 903 | for (ctp = cts; ct = *ctp; ctp++) | ~~~^~~~~~ mhn.c:903:21: note: place parentheses around the assignment to silence this warning 903 | for (ctp = cts; ct = *ctp; ctp++) | ^ | ( ) mhn.c:903:21: note: use '==' to turn this assignment into an equality comparison 903 | for (ctp = cts; ct = *ctp; ctp++) | ^ | == mhn.c:904:18: warning: passing arguments to 'type_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | if (type_ok (ct, 1) && ct -> c_ctlistfnx) { | ^ mhn.c:906:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | (void) (*ct -> c_ctlistfnx) (ct, 1); | ^ mhn.c:910:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | (*ct -> c_ceclosefnx) (ct); | ^ mhn.c:918:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 918 | for (ctp = cts; ct = *ctp; ctp++) { | ~~~^~~~~~ mhn.c:918:21: note: place parentheses around the assignment to silence this warning 918 | for (ctp = cts; ct = *ctp; ctp++) { | ^ | ( ) mhn.c:918:21: note: use '==' to turn this assignment into an equality comparison 918 | for (ctp = cts; ct = *ctp; ctp++) { | ^ | == mhn.c:926:19: warning: passing arguments to 'type_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | if (!type_ok (ct, 0)) | ^ mhn.c:937:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | (void) (*ct -> c_ctlistfnx) (ct, 1); | ^ mhn.c:944:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | (*ct -> c_ceclosefnx) (ct); | ^ mhn.c:955:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | vec[vecp++] = r1bindex (mhlproc, '/'); | ^ mhn.c:975:17: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | adios ("fork", "unable to"); | ^ mhn.c:993:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | (void) (*ct -> c_ctshowfnx) (ct, 1, 0); | ^ mhn.c:997:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | (*ct -> c_ceclosefnx) (ct); | ^ mhn.c:1008:19: warning: passing arguments to 'pidcheck' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | (void) pidcheck (status); | ^ mhn.c:1024:15: warning: passing arguments to 'free_content' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | free_content (*ctp); | ^ mhn.c:1029:12: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | m_replace (pfolder, folder); | ^ mhn.c:1031:15: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | m_setcur (mp, mp -> hghsel); | ^ mhn.c:1032:9: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | m_sync (mp); | ^ mhn.c:1036:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | done (0); | ^ mhn.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | main (argc, argv) | ^ mhn.c:1054:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | done (1); | ^ mhn.c:1042:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | static TYPESIG pipeser (i) | ^ mhn.c:367:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 367 | static TYPESIG pipeser (); | ^ mhn.c:1116:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1116 | adios (NULLCP, "out of memory"); | ^ mhn.c:1119:24: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | ct -> c_file = add (file, NULLCP); | ^ mhn.c:1121:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | switch (state = m_getfld (state, name, buf, sizeof buf, in)) { | ^ mhn.c:1127:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | if (uleq (name, VRSN_FIELD)) { | ^ mhn.c:1133:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | cp = add (buf, NULLCP); | ^ mhn.c:1135:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ mhn.c:1136:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | cp = add (buf, cp); | ^ mhn.c:1183:34: warning: passing arguments to 'get_comment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1183 | if (*cp == '(' && get_comment (ct, &cp, 0) == NOTOK) | ^ mhn.c:1188:14: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1188 | vrsn = add(cp, vrsn); | ^ mhn.c:1196:17: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | if (!uleq (vrsn, VRSN_VALUE)) { | ^ mhn.c:1198:17: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | dp = trimcpy (cp); | ^ mhn.c:1201:13: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | admonish (NULLCP, | ^ mhn.c:1209:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | if (uleq (name, TYPE_FIELD)) { | ^ mhn.c:1214:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | cp = add (buf, NULLCP); | ^ mhn.c:1216:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ mhn.c:1217:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | cp = add (buf, cp); | ^ mhn.c:1221:25: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | char *dp = trimcpy (cp); | ^ mhn.c:1225:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1225 | advise (NULLCP, | ^ mhn.c:1233:22: warning: passing arguments to 'get_ctinfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | if (get_ctinfo (cp, ct, 0) == NOTOK) | ^ mhn.c:1236:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | if (uleq (ci -> ci_type, s2i -> mhnsi_key)) | ^ mhn.c:1238:38: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | if (!s2i -> mhnsi_key && !uprf (ci -> ci_type, "X-")) | ^ mhn.c:1245:17: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | buffer = add (ci -> ci_comment, NULLCP); | ^ mhn.c:1246:17: warning: passing arguments to 'exthdr_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | exthdr_decode(buffer, ci -> ci_comment, name); | ^ mhn.c:1253:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | if (uleq (name, ENCODING_FIELD)) { | ^ mhn.c:1259:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | cp = add (buf, NULLCP); | ^ mhn.c:1261:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ mhn.c:1262:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | cp = add (buf, cp); | ^ mhn.c:1266:17: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | dp = trimcpy (cp); | ^ mhn.c:1269:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | advise (NULLCP, | ^ mhn.c:1283:37: warning: passing arguments to 'get_comment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1283 | if (*cp == '(' && get_comment (ct, &cp, 0) == NOTOK) | ^ mhn.c:1289:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | if (uleq (cp, s2i -> mhnsi_key)) | ^ mhn.c:1291:38: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | if (!s2i -> mhnsi_key && !uprf (cp, "X-")) | ^ mhn.c:1295:53: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | if (s2i -> mhnsi_init && (*s2i -> mhnsi_init) (ct) == NOTOK) | ^ mhn.c:1300:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | if (uleq (name, ID_FIELD)) { | ^ mhn.c:1301:24: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | ct -> c_id = add (buf, ct -> c_id); | ^ mhn.c:1303:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1303 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ mhn.c:1304:21: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | ct -> c_id = add (buf, ct -> c_id); | ^ mhn.c:1309:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1309 | if (uleq (name, DESCR_FIELD)) { | ^ mhn.c:1310:27: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | ct -> c_descr = add (buf, ct -> c_descr); | ^ mhn.c:1312:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ mhn.c:1313:24: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | ct -> c_descr = add (buf, ct -> c_descr); | ^ mhn.c:1318:17: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1318 | buffer = add (ct -> c_descr, NULLCP); | ^ mhn.c:1319:17: warning: passing arguments to 'exthdr_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1319 | exthdr_decode(buffer, ct -> c_descr, name); | ^ mhn.c:1326:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | if (uleq (name, MD5_FIELD)) { | ^ mhn.c:1331:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1331 | cp = add (buf, NULLCP); | ^ mhn.c:1333:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ mhn.c:1334:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1334 | cp = add (buf, cp); | ^ mhn.c:1343:17: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | dp = trimcpy (cp); | ^ mhn.c:1346:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | advise (NULLCP, | ^ mhn.c:1367:37: warning: passing arguments to 'get_comment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | if (*cp == '(' && get_comment (ct, &cp, 0) == NOTOK) { | ^ mhn.c:1376:25: warning: passing arguments to 'readDigest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | (void) readDigest (ct, cp); | ^ mhn.c:1390:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ mhn.c:1413:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | adios (NULLCP, "message format error in component #%d", | ^ mhn.c:1417:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1417 | adios (NULLCP, "getfld() returned %d", state); | ^ mhn.c:1424:21: warning: passing arguments to 'get_ctinfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | if (get_ctinfo ("message/rfc822", ct, 0) == NOTOK) | ^ mhn.c:1430:21: warning: passing arguments to 'get_ctinfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1430 | if (get_ctinfo ("text/plain", ct, 0) == NOTOK) | ^ mhn.c:1445:18: warning: passing arguments to 'Init7Bit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | (void) Init7Bit (ct); | ^ mhn.c:1451:18: warning: passing arguments to 'free_content' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1451 | free_content (ct); | ^ mhn.c:1104:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1104 | static CT get_content (in, file, toplevel) | ^ mhn.c:343:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 343 | static CT get_content (); | ^ mhn.c:1469:31: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | cp = ct -> c_ctline = add (cp, NULLCP); | ^ mhn.c:1483:16: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1483 | (void) ml_conv(cp); | ^ mhn.c:1485:35: warning: passing arguments to 'get_comment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1485 | if (*cp == '(' && get_comment (ct, &cp, 1) == NOTOK) | ^ mhn.c:1491:25: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1491 | ci -> ci_type = add (cp, NULLCP); | ^ mhn.c:1496:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | advise(NULLCP, "invalid # field (empty type)"); | ^ mhn.c:1498:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1498 | advise(NULLCP, "invalid %s: field in message %s (empty type)", | ^ mhn.c:1503:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | advise(NULLCP, "invalid # field (type too long)"); | ^ mhn.c:1505:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1505 | advise(NULLCP, "invalid %s: field in message %s (type too long)", | ^ mhn.c:1518:35: warning: passing arguments to 'get_comment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1518 | if (*cp == '(' && get_comment (ct, &cp, 1) == NOTOK) | ^ mhn.c:1523:29: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1523 | ci -> ci_subtype = add ("", NULLCP); | ^ mhn.c:1531:35: warning: passing arguments to 'get_comment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | if (*cp == '(' && get_comment (ct, &cp, 1) == NOTOK) | ^ mhn.c:1537:28: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1537 | ci -> ci_subtype = add (cp, NULLCP); | ^ mhn.c:1542:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1542 | advise(NULLCP, | ^ mhn.c:1545:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | advise(NULLCP, | ^ mhn.c:1551:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1551 | advise(NULLCP, | ^ mhn.c:1554:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1554 | advise(NULLCP, | ^ mhn.c:1569:35: warning: passing arguments to 'get_comment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | if (*cp == '(' && get_comment (ct, &cp, 1) == NOTOK) | ^ mhn.c:1578:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1578 | advise (NULLCP, | ^ mhn.c:1588:32: warning: passing arguments to 'get_comment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1588 | if (*cp == '(' && get_comment (ct, &cp, 1) == NOTOK) | ^ mhn.c:1592:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1592 | advise (NULLCP, | ^ mhn.c:1603:32: warning: passing arguments to 'get_comment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1603 | if (*dp == '(' && get_comment (ct, &dp, 1) == NOTOK) | ^ mhn.c:1608:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | advise (NULLCP, | ^ mhn.c:1614:18: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | vp = (*ap = add (cp, NULLCP)) + (up - cp); | ^ mhn.c:1617:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | advise (NULLCP, | ^ mhn.c:1624:32: warning: passing arguments to 'get_comment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1624 | if (*dp == '(' && get_comment (ct, &dp, 1) == NOTOK) | ^ mhn.c:1632:18: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1632 | advise (NULLCP, | ^ mhn.c:1660:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | advise (NULLCP, | ^ mhn.c:1666:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1666 | advise (NULLCP, | ^ mhn.c:1676:32: warning: passing arguments to 'get_comment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1676 | if (*cp == '(' && get_comment (ct, &cp, 1) == NOTOK) | ^ mhn.c:1685:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1685 | advise (NULLCP, "invalid ID in message %s", ct -> c_file); | ^ mhn.c:1706:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | advise (NULLCP, "invalid description in message %s", ct -> c_file); | ^ mhn.c:1724:27: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1724 | ci -> ci_magic = add (cp, NULLCP); | ^ mhn.c:1728:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1728 | advise (NULLCP, | ^ mhn.c:1457:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1457 | static int get_ctinfo (cp, ct, magic) | ^ mhn.c:260:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 260 | static int get_ctinfo (); | ^ mhn.c:1764:17: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1764 | advise (NULLCP, "invalid comment in message %s's %s: field", | ^ mhn.c:1794:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1794 | if (dp = ci -> ci_comment) { | ~~~^~~~~~~~~~~~~~~~~~ mhn.c:1794:9: note: place parentheses around the assignment to silence this warning 1794 | if (dp = ci -> ci_comment) { | ^ | ( ) mhn.c:1794:9: note: use '==' to turn this assignment into an equality comparison 1794 | if (dp = ci -> ci_comment) { | ^ | == mhn.c:1799:29: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1799 | ci -> ci_comment = add (/* buffer */ bp, NULLCP); | ^ mhn.c:1739:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1739 | static int get_comment (ct, ap, istype) | ^ mhn.c:261:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 261 | static int get_comment (); | ^ mhn.c:1830:21: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1830 | atoi (r1bindex (empty (ct -> c_file), '/'))); | ^ mhn.c:1835:63: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1835 | size = ct -> c_cesizefnx && sizesw ? (*ct -> c_cesizefnx) (ct) | ^ mhn.c:1868:25: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1868 | dp = trimcpy (cp = add (ct -> c_descr ? ct -> c_descr : ct -> m_subj, | ^ mhn.c:1868:15: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1868 | dp = trimcpy (cp = add (ct -> c_descr ? ct -> c_descr : ct -> m_subj, | ^ mhn.c:1877:21: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | if (ml_ismlchar(*pp)) { | ^ mhn.c:1878:18: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1878 | if (ml_ismlchar(*(pp+1))) | ^ mhn.c:1883:10: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1883 | ml_fputs(buf, stdout); | ^ mhn.c:1898:25: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1898 | dp = trimcpy (cp = add (ci -> ci_comment, NULLCP)); | ^ mhn.c:1898:15: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1898 | dp = trimcpy (cp = add (ci -> ci_comment, NULLCP)); | ^ mhn.c:1905:21: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1905 | if (ml_ismlchar(*pp)) { | ^ mhn.c:1906:18: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1906 | if (ml_ismlchar(*(pp+1))) | ^ mhn.c:1912:10: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1912 | ml_fputs(buf, stdout); | ^ mhn.c:1934:13: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1934 | ml_fputs(empty (ci -> ci_comment), stderr); | ^ mhn.c:1947:38: warning: format specifies type 'unsigned int' but the argument has type 'caddr_t' (aka 'char *') [-Wformat] 1946 | " type 0x%x subtype 0x%x params 0x%x\n", | ~~ | %s 1947 | ct -> c_type, ct -> c_subtype, ct -> c_ctparams); | ^~~~~~~~~~~~~~~~ mhn.c:1956:25: warning: format specifies type 'unsigned int' but the argument has type 'caddr_t' (aka 'char *') [-Wformat] 1955 | fprintf (stderr, " encoding 0x%x params 0x%x\n", | ~~ | %s 1956 | ct -> c_encoding, ct -> c_ceparams); | ^~~~~~~~~~~~~~~~ mhn.c:1963:10: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1963 | ml_fputs(ct -> c_descr, stderr); | ^ mhn.c:1970:7: warning: format specifies type 'unsigned int' but the argument has type 'FILE *' (aka 'struct __sFILE *') [-Wformat] 1969 | fprintf (stderr, " fp 0x%x file \"%s\" begin %d end %d\n", | ~~ 1970 | ct -> c_fp, empty (ct -> c_file), ct -> c_begin, ct -> c_end); | ^~~~~~~~~~ mhn.c:1970:41: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1969 | fprintf (stderr, " fp 0x%x file \"%s\" begin %d end %d\n", | ~~ | %ld 1970 | ct -> c_fp, empty (ct -> c_file), ct -> c_begin, ct -> c_end); | ^~~~~~~~~~~~~ mhn.c:1970:56: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1969 | fprintf (stderr, " fp 0x%x file \"%s\" begin %d end %d\n", | ~~ | %ld 1970 | ct -> c_fp, empty (ct -> c_file), ct -> c_begin, ct -> c_end); | ^~~~~~~~~~~ mhn.c:1973:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1973 | (void) (*ct -> c_celistfnx) (ct); | ^ mhn.c:1818:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1818 | static int list_content (ct, toplevel) | ^ mhn.c:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 344 | static int list_content (), show_content (), store_content (); | ^ mhn.c:2078:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2078 | errs = add (buffer, errs); | ^ mhn.c:2081:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2081 | advise (NULLCP, "%s", buffer); | ^ mhn.c:2102:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2102 | static TYPESIG intrser (i) | ^ mhn.c:2118:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2118 | static int escape_quotes(pp, bufend, noquote) | ^ mhn.c:2152:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2152 | if ((cp = m_find (buffer)) == NULL || *cp == 0) { | ^ mhn.c:2154:20: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2154 | if (((cp = m_find (buffer)) == NULL || *cp == 0) | ^ mhn.c:2163:35: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2163 | cp = ct -> c_showproc = add (buffer, NULLCP); | ^ mhn.c:2164:31: warning: passing arguments to 'show_content_aux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2164 | return show_content_aux (ct, serial, alternate, cp, NULLCP); | ^ mhn.c:2165:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2165 | } else | ^ mhn.c:2173:29: warning: passing arguments to 'show_content_aux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2173 | return show_content_aux (ct, serial, alternate, cp, NULLCP); | ^ mhn.c:2141:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2141 | static int show_content (ct, serial, alternate) | ^ mhn.c:344:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 344 | static int list_content (), show_content (), store_content (); | ^ mhn.c:2203:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2203 | if ((fd = (*ct -> c_ceopenfnx) (ct, &file)) == NOTOK) | ^ mhn.c:2247:32: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2247 | if (bp + strlen(s = trimcpy (ct -> c_descr)) + 2 | ^ mhn.c:2325:30: warning: passing arguments to 'show_content_aux2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2325 | return show_content_aux2 (ct, serial, alternate, cracked, buffer, | ^ mhn.c:2177:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2177 | static int show_content_aux (ct, serial, alternate, cp, cracked) | ^ mhn.c:2116:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2116 | static int show_content_aux (), show_content_aux2 (); | ^ mhn.c:2365:27: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2365 | (void) pidcheck (pidwait (xpid, NOTOK)); | ^ mhn.c:2365:18: warning: passing arguments to 'pidcheck' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2365 | (void) pidcheck (pidwait (xpid, NOTOK)); | ^ mhn.c:2376:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2376 | (*ct -> c_ctlistfnx) (ct, -1); | ^ mhn.c:2378:20: warning: call to undeclared function 'SOprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2378 | if (xpause && SOprintf ("Press to show content...")) | ^ mhn.c:2409:11: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2409 | ml_fputs(prompt, stdout); | ^ mhn.c:2415:7: warning: call to undeclared function 'SOprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2415 | if (SOprintf ("Press to show %s...", prompt)) { | ^ mhn.c:2418:15: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2418 | ml_fputs(prompt, stdout); | ^ mhn.c:2438:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2438 | (void) (*ct -> c_ceclosefnx) (ct); | ^ mhn.c:2457:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2457 | advise ("fork", "unable to"); | ^ mhn.c:2458:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2458 | (void) (*ct -> c_ceclosefnx) (ct); | ^ mhn.c:2480:20: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2480 | (void) pidcheck (pidXwait (child_id, NULLCP)); | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mhn.c:2480:20: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mhn.c:2480:19: warning: passing arguments to 'pidcheck' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2480 | (void) pidcheck (pidXwait (child_id, NULLCP)); | ^ mhn.c:2483:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2483 | (void) (*ct -> c_ceclosefnx) (ct); | ^ mhn.c:2330:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2330 | static int show_content_aux2 (ct, serial, alternate, cracked, buffer, | ^ mhn.c:2116:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2116 | static int show_content_aux (), show_content_aux2 (); | ^ mhn.c:2513:19: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2513 | if ((cp = m_find (buffer)) == NULL || *cp == 0) { | ^ mhn.c:2515:23: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2515 | if ((cp = m_find (buffer)) == NULL || *cp == 0) | ^ mhn.c:2528:33: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2528 | char *folder = cp[1] ? path (cp + 1, *cp == '+' ? TFOLDER | ^ mhn.c:2534:29: warning: passing arguments to 'm_mailpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2534 | if (stat (bp = m_mailpath (folder), &st) == NOTOK) { | ^ mhn.c:2539:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2539 | advise (bp, "error on folder"); | ^ mhn.c:2544:26: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2544 | answer = getanswer (ep); | ^ mhn.c:2549:20: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2549 | if (!makedir (bp)) { | ^ mhn.c:2550:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2550 | advise (NULLCP, "unable to create folder %s", bp); | ^ mhn.c:2555:19: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2555 | if (mp = m_gmsg (folder)) | ^ mhn.c:2555:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2555 | if (mp = m_gmsg (folder)) | ~~~^~~~~~~~~~~~~~~~~ mhn.c:2555:10: note: place parentheses around the assignment to silence this warning 2555 | if (mp = m_gmsg (folder)) | ^ | ( ) mhn.c:2555:10: note: use '==' to turn this assignment into an equality comparison 2555 | if (mp = m_gmsg (folder)) | ^ | == mhn.c:2559:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2559 | advise (NULLCP, "unable to read folder %s", folder); | ^ mhn.c:2564:14: warning: passing arguments to 'm_fmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2564 | m_fmsg (mp); | ^ mhn.c:2618:23: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2618 | char *p = r1bindex (ct -> c_file, '/'); | ^ mhn.c:2733:27: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2733 | ct -> c_storage = add (buffer, NULLCP); | ^ mhn.c:2743:28: warning: passing arguments to 'make_intermediates' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2743 | && make_intermediates (ct -> c_storage) == NOTOK) | ^ mhn.c:2751:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2751 | advise (NULLCP, "don't know how to decode part %s of message %s", | ^ mhn.c:2758:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2758 | if ((fd = (*ct -> c_ceopenfnx) (ct, &file)) == NOTOK) | ^ mhn.c:2761:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2761 | (void) (*ct -> c_ceclosefnx) (ct); | ^ mhn.c:2769:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2769 | advise ("stdout", "unable to dup"); | ^ mhn.c:2771:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2771 | (void) (*ct -> c_ceclosefnx) (ct); | ^ mhn.c:2775:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2775 | advise ("stdout", "unable to fdopen (%d, \"%s\") from", gd, | ^ mhn.c:2784:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2784 | advise (ct -> c_storage, "unable to fopen for %s", | ^ mhn.c:2790:31: warning: passing arguments to 'copy_some_headers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2790 | (void) copy_some_headers (fp, ct); | ^ mhn.c:2795:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2795 | advise (file, "error reading content from"); | ^ mhn.c:2808:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2808 | (void) (*ct -> c_ceclosefnx) (ct); | ^ mhn.c:2811:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2811 | advise (ct -> c_storage, "error writing to"); | ^ mhn.c:2819:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2819 | advise (ct -> c_file, "unable to open for reading"); | ^ mhn.c:2830:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2830 | advise ("stdout", "unable to dup"); | ^ mhn.c:2834:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2834 | advise ("stdout", "unable to fdopen (%d, \"%s\") from", gd, | ^ mhn.c:2842:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2842 | advise (ct -> c_storage, "unable to fopen for %s", | ^ mhn.c:2848:27: warning: passing arguments to 'copy_some_headers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2848 | (void) copy_some_headers (fp, ct); | ^ mhn.c:2875:17: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2875 | if (!uprf (buffer, XXX_FIELD_PRF) | ^ mhn.c:2876:17: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2876 | && !uprf (buffer, "Encrypted:") | ^ mhn.c:2877:17: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2877 | && !uprf (buffer, "Message-ID:") | ^ mhn.c:2878:17: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2878 | && !uprf (buffer, "Subject:") | ^ mhn.c:2879:17: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2879 | && !uprf (buffer, VRSN_FIELD)) { | ^ mhn.c:2894:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2894 | advise (ct -> c_storage, "error writing to"); | ^ mhn.c:2490:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2490 | static int store_content (ct, append) | ^ mhn.c:344:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 344 | static int list_content (), show_content (), store_content (); | ^ mhn.c:2914:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2914 | advise (ct -> c_file, "unable to open for reading"); | ^ mhn.c:2919:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2919 | switch (state = m_getfld (state, name, buf, sizeof buf, in)) { | ^ mhn.c:2923:12: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2923 | if (uprf (name, XXX_FIELD_PRF) | ^ mhn.c:2924:19: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2924 | || uleq (name, "Encrypted") | ^ mhn.c:2925:19: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2925 | || uleq (name, "Message-ID") | ^ mhn.c:2926:19: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2926 | || uleq (name, "Subject") | ^ mhn.c:2927:19: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2927 | || uleq (name, VRSN_FIELD)) { | ^ mhn.c:2929:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2929 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ mhn.c:2935:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2935 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ mhn.c:2904:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2904 | static int copy_some_headers (out, ct) | ^ mhn.c:355:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 355 | static int init_encoding (), type_ok (), copy_some_headers (), set_endian (); | ^ mhn.c:2966:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2966 | for (cp = file + 1; cp = index (cp, '/'); cp++) { | ~~~^~~~~~~~~~~~~~~~~ mhn.c:2966:28: note: place parentheses around the assignment to silence this warning 2966 | for (cp = file + 1; cp = index (cp, '/'); cp++) { | ^ | ( ) mhn.c:2966:28: note: use '==' to turn this assignment into an equality comparison 2966 | for (cp = file + 1; cp = index (cp, '/'); cp++) { | ^ | == mhn.c:2976:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2976 | advise (file, "error on directory"); | ^ mhn.c:2983:25: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2983 | answer = getanswer (ep); | ^ mhn.c:2988:19: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2988 | if (!makedir (file)) { | ^ mhn.c:2989:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2989 | advise (NULLCP, "unable to create directory %s", file); | ^ mhn.c:2961:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2961 | static int make_intermediates (file) | ^ mhn.c:356:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 356 | static int make_intermediates (); | ^ mhn.c:3002:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3002 | static void free_ctinfo (ct) | ^ mhn.c:3046:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3046 | (void) (*ct -> c_ctfreefnx) (ct); | ^ mhn.c:3063:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3063 | (void) (*ct -> c_cefreefnx) (ct, 1); | ^ mhn.c:3025:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3025 | static void free_content (ct) | ^ mhn.c:347:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 347 | static void free_content (), flush_errors (), set_id (); | ^ mhn.c:3097:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3097 | static int part_ok (ct, sP) | ^ mhn.c:3130:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3130 | if (uleq (*ap, ci -> ci_type) || uleq (*ap, buffer)) | ^ mhn.c:3130:40: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3130 | if (uleq (*ap, ci -> ci_type) || uleq (*ap, buffer)) | ^ mhn.c:3116:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3116 | static int type_ok (ct, sP) | ^ mhn.c:355:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 355 | static int init_encoding (), type_ok (), copy_some_headers (), set_endian (); | ^ mhn.c:3152:43: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3152 | if (autosw && !ct -> c_storeproc && uleq (*ap, "name")) { | ^ mhn.c:3161:27: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3161 | ct -> c_storeproc = add (cp, NULLCP); | ^ mhn.c:3144:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3144 | static int InitGeneric (ct) | ^ mhn.c:1072:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1072 | InitGeneric (); | ^ mhn.c:3193:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3193 | static int free_text (ct) | ^ mhn.c:3223:25: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3223 | ci -> ci_subtype = add ("plain", ci -> ci_subtype); | ^ mhn.c:3225:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3225 | if (uleq (ci -> ci_subtype, kv -> kv_key)) | ^ mhn.c:3231:25: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3231 | ct -> c_showproc = add (buffer, NULLCP); | ^ mhn.c:3235:32: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3235 | if (!ct -> c_ctparams && uleq (*ap, "charset")) { | ^ mhn.c:3240:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3240 | adios (NULLCP, "out of memory"); | ^ mhn.c:3245:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3245 | if (uleq (*ep, kv -> kv_key)) { | ^ mhn.c:3253:32: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3253 | if ((!mm_charset || !uleq (mm_charset, *ep)) | ^ mhn.c:3254:23: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3254 | && (cp = m_find (buffer))) | ^ mhn.c:3255:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3255 | ct -> c_termproc = getcpy (cp); | ^ mhn.c:3258:47: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3258 | if (autosw && !ct -> c_storeproc && uleq (*ap, "name")) { | ^ mhn.c:3267:31: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3267 | ct -> c_storeproc = add (cp, NULLCP); | ^ mhn.c:3213:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3213 | static int InitText (ct) | ^ mhn.c:1071:66: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1071 | static int InitApplication (), InitMessage (), InitMultiPart (), InitText (), | ^ mhn.c:3310:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3310 | (void) (*p -> c_ctlistfnx) (p, 0); | ^ mhn.c:3297:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3297 | static int list_multi (ct, toplevel) | ^ mhn.c:3364:47: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3364 | switch (inneresult = (*p -> c_ctshowfnx) (p, nowserial, | ^ mhn.c:3414:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3414 | else | ^ mhn.c:3422:22: warning: passing arguments to 'pidcheck' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3422 | (void) pidcheck (status); | ^ mhn.c:3317:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3317 | static int show_multi (ct, serial, alternate) | ^ mhn.c:3470:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3470 | if ((cp = m_find (buffer)) == NULL || *cp == 0) { | ^ mhn.c:3472:20: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3472 | if (((cp = m_find (buffer)) == NULL || *cp == 0) | ^ mhn.c:3506:23: warning: passing arguments to 'openRawMulti' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3506 | if (openRawMulti (p, &file) == NOTOK) | ^ mhn.c:3517:27: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3517 | p -> c_storage = add (file, NULLCP); | ^ mhn.c:3521:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3521 | (*p -> c_ceclosefnx) (p); | ^ mhn.c:3560:32: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3560 | if (bp + strlen(s = trimcpy (ct -> c_descr)) + 2 | ^ mhn.c:3451:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3451 | static int show_unknown_multi (ct, serial, alternate) | ^ mhn.c:3672:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3672 | && (result = (*p -> c_ctstorefnx) (p, NULLCP)) == OK | ^ mhn.c:3657:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3657 | static int store_multi (ct, unused) | ^ mhn.c:3681:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3681 | static int free_multi (ct) | ^ mhn.c:3720:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3720 | static int fuzzy_strcmp (str, substr) | ^ mhn.c:3761:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3761 | admonish (NULLCP, | ^ mhn.c:3768:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3768 | if (uleq (ci -> ci_subtype, kv -> kv_key)) | ^ mhn.c:3773:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3773 | if (uleq (*ap, "boundary")) { | ^ mhn.c:3778:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3778 | advise (NULLCP, | ^ mhn.c:3785:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3785 | adios (NULLCP, "out of memory"); | ^ mhn.c:3802:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3802 | advise (NULLCP, "invalid \"boundary\" parameter for \"%s/%s\" type in message %s's %s: field", | ^ mhn.c:3814:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3814 | advise (ct -> c_file, "unable to open for reading"); | ^ mhn.c:3837:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3837 | adios (NULLCP, "out of memory"); | ^ mhn.c:3869:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3869 | advise (NULLCP, "bogus multipart content in message %s", ct -> c_file); | ^ mhn.c:3898:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3898 | adios (NULLCP, "out of memory"); | ^ mhn.c:3923:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3923 | advise(NULLCP, "multipart nest too deep in message %s", | ^ mhn.c:3938:26: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3938 | p -> c_partno = add (partnam, NULLCP); | ^ mhn.c:3940:50: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3940 | if (p -> c_ctinitfnx && (*p -> c_ctinitfnx) (p) == NOTOK) { | ^ mhn.c:3735:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3735 | static int InitMultiPart (ct) | ^ mhn.c:1071:48: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1071 | static int InitApplication (), InitMessage (), InitMultiPart (), InitText (), | ^ mhn.c:3971:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3971 | static int list_partial (ct, toplevel) | ^ mhn.c:3989:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3989 | static int ct_compar (a, b) | ^ mhn.c:4019:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4019 | for (ctp = cts; p = *ctp; ctp++) | ~~^~~~~~ mhn.c:4019:23: note: place parentheses around the assignment to silence this warning 4019 | for (ctp = cts; p = *ctp; ctp++) | ^ | ( ) mhn.c:4019:23: note: use '==' to turn this assignment into an equality comparison 4019 | for (ctp = cts; p = *ctp; ctp++) | ^ | == mhn.c:4035:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4035 | advise (NULLCP, "missing (at least) last part of multipart message"); | ^ mhn.c:4040:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4040 | adios (NULLCP, "out of memory"); | ^ mhn.c:4043:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4043 | for (ctp = cts; p = *ctp; ctp++) | ~~^~~~~~ mhn.c:4043:23: note: place parentheses around the assignment to silence this warning 4043 | for (ctp = cts; p = *ctp; ctp++) | ^ | ( ) mhn.c:4043:23: note: use '==' to turn this assignment into an equality comparison 4043 | for (ctp = cts; p = *ctp; ctp++) | ^ | == mhn.c:4056:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4056 | for (ctq = base; p = *ctq; ctq++) { | ~~^~~~~~ mhn.c:4056:24: note: place parentheses around the assignment to silence this warning 4056 | for (ctq = base; p = *ctq; ctq++) { | ^ | ( ) mhn.c:4056:24: note: use '==' to turn this assignment into an equality comparison 4056 | for (ctq = base; p = *ctq; ctq++) { | ^ | == mhn.c:4061:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4061 | admonish (NULLCP, | ^ mhn.c:4068:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4068 | advise (NULLCP, | ^ mhn.c:4089:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4089 | for (; p = *ctq; ctq++) | ~~^~~~~~ mhn.c:4089:14: note: place parentheses around the assignment to silence this warning 4089 | for (; p = *ctq; ctq++) | ^ | ( ) mhn.c:4089:14: note: use '==' to turn this assignment into an equality comparison 4089 | for (; p = *ctq; ctq++) | ^ | == mhn.c:4002:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4002 | static int store_partial (ct, unused) | ^ mhn.c:4098:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4098 | static int free_partial (ct) | ^ mhn.c:4164:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4164 | if (uleq (*ap, "access-type")) { | ^ mhn.c:4169:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4169 | if (uleq (*ep, s2i -> mhnsi_key)) | ^ mhn.c:4180:24: warning: passing arguments to 'init_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4180 | if (init_encoding (p, s2i -> mhnsi_init) == NOTOK) | ^ mhn.c:4184:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4184 | if (uleq (*ap, "name")) { | ^ mhn.c:4188:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4188 | if (uleq (*ap, "permission")) { | ^ mhn.c:4192:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4192 | if (uleq (*ap, "site")) { | ^ mhn.c:4196:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4196 | if (uleq (*ap, "directory")) { | ^ mhn.c:4200:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4200 | if (uleq (*ap, "mode")) { | ^ mhn.c:4204:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4204 | if (uleq (*ap, "size")) { | ^ mhn.c:4208:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4208 | if (uleq (*ap, "server")) { | ^ mhn.c:4212:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4212 | if (uleq (*ap, "subject")) { | ^ mhn.c:4216:24: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4216 | if (composing && uleq (*ap, "body")) { | ^ mhn.c:4217:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4217 | e -> eb_body = getcpy (*ep); | ^ mhn.c:4223:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4223 | advise (NULLCP, | ^ mhn.c:4154:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4154 | static int params_external (ct, composing) | ^ mhn.c:4233:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4233 | static int list_external (ct, toplevel) | ^ mhn.c:4278:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4278 | return (*p -> c_ctshowfnx) (p, serial, alternate); | ^ mhn.c:4266:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4266 | static int show_external (ct, serial, alternate) | ^ mhn.c:4297:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4297 | result = (*p -> c_ctstorefnx) (p, NULLCP); | ^ mhn.c:4285:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4285 | static int store_external (ct) | ^ mhn.c:4304:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4304 | static int free_external (ct) | ^ mhn.c:4338:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4338 | admonish (NULLCP, | ^ mhn.c:4345:25: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4345 | ci -> ci_subtype = add ("rfc822", ci -> ci_subtype); | ^ mhn.c:4347:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4347 | if (uleq (ci -> ci_subtype, kv -> kv_key)) | ^ mhn.c:4352:29: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4352 | ct -> c_showproc = add ("%pshow -file '%F'", NULLCP); | ^ mhn.c:4357:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4357 | advise (ct -> c_file, "unable to open for reading"); | ^ mhn.c:4366:31: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4366 | switch (state = m_getfld(state, name, buf, sizeof buf, | ^ mhn.c:4371:12: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4371 | cp = add(buf, NULLCP); | ^ mhn.c:4373:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4373 | state = m_getfld(state, name, buf, sizeof buf, | ^ mhn.c:4375:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4375 | cp = add(buf, cp); | ^ mhn.c:4377:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4377 | if (!uleq(name, "Subject")) { | ^ mhn.c:4381:16: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4381 | dp = trimcpy(cp); | ^ mhn.c:4383:17: warning: passing arguments to 'exthdr_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4383 | exthdr_decode(dp, cp); | ^ mhn.c:4412:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4412 | adios (NULLCP, "out of memory"); | ^ mhn.c:4419:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4419 | if (uleq (*ap, "id")) { | ^ mhn.c:4420:25: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4420 | p -> pm_partid = add (*ep, NULLCP); | ^ mhn.c:4425:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4425 | if (uleq (*ap, "number")) { | ^ mhn.c:4429:15: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4429 | advise (NULLCP, | ^ mhn.c:4439:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4439 | if (uleq (*ap, "total")) { | ^ mhn.c:4451:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4451 | advise (NULLCP, | ^ mhn.c:4474:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4474 | adios (NULLCP, "out of memory"); | ^ mhn.c:4480:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4480 | advise (ct -> c_file, "unable to open for reading"); | ^ mhn.c:4508:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4508 | adios (NULLCP, "out of memory"); | ^ mhn.c:4513:18: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4513 | adios ("failed", "fread"); | ^ mhn.c:4516:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4516 | adios (NULLCP, "unexpected EOF from fread"); | ^ mhn.c:4547:32: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4547 | ct -> c_storeproc = add (cp, NULLCP); | ^ mhn.c:4549:31: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4549 | p -> c_storeproc = add (cp, NULLCP); | ^ mhn.c:4566:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4566 | (void) (*p -> c_ctinitfnx) (p); | ^ mhn.c:4329:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4329 | static int InitMessage (ct) | ^ mhn.c:1071:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1071 | static int InitApplication (), InitMessage (), InitMultiPart (), InitText (), | ^ mhn.c:4586:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4586 | static int list_application (ct, toplevel) | ^ mhn.c:4621:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4621 | if (uleq (ci -> ci_subtype, kv -> kv_key)) | ^ mhn.c:4625:43: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4625 | if (autosw && !ct -> c_storeproc && uleq (*ap, "name")) { | ^ mhn.c:4634:27: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4634 | ct -> c_storeproc = add (cp, NULLCP); | ^ mhn.c:4643:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4643 | if (uleq (*ap, "type")) { | ^ mhn.c:4644:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4644 | if (!uleq (*ep, "tar")) | ^ mhn.c:4651:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4651 | if ((uleq (*ap, "conversions") || uleq (*ap, "x-conversions")) | ^ mhn.c:4651:45: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4651 | if ((uleq (*ap, "conversions") || uleq (*ap, "x-conversions")) | ^ mhn.c:4652:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4652 | && (uleq (*ep, "compress") || uleq (*ep, "x-compress"))) { | ^ mhn.c:4652:42: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4652 | && (uleq (*ep, "compress") || uleq (*ep, "x-compress"))) { | ^ mhn.c:4659:29: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4659 | ct -> c_showproc = add (zP ? "%euncompress | tar tvf -" | ^ mhn.c:4663:31: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4663 | ct -> c_storeproc = add (zP ? "| uncompress | tar xvpf -" | ^ mhn.c:4668:31: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4668 | ct -> c_storeproc = add (zP ? "%m%P.tar.Z" : "%m%P.tar", | ^ mhn.c:4667:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 4667 | else | ^ mhn.c:4610:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4610 | static int InitApplication (ct) | ^ mhn.c:1071:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1071 | static int InitApplication (), InitMessage (), InitMultiPart (), InitText (), | ^ In file included from mhn.c:4678: ./md5.c:104:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | void MD5Init (context) | ^ In file included from mhn.c:4678: In file included from ./md5.c:32: ./../h/md5.h:75:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | void MD5Init PROTO_LIST ((MD5_CTX *)); | ^ In file included from mhn.c:4678: ./md5.c:149:4: warning: passing arguments to 'MD5_memcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | ((POINTER)&context->buffer[index], (POINTER)input, partLen); | ^ ./md5.c:150:15: warning: passing arguments to 'MD5Transform' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | MD5Transform (context->state, context->buffer); | ^ ./md5.c:153:17: warning: passing arguments to 'MD5Transform' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | MD5Transform (context->state, &input[i]); | ^ ./md5.c:162:2: warning: passing arguments to 'MD5_memcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | ((POINTER)&context->buffer[index], (POINTER)&input[i], | ^ ./md5.c:127:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | void MD5Update (context, input, inputLen) | ^ In file included from mhn.c:4678: In file included from ./md5.c:32: ./../h/md5.h:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | void MD5Update PROTO_LIST | ^ In file included from mhn.c:4678: ./md5.c:177:10: warning: passing arguments to 'Encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | Encode (bits, context->count, 8); | ^ ./md5.c:188:10: warning: passing arguments to 'Encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | Encode (digest, context->state, 16); | ^ ./md5.c:192:14: warning: passing arguments to 'MD5_memset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | MD5_memset ((POINTER)context, 0, sizeof (*context)); | ^ ./md5.c:169:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | void MD5Final (digest, context) | ^ In file included from mhn.c:4678: In file included from ./md5.c:32: ./../h/md5.h:78:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); | ^ In file included from mhn.c:4678: ./md5.c:203:10: warning: passing arguments to 'Decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | Decode (x, block, 64); | ^ ./md5.c:284:14: warning: passing arguments to 'MD5_memset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | MD5_memset ((POINTER)x, 0, sizeof (x)); | ^ ./md5.c:197:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | static void MD5Transform (state, block) | ^ ./md5.c:53:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static void MD5Transform PROTO_LIST ((UINT4 [4], unsigned char [64])); | ^ ./md5.c:290:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | static void Encode (output, input, len) | ^ ./md5.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void Encode PROTO_LIST | ^ ./md5.c:308:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | static void Decode (output, input, len) | ^ ./md5.c:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | static void Decode PROTO_LIST | ^ ./md5.c:323:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | static void MD5_memcpy (output, input, len) | ^ ./md5.c:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static void MD5_memcpy PROTO_LIST ((POINTER, POINTER, unsigned int)); | ^ ./md5.c:336:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | static void MD5_memset (output, value, len) | ^ ./md5.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void MD5_memset PROTO_LIST ((POINTER, int, unsigned int)); | ^ mhn.c:4695:54: warning: format specifies type 'unsigned int' but the argument has type 'FILE *' (aka 'struct __sFILE *') [-Wformat] 4695 | fprintf (stderr, " decoded fp 0x%x file \"%s\"\n", ce -> ce_fp, | ~~ ^~~~~~~~~~~ mhn.c:4689:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4689 | static int list_encoding (ct) | ^ mhn.c:4702:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4702 | static int close_encoding (ct) | ^ mhn.c:4742:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4742 | if ((fd = (*ct -> c_ceopenfnx) (ct, &file)) == NOTOK) | ^ mhn.c:4747:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4747 | (*ct -> c_ceclosefnx) (ct); | ^ mhn.c:4717:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4717 | static unsigned long size_encoding (ct) | ^ mhn.c:4753:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4753 | static int free_encoding (ct, toplevel) | ^ mhn.c:4782:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 4782 | static init_encoding (ct, openfnx) | ~~~~~~ ^ | int mhn.c:4789:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4789 | adios (NULLCP, "out of memory"); | ^ mhn.c:4782:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4782 | static init_encoding (ct, openfnx) | ^ mhn.c:355:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 355 | static int init_encoding (), type_ok (), copy_some_headers (), set_endian (); | ^ mhn.c:4859:40: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4859 | add (*file ? *file : m_scratch ("", tmp), | ^ mhn.c:4859:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4859 | add (*file ? *file : m_scratch ("", tmp), | ^ mhn.c:4868:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4868 | adios (NULLCP, "internal error(1)"); | ^ mhn.c:4875:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4875 | if (digested = ct -> c_digested) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ mhn.c:4875:18: note: place parentheses around the assignment to silence this warning 4875 | if (digested = ct -> c_digested) | ^ | ( ) mhn.c:4875:18: note: use '==' to turn this assignment into an equality comparison 4875 | if (digested = ct -> c_digested) | ^ | == mhn.c:4823:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4823 | static int openBase64 (ct, file) | ^ mhn.c:4985:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4985 | static int InitBase64 (ct) | ^ mhn.c:1089:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1089 | static int InitBase64 (), InitQuoted (), Init7Bit (); | ^ mhn.c:5007:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5007 | mm_charset = m_find ("MM-Charset"); | ^ mhn.c:5067:40: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5067 | add (*file ? *file : m_scratch ("", tmp), | ^ mhn.c:5067:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5067 | add (*file ? *file : m_scratch ("", tmp), | ^ mhn.c:5076:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5076 | adios (NULLCP, "internal error(2)"); | ^ mhn.c:5083:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5083 | if (digested = ct -> c_digested) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ mhn.c:5083:18: note: place parentheses around the assignment to silence this warning 5083 | if (digested = ct -> c_digested) | ^ | ( ) mhn.c:5083:18: note: use '==' to turn this assignment into an equality comparison 5083 | if (digested = ct -> c_digested) | ^ | == mhn.c:5038:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5038 | static int openQuoted (ct, file) | ^ mhn.c:5223:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5223 | static int InitQuoted (ct) | ^ mhn.c:1089:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1089 | static int InitBase64 (), InitQuoted (), Init7Bit (); | ^ mhn.c:5253:41: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5253 | add (*file ? *file : m_scratch ("", tmp), | ^ mhn.c:5253:14: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5253 | add (*file ? *file : m_scratch ("", tmp), | ^ mhn.c:5268:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5268 | adios (NULLCP, "internal error"); | ^ mhn.c:5233:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5233 | static int openRawMulti (ct, file) | ^ mhn.c:3294:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3294 | static int openRawMulti(); | ^ mhn.c:5338:40: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5338 | add (*file ? *file : m_scratch ("", tmp), | ^ mhn.c:5338:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5338 | add (*file ? *file : m_scratch ("", tmp), | ^ mhn.c:5378:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5378 | adios(NULLCP, "out of memory"); | ^ mhn.c:5379:26: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5379 | (void) exthdr_encode(ci -> ci_comment, ep, len+1+1, TYPE_FIELD); | ^ mhn.c:5381:23: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5381 | (void) exthdr_encode(ci -> ci_comment, ep, 8+1, TYPE_FIELD); | ^ mhn.c:5402:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5402 | adios(NULLCP, "out of memory"); | ^ mhn.c:5403:26: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5403 | (void) exthdr_encode(ct -> c_descr, ep, strlen(DESCR_FIELD)+1, | ^ mhn.c:5414:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5414 | adios (NULLCP, "internal error(3)"); | ^ mhn.c:5421:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5421 | if (digested = ct -> c_digested) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ mhn.c:5421:18: note: place parentheses around the assignment to silence this warning 5421 | if (digested = ct -> c_digested) | ^ | ( ) mhn.c:5421:18: note: use '==' to turn this assignment into an equality comparison 5421 | if (digested = ct -> c_digested) | ^ | == mhn.c:5312:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5312 | static int open7Bit (ct, file) | ^ mhn.c:5478:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5478 | static int Init7Bit (ct) | ^ mhn.c:1089:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1089 | static int InitBase64 (), InitQuoted (), Init7Bit (); | ^ mhn.c:5516:20: warning: passing arguments to 'find_cache' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5516 | if (find_cache (ct, rcachesw, (int *) 0, cb -> c_id, cachefile) != NOTOK) { | ^ mhn.c:5517:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5517 | if (ce -> ce_fp = fopen (cachefile, "r")) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ mhn.c:5517:18: note: place parentheses around the assignment to silence this warning 5517 | if (ce -> ce_fp = fopen (cachefile, "r")) { | ^ | ( ) mhn.c:5517:18: note: use '==' to turn this assignment into an equality comparison 5517 | if (ce -> ce_fp = fopen (cachefile, "r")) { | ^ | == mhn.c:5519:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5519 | ce -> ce_file = getcpy (cachefile); | ^ mhn.c:5523:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5523 | admonish (cachefile, "unable to fopen for reading"); | ^ mhn.c:5490:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5490 | static int openExternal (ct, cb, ce, file, fd) | ^ mhn.c:5558:54: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5558 | if ((ce -> ce_fp = fopen (ce -> ce_file = getcpy (e -> eb_name), "r")) | ^ mhn.c:5564:39: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5564 | if ((!e -> eb_permission || !uleq (e -> eb_permission, "read-write")) | ^ mhn.c:5565:20: warning: passing arguments to 'find_cache' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5565 | && find_cache (NULLCT, wcachesw, &cachetype, | ^ mhn.c:5571:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5571 | if (fp = fopen (cachefile, "w")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ mhn.c:5571:9: note: place parentheses around the assignment to silence this warning 5571 | if (fp = fopen (cachefile, "w")) { | ^ | ( ) mhn.c:5571:9: note: use '==' to turn this assignment into an equality comparison 5571 | if (fp = fopen (cachefile, "w")) { | ^ | == mhn.c:5584:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5584 | admonish (ce -> ce_file, "error reading"); | ^ mhn.c:5589:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5589 | admonish (cachefile, "error writing"); | ^ mhn.c:5531:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5531 | static int openFile (ct, file) | ^ mhn.c:4137:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4137 | static int openFile (); | ^ mhn.c:5623:23: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5623 | if ((ftp = m_find (buffer)) && !*ftp) | ^ mhn.c:5649:27: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5649 | (void) pidcheck (pidwait (xpid, NOTOK)); | ^ mhn.c:5649:18: warning: passing arguments to 'pidcheck' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5649 | (void) pidcheck (pidwait (xpid, NOTOK)); | ^ mhn.c:5668:20: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5668 | if (!getanswer (buffer)) | ^ mhn.c:5676:2: warning: call to undeclared function 'ruserpass'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 5676 | ruserpass (e -> eb_site, &username, &password); | ^ mhn.c:5681:39: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5681 | if ((!e -> eb_permission || !uleq (e -> eb_permission, "read-write")) | ^ mhn.c:5682:20: warning: passing arguments to 'find_cache' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5682 | && find_cache (NULLCT, wcachesw, &cachetype, | ^ mhn.c:5693:25: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5693 | : m_scratch ("", tmp), | ^ mhn.c:5691:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5691 | add (*file ? *file | ^ mhn.c:5711:25: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5711 | vec[vecp++] = r1bindex (ftp, '/'); | ^ mhn.c:5718:37: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5718 | vec[vecp++] = e -> eb_mode && uleq (e -> eb_mode, "ascii") | ^ mhn.c:5728:16: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5728 | adios ("fork", "unable to"); | ^ mhn.c:5740:7: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5740 | if (pidXwait (child_id, NULLCP)) { | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mhn.c:5740:7: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mhn.c:5753:6: warning: call to undeclared function 'ftp_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 5753 | if (ftp_get (e -> eb_site, user, pass, e -> eb_dir, e -> eb_name, | ^ mhn.c:5755:30: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5755 | !e -> eb_mode || uleq (e -> eb_mode, "ascii"), 0) | ^ mhn.c:5768:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5768 | if (fp = fopen (cachefile, "w")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ mhn.c:5768:13: note: place parentheses around the assignment to silence this warning 5768 | if (fp = fopen (cachefile, "w")) { | ^ | ( ) mhn.c:5768:13: note: use '==' to turn this assignment into an equality comparison 5768 | if (fp = fopen (cachefile, "w")) { | ^ | == mhn.c:5780:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5780 | admonish (ce -> ce_file, "error reading"); | ^ mhn.c:5785:13: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5785 | admonish (cachefile, "error writing"); | ^ mhn.c:5763:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 5763 | else { | ^ mhn.c:5604:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5604 | static int openFTP (ct, file) | ^ mhn.c:4138:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4138 | static int openFTP (); | ^ mhn.c:5833:27: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5833 | (void) pidcheck (pidwait (xpid, NOTOK)); | ^ mhn.c:5833:18: warning: passing arguments to 'pidcheck' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5833 | (void) pidcheck (pidwait (xpid, NOTOK)); | ^ mhn.c:5847:20: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5847 | if (!getanswer (buffer)) | ^ mhn.c:5851:28: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5851 | vec[vecp++] = r1bindex (mailproc, '/'); | ^ mhn.c:5863:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5863 | advise ("fork", "unable to"); | ^ mhn.c:5874:10: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5874 | if (pidXwait (child_id, NULLCP) == OK) | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mhn.c:5874:10: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mhn.c:5875:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5875 | advise (NULLCP, "request sent"); | ^ mhn.c:5881:40: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5881 | add (*file ? *file : m_scratch ("", tmp), | ^ mhn.c:5881:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5881 | add (*file ? *file : m_scratch ("", tmp), | ^ mhn.c:5890:28: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5890 | ct -> c_showproc = add ("true", NULLCP); | ^ mhn.c:5800:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5800 | static int openMail (ct, file) | ^ mhn.c:4139:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4139 | static int openMail (); | ^ mhn.c:5910:18: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5910 | id = trimcpy (id); | ^ mhn.c:5926:25: warning: passing arguments to 'find_cache_aux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5926 | && find_cache_aux (writing ? 2 : 0, cache_private, id, | ^ mhn.c:5938:25: warning: passing arguments to 'find_cache_aux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5938 | && find_cache_aux (writing ? 1 : 0, cache_public, id, | ^ mhn.c:5950:25: warning: passing arguments to 'find_cache_aux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5950 | && find_cache_aux (writing ? 2 : 0, cache_private, id, | ^ mhn.c:5966:31: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5966 | (void) pidcheck (pidwait (xpid, NOTOK)); | ^ mhn.c:5966:22: warning: passing arguments to 'pidcheck' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5966 | (void) pidcheck (pidwait (xpid, NOTOK)); | ^ mhn.c:5988:17: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5988 | if (!getanswer (query)) | ^ mhn.c:5899:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5899 | static int find_cache (ct, policy, writing, id, buffer) | ^ mhn.c:357:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 357 | static int find_cache (), find_cache_aux (), find_cache_aux2 (); | ^ mhn.c:6026:25: warning: passing arguments to 'find_cache_aux2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6026 | if (find_cache_aux2 (mapfile, id, mapname) == OK) | ^ mhn.c:6058:46: warning: format specifies type 'unsigned int' but the argument has type 'time_t' (aka 'long') [-Wformat] 6058 | (void) sprintf (mapname, "%08x%04x%02x", clock & 0xffffffff, | ~~~~ ^~~~~~~~~~~~~~~~~~ | %08lx mhn.c:6065:24: warning: passing arguments to 'lkfopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6065 | if (!(fp = lkfopen (mapfile, "a")) && errno == ENOENT) { | ^ mhn.c:6066:11: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 6066 | int fd = creat (mapfile, 0666); | ^ mhn.c:6070:19: warning: passing arguments to 'lkfopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6070 | fp = lkfopen (mapfile, "a"); | ^ mhn.c:6077:21: warning: passing arguments to 'lkfclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6077 | (void) lkfclose (fp, mapfile); | ^ mhn.c:6003:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6003 | static int find_cache_aux (writing, directory, id, buffer) | ^ mhn.c:357:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 357 | static int find_cache (), find_cache_aux (), find_cache_aux2 (); | ^ mhn.c:6102:24: warning: passing arguments to 'lkfopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6102 | if (!(fp = lkfopen (mapfile, "r"))) | ^ mhn.c:6110:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6110 | switch (state = m_getfld (state, name, buf, sizeof buf, fp)) { | ^ mhn.c:6118:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6118 | cp = add (buf, NULLCP); | ^ mhn.c:6120:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6120 | state = m_getfld (state, name, buf, sizeof buf, fp); | ^ mhn.c:6121:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6121 | cp = add (buf, cp); | ^ mhn.c:6124:16: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6124 | dp = trimcpy (cp); | ^ mhn.c:6133:23: warning: passing arguments to 'lkfclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6133 | (void) lkfclose (fp, mapfile); | ^ mhn.c:6149:21: warning: passing arguments to 'lkfclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6149 | (void) lkfclose (fp, mapfile); | ^ mhn.c:6092:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6092 | static int find_cache_aux2 (mapfile, id, mapname) | ^ mhn.c:357:48: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 357 | static int find_cache (), find_cache_aux (), find_cache_aux2 (); | ^ mhn.c:6164:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6164 | advise (NULLCP, "no %s: field in %s", ID_FIELD, ct -> c_file); | ^ mhn.c:6169:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6169 | advise (NULLCP, "unable to decode %s", ct -> c_file); | ^ mhn.c:6174:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6174 | advise (NULLCP, "a radish may no know Greek, but I do..."); | ^ mhn.c:6181:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6181 | advise (NULLCP, "unable to cache %s's contents", ct -> c_file); | ^ mhn.c:6198:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6198 | if ((*ct -> c_ceopenfnx) (ct, &file) == NOTOK) | ^ mhn.c:6201:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6201 | if (fp = fopen (cachefile, "w")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ mhn.c:6201:9: note: place parentheses around the assignment to silence this warning 6201 | if (fp = fopen (cachefile, "w")) { | ^ | ( ) mhn.c:6201:9: note: use '==' to turn this assignment into an equality comparison 6201 | if (fp = fopen (cachefile, "w")) { | ^ | == mhn.c:6214:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6214 | admonish (ce -> ce_file, "error reading"); | ^ mhn.c:6219:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6219 | admonish (cachefile, "error writing"); | ^ mhn.c:6234:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6234 | if ((*ct -> c_ceopenfnx) (ct, &file) != NOTOK) | ^ mhn.c:6155:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6155 | static int cache_content (ct) | ^ mhn.c:345:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 345 | static int cache_content (); | ^ mhn.c:6263:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6263 | adios (file, "unable to open for reading"); | ^ mhn.c:6267:38: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6267 | (void) strcpy (tmpfil, m_scratch (file, invo_name)); | ^ mhn.c:6269:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6269 | adios (tmpfil, "unable to open for writing"); | ^ mhn.c:6273:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6273 | switch (state = m_getfld (state, name, buf, sizeof buf, in)) { | ^ mhn.c:6279:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6279 | if (uleq (name, VRSN_FIELD)) | ^ mhn.c:6280:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6280 | adios (NULLCP, "draft shouldn't contain %s: field", | ^ mhn.c:6283:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6283 | if (uleq (name, TYPE_FIELD) || uleq (name, ID_FIELD)) { | ^ mhn.c:6283:39: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6283 | if (uleq (name, TYPE_FIELD) || uleq (name, ID_FIELD)) { | ^ mhn.c:6285:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6285 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ mhn.c:6289:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6289 | if (uleq (name, ENCODING_FIELD)) | ^ mhn.c:6290:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6290 | adios (NULLCP, "draft shouldn't contain %s: field", | ^ mhn.c:6296:15: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6296 | cp = add(buf, NULLCP); | ^ mhn.c:6298:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6298 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ mhn.c:6299:12: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6299 | cp = add(buf, ep); | ^ mhn.c:6303:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6303 | adios(NULLCP, "out of memory"); | ^ mhn.c:6305:21: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6305 | (void) ml_conv(cp); | ^ mhn.c:6307:27: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6307 | (void) exthdr_encode(cp, ep, strlen(name)+1, name); | ^ mhn.c:6329:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6329 | adios (NULLCP, "draft has empty body -- no directives!"); | ^ mhn.c:6340:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6340 | adios (NULLCP, "message format error in component #%d", | ^ mhn.c:6344:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6344 | adios (NULLCP, "getfld() returned %d", state); | ^ mhn.c:6350:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6350 | adios (NULLCP, "out of memory"); | ^ mhn.c:6352:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6352 | done (1); | ^ mhn.c:6357:24: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6357 | ct -> c_file = add (file, NULLCP); | ^ mhn.c:6360:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6360 | adios (NULLCP, "out of memory"); | ^ mhn.c:6364:20: warning: passing arguments to 'fgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6364 | while (fgetstr (buf, sizeof buf - 1, in)) { | ^ mhn.c:6368:19: warning: passing arguments to 'user_content' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6368 | if (user_content (in, file, buf, &p) == DONE) { | ^ mhn.c:6369:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6369 | admonish (NULLCP, "ignoring spurious #end"); | ^ mhn.c:6376:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6376 | adios (NULLCP, "out of memory"); | ^ mhn.c:6384:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6384 | adios (NULLCP, "no content directives found"); | ^ mhn.c:6393:9: warning: passing arguments to 'set_id' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6393 | set_id (ct, 1); | ^ mhn.c:6396:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6396 | adios (NULLCP, "internal error(4)"); | ^ mhn.c:6398:28: warning: passing arguments to 'compose_content' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6398 | while (compose_content (ct) == NOTOK) | ^ mhn.c:6403:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6403 | adios (NULLCP, | ^ mhn.c:6409:27: warning: passing arguments to 'output_content' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6409 | (void) output_content (ct, out); | ^ mhn.c:6412:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6412 | adios (tmpfil, "error writing to"); | ^ mhn.c:6425:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6425 | (*ct -> c_ctlistfnx) (ct, 1); | ^ mhn.c:6432:46: warning: passing arguments to 'm_backup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6432 | (void) sprintf (buf, "%s.orig", m_backup (file)); | ^ mhn.c:6434:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6434 | adios (buf, "unable to rename %s to", file); | ^ mhn.c:6436:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6436 | advise (file, "unable to rename %s to", tmpfil); | ^ mhn.c:6438:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6438 | done (1); | ^ mhn.c:6442:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6442 | done (0); | ^ mhn.c:6247:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6247 | static void build_comp (file) | ^ mhn.c:244:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 244 | static void build_comp (); | ^ mhn.c:6447:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6447 | static char *fgetstr (s, n, stream) | ^ mhn.c:368:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 368 | static char *fgetstr (); | ^ mhn.c:6498:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6498 | adios (NULLCP, "out of memory"); | ^ mhn.c:6502:12: warning: passing arguments to 'set_id' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6502 | set_id (ct, 0); | ^ mhn.c:6511:31: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6511 | ct -> c_file = add (m_tmpfil (invo_name), NULLCP); | ^ mhn.c:6511:21: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6511 | ct -> c_file = add (m_tmpfil (invo_name), NULLCP); | ^ mhn.c:6515:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6515 | adios (ct -> c_file, "unable to open for writing"); | ^ mhn.c:6532:15: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6532 | && uprf (buffer, DESCR_FIELD) | ^ mhn.c:6537:27: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6537 | ct -> c_descr = add (buffer + i + 1, ct -> c_descr); | ^ mhn.c:6539:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6539 | adios (NULLCP, | ^ mhn.c:6550:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6550 | adios (NULLCP, | ^ mhn.c:6563:21: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6563 | (void) ml_conv(buffer); | ^ mhn.c:6564:18: warning: passing arguments to 'junet_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6564 | junet_fputs(buffer, out); | ^ mhn.c:6565:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 6565 | } else | ^ mhn.c:6590:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6590 | done (1); | ^ mhn.c:6592:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6592 | if (uleq (ci -> ci_type, s2i -> mhnsi_key)) | ^ mhn.c:6594:33: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6594 | if (!s2i -> mhnsi_key && !uprf (ci -> ci_type, "X-")) | ^ mhn.c:6598:19: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6598 | if (uleq (ci -> ci_subtype, "rfc822")) { | ^ mhn.c:6604:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6604 | adios (NULLCP, | ^ mhn.c:6611:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6611 | if (ct -> c_ctinitfnx = s2i -> mhnsi_init) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ mhn.c:6611:25: note: place parentheses around the assignment to silence this warning 6611 | if (ct -> c_ctinitfnx = s2i -> mhnsi_init) | ^ | ( ) mhn.c:6611:25: note: use '==' to turn this assignment into an equality comparison 6611 | if (ct -> c_ctinitfnx = s2i -> mhnsi_init) | ^ | == mhn.c:6612:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6612 | (void) (*ct -> c_ctinitfnx) (ct); | ^ mhn.c:6623:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6623 | done (1); | ^ mhn.c:6626:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6626 | if (uleq (ci -> ci_type, s2i -> mhnsi_key)) | ^ mhn.c:6630:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6630 | adios (NULLCP, "missing subtype in \"#%s\"", ci -> ci_type); | ^ mhn.c:6634:16: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6634 | adios (NULLCP, "use \"#begin ... #end\" instead of \"#%s/%s\"", | ^ mhn.c:6639:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6639 | if (uleq (ci -> ci_subtype, "partial")) | ^ mhn.c:6640:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6640 | adios (NULLCP, "sorry, \"#%s/%s\" isn't supported", | ^ mhn.c:6642:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6642 | if (uleq (ci -> ci_subtype, "external-body")) | ^ mhn.c:6643:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6643 | adios (NULLCP, "use \"#@type/subtype ... [] ...\" instead of \"#%s/%s\"", | ^ mhn.c:6646:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6646 | adios (NULLCP, | ^ mhn.c:6652:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6652 | if (ct -> c_ctinitfnx = s2i -> mhnsi_init) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ mhn.c:6652:25: note: place parentheses around the assignment to silence this warning 6652 | if (ct -> c_ctinitfnx = s2i -> mhnsi_init) | ^ | ( ) mhn.c:6652:25: note: use '==' to turn this assignment into an equality comparison 6652 | if (ct -> c_ctinitfnx = s2i -> mhnsi_init) | ^ | == mhn.c:6653:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6653 | (void) (*ct -> c_ctinitfnx) (ct); | ^ mhn.c:6662:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6662 | adios (NULLCP, "need external information for \"#@%s/%s\"", | ^ mhn.c:6671:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6671 | adios (NULLCP, "out of memory"); | ^ mhn.c:6676:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6676 | done (1); | ^ mhn.c:6681:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6681 | adios (NULLCP, "out of memory"); | ^ mhn.c:6692:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6692 | done (1); | ^ mhn.c:6702:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6702 | adios (NULLCP, "empty pipe command for #%s directive", | ^ mhn.c:6704:12: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6704 | cp = add (cp, NULLCP); | ^ mhn.c:6710:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6710 | adios ("reading", "unable to access %s for", ct -> c_file); | ^ mhn.c:6720:19: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6720 | if ((cp = m_find (buffer)) == NULL || *cp == 0) { | ^ mhn.c:6722:23: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6722 | if ((cp = m_find (buffer)) == NULL || *cp == 0) { | ^ mhn.c:6725:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6725 | done (1); | ^ mhn.c:6728:23: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6728 | ci -> ci_magic = add (cp, NULLCP); | ^ mhn.c:6733:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6733 | adios (NULLCP, "externally definition not allowed for \"#%s\"", | ^ mhn.c:6736:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6736 | if (uleq (ci -> ci_type, "forw")) { /* #forw [+folder] [msgs] */ | ^ mhn.c:6743:21: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6743 | ap = brkstring (ci -> ci_magic, " ", "\n"); | ^ mhn.c:6744:18: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6744 | ap = copyip (ap, arguments); | ^ mhn.c:6750:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6750 | for (ap = arguments; cp = *ap; ap++) | ~~~^~~~~ mhn.c:6750:26: note: place parentheses around the assignment to silence this warning 6750 | for (ap = arguments; cp = *ap; ap++) | ^ | ( ) mhn.c:6750:26: note: use '==' to turn this assignment into an equality comparison 6750 | for (ap = arguments; cp = *ap; ap++) | ^ | == mhn.c:6753:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6753 | adios (NULLCP, "only one folder per #forw directive"); | ^ mhn.c:6755:21: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6755 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ mhn.c:6754:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 6754 | else | ^ mhn.c:6757:19: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6757 | folder = add (m_getfolder (), NULLCP); | ^ mhn.c:6759:19: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6759 | if ((mp = m_gmsg (folder)) == NULL) | ^ mhn.c:6760:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6760 | adios (NULLCP, "unable to read folder %s", folder); | ^ mhn.c:6761:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6761 | for (ap = arguments; cp = *ap; ap++) | ~~~^~~~~ mhn.c:6761:26: note: place parentheses around the assignment to silence this warning 6761 | for (ap = arguments; cp = *ap; ap++) | ^ | ( ) mhn.c:6761:26: note: use '==' to turn this assignment into an equality comparison 6761 | for (ap = arguments; cp = *ap; ap++) | ^ | == mhn.c:6763:18: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6763 | if (!m_convert (mp, cp)) | ^ mhn.c:6764:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6764 | done (1); | ^ mhn.c:6770:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6770 | done (1); | ^ mhn.c:6777:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6777 | adios (NULLCP, "out of memory"); | ^ mhn.c:6790:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6790 | adios (NULLCP, "out of memory"); | ^ mhn.c:6792:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6792 | done (1); | ^ mhn.c:6798:21: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6798 | p -> c_file = add (buffer, NULLCP); | ^ mhn.c:6805:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6805 | adios (NULLCP, "out of memory"); | ^ mhn.c:6813:9: warning: passing arguments to 'm_fmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6813 | m_fmsg (mp); | ^ mhn.c:6818:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6818 | if (uleq (ci -> ci_type, "end")) { | ^ mhn.c:6824:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6824 | if (!uleq (ci -> ci_type, "begin")) | ^ mhn.c:6825:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6825 | adios (NULLCP, "unknown directive \"#%s\"", ci -> ci_type); | ^ mhn.c:6831:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6831 | if (uleq (ci -> ci_magic, "alternative")) | ^ mhn.c:6834:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6834 | if (uleq (ci -> ci_magic, "parallel")) | ^ mhn.c:6837:15: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6837 | if (uprf (ci -> ci_magic, "digest")) | ^ mhn.c:6844:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6844 | done (1); | ^ mhn.c:6851:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6851 | adios (NULLCP, "out of memory"); | ^ mhn.c:6861:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6861 | adios (NULLCP, "empty \"#begin ... #end\" sequence"); | ^ mhn.c:6868:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6868 | adios (NULLCP, "out of memory"); | ^ mhn.c:6872:14: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6872 | admonish (NULLCP, "premature end-of-file, missing #end"); | ^ mhn.c:6474:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6474 | static int user_content (in, file, buf, ctp) | ^ mhn.c:346:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 346 | static int user_content (), compose_content (), output_content (); | ^ mhn.c:6892:18: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6892 | msgfmt = getcpy (msgid); | ^ mhn.c:6895:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6895 | ct -> c_id = getcpy (msgid); | ^ mhn.c:6878:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6878 | static void set_id (ct, top) | ^ mhn.c:347:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 347 | static void free_content (), flush_errors (), set_id (); | ^ mhn.c:6967:27: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6967 | p -> c_partno = add (partnam, NULLCP); | ^ mhn.c:6995:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6995 | if (p -> c_rfc934 = is934) | ~~~~~~~~~~~~~~^~~~~~~ mhn.c:6995:22: note: place parentheses around the assignment to silence this warning 6995 | if (p -> c_rfc934 = is934) | ^ | ( ) mhn.c:6995:22: note: use '==' to turn this assignment into an equality comparison 6995 | if (p -> c_rfc934 = is934) | ^ | == mhn.c:7023:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7023 | adios (NULLCP, "internal error(5)"); | ^ mhn.c:7025:32: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7025 | ct -> c_file = add (m_tmpfil (invo_name), NULLCP); | ^ mhn.c:7025:22: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7025 | ct -> c_file = add (m_tmpfil (invo_name), NULLCP); | ^ mhn.c:7086:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7086 | adios (ct -> c_file, "unable to open for writing"); | ^ mhn.c:7092:17: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7092 | adios ("fork", "unable to fork"); | ^ mhn.c:7107:8: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7107 | if (pidXwait (child_id, NULLCP)) | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mhn.c:7107:8: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mhn.c:7108:13: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7108 | done (1); | ^ mhn.c:7132:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7132 | adios (ct -> c_file, "unable to open for reading"); | ^ mhn.c:7234:11: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7234 | && uprf(mm_charset, "iso-2022-jp")) | ^ mhn.c:7261:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7261 | adios (NULLCP, "out of memory"); | ^ mhn.c:7269:18: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7269 | *ap = add ("charset=us-ascii", NULLCP); | ^ mhn.c:7273:18: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7273 | *ap = add ("charset=iso-2022-jp", NULLCP); | ^ mhn.c:7282:18: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7282 | *ap = add ("charset=unknown-8bit", NULLCP); | ^ mhn.c:7307:11: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7307 | && uprf(mm_charset, "iso-2022-jp")) | ^ mhn.c:6935:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6935 | static int compose_content (ct) | ^ mhn.c:346:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 346 | static int user_content (), compose_content (), output_content (); | ^ mhn.c:7342:26: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7342 | cp = index (*ap++ = add (buffer, NULLCP), '='); | ^ mhn.c:7359:23: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7359 | if (mailbody && uleq (*ap, "body")) | ^ mhn.c:7382:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7382 | adios(NULLCP, "out of memory"); | ^ mhn.c:7383:22: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7383 | (void) exthdr_encode(ci -> ci_comment, ep, len+1+1, TYPE_FIELD); | ^ mhn.c:7385:26: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7385 | (void) exthdr_encode(ci -> ci_comment, ep, 8+1, TYPE_FIELD); | ^ mhn.c:7406:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7406 | adios(NULLCP, "out of memory"); | ^ mhn.c:7407:22: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7407 | (void) exthdr_encode(ct -> c_descr, ep, strlen(DESCR_FIELD)+1, | ^ mhn.c:7456:19: warning: passing arguments to 'writeDigest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7456 | writeDigest (ct, out, 1); | ^ mhn.c:7459:22: warning: passing arguments to 'writeQuoted' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7459 | (void) writeQuoted (ct, out); | ^ mhn.c:7501:25: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7501 | char *dp = trimcpy (ct2 -> c_id); | ^ mhn.c:7513:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7513 | if (uleq (*ap, "name")) { | ^ mhn.c:7556:22: warning: passing arguments to 'writeBinary' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7556 | (void) writeBinary (ct, out); | ^ mhn.c:7558:20: warning: passing arguments to 'write7Bit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7558 | (void) write7Bit (ct, out); | ^ mhn.c:7576:15: warning: passing arguments to 'writeDigest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7576 | writeDigest (ct, out, 0); | ^ mhn.c:7578:25: warning: passing arguments to 'writeBase64' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7578 | (void) writeBase64 (ct, out); | ^ mhn.c:7323:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7323 | static int output_content (ct, out) | ^ mhn.c:346:49: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 346 | static int user_content (), compose_content (), output_content (); | ^ mhn.c:7596:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7596 | adios (ct -> c_file, "unable to open for reading"); | ^ mhn.c:7604:20: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7604 | (void) ml_conv(buffer); | ^ mhn.c:7605:17: warning: passing arguments to 'junet_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7605 | junet_fputs(buffer, out); | ^ mhn.c:7587:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7587 | static int write7Bit (ct, out) | ^ mhn.c:358:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 358 | static int write7Bit (), writeBinary (); | ^ mhn.c:7629:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7629 | adios (ct -> c_file, "unable to open for reading"); | ^ mhn.c:7620:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7620 | static int writeBinary (ct, out) | ^ mhn.c:358:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 358 | static int write7Bit (), writeBinary (); | ^ mhn.c:7652:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7652 | adios (ct -> c_file, "unable to open for reading"); | ^ mhn.c:7642:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7642 | static int writeQuoted (ct, out) | ^ mhn.c:359:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 359 | static int writeQuoted (), writeBase64 (), writeBase64aux (); | ^ mhn.c:7727:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7727 | adios (ct -> c_file, "unable to open for reading"); | ^ mhn.c:7729:29: warning: passing arguments to 'writeBase64aux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7729 | result = writeBase64aux (in, out); | ^ mhn.c:7719:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7719 | static int writeBase64 (ct, out) | ^ mhn.c:359:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 359 | static int writeQuoted (), writeBase64 (), writeBase64aux (); | ^ mhn.c:7737:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7737 | static int writeBase64aux (in, out) | ^ mhn.c:359:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 359 | static int writeQuoted (), writeBase64 (), writeBase64aux (); | ^ mhn.c:7801:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7801 | adios (ct -> c_file, "unable to open for reading"); | ^ mhn.c:7788:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7788 | static int writeDigest (ct, out, asciiP) | ^ mhn.c:360:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 360 | static int writeDigest (), readDigest (); | ^ mhn.c:7930:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 7929 | fprintf (stderr, "invalid MD5 digest (got %d octets)\n", | ~~ | %ld 7930 | cp - bp); | ^~~~~~~ mhn.c:7866:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7866 | static int readDigest (ct, cp) | ^ mhn.c:360:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 360 | static int writeDigest (), readDigest (); | ^ mhn.c:7976:37: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7976 | (void) strcpy (tmpfil, m_tmpfil (invo_name)); | ^ mhn.c:7978:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7978 | adios (tmpfil, "unable to open for writing"); | ^ mhn.c:8003:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8003 | adios (tmpfil, "error writing to"); | ^ mhn.c:8008:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8008 | adios (tmpfil, "error writing to"); | ^ mhn.c:8011:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8011 | adios ("failed", "fstat of %s", tmpfil); | ^ mhn.c:8016:19: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8016 | if ((cp = m_find ("signature")) && *cp) | ^ mhn.c:8017:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8017 | (void) m_putenv ("SIGNATURE", cp); | ^ mhn.c:8032:20: warning: passing arguments to 'via_post' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8032 | status = via_post (tmpfil, 0); | ^ mhn.c:8053:38: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8053 | (void) strcpy (tmpdrf, m_tmpfil (invo_name)); | ^ mhn.c:8055:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8055 | adios (tmpdrf, "unable to open for writing"); | ^ mhn.c:8075:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8075 | adios (NULLCP, "premature eof"); | ^ mhn.c:8083:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8083 | adios (tmpdrf, "error writing to"); | ^ mhn.c:8087:24: warning: passing arguments to 'via_post' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8087 | status = via_post (tmpdrf, slowsw == 0); | ^ mhn.c:8107:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8107 | done (status ? 1 : 0); | ^ mhn.c:7951:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7951 | static int via_mail (mailsw, subjsw, parmsw, descsw, cmntsw, slowsw, fromsw) | ^ mhn.c:361:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 361 | static int via_mail (), via_post (), pidcheck (); | ^ mhn.c:8125:28: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8125 | vec[nvec++] = r1bindex (postproc, '/'); | ^ mhn.c:8130:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8130 | if ((cp = m_find("sendername"))) { | ^ mhn.c:8134:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8134 | if ((cp = m_find("from-address"))) { | ^ mhn.c:8145:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8145 | adios ("fork", "unable to"); | ^ mhn.c:8156:13: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8156 | return pidXwait (child_id, postproc); | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mhn.c:8156:13: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mhn.c:8112:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8112 | static int via_post (file, queued) | ^ mhn.c:361:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 361 | static int via_mail (), via_post (), pidcheck (); | ^ mhn.c:8167:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8167 | if (ctp = cts) | ~~~~^~~~~ mhn.c:8167:13: note: place parentheses around the assignment to silence this warning 8167 | if (ctp = cts) | ^ | ( ) mhn.c:8167:13: note: use '==' to turn this assignment into an equality comparison 8167 | if (ctp = cts) | ^ | == mhn.c:8162:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8162 | void done (status) | ^ In file included from mhn.c:6: ./../h/mh.h:262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 262 | void done (); | ^ mhn.c:8179:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8179 | static int pidcheck (status) | ^ mhn.c:361:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 361 | static int via_mail (), via_post (), pidcheck (); | ^ 851 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c ftpsbr.c -o ftpsbr.o ftpsbr.c:105:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | (void) close (sd); | ^ ftpsbr.c:91:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | static int start_tcp_server (sock, backlog, opt1, opt2) | ^ ftpsbr.c:126:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | static void _asprintf (bp, what, ap) /* fmt, args, ... */ | ^ ftpsbr.c:192:12: warning: call to undeclared function 'ftp_trans'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | return ftp_trans (host, user, password, cwd, remote, local, "RETR", ascii, | ^ ftpsbr.c:182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | int ftp_get (host, user, password, cwd, remote, local, ascii, stayopen) | ^ ftpsbr.c:227:28: warning: passing arguments to 'gethostbystring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | if ((hp = gethostbystring (host)) == NULL) { | ^ ftpsbr.c:242:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 242 | (void) close_tcp_socket (ftp_fd), ftp_fd = NOTOK; | ^ ftpsbr.c:122:26: note: expanded from macro 'close_tcp_socket' 122 | #define close_tcp_socket close | ^ ftpsbr.c:245:18: warning: passing arguments to 'getreply' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | (void) getreply (1, 0); | ^ ftpsbr.c:276:23: warning: passing arguments to 'ftp_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | result = ftp_read (remote, local, cmd, ascii); | ^ ftpsbr.c:198:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | int ftp_trans (host, user, password, cwd, remote, local, cmd, ascii, | ^ ftpsbr.c:296:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | (void) close_tcp_socket (ftp_fd), ftp_fd = NOTOK; | ^ ftpsbr.c:122:26: note: expanded from macro 'close_tcp_socket' 122 | #define close_tcp_socket close | ^ ftpsbr.c:329:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | (void) close_tcp_socket (data_fd), data_fd = NOTOK; | ^ ftpsbr.c:122:26: note: expanded from macro 'close_tcp_socket' 122 | #define close_tcp_socket close | ^ ftpsbr.c:331:22: warning: passing arguments to 'getreply' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | (void) getreply (-2, 0); | ^ ftpsbr.c:338:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 338 | if (istdio = !strcmp (local, "-")) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ftpsbr.c:338:16: note: place parentheses around the assignment to silence this warning 338 | if (istdio = !strcmp (local, "-")) | ^ | ( ) ftpsbr.c:338:16: note: use '==' to turn this assignment into an equality comparison 338 | if (istdio = !strcmp (local, "-")) | ^ | == ftpsbr.c:372:7: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | if (write_tcp_socket (data_fd, buffer, cc) != cc) { | ^ ftpsbr.c:121:26: note: expanded from macro 'write_tcp_socket' 121 | #define write_tcp_socket write | ^ ftpsbr.c:377:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 377 | (void) close_tcp_socket (data_fd), data_fd = NOTOK; | ^ ftpsbr.c:122:26: note: expanded from macro 'close_tcp_socket' 122 | #define close_tcp_socket close | ^ ftpsbr.c:418:19: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 418 | while ((cc = read_tcp_socket (data_fd, buffer, sizeof buffer)) > 0) | ^ ftpsbr.c:120:26: note: expanded from macro 'read_tcp_socket' 120 | #define read_tcp_socket read | ^ ftpsbr.c:428:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 428 | (void) close_tcp_socket (data_fd), data_fd = NOTOK; | ^ ftpsbr.c:122:26: note: expanded from macro 'close_tcp_socket' 122 | #define close_tcp_socket close | ^ ftpsbr.c:436:22: warning: passing arguments to 'getreply' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | return (getreply (1, 0) == COMPLETE ? OK : NOTOK); | ^ ftpsbr.c:303:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | static int ftp_read (remote, local, cmd, ascii) | ^ ftpsbr.c:28:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static int ftp_quit(), ftp_read(), initconn(), | ^ ftpsbr.c:449:8: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 449 | (len = sizeof in_socket, &len)) == NOTOK) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/socket.h:705:74: note: passing argument to parameter here 705 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ ftpsbr.c:460:8: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 460 | (len = sizeof in_socket, &len)) == NOTOK) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/socket.h:705:74: note: passing argument to parameter here 705 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ ftpsbr.c:484:15: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 484 | if ((fd = join_tcp_client (data_fd, &in_socket)) == NOTOK) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftpsbr.c:117:3: note: expanded from macro 'join_tcp_client' 117 | (__len__ = sizeof *(sock), &__len__)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/socket.h:696:69: note: passing argument to parameter here 696 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ ftpsbr.c:488:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 488 | (void) close_tcp_socket (data_fd); | ^ ftpsbr.c:122:26: note: expanded from macro 'close_tcp_socket' 122 | #define close_tcp_socket close | ^ ftpsbr.c:505:20: warning: passing arguments to '_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | val = _command (arg1, ap); | ^ ftpsbr.c:546:9: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 546 | if (write_tcp_socket (ftp_fd, buffer, len) != len) { | ^ ftpsbr.c:121:26: note: expanded from macro 'write_tcp_socket' 121 | #define write_tcp_socket write | ^ ftpsbr.c:551:22: warning: passing arguments to 'getreply' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | return (getreply (complete, !strcmp (buffer, "QUIT"))); | ^ ftpsbr.c:529:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | static int _command (complete, ap) | ^ ftpsbr.c:29:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | dataconn(), _command(), getreply(); | ^ ftpsbr.c:584:10: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 584 | if (read_tcp_socket (ftp_fd, &c, 1) < 1) { | ^ ftpsbr.c:120:26: note: expanded from macro 'read_tcp_socket' 120 | #define read_tcp_socket read | ^ ftpsbr.c:566:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | static int getreply (complete, expecteof) | ^ ftpsbr.c:29:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | dataconn(), _command(), getreply(); | ^ 33 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xmhn mhn.o ftpsbr.o trmsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o -lcurses /usr/local/bin/ld.bfd: ../zotnet/libzot.a(lock.o): in function `lockname': lock.c:(.text+0x62e): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo mhn mhn cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c mhpath.c -o mhpath.o mhpath.c:25:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 25 | main(argc, argv) | ^ | int mhpath.c:47:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | invo_name = r1bindex (argv[0], '/'); | ^ mhpath.c:48:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if ((cp = m_find (invo_name)) != NULL) { | ^ mhpath.c:49:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ mhpath.c:49:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ mhpath.c:50:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | ap = copyip (ap, arguments); | ^ mhpath.c:54:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | (void) copyip (argv + 1, ap); | ^ mhpath.c:59:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 59 | while (cp = *argp++) { | ~~~^~~~~~~~~ mhpath.c:59:15: note: place parentheses around the assignment to silence this warning 59 | while (cp = *argp++) { | ^ | ( ) mhpath.c:59:15: note: use '==' to turn this assignment into an equality comparison 59 | while (cp = *argp++) { | ^ | == mhpath.c:61:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | switch (smatch (++cp, switches)) { | ^ mhpath.c:63:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | ambigsw (cp, switches); | ^ mhpath.c:64:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | done (1); | ^ mhpath.c:66:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | adios (NULLCP, "-%s unknown", cp); | ^ mhpath.c:70:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | help (buf, switches); | ^ mhpath.c:71:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | done (1); | ^ mhpath.c:75:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | adios (NULLCP, "only one folder at a time!"); | ^ mhpath.c:77:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ mhpath.c:85:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | if (!m_find ("path")) | ^ mhpath.c:86:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | free (path ("./", TFOLDER)); | ^ mhpath.c:90:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | maildir = m_maildir (folder); | ^ mhpath.c:93:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | done (0); | ^ mhpath.c:96:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | if (chdir (maildir) == NOTOK) | ^ mhpath.c:97:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | adios (maildir, "unable to change directory to"); | ^ mhpath.c:98:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | if (!(mp = m_gmsg (folder))) | ^ mhpath.c:99:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | adios (NULLCP, "unable to read folder %s", folder); | ^ mhpath.c:101:23: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | if ((mp = m_remsg (mp, 0, MAXFOLDER)) == NULL) | ^ mhpath.c:102:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | adios (NULLCP, "unable to allocate folder storage"); | ^ mhpath.c:106:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | if (!m_convert (mp, msgs[msgnum])) | ^ mhpath.c:107:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | done (1); | ^ mhpath.c:108:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | m_setseq (mp); | ^ mhpath.c:117:48: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | printf ("%s/%s\n", mp -> foldpath, m_name (msgnum)); | ^ mhpath.c:119:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | m_sync (mp); | ^ mhpath.c:122:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | done (0); | ^ mhpath.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | main(argc, argv) | ^ 33 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xmhpath mhpath.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo mhpath mhpath cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c msgchk.c -o msgchk.o In file included from msgchk.c:8: ./../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ msgchk.c:104:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | main (argc, argv) | ^ | int msgchk.c:122:15: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | int uid = getuid (); | ^ msgchk.c:163:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | invo_name = r1bindex (argv[0], '/'); | ^ msgchk.c:168:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | mts_init (invo_name); | ^ msgchk.c:179:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | if ((cp = m_find (invo_name)) != NULL) { | ^ msgchk.c:180:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ msgchk.c:180:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ msgchk.c:181:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | ap = copyip (ap, arguments); | ^ msgchk.c:186:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | adios (NULLCP, "too many arguments."); | ^ msgchk.c:187:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | (void) copyip (argv + 1, ap); | ^ msgchk.c:190:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | adios (NULLCP, "argument too long"); | ^ msgchk.c:195:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 195 | while (cp = *argp++) { | ~~~^~~~~~~~~ msgchk.c:195:15: note: place parentheses around the assignment to silence this warning 195 | while (cp = *argp++) { | ^ | ( ) msgchk.c:195:15: note: use '==' to turn this assignment into an equality comparison 195 | while (cp = *argp++) { | ^ | == msgchk.c:197:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | switch (smatch (++cp, switches)) { | ^ msgchk.c:199:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | ambigsw (cp, switches); | ^ msgchk.c:200:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | done (1); | ^ msgchk.c:202:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | adios (NULLCP, "-%s unknown", cp); | ^ msgchk.c:206:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | help (buf, switches); | ^ msgchk.c:207:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | done (1); | ^ msgchk.c:218:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ msgchk.c:219:26: warning: passing arguments to 'donote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | notifysw |= donote (cp, 1); | ^ msgchk.c:223:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ msgchk.c:224:27: warning: passing arguments to 'donote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | notifysw &= ~donote (cp, 0); | ^ msgchk.c:229:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ msgchk.c:233:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ msgchk.c:273:9: warning: call to undeclared function 'setuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | (void) setuid (real_uid); | ^ msgchk.c:278:26: warning: passing arguments to 'remotemail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | status = remotemail (host, user, rpop, notifysw, 1, snoop); | ^ msgchk.c:282:26: warning: call to undeclared function 'geteuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 282 | char *home = (uid = geteuid()) ? home = getenv ("HOME") : NULL; | ^ msgchk.c:287:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | adios (NULLCP, "unable to get information about user"); | ^ msgchk.c:291:25: warning: passing arguments to 'checkmail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | status = checkmail (user, home, datesw, notifysw, 1); | ^ msgchk.c:297:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 297 | for (vecp = 0; cp = vec[vecp]; vecp++) | ~~~^~~~~~~~~~~ msgchk.c:297:20: note: place parentheses around the assignment to silence this warning 297 | for (vecp = 0; cp = vec[vecp]; vecp++) | ^ | ( ) msgchk.c:297:20: note: use '==' to turn this assignment into an equality comparison 297 | for (vecp = 0; cp = vec[vecp]; vecp++) | ^ | == msgchk.c:300:24: warning: passing arguments to 'remotemail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | status += remotemail (host, cp, rpop, notifysw, 0, snoop); | ^ msgchk.c:303:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 303 | if (pw = getpwnam (cp)) | ~~~^~~~~~~~~~~~~~~ msgchk.c:303:10: note: place parentheses around the assignment to silence this warning 303 | if (pw = getpwnam (cp)) | ^ | ( ) msgchk.c:303:10: note: use '==' to turn this assignment into an equality comparison 303 | if (pw = getpwnam (cp)) | ^ | == msgchk.c:304:27: warning: passing arguments to 'checkmail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | status += checkmail (pw->pw_name, pw->pw_dir, datesw, notifysw, 0); | ^ msgchk.c:306:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | advise (NULLCP, "no such user as %s", cp); | ^ msgchk.c:309:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | done (status); | ^ msgchk.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | main (argc, argv) | ^ msgchk.c:330:20: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | switch (smatch (cp, ntswitches)) { | ^ msgchk.c:332:14: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | ambigsw (cp, ntswitches); | ^ msgchk.c:333:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | done (1); | ^ msgchk.c:335:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | adios (NULLCP, "-%snotify %s unknown", ntflag ? "" : "no", cp); | ^ msgchk.c:326:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | static int donote (cp, ntflag) | ^ msgchk.c:95:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static int donote(), checkmail(), remotemail(); | ^ msgchk.c:416:28: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | dasctime (dlocaltime ((time_t *) & st.st_atime), TW_NULL)); | ^ msgchk.c:416:16: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | dasctime (dlocaltime ((time_t *) & st.st_atime), TW_NULL)); | ^ msgchk.c:352:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | static int checkmail (user, home, datesw, notifysw, personal) | ^ msgchk.c:95:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static int donote(), checkmail(), remotemail(); | ^ msgchk.c:448:2: warning: call to undeclared function 'ruserpass'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | ruserpass (host, &user, &pass); | ^ msgchk.c:466:14: warning: call to undeclared function 'pop_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | status = pop_init (host, user, pass, snoop, rpop); | ^ msgchk.c:479:9: warning: call to undeclared function 'pop_stat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 479 | || pop_stat (&nmsgs, &nbytes) == NOTOK | ^ msgchk.c:480:9: warning: call to undeclared function 'pop_quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 480 | || pop_quit () == NOTOK) { | ^ msgchk.c:481:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | advise (NULLCP, "%s", response); | ^ msgchk.c:430:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | static int remotemail (host, user, rpop, notifysw, personal, snoop) | ^ msgchk.c:95:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static int donote(), checkmail(), remotemail(); | ^ 54 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xmsgchk msgchk.o popsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo msgchk msgchk cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c msh.c -o msh.o In file included from msh.c:16: ./../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from msh.c:24: ./../h/mshsbr.h:81:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 81 | off_t lseek (); | ^ /usr/include/sys/types.h:374:8: note: conflicting prototype is here 374 | off_t lseek(int, off_t, int); | ^ msh.c:188:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 188 | static msh(), m_gMsgs(), scanrange(), scanstring(), quit(); | ~~~~~~ ^ | int msh.c:188:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 188 | static msh(), m_gMsgs(), scanrange(), scanstring(), quit(); | ~~~~~~ ^ | int msh.c:188:27: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 188 | static msh(), m_gMsgs(), scanrange(), scanstring(), quit(); | ~~~~~~ ^ | int msh.c:188:40: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 188 | static msh(), m_gMsgs(), scanrange(), scanstring(), quit(); | ~~~~~~ ^ | int msh.c:188:54: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 188 | static msh(), m_gMsgs(), scanrange(), scanstring(), quit(); | ~~~~~~ ^ | int msh.c:189:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 189 | static fin_io(), m_init(); | ~~~~~~ ^ | int msh.c:189:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 189 | static fin_io(), m_init(); | ~~~~~~ ^ | int msh.c:197:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 197 | main (argc, argv) | ^ | int msh.c:223:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | invo_name = r1bindex (argv[0], '/'); | ^ msh.c:224:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | mts_init (invo_name); | ^ msh.c:225:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | if ((cp = m_find (invo_name)) != NULL) { | ^ msh.c:226:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ msh.c:226:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ msh.c:227:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | ap = copyip (ap, arguments); | ^ msh.c:231:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | (void) copyip (argv + 1, ap); | ^ msh.c:236:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 236 | while (cp = *argp++) { | ~~~^~~~~~~~~ msh.c:236:15: note: place parentheses around the assignment to silence this warning 236 | while (cp = *argp++) { | ^ | ( ) msh.c:236:15: note: use '==' to turn this assignment into an equality comparison 236 | while (cp = *argp++) { | ^ | == msh.c:238:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | switch (smatch (++cp, switches)) { | ^ msh.c:240:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | ambigsw (cp, switches); | ^ msh.c:241:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | done (1); | ^ msh.c:243:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | adios (NULLCP, "-%s unknown", cp); | ^ msh.c:246:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | help (buf, switches); | ^ msh.c:247:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | done (1); | ^ msh.c:251:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ msh.c:253:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | adios (NULLCP, "bad argument %s %s", argp[-2], cp); | ^ msh.c:257:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ msh.c:259:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | adios (NULLCP, "bad argument %s %s", argp[-2], cp); | ^ msh.c:263:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ msh.c:265:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | adios (NULLCP, "bad argument %s %s", argp[-2], cp); | ^ msh.c:269:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ msh.c:281:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ msh.c:286:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ msh.c:288:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | adios (NULLCP, "bad argument %s %s", argp[-2], cp); | ^ msh.c:292:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ msh.c:294:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | adios (NULLCP, "bad argument %s %s", argp[-2], cp); | ^ msh.c:299:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ msh.c:302:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | adios (NULLCP, "bad argument %s %s", argp[-2], cp); | ^ msh.c:307:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ msh.c:310:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | adios (NULLCP, "bad argument %s %s", argp[-2], cp); | ^ msh.c:323:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | adios (NULLCP, "only one folder at a time!"); | ^ msh.c:325:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ msh.c:329:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | adios (NULLCP, "only one file at a time!"); | ^ msh.c:339:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | adios (NULLCP, "use a file or a folder, not both"); | ^ msh.c:340:38: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | (void) strcpy (myfilter, libpath (mhlforward)); | ^ msh.c:352:12: warning: call to undeclared function 'sc_width'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 352 | (void) sc_width (); /* MAGIC... */ | ^ msh.c:354:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 354 | if (vmh = vmh1 && vmh2) { | ~~~~^~~~~~~~~~~~~~ msh.c:354:13: note: place parentheses around the assignment to silence this warning 354 | if (vmh = vmh1 && vmh2) { | ^ | ( ) msh.c:354:13: note: use '==' to turn this assignment into an equality comparison 354 | if (vmh = vmh1 && vmh2) { | ^ | == msh.c:355:16: warning: passing arguments to 'rcinit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | (void) rcinit (vmh1, vmh2); | ^ msh.c:365:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 365 | if (pmsh = pmsh1 && pmsh2) { | ~~~~~^~~~~~~~~~~~~~~~ msh.c:365:14: note: place parentheses around the assignment to silence this warning 365 | if (pmsh = pmsh1 && pmsh2) { | ^ | ( ) msh.c:365:14: note: use '==' to turn this assignment into an equality comparison 365 | if (pmsh = pmsh1 && pmsh2) { | ^ | == msh.c:368:6: warning: call to undeclared function 'pop_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 368 | if (pop_set (pmsh1, pmsh2, cp && *cp, myname) == NOTOK) | ^ msh.c:372:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | padios (NULLCP, "%s", response); | ^ msh.c:379:2: warning: call to undeclared function 'fsetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 379 | fsetup (folder); | ^ msh.c:381:2: warning: call to undeclared function 'setup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 381 | setup (file); | ^ msh.c:382:5: warning: call to undeclared function 'readids'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 382 | readids (id); | ^ msh.c:383:5: warning: call to undeclared function 'display_info'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 383 | display_info (id > 0 ? scansw : 0); | ^ msh.c:385:9: warning: passing arguments to 'msh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | msh (id > 0 ? scansw : 0); | ^ msh.c:387:5: warning: call to undeclared function 'm_reset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 387 | m_reset (); | ^ msh.c:389:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | done (0); | ^ msh.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | main (argc, argv) | ^ msh.c:457:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 457 | static msh (scansw) | ~~~~~~ ^ | int msh.c:481:23: warning: passing arguments to 'getcmds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | if ((i = getcmds (mshcmds, cmdp, scansw)) == EOF) { | ^ msh.c:487:26: warning: passing arguments to 'check_folder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | (void) check_folder (scansw); | ^ msh.c:488:23: warning: passing arguments to 'getargs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | if ((i = getargs (prompt, mshcmds, cmdp)) == EOF) { | ^ msh.c:521:20: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | if ((cp = m_find (cmd_name)) != NULL) { | ^ msh.c:522:35: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ msh.c:522:22: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ msh.c:523:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | ap = copyip (ap, vec); | ^ msh.c:534:16: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | (void) copyip (cmdp -> args + 1, ap); | ^ msh.c:538:22: warning: passing arguments to 'init_io' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | if (!vmh && init_io (cmdp, vmh) == NOTOK) { | ^ msh.c:555:15: warning: passing arguments to 'ttyNaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | if (!vmh || ttyN (cmdp) != NOTOK) | ^ msh.c:99:25: note: expanded from macro 'ttyN' 99 | #define ttyN(c) ttyNaux ((c), NULLCP) | ^ msh.c:556:7: warning: call to undeclared function 'forkcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 556 | forkcmd (vec, cmd_name); | ^ msh.c:560:15: warning: passing arguments to 'ttyNaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | if (!vmh || ttyN (cmdp) != NOTOK) | ^ msh.c:99:25: note: expanded from macro 'ttyN' 99 | #define ttyN(c) ttyNaux ((c), NULLCP) | ^ msh.c:561:7: warning: call to undeclared function 'distcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 561 | distcmd (vec); | ^ msh.c:565:20: warning: passing arguments to 'winN' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | if (!vmh || winN (cmdp, DISPLAY, 1) != NOTOK) | ^ msh.c:566:7: warning: call to undeclared function 'explcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 566 | explcmd (vec); | ^ msh.c:571:8: warning: call to undeclared function 'filehak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 571 | || (filehak (vec) == OK ? ttyN (cmdp) | ^ msh.c:571:30: warning: passing arguments to 'ttyNaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | || (filehak (vec) == OK ? ttyN (cmdp) | ^ msh.c:99:25: note: expanded from macro 'ttyN' 99 | #define ttyN(c) ttyNaux ((c), NULLCP) | ^ msh.c:572:13: warning: passing arguments to 'winN' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | : winN (cmdp, DISPLAY, 1)) != NOTOK) | ^ msh.c:573:7: warning: call to undeclared function 'filecmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 573 | filecmd (vec); | ^ msh.c:577:20: warning: passing arguments to 'winN' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | if (!vmh || winN (cmdp, DISPLAY, 1) != NOTOK) | ^ msh.c:578:7: warning: call to undeclared function 'foldcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 578 | foldcmd (vec); | ^ msh.c:582:15: warning: passing arguments to 'ttyNaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | if (!vmh || ttyN (cmdp) != NOTOK) | ^ msh.c:99:25: note: expanded from macro 'ttyN' 99 | #define ttyN(c) ttyNaux ((c), NULLCP) | ^ msh.c:583:7: warning: call to undeclared function 'forwcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 583 | forwcmd (vec); | ^ msh.c:587:20: warning: passing arguments to 'winN' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | if (!vmh || winN (cmdp, DISPLAY, 1) != NOTOK) | ^ msh.c:588:7: warning: call to undeclared function 'helpcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 588 | helpcmd (vec); | ^ msh.c:593:20: warning: passing arguments to 'winN' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | if (!vmh || winN (cmdp, DISPLAY, 1) != NOTOK) | ^ msh.c:594:7: warning: call to undeclared function 'markcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 594 | markcmd (vec); | ^ msh.c:599:15: warning: passing arguments to 'ttyNaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | if (!vmh || ttyN (cmdp) != NOTOK) | ^ msh.c:99:25: note: expanded from macro 'ttyN' 99 | #define ttyN(c) ttyNaux ((c), NULLCP) | ^ msh.c:600:7: warning: call to undeclared function 'mhncmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 600 | mhncmd (vec); | ^ msh.c:607:20: warning: passing arguments to 'winN' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | if (!vmh || winN (cmdp, DISPLAY, 1) != NOTOK) | ^ msh.c:608:7: warning: call to undeclared function 'showcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 608 | showcmd (vec); | ^ msh.c:613:8: warning: call to undeclared function 'packhak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 613 | || (packhak (vec) == OK ? ttyN (cmdp) | ^ msh.c:613:30: warning: passing arguments to 'ttyNaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | || (packhak (vec) == OK ? ttyN (cmdp) | ^ msh.c:99:25: note: expanded from macro 'ttyN' 99 | #define ttyN(c) ttyNaux ((c), NULLCP) | ^ msh.c:614:13: warning: passing arguments to 'winN' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | : winN (cmdp, DISPLAY, 1)) != NOTOK) | ^ msh.c:615:7: warning: call to undeclared function 'packcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 615 | packcmd (vec); | ^ msh.c:619:20: warning: passing arguments to 'winN' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | if (!vmh || winN (cmdp, DISPLAY, 1) != NOTOK) | ^ msh.c:620:7: warning: call to undeclared function 'pickcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 620 | pickcmd (vec); | ^ msh.c:624:15: warning: passing arguments to 'ttyNaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | if (!vmh || ttyN (cmdp) != NOTOK) | ^ msh.c:99:25: note: expanded from macro 'ttyN' 99 | #define ttyN(c) ttyNaux ((c), NULLCP) | ^ msh.c:625:7: warning: call to undeclared function 'replcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 625 | replcmd (vec); | ^ msh.c:629:20: warning: passing arguments to 'winN' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | if (!vmh || winN (cmdp, DISPLAY, 1) != NOTOK) | ^ msh.c:630:7: warning: call to undeclared function 'rmmcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 630 | rmmcmd (vec); | ^ msh.c:634:20: warning: passing arguments to 'winN' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | if (!vmh || winN (cmdp, DISPLAY, 1) != NOTOK) | ^ msh.c:635:7: warning: call to undeclared function 'scancmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 635 | scancmd (vec); | ^ msh.c:639:20: warning: passing arguments to 'winN' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | if (!vmh || winN (cmdp, DISPLAY, 1) != NOTOK) | ^ msh.c:640:7: warning: call to undeclared function 'sortcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 640 | sortcmd (vec); | ^ msh.c:644:10: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | padios (NULLCP, "no dispatch for %s", cmd_name); | ^ msh.c:649:15: warning: passing arguments to 'ttyR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | (void) ttyR (cmdp); | ^ msh.c:651:15: warning: passing arguments to 'winR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | (void) winR (cmdp); | ^ msh.c:654:13: warning: passing arguments to 'fin_io' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | fin_io (cmdp, vmh); | ^ msh.c:457:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | static msh (scansw) | ^ msh.c:188:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | static msh(), m_gMsgs(), scanrange(), scanstring(), quit(); | ^ msh.c:666:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 666 | fsetup (folder) | ^ | int msh.c:673:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | maildir = m_maildir (folder); | ^ msh.c:674:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 674 | if (chdir (maildir) == NOTOK) | ^ msh.c:675:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | padios (maildir, "unable to change directory to"); | ^ msh.c:676:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | if (!(mp = m_gmsg (folder))) | ^ msh.c:677:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | padios (NULLCP, "unable to read folder %s", folder); | ^ msh.c:679:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | padios (NULLCP, "no messages in %s", folder); | ^ msh.c:684:13: warning: passing arguments to 'm_gMsgs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | m_gMsgs (mp -> hghmsg); | ^ msh.c:695:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | fmsh = getcpy (folder); | ^ msh.c:700:14: warning: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 700 | maxfds = getdtablesize () / 2; | ^ msh.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | fsetup (folder) | ^ msh.c:708:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 708 | setup (file) | ^ | int msh.c:720:34: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | (void) strcpy (tmpfil, m_tmpfil (invo_name)); | ^ msh.c:722:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | padios (tmpfil, "unable to create"); | ^ msh.c:723:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 723 | (void) unlink (tmpfil); | ^ msh.c:728:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | padios (file, "unable to read"); | ^ msh.c:734:18: warning: passing arguments to 'read_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | msgp = read_map (file, (long) st.st_size); | ^ msh.c:741:27: warning: passing arguments to 'read_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | if ((msgp = read_file (msgp ? Msgs[msgp].m_stop : 0L, msgp + 1)) < 1) | ^ msh.c:742:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | padios (NULLCP, "no messages in %s", myname ? myname : file); | ^ msh.c:746:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | padios (NULLCP, "unable to allocate folder storage"); | ^ msh.c:753:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | mp -> foldpath = getcpy (myname ? myname : file); | ^ msh.c:761:19: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 761 | if (st.st_uid != getuid () || access (file, 02) == NOTOK) | ^ msh.c:761:32: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 761 | if (st.st_uid != getuid () || access (file, 02) == NOTOK) | ^ msh.c:798:32: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | mp -> msgattrs[0] = getcpy ("unseen"); | ^ msh.c:801:15: warning: passing arguments to 'm_unknown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | m_unknown (fp); /* the MAGIC invocation */ | ^ msh.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | setup (file) | ^ msh.c:825:23: warning: passing arguments to 'map_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | if ((i = map_read (file, size, &rp, 1)) == 0) | ^ msh.c:828:13: warning: passing arguments to 'm_gMsgs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | m_gMsgs (i); | ^ msh.c:810:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | static int read_map (file, size) | ^ msh.c:184:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | static int read_map(), read_file(), check_folder(), getargs(), parse(); | ^ msh.c:860:23: warning: passing arguments to 'mbx_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | if ((i = mbx_read (fp, pos, &rp, 1)) <= 0) | ^ msh.c:863:13: warning: passing arguments to 'm_gMsgs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | m_gMsgs ((msgp - 1) + i); | ^ msh.c:846:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | static int read_file (pos, msgp) | ^ msh.c:184:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | static int read_map(), read_file(), check_folder(), getargs(), parse(); | ^ msh.c:884:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | static int pop_statmsg (s) | ^ msh.c:898:9: warning: call to undeclared function 'pop_stat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 898 | if (pop_stat (&nmsgs, &nbytes) == NOTOK) | ^ msh.c:899:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | padios (NULLCP, "%s", response); | ^ msh.c:901:13: warning: passing arguments to 'm_gMsgs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | m_gMsgs (nmsgs); | ^ msh.c:905:5: warning: call to undeclared function 'pop_exists'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 905 | pop_exists (pop_statmsg); | ^ msh.c:911:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | static int pop_action (s) | ^ msh.c:920:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 920 | static m_gMsgs (n) | ~~~~~~ ^ | int msh.c:929:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | padios (NULLCP, "unable to allocate Msgs structure"); | ^ msh.c:940:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | padios (NULLCP, "unable to reallocate Msgs structure"); | ^ msh.c:920:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | static m_gMsgs (n) | ^ msh.c:188:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | static msh(), m_gMsgs(), scanrange(), scanstring(), quit(); | ^ msh.c:970:11: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 970 | (void) close (Msgs[msgp].m_top); | ^ msh.c:976:16: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 976 | if ((fd = open (cp = m_name (msgnum), 0)) == NOTOK) | ^ msh.c:976:34: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | if ((fd = open (cp = m_name (msgnum), 0)) == NOTOK) | ^ msh.c:977:10: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | padios (cp, "unable to open message"); | ^ msh.c:982:12: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 982 | if ((fd = dup (fd)) == NOTOK) | ^ msh.c:983:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | padios ("cached message", "unable to dup"); | ^ msh.c:985:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | padios (NULLCP, "unable to fdopen cached message"); | ^ msh.c:993:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | padios (NULLCP, "msh_ready (%d, %d) botch", msgnum, full); | ^ msh.c:995:38: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | (void) strcpy (tmpfil, m_tmpfil (invo_name)); | ^ msh.c:997:10: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | padios (tmpfil, "unable to create"); | ^ msh.c:998:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 998 | (void) unlink (tmpfil); | ^ msh.c:1000:10: warning: call to undeclared function 'pop_top'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1000 | if (pop_top (Msgs[msgnum].m_top, 4, pop_action) == NOTOK) | ^ msh.c:1009:14: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | padios (NULLCP, "%s", response); | ^ msh.c:1013:15: warning: passing arguments to 'm_eomsbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | m_eomsbr ((int (*)()) 0); /* XXX */ | ^ msh.c:1022:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | padios ("temporary file", "write error on"); | ^ msh.c:1027:6: warning: call to undeclared function 'pop_retr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1027 | if (pop_retr (Msgs[msgnum].m_top, pop_action) == NOTOK) | ^ msh.c:1036:10: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | padios (NULLCP, "%s", response); | ^ msh.c:1045:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | padios ("temporary file", "write error on"); | ^ msh.c:1054:14: warning: passing arguments to 'm_eomsbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | m_eomsbr ((int (*)()) 0); /* XXX */ | ^ msh.c:949:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | FILE *msh_ready (msgnum, full) | ^ In file included from msh.c:24: ./../h/mshsbr.h:51:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | FILE *msh_ready (); | ^ msh.c:1078:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | padios (mp -> foldpath, "unable to stat"); | ^ msh.c:1084:9: warning: passing arguments to 'm_fmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | m_fmsg (mp); | ^ msh.c:1086:20: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | if (!(mp = m_gmsg (fmsh))) | ^ msh.c:1087:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | padios (NULLCP, "unable to re-read folder %s", fmsh); | ^ msh.c:1093:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1093 | (void) close (Msgs[msgp].m_top); | ^ msh.c:1110:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | padios (mp -> foldpath, "unable to fstat"); | ^ msh.c:1117:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | padios (NULLCP, "no messages in %s", mp -> foldpath); /* XXX */ | ^ msh.c:1121:23: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | if ((mp = m_remsg (mp, 0, msgp)) == NULL) | ^ msh.c:1122:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | padios (NULLCP, "unable to allocate folder storage"); | ^ msh.c:1125:32: warning: passing arguments to 'm_seqflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1125 | flags = scansw ? m_seqflag (mp, "unseen") : 0; | ^ msh.c:1137:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | advise (NULLCP, "new messages have arrived!\007"); | ^ msh.c:1139:12: warning: passing arguments to 'scanrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | scanrange (low, hgh); | ^ msh.c:1061:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | static int check_folder (scansw) | ^ msh.c:184:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | static int read_map(), read_file(), check_folder(), getargs(), parse(); | ^ msh.c:1146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1146 | static scanrange (low, hgh) | ~~~~~~ ^ | int msh.c:1153:16: warning: passing arguments to 'scanstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | scanstring (buffer); | ^ msh.c:1146:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | static scanrange (low, hgh) | ^ msh.c:188:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | static msh(), m_gMsgs(), scanrange(), scanstring(), quit(); | ^ msh.c:1157:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1157 | static scanstring (arg) | ~~~~~~ ^ | int msh.c:1164:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | if ((cp = m_find (cmd_name = "scan")) != NULL) { | ^ msh.c:1165:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1165 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ msh.c:1165:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1165 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ msh.c:1166:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | ap = copyip (ap, vec); | ^ msh.c:1173:5: warning: call to undeclared function 'scancmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1173 | scancmd (vec); | ^ msh.c:1157:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | static scanstring (arg) | ^ msh.c:188:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | static msh(), m_gMsgs(), scanrange(), scanstring(), quit(); | ^ msh.c:1180:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1180 | readids (id) | ^ | int msh.c:1189:11: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | m_setcur (mp, mp -> lowmsg); | ^ msh.c:1190:39: warning: passing arguments to 'm_seqflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | if (id <= 0 || (flags = m_seqflag (mp, "unseen")) == 0) | ^ msh.c:1201:15: warning: call to undeclared function 'readid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1201 | if ((i = readid (msgnum)) > 0 && i < id) { | ^ msh.c:1212:11: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | m_setcur (mp, cur); | ^ msh.c:1215:36: warning: call to undeclared function 'readid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1215 | if ((gap = 1 < id && id < (i = readid (mp -> lowmsg)) ? id : 0) && !vmh) | ^ msh.c:1216:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | advise (NULLCP, "gap in ID:s, last seen %d, lowest present %d\n", | ^ msh.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | readids (id) | ^ msh.c:1242:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | padios (NULLCP, "readid (%d) botch", msgnum); | ^ msh.c:1243:6: warning: call to undeclared function 'pop_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1243 | if (pop_list (Msgs[msgnum].m_top, (int *) 0, &arg1, &arg2, &arg3) == OK | ^ msh.c:1251:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | switch (state = m_getfld (state, name, buf, sizeof buf, zp)) { | ^ msh.c:1255:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1255 | if (uleq (name, BBoard_ID)) { | ^ msh.c:1256:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | bp = getcpy (buf); | ^ msh.c:1258:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | state = m_getfld (state, name, buf, sizeof buf, zp); | ^ msh.c:1259:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | bp = add (buf, bp); | ^ msh.c:1269:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | state = m_getfld (state, name, buf, sizeof buf, zp); | ^ msh.c:1222:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | int readid (msgnum) | ^ msh.c:1280:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1280 | display_info (scansw) | ^ | int msh.c:1286:19: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1286 | interactive = isatty (fileno (stdout)); | ^ msh.c:1288:12: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1288 | if ((sd = dup (fileno (stdout))) == NOTOK) | ^ msh.c:1289:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | padios ("standard output", "unable to dup"); | ^ msh.c:1296:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1296 | padios ("standard output", "unable to fdopen"); | ^ msh.c:1299:21: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | (void) m_putenv ("mhfolder", mp -> foldpath); | ^ msh.c:1305:6: warning: call to undeclared function 'SOprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1305 | if (SOprintf ("%s", myname)) | ^ msh.c:1320:28: warning: passing arguments to 'm_seqflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | if ((flags = m_seqflag (mp, "unseen")) | ^ msh.c:1280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1280 | display_info (scansw) | ^ msh.c:1328:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1328 | static write_ids () { | ~~~~~~ ^ | int msh.c:1337:27: warning: passing arguments to 'm_seqflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | if (flags = m_seqflag (mp, "unseen")) | ^ msh.c:1337:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1337 | if (flags = m_seqflag (mp, "unseen")) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ msh.c:1337:15: note: place parentheses around the assignment to silence this warning 1337 | if (flags = m_seqflag (mp, "unseen")) | ^ | ( ) msh.c:1337:15: note: use '==' to turn this assignment into an equality comparison 1337 | if (flags = m_seqflag (mp, "unseen")) | ^ | == msh.c:1347:12: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1347 | (void) write (pfd, buffer, sizeof buffer); | ^ msh.c:1348:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1348 | (void) close (pfd); | ^ msh.c:1354:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1354 | static quit () { | ~~~~~~ ^ | int msh.c:1367:18: warning: passing arguments to 'rc2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | (void) rc2peer (RC_FIN, 0, NULLCP); | ^ msh.c:1372:17: warning: passing arguments to 'ttyNaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | (void) ttyNaux (NULLCMD, "FAST"); | ^ msh.c:1374:23: warning: passing arguments to 'lkfopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1374 | if ((dp = lkfopen (mp -> foldpath, "r")) == NULL) { | ^ msh.c:1375:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | advise (mp -> foldpath, "unable to lock"); | ^ msh.c:1377:18: warning: passing arguments to 'ttyR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | (void) ttyR (NULLCMD); | ^ msh.c:1383:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | advise (mp -> foldpath, "unable to stat"); | ^ msh.c:1387:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | advise (NULLCP, "new messages have arrived, no update"); | ^ msh.c:1394:16: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1394 | if (getanswer (cp)) { | ^ msh.c:1395:15: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1395 | if ((i = creat (mp -> foldpath, mode)) != NOTOK) | ^ msh.c:1396:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1396 | (void) close (i); | ^ msh.c:1398:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | advise (mp -> foldpath, "error zero'ing"); | ^ msh.c:1399:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1399 | (void) unlink (map_name (mp -> foldpath));/* XXX */ | ^ msh.c:1399:30: warning: passing arguments to 'map_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | (void) unlink (map_name (mp -> foldpath));/* XXX */ | ^ msh.c:1405:20: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | if (!getanswer (cp)) | ^ msh.c:1407:37: warning: passing arguments to 'm_backup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1407 | (void) strcpy (tmpfil, m_backup (mp -> foldpath)); | ^ msh.c:1408:24: warning: passing arguments to 'mbx_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1408 | if ((md = mbx_open (tmpfil, st.st_uid, st.st_gid, mode)) == NOTOK) { | ^ msh.c:1409:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1409 | advise (tmpfil, "unable to open"); | ^ msh.c:1415:6: warning: call to undeclared function 'pack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1415 | && pack (tmpfil, md, msgnum) == NOTOK) { | ^ msh.c:1416:23: warning: passing arguments to 'mbx_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | (void) mbx_close (tmpfil, md); | ^ msh.c:1417:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1417 | (void) unlink (tmpfil); | ^ msh.c:1418:30: warning: passing arguments to 'map_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1418 | (void) unlink (map_name (tmpfil)); | ^ msh.c:1421:22: warning: passing arguments to 'mbx_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | (void) mbx_close (tmpfil, md); | ^ msh.c:1424:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | admonish (mp -> foldpath, "unable to rename %s to", tmpfil); | ^ msh.c:1426:32: warning: passing arguments to 'map_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1426 | (void) strcpy (map1, map_name (tmpfil)); | ^ msh.c:1427:32: warning: passing arguments to 'map_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1427 | (void) strcpy (map2, map_name (mp -> foldpath)); | ^ msh.c:1430:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1430 | admonish (map2, "unable to rename %s to", map1); | ^ msh.c:1431:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1431 | (void) unlink (map1); | ^ msh.c:1439:21: warning: passing arguments to 'lkfclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1439 | (void) lkfclose (dp, mp -> foldpath); | ^ msh.c:1441:14: warning: passing arguments to 'ttyR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1441 | (void) ttyR (NULLCMD); | ^ msh.c:1659:14: warning: passing arguments to 'printsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1659 | printsw (ALL, sw, ""); | ^ msh.c:1665:12: warning: passing arguments to 'parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1665 | if (parse (buffer, cmdp) == NOTOK) | ^ msh.c:1668:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1668 | switch (i = smatch (cmdp -> args[0], sw)) { | ^ msh.c:1670:11: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1670 | ambigsw (cmdp -> args[0], sw); | ^ msh.c:1583:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | static int getargs (prompt, sw, cmdp) | ^ msh.c:184:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | static int read_map(), read_file(), check_folder(), getargs(), parse(); | ^ msh.c:1699:18: warning: passing arguments to 'peer2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1699 | switch (peer2rc (rc)) { | ^ msh.c:1701:15: warning: passing arguments to 'pQRY' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | (void) pQRY (rc -> rc_data, scansw); | ^ msh.c:1705:17: warning: passing arguments to 'pCMD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | if ((i = pCMD (rc -> rc_data, sw, cmdp)) != NOTOK) | ^ msh.c:1715:10: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1715 | padios (NULLCP, "%s", rc -> rc_data); | ^ msh.c:1718:19: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1718 | (void) fmt2peer (RC_ERR, "pLOOP protocol screw-up"); | ^ msh.c:1719:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1719 | done (1); | ^ msh.c:1687:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | static int getcmds (sw, cmdp, scansw) | ^ msh.c:185:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 185 | static int getcmds(), init_io(), initaux_io(), finaux_io(), peerwait(); | ^ msh.c:1740:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1740 | for (cp = buffer; c = *cp; cp++) | ~~^~~~~ msh.c:1740:25: note: place parentheses around the assignment to silence this warning 1740 | for (cp = buffer; c = *cp; cp++) | ^ | ( ) msh.c:1740:25: note: use '==' to turn this assignment into an equality comparison 1740 | for (cp = buffer; c = *cp; cp++) | ^ | == msh.c:1745:22: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1745 | (void) fmt2peer (RC_EOF, "null command"); | ^ msh.c:1749:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1749 | while (c = *cp++) { | ~~^~~~~~~ msh.c:1749:14: note: place parentheses around the assignment to silence this warning 1749 | while (c = *cp++) { | ^ | ( ) msh.c:1749:14: note: use '==' to turn this assignment into an equality comparison 1749 | while (c = *cp++) { | ^ | == msh.c:1765:16: warning: passing arguments to 'padvise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1765 | padvise (NULLCP, "unmatched \""); | ^ msh.c:1783:15: warning: passing arguments to 'padvise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1783 | padvise (NULLCP, "the newline character can not be quoted"); | ^ msh.c:1794:15: warning: passing arguments to 'padvise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | padvise (NULLCP, "invalid null command"); | ^ msh.c:1805:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1805 | for (; c = *cp; cp++) | ~~^~~~~ msh.c:1805:12: note: place parentheses around the assignment to silence this warning 1805 | for (; c = *cp; cp++) | ^ | ( ) msh.c:1805:12: note: use '==' to turn this assignment into an equality comparison 1805 | for (; c = *cp; cp++) | ^ | == msh.c:1809:15: warning: passing arguments to 'padvise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1809 | padvise (NULLCP, cmdp -> direction != PIPIO | ^ msh.c:1818:16: warning: passing arguments to 'padvise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1818 | padvise (NULLCP, "bad name for redirect"); | ^ msh.c:1821:11: warning: call to undeclared function 'expand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1821 | if (expand (cmdp -> redirect) == NOTOK) | ^ msh.c:1725:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1725 | static int parse (buffer, cmdp) | ^ msh.c:184:64: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | static int read_map(), read_file(), check_folder(), getargs(), parse(); | ^ msh.c:1848:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1848 | if (cp = index (pp = redirect + 1, '/')) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msh.c:1848:12: note: place parentheses around the assignment to silence this warning 1848 | if (cp = index (pp = redirect + 1, '/')) | ^ | ( ) msh.c:1848:12: note: use '==' to turn this assignment into an equality comparison 1848 | if (cp = index (pp = redirect + 1, '/')) | ^ | == msh.c:1853:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1853 | if (pw = getpwnam (pp)) | ~~~^~~~~~~~~~~~~~~ msh.c:1853:9: note: place parentheses around the assignment to silence this warning 1853 | if (pw = getpwnam (pp)) | ^ | ( ) msh.c:1853:9: note: use '==' to turn this assignment into an equality comparison 1853 | if (pw = getpwnam (pp)) | ^ | == msh.c:1856:14: warning: passing arguments to 'padvise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1856 | padvise (NULLCP, "unknown user: %s", pp); | ^ msh.c:1837:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | int expand (redirect) | ^ msh.c:1877:25: warning: passing arguments to 'initaux_io' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | result = initaux_io (cmdp); | ^ msh.c:1867:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1867 | static int init_io (cmdp, vio) | ^ msh.c:185:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 185 | static int getcmds(), init_io(), initaux_io(), finaux_io(), peerwait(); | ^ msh.c:1897:11: warning: passing arguments to 'padvise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1897 | padvise (cmdp -> redirect, "unable to %s ", mode); | ^ msh.c:1905:11: warning: passing arguments to 'padvise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1905 | padvise (cmdp -> redirect, "unable to pipe"); | ^ msh.c:1914:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | padios (NULLCP, "unknown redirection for command"); | ^ msh.c:1918:9: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1918 | if (dup2 (fileno (cmdp -> stream), fileno (stdout)) == NOTOK) | ^ msh.c:1919:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1919 | padios ("standard output", "unable to dup2"); | ^ msh.c:1884:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1884 | static int initaux_io (cmdp) | ^ msh.c:185:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 185 | static int getcmds(), init_io(), initaux_io(), finaux_io(), peerwait(); | ^ msh.c:1927:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1927 | static fin_io (cmdp, vio) | ~~~~~~ ^ | int msh.c:1936:15: warning: passing arguments to 'finaux_io' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1936 | finaux_io (cmdp); | ^ msh.c:1927:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1927 | static fin_io (cmdp, vio) | ^ msh.c:189:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 189 | static fin_io(), m_init(); | ^ msh.c:1951:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1951 | (void) close (fileno (stdout)); | ^ msh.c:1953:11: warning: passing arguments to 'padvise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1953 | padvise (NULLCP, "problems writing %s", cmdp -> redirect); | ^ msh.c:1965:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1965 | padios (NULLCP, "unknown redirection for command"); | ^ msh.c:1968:9: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1968 | if (dup2 (fileno (sp), fileno (stdout)) == NOTOK) | ^ msh.c:1969:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1969 | padios ("standard output", "unable to dup2"); | ^ msh.c:1941:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1941 | static int finaux_io (cmdp) | ^ msh.c:185:48: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 185 | static int getcmds(), init_io(), initaux_io(), finaux_io(), peerwait(); | ^ msh.c:1977:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1977 | static m_init () { | ~~~~~~ ^ | int msh.c:1986:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1986 | m_reset () { | ^ | int msh.c:1988:12: warning: passing arguments to 'm_fmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | m_fmsg (mp); | ^ msh.c:1992:9: warning: call to undeclared function 'pop_done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1992 | (void) pop_done (); | ^ msh.c:2000:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | void m_setcur (mp, msgnum) | ^ In file included from msh.c:10: ./../h/mh.h:299:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 299 | void m_setcur (); | ^ msh.c:2030:13: warning: passing arguments to 'discard' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2030 | discard (stdout); | ^ msh.c:2023:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2023 | static TYPESIG intrser (i) | ^ msh.c:175:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 175 | static TYPESIG intrser (), pipeser (), quitser (); | ^ msh.c:2042:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2042 | static TYPESIG pipeser (i) | ^ msh.c:175:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 175 | static TYPESIG intrser (), pipeser (), quitser (); | ^ msh.c:2062:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2062 | static TYPESIG quitser (i) | ^ msh.c:175:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 175 | static TYPESIG intrser (), pipeser (), quitser (); | ^ msh.c:2088:21: warning: passing arguments to 'peer2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | switch (peer2rc (rc)) { | ^ msh.c:2095:19: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2095 | (void) fmt2peer (RC_ERR, "bad init \"%s\"", rc -> rc_data); | ^ msh.c:2096:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | done (1); | ^ msh.c:2099:19: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2099 | (void) fmt2peer (RC_ERR, "version %d unsupported", vrsn); | ^ msh.c:2100:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2100 | done (1); | ^ msh.c:2120:21: warning: passing arguments to 'rc2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2120 | (void) rc2peer (RC_ACK, 0, NULLCP); | ^ msh.c:2124:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2124 | padios (NULLCP, "%s", rc -> rc_data); | ^ msh.c:2127:22: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2127 | (void) fmt2peer (RC_ERR, "pINI protocol screw-up"); | ^ msh.c:2128:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2128 | done (1); /* NOTREACHED */ | ^ msh.c:2140:15: warning: passing arguments to 'pQRY1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2140 | if (pQRY1 (scansw) == NOTOK || pQRY2 () == NOTOK) | ^ msh.c:2143:20: warning: passing arguments to 'rc2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2143 | (void) rc2peer (RC_EOF, 0, NULLCP); | ^ msh.c:2136:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2136 | static int pQRY (str, scansw) | ^ msh.c:186:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | static int pINI(), pQRY(), pQRY1(), pQRY2(), pCMD(), pFIN(); | ^ msh.c:2160:15: warning: passing arguments to 'winX' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2160 | switch (winX (STATUS)) { | ^ msh.c:2168:3: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2168 | _exit (0); /* NOTREACHED */ | ^ msh.c:2168:3: note: include the header or explicitly provide a declaration for '_exit' msh.c:2175:15: warning: passing arguments to 'winX' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2175 | switch (winX (DISPLAY)) { | ^ msh.c:2192:15: warning: passing arguments to 'winX' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2192 | switch (winX (STATUS)) { | ^ msh.c:2213:15: warning: passing arguments to 'winX' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2213 | switch (winX (STATUS)) { | ^ msh.c:2218:3: warning: call to undeclared function 'foldcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2218 | foldcmd (NULLVP); | ^ msh.c:2149:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2149 | static int pQRY1 (scansw) | ^ msh.c:186:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | static int pINI(), pQRY(), pQRY1(), pQRY2(), pCMD(), pFIN(); | ^ msh.c:2248:15: warning: passing arguments to 'winX' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2248 | switch (winX (SCAN)) { | ^ msh.c:2272:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2272 | else | ^ msh.c:2306:15: warning: passing arguments to 'winN' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2306 | switch (winN (NULLCMD, SCAN, 0)) { | ^ msh.c:2316:15: warning: passing arguments to 'winR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2316 | (void) winR (NULLCMD); | ^ msh.c:2333:15: warning: passing arguments to 'winX' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2333 | switch (winX (DISPLAY)) { | ^ msh.c:2339:11: warning: passing arguments to 'printsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2339 | printsw (ALL, sw, ""); | ^ msh.c:2346:18: warning: passing arguments to 'rc2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2346 | (void) rc2peer (RC_EOF, 0, NULLCP); | ^ msh.c:2353:24: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2353 | switch (i = smatch (cmdp -> args[0], sw)) { | ^ msh.c:2355:19: warning: passing arguments to 'winX' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2355 | switch (winX (DISPLAY)) { | ^ msh.c:2360:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2360 | ambigsw (cmdp -> args[0], sw); | ^ msh.c:2366:22: warning: passing arguments to 'rc2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2366 | (void) rc2peer (RC_EOF, 0, NULLCP); | ^ msh.c:2371:22: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2371 | (void) fmt2peer (RC_ERR, | ^ msh.c:2325:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2325 | static int pCMD (str, sw, cmdp) | ^ msh.c:186:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | static int pINI(), pQRY(), pQRY1(), pQRY2(), pCMD(), pFIN(); | ^ msh.c:2389:13: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2389 | (void) alarm (ALARM); | ^ msh.c:2408:21: warning: passing arguments to 'peer2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2408 | switch (peer2rc (rc)) { | ^ msh.c:2411:21: warning: passing arguments to 'rc2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2411 | (void) rc2peer (RC_FIN, 0, NULLCP); | ^ msh.c:2415:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2415 | advise (NULLCP, "%s", rc -> rc_data); | ^ msh.c:2419:22: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2419 | (void) fmt2peer (RC_FIN, "pLOOP protocol screw-up"); | ^ msh.c:2427:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2427 | static TYPESIG alrmser (i) | ^ msh.c:123:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | static TYPESIG alrmser (); | ^ msh.c:2451:19: warning: passing arguments to 'rc2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2451 | switch (rc2rc (RC_TTY, s ? strlen (s) : 0, s, rc)) { | ^ msh.c:2458:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2458 | padios (NULLCP, "%s", rc -> rc_data);/* NOTREACHED */ | ^ msh.c:2461:22: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2461 | (void) fmt2peer (RC_ERR, "pTTY protocol screw-up"); | ^ msh.c:2462:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2462 | done (1); /* NOTREACHED */ | ^ msh.c:2435:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2435 | static int ttyNaux (cmdp, s) | ^ msh.c:187:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | static int ttyR(), ttyNaux(), winN(), winR(), winX(); | ^ msh.c:2492:19: warning: passing arguments to 'rc2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | switch (rc2rc (RC_EOF, 0, NULLCP, rc)) { | ^ msh.c:2494:21: warning: passing arguments to 'rc2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2494 | (void) rc2peer (RC_EOF, 0, NULLCP); | ^ msh.c:2498:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2498 | padios (NULLCP, "%s", rc -> rc_data);/* NOTREACHED */ | ^ msh.c:2501:22: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2501 | (void) fmt2peer (RC_ERR, "pTTY protocol screw-up"); | ^ msh.c:2502:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2502 | done (1); /* NOTREACHED */ | ^ msh.c:2473:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2473 | static int ttyR (cmdp) | ^ msh.c:187:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | static int ttyR(), ttyNaux(), winN(), winR(), winX(); | ^ msh.c:2530:20: warning: passing arguments to 'str2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2530 | switch (str2rc (RC_WIN, buffer, rc)) { | ^ msh.c:2538:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2538 | padios (NULLCP, "%s", rc -> rc_data); | ^ msh.c:2541:22: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2541 | (void) fmt2peer (RC_ERR, "pWIN protocol screw-up"); | ^ msh.c:2542:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2542 | done (1); | ^ msh.c:2545:9: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2545 | if (pipe (pd) == NOTOK) { | ^ msh.c:2546:18: warning: passing arguments to 'err2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2546 | (void) err2peer (RC_ERR, "pipe", "unable to"); | ^ msh.c:2550:22: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2550 | switch (vmhpid = fork ()) { | ^ msh.c:2552:22: warning: passing arguments to 'err2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2552 | (void) err2peer (RC_ERR, "fork", "unable to"); | ^ msh.c:2553:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2553 | (void) close (pd[0]); | ^ msh.c:2560:18: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2560 | while ((i = read (pd[0], buffer, sizeof buffer)) > 0) | ^ msh.c:2561:17: warning: passing arguments to 'rc2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2561 | switch (rc2rc (RC_DATA, i, buffer, rc)) { | ^ msh.c:2569:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2569 | advise (NULLCP, "%s", rc -> rc_data); | ^ msh.c:2573:20: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2573 | (void) fmt2peer (RC_ERR, "pWIN protocol screw-up"); | ^ msh.c:2577:17: warning: passing arguments to 'rc2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2577 | switch (rc2rc (RC_EOF, 0, NULLCP, rc)) { | ^ msh.c:2580:23: warning: passing arguments to 'rc2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2580 | (void) rc2peer (RC_EOF, 0, NULLCP); | ^ msh.c:2585:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2585 | advise (NULLCP, "%s", rc -> rc_data); | ^ msh.c:2590:20: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2590 | (void) fmt2peer (RC_ERR, "pWIN protocol screw-up"); | ^ msh.c:2595:19: warning: passing arguments to 'err2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2595 | (void) err2peer (RC_ERR, "pipe", "error reading from"); | ^ msh.c:2600:20: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2600 | if ((vmhfd0 = dup (fileno (stdin))) == NOTOK) | ^ msh.c:2601:10: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2601 | padios ("standard input", "unable to dup"); | ^ msh.c:2603:10: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2603 | padios ("standard output", "unable to dup"); | ^ msh.c:2605:10: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2605 | padios ("diagnostic output", "unable to dup"); | ^ msh.c:2608:15: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2608 | if ((i = open ("/dev/null", 0)) != NOTOK && i != fileno (stdin)) { | ^ msh.c:2609:10: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2609 | (void) dup2 (i, fileno (stdin)); | ^ msh.c:2614:10: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2614 | if (dup2 (pd[1], fileno (stdout)) == NOTOK) | ^ msh.c:2615:10: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2615 | padios ("standard output", "unable to dup2"); | ^ msh.c:2620:10: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2620 | padios ("diagnostic output", "unable to dup2"); | ^ msh.c:2508:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2508 | static int winN (cmdp, n, eof) | ^ msh.c:187:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | static int ttyR(), ttyNaux(), winN(), winR(), winX(); | ^ msh.c:2648:9: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2648 | if (dup2 (vmhfd0, fileno (stdin)) == NOTOK) | ^ msh.c:2649:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2649 | padios ("standard input", "unable to dup2"); | ^ msh.c:2651:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2651 | (void) close (vmhfd0); | ^ msh.c:2655:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2655 | padios ("standard output", "unable to dup2"); | ^ msh.c:2661:9: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2661 | padios ("diagnostic output", "unable to dup2"); | ^ msh.c:2667:27: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2667 | if ((status = pidwait (vmhpid, OK)) == 2) | ^ msh.c:2668:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2668 | done (1); | ^ msh.c:2637:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2637 | static int winR (cmdp) | ^ msh.c:187:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | static int ttyR(), ttyNaux(), winN(), winR(), winX(); | ^ msh.c:2692:20: warning: passing arguments to 'str2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2692 | switch (str2rc (RC_WIN, buffer, rc)) { | ^ msh.c:2700:13: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2700 | padios (NULLCP, "%s", rc -> rc_data); | ^ msh.c:2703:22: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2703 | (void) fmt2peer (RC_ERR, "pWIN protocol screw-up"); | ^ msh.c:2704:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2704 | done (1); | ^ msh.c:2707:9: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2707 | if (pipe (pd) == NOTOK) { | ^ msh.c:2708:18: warning: passing arguments to 'err2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2708 | (void) err2peer (RC_ERR, "pipe", "unable to"); | ^ msh.c:2712:19: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2712 | switch (pid = fork ()) { | ^ msh.c:2714:22: warning: passing arguments to 'err2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2714 | (void) err2peer (RC_ERR, "fork", "unable to"); | ^ msh.c:2715:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2715 | (void) close (pd[0]); | ^ msh.c:2721:15: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2721 | if ((i = open ("/dev/null", 0)) != NOTOK && i != fileno (stdin)) { | ^ msh.c:2722:10: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2722 | (void) dup2 (i, fileno (stdin)); | ^ msh.c:2725:13: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2725 | (void) dup2 (pd[1], fileno (stdout)); | ^ msh.c:2734:18: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2734 | while ((i = read (pd[0], buffer, sizeof buffer)) > 0) | ^ msh.c:2735:17: warning: passing arguments to 'rc2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2735 | switch (rc2rc (RC_DATA, i, buffer, rc)) { | ^ msh.c:2741:19: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2741 | (void) pidwait (pid, OK); | ^ msh.c:2745:11: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2745 | padios (NULLCP, "%s", rc -> rc_data); | ^ msh.c:2748:20: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2748 | (void) fmt2peer (RC_ERR, "pWIN protocol screw-up"); | ^ msh.c:2749:9: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2749 | done (1); | ^ msh.c:2752:17: warning: passing arguments to 'rc2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2752 | switch (rc2rc (RC_EOF, 0, NULLCP, rc)) { | ^ msh.c:2757:11: warning: passing arguments to 'padios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2757 | padios (NULLCP, "%s", rc -> rc_data); | ^ msh.c:2760:20: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2760 | (void) fmt2peer (RC_ERR, "pWIN protocol screw-up"); | ^ msh.c:2761:9: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2761 | done (1); | ^ msh.c:2764:19: warning: passing arguments to 'err2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2764 | (void) err2peer (RC_ERR, "pipe", "error reading from"); | ^ msh.c:2767:21: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2767 | (void) pidwait (pid, OK); | ^ msh.c:2676:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2676 | static int winX (n) | ^ msh.c:187:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | static int ttyR(), ttyNaux(), winN(), winR(), winX(); | ^ msh.c:2787:18: warning: passing arguments to 'err2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2787 | (void) err2peer (RC_FIN, what, fmt, a, b, c, d, e, f); | ^ msh.c:2791:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2791 | advise (what, fmt, a, b, c, d, e, f); | ^ msh.c:2793:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2793 | done (1); | ^ msh.c:2776:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2776 | void padios (what, fmt, a, b, c, d, e, f) | ^ msh.c:122:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | void padios (), padvise (); | ^ msh.c:2810:18: warning: passing arguments to 'err2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2810 | (void) err2peer (RC_ERR, what, fmt, a, b, c, d, e, f); | ^ msh.c:2812:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2812 | advise (what, fmt, a, b, c, d, e, f); | ^ msh.c:2799:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2799 | void padvise (what, fmt, a, b, c, d, e, f) | ^ msh.c:122:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | void padios (), padvise (); | ^ 456 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c mshcmds.c -o mshcmds.o In file included from mshcmds.c:18: ./../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from mshcmds.c:25: ./../h/mshsbr.h:81:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 81 | off_t lseek (); | ^ /usr/include/sys/types.h:374:8: note: conflicting prototype is here 374 | off_t lseek(int, off_t, int); | ^ mshcmds.c:48:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | static burst(), forw(), rmm(), show(), ask(), copy_message(), copy_digest(); | ~~~~~~ ^ | int mshcmds.c:48:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | static burst(), forw(), rmm(), show(), ask(), copy_message(), copy_digest(); | ~~~~~~ ^ | int mshcmds.c:48:25: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | static burst(), forw(), rmm(), show(), ask(), copy_message(), copy_digest(); | ~~~~~~ ^ | int mshcmds.c:48:32: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | static burst(), forw(), rmm(), show(), ask(), copy_message(), copy_digest(); | ~~~~~~ ^ | int mshcmds.c:48:40: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | static burst(), forw(), rmm(), show(), ask(), copy_message(), copy_digest(); | ~~~~~~ ^ | int mshcmds.c:48:47: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | static burst(), forw(), rmm(), show(), ask(), copy_message(), copy_digest(); | ~~~~~~ ^ | int mshcmds.c:48:63: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | static burst(), forw(), rmm(), show(), ask(), copy_message(), copy_digest(); | ~~~~~~ ^ | int mshcmds.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | forkcmd (args, pgm) | ^ | int mshcmds.c:74:23: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | vec[0] = r1bindex (pgm, '/'); | ^ mshcmds.c:75:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | (void) copyip (args, vec + 1); | ^ mshcmds.c:78:18: warning: passing arguments to 'm_delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | (void) m_delete (pfolder); | ^ mshcmds.c:79:12: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | m_replace (pfolder, fmsh); | ^ mshcmds.c:80:9: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | m_sync (mp); | ^ mshcmds.c:84:24: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | switch (child_id = fork ()) { | ^ mshcmds.c:86:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | advise ("fork", "unable to"); | ^ mshcmds.c:90:15: warning: passing arguments to 'closefds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | closefds (3); | ^ mshcmds.c:94:6: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | execvp (pgm, vec); | ^ mshcmds.c:97:6: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | _exit (1); | ^ mshcmds.c:97:6: note: include the header or explicitly provide a declaration for '_exit' mshcmds.c:100:13: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | (void) pidXwait (child_id, NULLCP); | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mshcmds.c:100:13: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mshcmds.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | forkcmd (args, pgm) | ^ mshcmds.c:144:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 144 | distcmd (args) | ^ | int mshcmds.c:158:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 158 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:158:15: note: place parentheses around the assignment to silence this warning 158 | while (cp = *args++) { | ^ | ( ) mshcmds.c:158:15: note: use '==' to turn this assignment into an equality comparison 158 | while (cp = *args++) { | ^ | == mshcmds.c:160:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | switch (smatch (++cp, distswit)) { | ^ mshcmds.c:162:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | ambigsw (cp, distswit); | ^ mshcmds.c:169:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | help (buf, distswit); | ^ mshcmds.c:191:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:198:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | advise (NULLCP, "sorry, no folders allowed!"); | ^ mshcmds.c:203:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | advise (NULLCP, "only one message at a time!"); | ^ mshcmds.c:215:20: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | if (!m_convert (mp, msg)) | ^ mshcmds.c:217:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | m_setseq (mp); | ^ mshcmds.c:220:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | advise (NULLCP, "only one message at a time!"); | ^ mshcmds.c:223:20: warning: passing arguments to 'process' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | (void) process (mp -> hghsel, cmd_name, vecp, vec); | ^ mshcmds.c:224:14: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | m_setcur (mp, mp -> hghsel); | ^ mshcmds.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | distcmd (args) | ^ mshcmds.c:250:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 250 | explcmd (args) | ^ | int mshcmds.c:269:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 269 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:269:15: note: place parentheses around the assignment to silence this warning 269 | while (cp = *args++) { | ^ | ( ) mshcmds.c:269:15: note: use '==' to turn this assignment into an equality comparison 269 | while (cp = *args++) { | ^ | == mshcmds.c:271:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | switch (smatch (++cp, explswit)) { | ^ mshcmds.c:273:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | ambigsw (cp, explswit); | ^ mshcmds.c:280:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | help (buf, explswit); | ^ mshcmds.c:303:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | advise (NULLCP, "sorry, no folders allowed!"); | ^ mshcmds.c:313:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | if (!m_convert (mp, msgs[msgnum])) | ^ mshcmds.c:315:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | m_setseq (mp); | ^ mshcmds.c:320:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | adios (NULLCP, "unable to allocate folder storage"); | ^ mshcmds.c:328:16: warning: passing arguments to 'burst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | if (burst (smsgs, msgnum, inplace, quietsw, verbosw) != OK) | ^ mshcmds.c:334:11: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | m_setcur (mp, mp -> lowsel); | ^ mshcmds.c:337:15: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | m_setcur (mp, hi); | ^ mshcmds.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | explcmd (args) | ^ mshcmds.c:345:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 345 | static burst (smsgs, msgnum, inplace, quietsw, verbosw) | ~~~~~~ ^ | int mshcmds.c:370:33: warning: passing arguments to 'msh_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | pos = ftell (zp = msh_ready (msgnum, 1)); | ^ mshcmds.c:387:16: warning: passing arguments to 'peekc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | && peekc (zp) == '\n') | ^ mshcmds.c:405:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | adios (NULLCP, "burst() botch -- you lose big"); | ^ mshcmds.c:420:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | advise (NULLCP, "more than %d messages", MAXFOLDER); | ^ mshcmds.c:423:23: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | if ((mp = m_remsg (mp, 0, i)) == NULL) | ^ mshcmds.c:424:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | adios (NULLCP, "unable to allocate folder storage"); | ^ mshcmds.c:450:9: warning: call to undeclared function 'readid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 450 | (void) readid (msgnum); | ^ mshcmds.c:345:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | static burst (smsgs, msgnum, inplace, quietsw, verbosw) | ^ mshcmds.c:48:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static burst(), forw(), rmm(), show(), ask(), copy_message(), copy_digest(); | ^ mshcmds.c:499:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 499 | filecmd (args) | ^ | int mshcmds.c:517:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 517 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:517:15: note: place parentheses around the assignment to silence this warning 517 | while (cp = *args++) { | ^ | ( ) mshcmds.c:517:15: note: use '==' to turn this assignment into an equality comparison 517 | while (cp = *args++) { | ^ | == mshcmds.c:519:25: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | switch (i = smatch (++cp, fileswit)) { | ^ mshcmds.c:521:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | ambigsw (cp, fileswit); | ^ mshcmds.c:529:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | help (buf, fileswit); | ^ mshcmds.c:548:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | advise (NULLCP, "sorry, -%s not allowed!", fileswit[i].sw); | ^ mshcmds.c:563:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | if (!m_convert (mp, msgs[msgnum])) | ^ mshcmds.c:565:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | m_setseq (mp); | ^ mshcmds.c:572:18: warning: passing arguments to 'process' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | if (process (msgnum, fileproc, vecp, vec)) { | ^ mshcmds.c:578:11: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | m_setcur (mp, mp -> hghsel); | ^ mshcmds.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | filecmd (args) | ^ mshcmds.c:594:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 594 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:594:15: note: place parentheses around the assignment to silence this warning 594 | while (cp = *args++) { | ^ | ( ) mshcmds.c:594:15: note: use '==' to turn this assignment into an equality comparison 594 | while (cp = *args++) { | ^ | == mshcmds.c:596:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | switch (smatch (++cp, fileswit)) { | ^ mshcmds.c:622:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | cwd = getcpy (pwd ()); | ^ mshcmds.c:623:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 623 | (void) chdir (m_maildir ("")); | ^ mshcmds.c:623:26: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | (void) chdir (m_maildir ("")); | ^ mshcmds.c:624:12: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | cp = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ mshcmds.c:625:6: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 625 | if (access (m_maildir (cp), 0) == NOTOK) | ^ mshcmds.c:625:24: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | if (access (m_maildir (cp), 0) == NOTOK) | ^ mshcmds.c:630:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 630 | (void) chdir (cwd); | ^ mshcmds.c:585:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | int filehak (args) | ^ mshcmds.c:676:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 676 | foldcmd (args) | ^ | int mshcmds.c:693:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 693 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:693:15: note: place parentheses around the assignment to silence this warning 693 | while (cp = *args++) { | ^ | ( ) mshcmds.c:693:15: note: use '==' to turn this assignment into an equality comparison 693 | while (cp = *args++) { | ^ | == mshcmds.c:695:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | switch (smatch (++cp, foldswit)) { | ^ mshcmds.c:697:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | ambigsw (cp, foldswit); | ^ mshcmds.c:705:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | help (buf, foldswit); | ^ mshcmds.c:740:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | advise (NULLCP, "only one folder at a time!\n"); | ^ mshcmds.c:744:24: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | folder = fmsh ? path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF) | ^ mshcmds.c:748:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | advise (NULLCP, "only one message at a time!\n"); | ^ mshcmds.c:757:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | advise (NULLCP, "null folder names are not permitted"); | ^ mshcmds.c:761:10: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 761 | if (access (m_maildir (folder), 04) == NOTOK) { | ^ mshcmds.c:761:28: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | if (access (m_maildir (folder), 04) == NOTOK) { | ^ mshcmds.c:762:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | advise (folder, "unable to read"); | ^ mshcmds.c:768:10: warning: call to undeclared function 'expand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 768 | if (expand (buf) == NOTOK) | ^ mshcmds.c:771:10: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 771 | if (access (folder, 04) == NOTOK) { | ^ mshcmds.c:772:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | advise (folder, "unable to read"); | ^ mshcmds.c:776:2: warning: call to undeclared function 'm_reset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 776 | m_reset (); | ^ mshcmds.c:779:6: warning: call to undeclared function 'fsetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 779 | fsetup (folder); | ^ mshcmds.c:781:6: warning: call to undeclared function 'setup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 781 | setup (folder); | ^ mshcmds.c:782:2: warning: call to undeclared function 'readids'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 782 | readids (0); | ^ mshcmds.c:783:2: warning: call to undeclared function 'display_info'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 783 | display_info (0); | ^ mshcmds.c:787:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | if (!m_convert (mp, msg)) | ^ mshcmds.c:789:11: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | m_setseq (mp); | ^ mshcmds.c:792:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | advise (NULLCP, "only one message at a time!"); | ^ mshcmds.c:795:11: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | m_setcur (mp, mp -> hghsel); | ^ mshcmds.c:804:40: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | if (mp -> lowmsg > 1 && (mp = m_remsg (mp, 1, mp -> hghmsg)) == NULL) | ^ mshcmds.c:805:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | adios (NULLCP, "unable to allocate folder storage"); | ^ mshcmds.c:820:13: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | m_setcur (mp, hole); | ^ mshcmds.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | foldcmd (args) | ^ mshcmds.c:907:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 907 | forwcmd (args) | ^ | int mshcmds.c:919:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 919 | char *mktemp (); | ^ /usr/include/stdlib.h:219:7: note: conflicting prototype is here 219 | char *mktemp(char *); | ^ mshcmds.c:926:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 926 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:926:15: note: place parentheses around the assignment to silence this warning 926 | while (cp = *args++) { | ^ | ( ) mshcmds.c:926:15: note: use '==' to turn this assignment into an equality comparison 926 | while (cp = *args++) { | ^ | == mshcmds.c:928:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | switch (smatch (++cp, forwswit)) { | ^ mshcmds.c:930:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | ambigsw (cp, forwswit); | ^ mshcmds.c:937:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | help (buf, forwswit); | ^ mshcmds.c:969:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:976:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:982:11: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 982 | if (access (filter = myfilter, 04) == NOTOK) { | ^ mshcmds.c:983:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | advise (filter, "unable to read default filter file"); | ^ mshcmds.c:992:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | advise (NULLCP, "sorry, no folders allowed!"); | ^ mshcmds.c:1007:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | if (!m_convert (mp, msgs[msgnum])) | ^ mshcmds.c:1009:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | m_setseq (mp); | ^ mshcmds.c:1013:6: warning: call to undeclared function 'expand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1013 | if (expand (buf) == NOTOK) | ^ mshcmds.c:1015:6: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1015 | if (access (filter = getcpy (libpath (buf)), 04) == NOTOK) { | ^ mshcmds.c:1015:39: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | if (access (filter = getcpy (libpath (buf)), 04) == NOTOK) { | ^ mshcmds.c:1015:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | if (access (filter = getcpy (libpath (buf)), 04) == NOTOK) { | ^ mshcmds.c:1016:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | advise (filter, "unable to read"); | ^ mshcmds.c:1021:10: warning: passing arguments to 'forw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | forw (cmd_name, filter, vecp, vec, mime); | ^ mshcmds.c:1022:14: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | m_setcur (mp, mp -> hghsel); | ^ mshcmds.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | forwcmd (args) | ^ mshcmds.c:1029:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1029 | static forw (proc, filter, vecp, vec, mime) | ~~~~~~ ^ | int mshcmds.c:1048:37: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | (void) strcpy (tmpfil, m_tmpfil (invo_name)); | ^ mshcmds.c:1051:21: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1051 | switch (child_id = fork ()) { | ^ mshcmds.c:1053:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | advise ("fork", "unable to"); | ^ mshcmds.c:1062:22: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | args[0] = r1bindex (mhlproc, '/'); | ^ mshcmds.c:1069:31: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | args[i++] = getcpy (m_name (msgnum)); | ^ mshcmds.c:1069:23: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | args[i++] = getcpy (m_name (msgnum)); | ^ mshcmds.c:1071:10: warning: call to undeclared function 'mhlsbr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1071 | (void) mhlsbr (i, args, mhl_action); | ^ mshcmds.c:1072:12: warning: passing arguments to 'm_eomsbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | m_eomsbr ((int (*) ()) 0); | ^ mshcmds.c:1077:7: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | if (pidXwait (child_id, NULLCP)) | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mshcmds.c:1077:7: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mshcmds.c:1094:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1094 | for (vecp = 1; cp = vec[vecp++]; ) | ~~~^~~~~~~~~~~~~ mshcmds.c:1094:20: note: place parentheses around the assignment to silence this warning 1094 | for (vecp = 1; cp = vec[vecp++]; ) | ^ | ( ) mshcmds.c:1094:20: note: use '==' to turn this assignment into an equality comparison 1094 | for (vecp = 1; cp = vec[vecp++]; ) | ^ | == mshcmds.c:1096:18: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | switch (smatch (++cp, forwswit)) { | ^ mshcmds.c:1124:33: warning: passing arguments to 'm_draft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | (void) strcpy (tmpfil, m_draft (NULLCP, NULLCP, NOUSE, &isdf)); | ^ mshcmds.c:1125:27: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1125 | if (!ed && !(ed = m_find ("editor"))) | ^ mshcmds.c:1140:22: warning: passing arguments to 'msh_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1140 | zp = msh_ready (msgnum, 1); | ^ mshcmds.c:1173:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | advise (NULLCP, | ^ mshcmds.c:1182:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | advise (tmpfil, "unable to create temporary file"); | ^ mshcmds.c:1191:28: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | if (!(zp = fopen (libpath (form ? form : forwcomps), "r"))) { | ^ mshcmds.c:1193:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | advise (form, "unable to open form file"); | ^ mshcmds.c:1195:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | advise (forwcomps, "unable to open default components file"); | ^ mshcmds.c:1197:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1197 | (void) unlink (tmpfil); | ^ mshcmds.c:1211:16: warning: passing arguments to 'copy_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | copy_message (msgnum, out); | ^ mshcmds.c:1222:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | advise (tmpfil, "unable to create temporary file"); | ^ mshcmds.c:1238:15: warning: passing arguments to 'copy_digest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | copy_digest (msgnum, out); | ^ mshcmds.c:1251:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | advise ("fork", "unable to"); | ^ mshcmds.c:1255:12: warning: passing arguments to 'closefds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1255 | closefds (3); | ^ mshcmds.c:1262:30: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | vec[vecp++] = r1bindex (proc, '/'); | ^ mshcmds.c:1263:23: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | (void) m_putenv ("mhdraft", tmpfil); | ^ mshcmds.c:1264:23: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | (void) unputenv ("mhfolder"); | ^ mshcmds.c:1265:23: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | (void) unputenv ("mhaltmsg"); | ^ mshcmds.c:1266:23: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | (void) m_putenv ("mhdist", "0"); | ^ mshcmds.c:1268:20: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1268 | (void) unputenv ("mheditor"); | ^ mshcmds.c:1270:20: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | (void) m_putenv ("mheditor", ed); | ^ mshcmds.c:1271:23: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | (void) m_putenv ("mhuse", "0"); | ^ mshcmds.c:1272:23: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | (void) unputenv ("mhmessages"); | ^ mshcmds.c:1273:23: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | (void) unputenv ("mhannotate"); | ^ mshcmds.c:1274:23: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | (void) unputenv ("mhinplace"); | ^ mshcmds.c:1282:3: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1282 | execvp (proc, vec); | ^ mshcmds.c:1288:10: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | (void) pidXwait (child_id, NULLCP); | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mshcmds.c:1288:10: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mshcmds.c:1295:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1295 | (void) unlink (tmpfil); | ^ mshcmds.c:1029:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | static forw (proc, filter, vecp, vec, mime) | ^ mshcmds.c:48:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static burst(), forw(), rmm(), show(), ask(), copy_message(), copy_digest(); | ^ mshcmds.c:1325:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1325 | helpcmd (args) | ^ | int mshcmds.c:1325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mshcmds.c:1365:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1365 | markcmd (args) | ^ | int mshcmds.c:1382:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1382 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:1382:15: note: place parentheses around the assignment to silence this warning 1382 | while (cp = *args++) { | ^ | ( ) mshcmds.c:1382:15: note: use '==' to turn this assignment into an equality comparison 1382 | while (cp = *args++) { | ^ | == mshcmds.c:1384:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | switch (smatch (++cp, markswit)) { | ^ mshcmds.c:1386:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | ambigsw (cp, markswit); | ^ mshcmds.c:1393:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | help (buf, markswit); | ^ mshcmds.c:1411:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:1417:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1417 | advise (NULLCP, "only %d sequences allowed!", NATTRS); | ^ mshcmds.c:1438:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | advise (NULLCP, "sorry, no folders allowed!"); | ^ mshcmds.c:1448:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1448 | else | ^ mshcmds.c:1462:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1462 | if (!m_convert (mp, msgs[msgnum])) | ^ mshcmds.c:1469:20: warning: passing arguments to 'sprintb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | ctxpath, sprintb (buf, (unsigned) ctxflags, DBITS)); | ^ mshcmds.c:1472:11: warning: passing arguments to 'sprintb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1472 | sprintb (buf, (unsigned) mp -> msgflags, FBITS)); | ^ mshcmds.c:1487:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | advise (NULLCP, "-%s requires at least one -sequence argument", | ^ mshcmds.c:1495:30: warning: passing arguments to 'm_seqnew' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1495 | if (zerosw && !m_seqnew (mp, seqs[seqp], 0)) | ^ mshcmds.c:1499:21: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1499 | if (!m_seqadd (mp, seqs[seqp], msgnum, 0)) | ^ mshcmds.c:1508:18: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1508 | if (!m_seqadd (mp, seqs[seqp], msgnum, 0)) | ^ mshcmds.c:1512:21: warning: passing arguments to 'm_seqdel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | if (!m_seqdel (mp, seqs[seqp], msgnum)) | ^ mshcmds.c:1525:16: warning: passing arguments to 'm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1525 | empty(m_seq (mp, mp -> msgattrs[i]))); | ^ mshcmds.c:1525:16: warning: passing arguments to 'm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mshcmds.c:1529:16: warning: passing arguments to 'm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1529 | empty(m_seq (mp, seqs[seqp]))); | ^ mshcmds.c:1529:16: warning: passing arguments to 'm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mshcmds.c:1528:19: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 1528 | printf ("%s%s: %s\n", seqs[seqp], | ~^ mshcmds.c:1543:15: warning: passing arguments to 'm_seqbits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1543 | m_seqbits (mp))); | ^ mshcmds.c:1542:16: warning: passing arguments to 'sprintb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1542 | sprintb (buf, (unsigned) mp -> msgstats[msgnum], | ^ mshcmds.c:1365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | markcmd (args) | ^ mshcmds.c:1618:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1618 | mhncmd (args) | ^ | int mshcmds.c:1635:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1635 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:1635:15: note: place parentheses around the assignment to silence this warning 1635 | while (cp = *args++) { | ^ | ( ) mshcmds.c:1635:15: note: use '==' to turn this assignment into an equality comparison 1635 | while (cp = *args++) { | ^ | == mshcmds.c:1637:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | switch (smatch (++cp, mhnswit)) { | ^ mshcmds.c:1639:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | ambigsw (cp, mhnswit); | ^ mshcmds.c:1646:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | help (buf, mhnswit); | ^ mshcmds.c:1682:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1682 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:1689:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1689 | advise (NULLCP, "sorry, no folders allowed!"); | ^ mshcmds.c:1702:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1702 | if (!m_convert (mp, msgs[msgnum])) | ^ mshcmds.c:1704:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | m_setseq (mp); | ^ mshcmds.c:1711:18: warning: passing arguments to 'process' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1711 | if (process (msgnum, cmd_name, vecp, vec)) { | ^ mshcmds.c:1716:14: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1716 | m_setcur (mp, mp -> hghsel); | ^ mshcmds.c:1618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1618 | mhncmd (args) | ^ mshcmds.c:1734:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1734 | packcmd (args) | ^ | int mshcmds.c:1751:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1751 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:1751:15: note: place parentheses around the assignment to silence this warning 1751 | while (cp = *args++) { | ^ | ( ) mshcmds.c:1751:15: note: use '==' to turn this assignment into an equality comparison 1751 | while (cp = *args++) { | ^ | == mshcmds.c:1753:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1753 | switch (smatch (++cp, packswit)) { | ^ mshcmds.c:1755:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1755 | ambigsw (cp, packswit); | ^ mshcmds.c:1762:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1762 | help (buf, packswit); | ^ mshcmds.c:1767:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1767 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:1773:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1773 | advise (NULLCP, "sorry, no folders allowed!"); | ^ mshcmds.c:1782:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1782 | file = path (file, TFILE); | ^ mshcmds.c:1785:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1785 | advise (file, "error on file"); | ^ mshcmds.c:1788:17: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1788 | md = getanswer (cp = concat ("Create file \"", file, "\"? ", NULLCP)); | ^ mshcmds.c:1797:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1797 | if (!m_convert (mp, msgs[msgnum])) | ^ mshcmds.c:1799:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1799 | m_setseq (mp); | ^ mshcmds.c:1801:31: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1801 | if ((md = mbx_open (file, getuid (), getgid (), m_gmprot ())) == NOTOK) { | ^ mshcmds.c:1801:42: warning: call to undeclared function 'getgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1801 | if ((md = mbx_open (file, getuid (), getgid (), m_gmprot ())) == NOTOK) { | ^ mshcmds.c:1801:24: warning: passing arguments to 'mbx_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1801 | if ((md = mbx_open (file, getuid (), getgid (), m_gmprot ())) == NOTOK) { | ^ mshcmds.c:1802:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1802 | advise (file, "unable to open"); | ^ mshcmds.c:1807:10: warning: call to undeclared function 'pack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1807 | if (pack (file, md, msgnum) == NOTOK) | ^ mshcmds.c:1809:22: warning: passing arguments to 'mbx_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1809 | (void) mbx_close (file, md); | ^ mshcmds.c:1812:11: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1812 | m_setcur (mp, mp -> lowsel); | ^ mshcmds.c:1734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1734 | packcmd (args) | ^ mshcmds.c:1828:9: warning: call to undeclared function 'readid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1828 | (void) readid (msgnum); | ^ mshcmds.c:1830:20: warning: passing arguments to 'msh_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1830 | zp = msh_ready (msgnum, 1); | ^ mshcmds.c:1831:22: warning: passing arguments to 'mbx_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1831 | return mbx_write (mailbox, md, zp, Msgs[msgnum].m_bboard_id, | ^ mshcmds.c:1820:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1820 | int pack (mailbox, md, msgnum) | ^ mshcmds.c:1844:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1844 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:1844:15: note: place parentheses around the assignment to silence this warning 1844 | while (cp = *args++) { | ^ | ( ) mshcmds.c:1844:15: note: use '==' to turn this assignment into an equality comparison 1844 | while (cp = *args++) { | ^ | == mshcmds.c:1846:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1846 | switch (smatch (++cp, packswit)) { | ^ mshcmds.c:1861:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1861 | file = path (file ? file : "./msgbox", TFILE); | ^ mshcmds.c:1862:14: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1862 | result = access (file, 0) == NOTOK ? OK : NOTOK; | ^ mshcmds.c:1837:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | int packhak (args) | ^ mshcmds.c:1924:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1924 | pickcmd (args) | ^ | int mshcmds.c:1941:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1941 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:1941:15: note: place parentheses around the assignment to silence this warning 1941 | while (cp = *args++) { | ^ | ( ) mshcmds.c:1941:15: note: use '==' to turn this assignment into an equality comparison 1941 | while (cp = *args++) { | ^ | == mshcmds.c:1947:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1947 | switch (smatch (cp, pickswit)) { | ^ mshcmds.c:1949:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1949 | ambigsw (cp, pickswit); | ^ mshcmds.c:1956:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1956 | help (buf, pickswit); | ^ mshcmds.c:1971:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1971 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:1977:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1977 | advise (NULLCP, "internal error!"); | ^ mshcmds.c:1989:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1989 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:1995:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1995 | advise (NULLCP, "only %d sequences allowed!", NATTRS); | ^ mshcmds.c:2014:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2014 | advise (NULLCP, "sorry, no folders allowed!"); | ^ mshcmds.c:2025:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | if (!m_convert (mp, msgs[msgnum])) | ^ mshcmds.c:2027:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2027 | m_setseq (mp); | ^ mshcmds.c:2030:10: warning: call to undeclared function 'pcompile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2030 | if (!pcompile (vec, NULLCP)) | ^ mshcmds.c:2040:21: warning: passing arguments to 'msh_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2040 | zp = msh_ready (msgnum, 1); | ^ mshcmds.c:2041:10: warning: call to undeclared function 'pmatches'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2041 | if (pmatches (zp, msgnum, fmsh ? 0L : Msgs[msgnum].m_start, | ^ mshcmds.c:2061:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2061 | advise (NULLCP, "no messages match specification"); | ^ mshcmds.c:2067:26: warning: passing arguments to 'm_seqnew' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2067 | if (zerosw && !m_seqnew (mp, seqs[seqp], 0)) | ^ mshcmds.c:2071:17: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2071 | if (!m_seqadd (mp, seqs[seqp], msgnum, 0)) | ^ mshcmds.c:1924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1924 | pickcmd (args) | ^ mshcmds.c:2127:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2127 | replcmd (args) | ^ | int mshcmds.c:2141:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2141 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:2141:15: note: place parentheses around the assignment to silence this warning 2141 | while (cp = *args++) { | ^ | ( ) mshcmds.c:2141:15: note: use '==' to turn this assignment into an equality comparison 2141 | while (cp = *args++) { | ^ | == mshcmds.c:2143:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2143 | switch (smatch (++cp, replswit)) { | ^ mshcmds.c:2145:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2145 | ambigsw (cp, replswit); | ^ mshcmds.c:2152:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2152 | help (buf, replswit); | ^ mshcmds.c:2181:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2181 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:2188:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2188 | advise (NULLCP, "sorry, no folders allowed!"); | ^ mshcmds.c:2193:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2193 | advise (NULLCP, "only one message at a time!"); | ^ mshcmds.c:2205:20: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2205 | if (!m_convert (mp, msg)) | ^ mshcmds.c:2207:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2207 | m_setseq (mp); | ^ mshcmds.c:2210:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2210 | advise (NULLCP, "only one message at a time!"); | ^ mshcmds.c:2213:20: warning: passing arguments to 'process' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2213 | (void) process (mp -> hghsel, cmd_name, vecp, vec); | ^ mshcmds.c:2214:14: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2214 | m_setcur (mp, mp -> hghsel); | ^ mshcmds.c:2127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2127 | replcmd (args) | ^ mshcmds.c:2228:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2228 | rmmcmd (args) | ^ | int mshcmds.c:2237:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2237 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:2237:15: note: place parentheses around the assignment to silence this warning 2237 | while (cp = *args++) { | ^ | ( ) mshcmds.c:2237:15: note: use '==' to turn this assignment into an equality comparison 2237 | while (cp = *args++) { | ^ | == mshcmds.c:2239:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2239 | switch (smatch (++cp, rmmswit)) { | ^ mshcmds.c:2241:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2241 | ambigsw (cp, rmmswit); | ^ mshcmds.c:2248:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2248 | help (buf, rmmswit); | ^ mshcmds.c:2252:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2252 | advise (NULLCP, "sorry, no folders allowed!"); | ^ mshcmds.c:2262:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2262 | if (!m_convert (mp, msgs[msgnum])) | ^ mshcmds.c:2264:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2264 | m_setseq (mp); | ^ mshcmds.c:2228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2228 | rmmcmd (args) | ^ mshcmds.c:2276:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2276 | static rmm () { | ~~~~~~ ^ | int mshcmds.c:2286:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2286 | advise (NULLCP, "more than %d messages for %s exec", | ^ mshcmds.c:2293:36: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2293 | vec[vecp++] = getcpy (m_name (msgnum)); | ^ mshcmds.c:2293:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2293 | vec[vecp++] = getcpy (m_name (msgnum)); | ^ mshcmds.c:2305:26: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2305 | if ((tfold = m_find ("Trash-Folder"))) | ^ mshcmds.c:2306:37: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2306 | tmp = opntrashf (tfold, m_maildir (fmsh), &rmp); | ^ mshcmds.c:2306:19: warning: passing arguments to 'opntrashf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2306 | tmp = opntrashf (tfold, m_maildir (fmsh), &rmp); | ^ mshcmds.c:2312:16: warning: passing arguments to 'trash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2312 | tmp = trash (msgnum, tmp, rmp); | ^ mshcmds.c:2316:52: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2316 | (void) strcpy (buffer, m_backup (cp = m_name (msgnum))); | ^ mshcmds.c:2316:39: warning: passing arguments to 'm_backup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2316 | (void) strcpy (buffer, m_backup (cp = m_name (msgnum))); | ^ mshcmds.c:2318:13: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2318 | admonish (buffer, "unable to rename %s to", cp); | ^ mshcmds.c:2337:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2337 | admonish (NULLCP, "no messages remaining in +%s", fmsh); | ^ mshcmds.c:2339:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2339 | admonish (NULLCP, "no messages remaining in %s", mp -> foldpath); | ^ mshcmds.c:2375:15: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2375 | tf = path (*tfold == '+' || *tfold == '@' ? tfold + 1 : tfold, | ^ mshcmds.c:2390:16: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2390 | tf = path ("./", TSUBCWF); | ^ mshcmds.c:2392:27: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2392 | trashdir = m_maildir (tf); | ^ mshcmds.c:2394:23: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2394 | trashdir = m_maildir (tf); | ^ mshcmds.c:2401:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2401 | adios (trashdir, "error on folder"); | ^ mshcmds.c:2403:17: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2403 | if (!getanswer (cp)) | ^ mshcmds.c:2404:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2404 | done (1); | ^ mshcmds.c:2406:15: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2406 | if (!makedir (trashdir)) | ^ mshcmds.c:2407:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2407 | adios (NULLCP, "unable to create folder %s", trashdir); | ^ mshcmds.c:2409:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2409 | if (chdir (trashdir) == NOTOK) | ^ mshcmds.c:2410:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2410 | adios (trashdir, "unable to change directory to"); | ^ mshcmds.c:2411:24: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2411 | if (!(tmp = m_gmsg (tf))) | ^ mshcmds.c:2412:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2412 | adios (NULLCP, "unable to read folder %s", tfold); | ^ mshcmds.c:2363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2363 | opntrashf (tfold, cwd, rmp) | ^ mshcmds.c:2272:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2272 | struct msgs *opntrashf (); | ^ mshcmds.c:2429:15: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2429 | msg = m_name (msgnum); | ^ mshcmds.c:2430:6: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2430 | if (unlink (msg) == NOTOK) | ^ mshcmds.c:2431:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2431 | admonish (msg, "unable to unlink"); | ^ mshcmds.c:2436:22: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2436 | if (!(tmp = m_remsg (tmp, 0, tmp -> hghoff + MAXFOLDER))) | ^ mshcmds.c:2437:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2437 | adios (NULLCP, "unable to allocate folder storage"); | ^ mshcmds.c:2449:62: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2449 | (void) sprintf (newmsg, "%s/%s", tmp -> foldpath, m_name (newnum)); | ^ mshcmds.c:2450:18: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2450 | msg = m_name (msgnum); | ^ mshcmds.c:2455:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2455 | admonish (newmsg, "unable to rename %s to", msg); | ^ mshcmds.c:2458:12: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2458 | if ((in = open(msg, 0)) == NOTOK) { | ^ mshcmds.c:2459:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2459 | admonish (msg, "unable to open message"); | ^ mshcmds.c:2463:13: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2463 | if ((out = creat (newmsg, (int) st.st_mode & 0777)) == NOTOK) { | ^ mshcmds.c:2464:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2464 | admonish (newmsg, "unable to create"); | ^ mshcmds.c:2465:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2465 | (void) close (in); | ^ mshcmds.c:2468:10: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2468 | cpydata (in, out, msg, newmsg); | ^ mshcmds.c:2469:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2469 | (void) close (in); | ^ mshcmds.c:2471:6: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2471 | if (unlink (msg) == NOTOK) | ^ mshcmds.c:2472:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2472 | admonish (msg, "unable to unlink"); | ^ mshcmds.c:2419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2419 | trash (msgnum, tmp, rmp) | ^ mshcmds.c:2273:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2273 | struct msgs *trash (); | ^ mshcmds.c:2504:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2504 | scancmd (args) | ^ | int mshcmds.c:2532:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2532 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:2532:15: note: place parentheses around the assignment to silence this warning 2532 | while (cp = *args++) { | ^ | ( ) mshcmds.c:2532:15: note: use '==' to turn this assignment into an equality comparison 2532 | while (cp = *args++) { | ^ | == mshcmds.c:2534:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2534 | switch (smatch (++cp, scanswit)) { | ^ mshcmds.c:2536:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2536 | ambigsw (cp, scanswit); | ^ mshcmds.c:2543:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2543 | help (buf, scanswit); | ^ mshcmds.c:2560:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2560 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:2567:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2567 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:2574:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2574 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:2581:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2581 | advise (NULLCP, "sorry, no folders allowed!"); | ^ mshcmds.c:2591:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2591 | if (!m_convert (mp, msgs[msgnum])) | ^ mshcmds.c:2593:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2593 | m_setseq (mp); | ^ mshcmds.c:2595:18: warning: passing arguments to 'new_fs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2595 | nfs = new_fs (form, format, FORMAT); | ^ mshcmds.c:2603:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2603 | s_form = form ? getcpy (form) : NULL; | ^ mshcmds.c:2604:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2604 | s_format = format ? getcpy (format) : NULL; | ^ mshcmds.c:2705:18: warning: passing arguments to 'msh_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2705 | zp = msh_ready (msgnum, 0); | ^ mshcmds.c:2706:24: warning: passing arguments to 'scan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2706 | switch (state = scan (zp, msgnum, 0, nfs, width, | ^ mshcmds.c:2716:38: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2716 | Msgs[msgnum].m_scanl = getcpy (scanl); | ^ mshcmds.c:2720:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2720 | advise (NULLCP, "scan() botch (%d)", state); | ^ mshcmds.c:2504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2504 | scancmd (args) | ^ mshcmds.c:2766:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2766 | showcmd (args) | ^ | int mshcmds.c:2784:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2784 | if (uleq (cmd_name, "next")) | ^ mshcmds.c:2787:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2787 | if (uleq (cmd_name, "prev")) | ^ mshcmds.c:2789:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2789 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:2789:15: note: place parentheses around the assignment to silence this warning 2789 | while (cp = *args++) { | ^ | ( ) mshcmds.c:2789:15: note: use '==' to turn this assignment into an equality comparison 2789 | while (cp = *args++) { | ^ | == mshcmds.c:2791:25: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2791 | switch (i = smatch (++cp, showswit)) { | ^ mshcmds.c:2793:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2793 | ambigsw (cp, showswit); | ^ mshcmds.c:2803:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2803 | help (buf, showswit); | ^ mshcmds.c:2812:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2812 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:2825:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2825 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:2835:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2835 | advise (NULLCP, "sorry, -%s not allowed!", showswit[i].sw); | ^ mshcmds.c:2839:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2839 | advise (NULLCP, "sorry, no folders allowed!"); | ^ mshcmds.c:2857:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2857 | if (!m_convert (mp, msgs[msgnum])) | ^ mshcmds.c:2859:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2859 | m_setseq (mp); | ^ mshcmds.c:2864:57: warning: passing arguments to 'nontext' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2864 | if ((mp -> msgstats[msgnum] & SELECTED) && nontext (msgnum)) { | ^ mshcmds.c:2865:23: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2865 | proc = (cp = m_find ("mhnproc")) ? cp : "mhn"; | ^ mshcmds.c:2882:22: warning: passing arguments to 'm_seqflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2882 | seen = m_seqflag (mp, "unseen"); | ^ mshcmds.c:2883:23: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2883 | vec[0] = r1bindex (proc, '/'); | ^ mshcmds.c:2888:32: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2888 | vec[vecp++] = getcpy (m_name (msgnum)); | ^ mshcmds.c:2888:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2888 | vec[vecp++] = getcpy (m_name (msgnum)); | ^ mshcmds.c:2890:23: warning: passing arguments to 'm_seqdel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2890 | (void) m_seqdel (mp, "unseen", msgnum); | ^ mshcmds.c:2894:11: warning: passing arguments to 'show' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2894 | show (mp -> lowsel); | ^ mshcmds.c:2895:9: warning: call to undeclared function 'mhlsbr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2895 | (void) mhlsbr (vecp, vec, mhl_action); | ^ mshcmds.c:2897:15: warning: passing arguments to 'm_eomsbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2897 | m_eomsbr ((int (*)()) 0); | ^ mshcmds.c:2907:15: warning: passing arguments to 'ask' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2907 | switch (ask (msgnum)) { | ^ mshcmds.c:2916:13: warning: passing arguments to 'show' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2916 | show (msgnum); | ^ mshcmds.c:2918:21: warning: passing arguments to 'copy_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2918 | copy_message (msgnum, stdout); | ^ mshcmds.c:2920:23: warning: passing arguments to 'process' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2920 | (void) process (msgnum, proc, vecp, vec); | ^ mshcmds.c:2923:24: warning: passing arguments to 'm_seqdel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2923 | (void) m_seqdel (mp, "unseen", msgnum); | ^ mshcmds.c:2930:14: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2930 | m_setcur (mp, mp -> hghsel); | ^ mshcmds.c:2766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2766 | showcmd (args) | ^ mshcmds.c:2935:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2935 | static show (msgnum) | ~~~~~~ ^ | int mshcmds.c:2939:9: warning: call to undeclared function 'readid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2939 | (void) readid (msgnum); | ^ mshcmds.c:2935:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2935 | static show (msgnum) | ^ mshcmds.c:48:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static burst(), forw(), rmm(), show(), ask(), copy_message(), copy_digest(); | ^ mshcmds.c:2950:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2950 | static int eom_action (c) | ^ mshcmds.c:41:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static int eom_action (); | ^ mshcmds.c:2962:26: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2962 | if ((msgnum = m_atoi (name)) < mp -> lowmsg | ^ mshcmds.c:2968:23: warning: passing arguments to 'msh_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2968 | mhlfp = msh_ready (msgnum, 1); | ^ mshcmds.c:2970:11: warning: passing arguments to 'm_eomsbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2970 | m_eomsbr (eom_action); | ^ mshcmds.c:2957:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2957 | static FP mhl_action (name) | ^ mshcmds.c:42:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static FP mhl_action (); | ^ mshcmds.c:2978:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2978 | static ask (msgnum) | ~~~~~~ ^ | int mshcmds.c:2986:9: warning: call to undeclared function 'SOprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2986 | if (SOprintf ("Press to list \"%d\"...", msgnum)) { | ^ mshcmds.c:2999:13: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2999 | (void) read (fileno (stdout), buf, sizeof buf);/* fall... */ | ^ mshcmds.c:2978:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2978 | static ask (msgnum) | ^ mshcmds.c:48:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static burst(), forw(), rmm(), show(), ask(), copy_message(), copy_digest(); | ^ mshcmds.c:3044:20: warning: passing arguments to 'msh_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3044 | fp = msh_ready (msgnum, 1); | ^ mshcmds.c:3054:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3054 | switch (state = m_getfld (state, name, buf, sizeof buf, fp)) { | ^ mshcmds.c:3058:19: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3058 | if (uleq (name, TYPE_FIELD)) { | ^ mshcmds.c:3062:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3062 | cp = add (buf, NULLCP); | ^ mshcmds.c:3064:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3064 | state = m_getfld (state, name, buf, sizeof buf, fp); | ^ mshcmds.c:3065:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3065 | cp = add (buf, cp); | ^ mshcmds.c:3121:23: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3121 | if (result = !uleq (bp, "plain")) | ^ mshcmds.c:3121:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3121 | if (result = !uleq (bp, "plain")) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ mshcmds.c:3121:15: note: place parentheses around the assignment to silence this warning 3121 | if (result = !uleq (bp, "plain")) | ^ | ( ) mshcmds.c:3121:15: note: use '==' to turn this assignment into an equality comparison 3121 | if (result = !uleq (bp, "plain")) | ^ | == mshcmds.c:3129:23: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3129 | if (result = !uprf (bp, "charset")) | ^ mshcmds.c:3129:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3129 | if (result = !uprf (bp, "charset")) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mshcmds.c:3129:15: note: place parentheses around the assignment to silence this warning 3129 | if (result = !uprf (bp, "charset")) | ^ | ( ) mshcmds.c:3129:15: note: use '==' to turn this assignment into an equality comparison 3129 | if (result = !uprf (bp, "charset")) | ^ | == mshcmds.c:3139:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3139 | if (bp = index (++dp, '"')) | ~~~^~~~~~~~~~~~~~~~~~~ mshcmds.c:3139:15: note: place parentheses around the assignment to silence this warning 3139 | if (bp = index (++dp, '"')) | ^ | ( ) mshcmds.c:3139:15: note: use '==' to turn this assignment into an equality comparison 3139 | if (bp = index (++dp, '"')) | ^ | == mshcmds.c:3148:24: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3148 | if ((result = !uleq (dp, chset)) | ^ mshcmds.c:3149:20: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3149 | && uleq (dp, "us-ascii") | ^ mshcmds.c:3151:21: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3151 | && (uleq (chset, "iso-2022-jp") | ^ mshcmds.c:3152:17: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3152 | || uleq (chset, "euc-jp") | ^ mshcmds.c:3153:17: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3153 | || uleq (chset, "shift_jis") | ^ mshcmds.c:3154:18: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3154 | || (uprf (chset, "iso-8859-") | ^ mshcmds.c:3155:16: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3155 | && m_atoi (chset+9) >= 1))) | ^ mshcmds.c:3164:25: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3164 | if (!(result = !uleq (bp, "text"))) { | ^ mshcmds.c:3180:19: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3180 | if (uleq (name, ENCODING_FIELD)) { | ^ mshcmds.c:3181:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3181 | cp = add (buf, NULLCP); | ^ mshcmds.c:3183:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3183 | state = m_getfld (state, name, buf, sizeof buf, fp); | ^ mshcmds.c:3184:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3184 | cp = add (buf, cp); | ^ mshcmds.c:3191:22: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3191 | result = !uleq (bp, "7bit") | ^ mshcmds.c:3192:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3192 | && !uleq (bp, "8bit") | ^ mshcmds.c:3193:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3193 | && !uleq (bp, "binary"); | ^ mshcmds.c:3203:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3203 | state = m_getfld (state, name, buf, sizeof buf, fp); | ^ mshcmds.c:3027:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3027 | static int nontext (msgnum) | ^ mshcmds.c:44:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static int nontext(); | ^ mshcmds.c:3237:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3237 | sortcmd (args) | ^ | int mshcmds.c:3255:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3255 | while (cp = *args++) { | ~~~^~~~~~~~~ mshcmds.c:3255:15: note: place parentheses around the assignment to silence this warning 3255 | while (cp = *args++) { | ^ | ( ) mshcmds.c:3255:15: note: use '==' to turn this assignment into an equality comparison 3255 | while (cp = *args++) { | ^ | == mshcmds.c:3257:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3257 | switch (smatch (++cp, sortswit)) { | ^ mshcmds.c:3259:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3259 | ambigsw (cp, sortswit); | ^ mshcmds.c:3266:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3266 | help (buf, sortswit); | ^ mshcmds.c:3271:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3271 | advise (NULLCP, "only one date field at a time!"); | ^ mshcmds.c:3275:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3275 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:3282:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3282 | advise (NULLCP, "only one text field at a time!"); | ^ mshcmds.c:3286:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3286 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:3296:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3296 | advise (NULLCP, "missing argument to %s", args[-2]); | ^ mshcmds.c:3305:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3305 | advise (NULLCP, "sorry, no folders allowed!"); | ^ mshcmds.c:3317:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3317 | if (!m_convert (mp, msgs[msgnum])) | ^ mshcmds.c:3319:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3319 | m_setseq (mp); | ^ mshcmds.c:3321:13: warning: passing arguments to 'twscopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3321 | twscopy (&tb, dtwstime ()); | ^ mshcmds.c:3329:16: warning: passing arguments to 'getws' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3329 | if (getws (datesw, subjsw, msgnum, &Msgs[msgnum])) | ^ mshcmds.c:3330:11: warning: passing arguments to 'twscopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3330 | twscopy (&Msgs[msgnum].m_tb, | ^ mshcmds.c:3334:14: warning: passing arguments to 'twscopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3334 | twscopy (&Msgs[msgnum].m_tb, &tb); | ^ mshcmds.c:3351:15: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3351 | m_setcur (mp, msgnum); | ^ mshcmds.c:3237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3237 | sortcmd (args) | ^ mshcmds.c:3379:20: warning: passing arguments to 'msh_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3379 | zp = msh_ready (msgnum, 0); | ^ mshcmds.c:3381:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3381 | switch (state = m_getfld (state, name, buf, sizeof buf, zp)) { | ^ mshcmds.c:3385:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3385 | if (uleq (name, datesw)) { | ^ mshcmds.c:3386:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3386 | bp = getcpy (buf); | ^ mshcmds.c:3388:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3388 | state = m_getfld (state, name, buf, sizeof buf, zp); | ^ mshcmds.c:3389:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3389 | bp = add (buf, bp); | ^ mshcmds.c:3391:28: warning: passing arguments to 'dparsetime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3391 | if ((tw = dparsetime (bp)) == NULL) | ^ mshcmds.c:3392:13: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3392 | admonish (NULLCP, | ^ mshcmds.c:3396:12: warning: passing arguments to 'twscopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3396 | twscopy (&(msgp->m_tb), tw); | ^ mshcmds.c:3402:26: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3402 | else if (subjsw && uleq(name, subjsw)) { | ^ mshcmds.c:3403:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3403 | bp = getcpy (buf); | ^ mshcmds.c:3405:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3405 | state = m_getfld (state, name, buf, sizeof buf, zp); | ^ mshcmds.c:3406:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3406 | bp = add (buf, bp); | ^ mshcmds.c:3408:30: warning: passing arguments to 'sosmash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3408 | msgp->m_scanl = sosmash(subjsw, bp); | ^ mshcmds.c:3415:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3415 | state = m_getfld (state, name, buf, sizeof buf, zp); | ^ mshcmds.c:3426:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3426 | admonish (NULLCP, "format error in message %d", msgnum); | ^ mshcmds.c:3434:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3434 | adios (NULLCP, "internal error -- you lose"); | ^ mshcmds.c:3441:14: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3441 | admonish (NULLCP, "no %s field in message %d", datesw, msgnum); | ^ mshcmds.c:3365:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3365 | static int getws (datesw, subjsw, msgnum, msgp) | ^ mshcmds.c:52:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static int getws (); | ^ mshcmds.c:3451:19: warning: passing arguments to 'twsort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3451 | return twsort (&a -> m_tb, &b -> m_tb); | ^ mshcmds.c:3447:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3447 | static int msgsort (a, b) | ^ mshcmds.c:51:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static int msgsort (), subsort(); | ^ mshcmds.c:3461:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3461 | if (i = strcmp (a->m_scanl, b->m_scanl)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mshcmds.c:3461:12: note: place parentheses around the assignment to silence this warning 3461 | if (i = strcmp (a->m_scanl, b->m_scanl)) | ^ | ( ) mshcmds.c:3461:12: note: use '==' to turn this assignment into an equality comparison 3461 | if (i = strcmp (a->m_scanl, b->m_scanl)) | ^ | == mshcmds.c:3464:16: warning: passing arguments to 'twsort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3464 | return twsort (&a -> m_tb, &b -> m_tb); | ^ mshcmds.c:3454:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3454 | static int subsort (a, b) | ^ mshcmds.c:51:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static int msgsort (), subsort(); | ^ mshcmds.c:3482:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3482 | if (uleq (subj, "subject")) | ^ mshcmds.c:3483:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3483 | while (c = *cp) { | ~~^~~~~ mshcmds.c:3483:15: note: place parentheses around the assignment to silence this warning 3483 | while (c = *cp) { | ^ | ( ) mshcmds.c:3483:15: note: use '==' to turn this assignment into an equality comparison 3483 | while (c = *cp) { | ^ | == mshcmds.c:3485:14: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3485 | if(uprf(cp, "re:")) | ^ mshcmds.c:3495:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3495 | while (c = *cp++) { | ~~^~~~~~~ mshcmds.c:3495:11: note: place parentheses around the assignment to silence this warning 3495 | while (c = *cp++) { | ^ | ( ) mshcmds.c:3495:11: note: use '==' to turn this assignment into an equality comparison 3495 | while (c = *cp++) { | ^ | == mshcmds.c:3472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3472 | sosmash (subj, s) | ^ mshcmds.c:53:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static char *sosmash (); | ^ mshcmds.c:3519:32: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3519 | (void) strcpy (tmpfil, m_name (msgnum)); | ^ mshcmds.c:3520:18: warning: passing arguments to 'm_delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3520 | (void) m_delete (pfolder); | ^ mshcmds.c:3521:12: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3521 | m_replace (pfolder, fmsh); | ^ mshcmds.c:3522:9: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3522 | m_sync (mp); | ^ mshcmds.c:3527:38: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3527 | (void) strcpy (tmpfil, m_scratch ("", invo_name)); | ^ mshcmds.c:3533:34: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3533 | (void) strcpy (newfil, m_tmpfil (invo_name)); | ^ mshcmds.c:3536:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3536 | advise (tmpfil, "unable to create temporary file"); | ^ mshcmds.c:3542:18: warning: passing arguments to 'copy_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3542 | copy_message (msgnum, out); | ^ mshcmds.c:3547:24: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3547 | switch (child_id = fork ()) { | ^ mshcmds.c:3549:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3549 | advise ("fork", "unable to"); | ^ mshcmds.c:3554:15: warning: passing arguments to 'closefds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3554 | closefds (3); | ^ mshcmds.c:3561:6: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3561 | execvp (proc, vec); | ^ mshcmds.c:3567:15: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3567 | status = pidXwait (child_id, NULLCP); | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mshcmds.c:3567:15: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ mshcmds.c:3572:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3572 | (void) unlink (tmpfil); | ^ mshcmds.c:3507:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3507 | static int process (msgnum, proc, vecp, vec) | ^ mshcmds.c:49:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static int process(); | ^ mshcmds.c:3578:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3578 | static copy_message (msgnum, out) | ~~~~~~ ^ | int mshcmds.c:3586:20: warning: passing arguments to 'msh_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3586 | zp = msh_ready (msgnum, 1); | ^ mshcmds.c:3578:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3578 | static copy_message (msgnum, out) | ^ mshcmds.c:48:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static burst(), forw(), rmm(), show(), ask(), copy_message(), copy_digest(); | ^ mshcmds.c:3607:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3607 | static copy_digest (msgnum, out) | ~~~~~~ ^ | int mshcmds.c:3617:20: warning: passing arguments to 'msh_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3617 | zp = msh_ready (msgnum, 1); | ^ mshcmds.c:3607:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3607 | static copy_digest (msgnum, out) | ^ mshcmds.c:48:63: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static burst(), forw(), rmm(), show(), ask(), copy_message(), copy_digest(); | ^ 502 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c vmhsbr.c -o vmhsbr.o vmhsbr.c:54:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 54 | if (fp = fopen (buffer, "w")) { | ~~~^~~~~~~~~~~~~~~~~~~~~ vmhsbr.c:54:9: note: place parentheses around the assignment to silence this warning 54 | if (fp = fopen (buffer, "w")) { | ^ | ( ) vmhsbr.c:54:9: note: use '==' to turn this assignment into an equality comparison 54 | if (fp = fopen (buffer, "w")) { | ^ | == vmhsbr.c:56:42: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | fprintf (fp, "%d: rcinit (%d, %d)\n", getpid (), rfd, wfd); | ^ vmhsbr.c:42:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | int rcinit (rfd, wfd) | ^ In file included from vmhsbr.c:11: ./../h/vmhsbr.h:33:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | int rcinit (), rcdone (), rc2rc (), str2rc (), peer2rc (), rc2peer (), | ^ vmhsbr.c:67:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | (void) close (PEERrfd); | ^ vmhsbr.c:86:17: warning: passing arguments to 'rc2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | if (rc2peer (code, len, data) == NOTOK) | ^ vmhsbr.c:89:20: warning: passing arguments to 'peer2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | return peer2rc (rc); | ^ vmhsbr.c:80:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | int rc2rc (code, len, data, rc) | ^ In file included from vmhsbr.c:11: ./../h/vmhsbr.h:33:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | int rcinit (), rcdone (), rc2rc (), str2rc (), peer2rc (), rc2peer (), | ^ vmhsbr.c:93:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | int str2rc (code, str, rc) | ^ In file included from vmhsbr.c:11: ./../h/vmhsbr.h:33:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | int rcinit (), rcdone (), rc2rc (), str2rc (), peer2rc (), rc2peer (), | ^ vmhsbr.c:109:9: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | if (read (PEERrfd, (char *) rc_head (rc), RHSIZE (rc)) != RHSIZE (rc)) | ^ vmhsbr.c:110:16: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | return rclose (rc, "read from peer lost(1)"); | ^ vmhsbr.c:113:20: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | return rclose (rc, "malloc of %d lost", rc -> rc_len + 1); | ^ vmhsbr.c:115:20: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | return rclose (rc, "read from peer lost(2)"); | ^ vmhsbr.c:123:46: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | fprintf (fp, "%d: <--- %s %d: \"%*.*s\"\n", getpid (), | ^ vmhsbr.c:103:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | int peer2rc (rc) | ^ In file included from vmhsbr.c:11: ./../h/vmhsbr.h:33:48: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | int rcinit (), rcdone (), rc2rc (), str2rc (), peer2rc (), rc2peer (), | ^ vmhsbr.c:147:46: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | fprintf (fp, "%d: ---> %s %d: \"%*.*s\"\n", getpid (), | ^ vmhsbr.c:153:9: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | if (write (PEERwfd, (char *) rc_head (rc), RHSIZE (rc)) != RHSIZE (rc)) | ^ vmhsbr.c:154:16: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | return rclose (rc, "write to peer lost(1)"); | ^ vmhsbr.c:158:20: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | return rclose (rc, "write to peer lost(2)"); | ^ vmhsbr.c:134:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | int rc2peer (code, len, data) | ^ In file included from vmhsbr.c:11: ./../h/vmhsbr.h:33:60: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | int rcinit (), rcdone (), rc2rc (), str2rc (), peer2rc (), rc2peer (), | ^ vmhsbr.c:165:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | int str2peer (code, str) | ^ In file included from vmhsbr.c:11: ./../h/vmhsbr.h:34:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | str2peer (), fmt2peer (), err2peer (); | ^ vmhsbr.c:185:21: warning: passing arguments to 'err2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | return err2peer (code, NULLCP, fmt, a, b, c, d, e, f); | ^ vmhsbr.c:175:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | int fmt2peer (code, fmt, a, b, c, d, e, f) | ^ In file included from vmhsbr.c:11: ./../h/vmhsbr.h:34:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | str2peer (), fmt2peer (), err2peer (); | ^ vmhsbr.c:192:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | int err2peer (code, what, fmt, a, b, c, d, e, f) | ^ In file included from vmhsbr.c:11: ./../h/vmhsbr.h:34:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | str2peer (), fmt2peer (), err2peer (); | ^ vmhsbr.c:242:51: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | rc -> rc_len = strlen (rc -> rc_data = getcpy (buffer)); | ^ vmhsbr.c:228:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | static int rclose (rc, fmt, a, b, c, d, e, f) | ^ vmhsbr.c:39:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | static int rclose(); | ^ 34 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c picksbr.c -o picksbr.o picksbr.c:101:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 101 | time_t time (); | ^ /usr/include/time.h:131:8: note: conflicting prototype is here 131 | time_t time(time_t *); | ^ picksbr.c:192:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | padvise (NULLCP, "%s unexpected", *argp); | ^ picksbr.c:174:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | int pcompile (vec, date) | ^ picksbr.c:210:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | padvise (NULLCP, "%s unexpected", cp); | ^ picksbr.c:216:20: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | switch (smatch (cp, parswit)) { | ^ picksbr.c:218:14: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | ambigsw (cp, parswit); | ^ picksbr.c:227:19: warning: passing arguments to 'newnexus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | o = newnexus (ORaction); | ^ picksbr.c:229:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 229 | if (o -> n_R_child = parse ()) | ~~~~~~~~~~~~~~~^~~~~~~~~~ picksbr.c:229:25: note: place parentheses around the assignment to silence this warning 229 | if (o -> n_R_child = parse ()) | ^ | ( ) picksbr.c:229:25: note: use '==' to turn this assignment into an equality comparison 229 | if (o -> n_R_child = parse ()) | ^ | == picksbr.c:231:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | padvise (NULLCP, "missing disjunctive"); | ^ picksbr.c:252:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | padvise (NULLCP, "%s unexpected", cp); | ^ picksbr.c:258:20: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | switch (smatch (cp, parswit)) { | ^ picksbr.c:260:14: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | ambigsw (cp, parswit); | ^ picksbr.c:269:19: warning: passing arguments to 'newnexus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | o = newnexus (ANDaction); | ^ picksbr.c:271:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 271 | if (o -> n_R_child = exp1 ()) | ~~~~~~~~~~~~~~~^~~~~~~~~ picksbr.c:271:25: note: place parentheses around the assignment to silence this warning 271 | if (o -> n_R_child = exp1 ()) | ^ | ( ) picksbr.c:271:25: note: use '==' to turn this assignment into an equality comparison 271 | if (o -> n_R_child = exp1 ()) | ^ | == picksbr.c:273:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | padvise (NULLCP, "missing conjunctive"); | ^ picksbr.c:299:20: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | switch (smatch (cp, parswit)) { | ^ picksbr.c:301:14: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | ambigsw (cp, parswit); | ^ picksbr.c:310:19: warning: passing arguments to 'newnexus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | n = newnexus (NOTaction); | ^ picksbr.c:311:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 311 | if (n -> n_L_child = exp3 ()) | ~~~~~~~~~~~~~~~^~~~~~~~~ picksbr.c:311:25: note: place parentheses around the assignment to silence this warning 311 | if (n -> n_L_child = exp3 ()) | ^ | ( ) picksbr.c:311:25: note: use '==' to turn this assignment into an equality comparison 311 | if (n -> n_L_child = exp3 ()) | ^ | == picksbr.c:313:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | padvise (NULLCP, "missing negation"); | ^ picksbr.c:336:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | padvise (NULLCP, "%s unexpected", cp); | ^ picksbr.c:344:24: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | switch (i = smatch (cp, parswit)) { | ^ picksbr.c:346:14: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | ambigsw (cp, parswit); | ^ picksbr.c:356:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | padvise (NULLCP, "missing group"); | ^ picksbr.c:360:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | padvise (NULLCP, "missing -rbrace"); | ^ picksbr.c:363:33: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | if (*cp++ == '-' && smatch (cp, parswit) == PRRBR) | ^ picksbr.c:365:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | padvise (NULLCP, "%s unexpected", --cp); | ^ picksbr.c:379:22: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | dp = *brkstring (temp, " ", NULLCP); | ^ picksbr.c:382:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | padvise (NULLCP, "missing argument to %s", argp[-2]); | ^ picksbr.c:385:19: warning: passing arguments to 'newnexus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | n = newnexus (GREPaction); | ^ picksbr.c:392:19: warning: passing arguments to 'newnexus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | n = newnexus (GREPaction); | ^ picksbr.c:395:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | padvise (NULLCP, "missing argument to %s", argp[-2]); | ^ picksbr.c:406:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | pp = po = getcpy(dp); | ^ picksbr.c:410:43: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | else if (*pi == '\222' && ml_ismlptr(pi+1)) { | ^ picksbr.c:421:21: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | (void) ml_conv(dp); | ^ picksbr.c:432:20: warning: passing arguments to 'gcompile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | if (!gcompile (n, dp)) { | ^ picksbr.c:433:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | padvise (NULLCP, "pattern error in %s %s", argp[-2], cp); | ^ picksbr.c:436:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | n -> n_patbuf = getcpy (dp); | ^ picksbr.c:440:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | padvise (NULLCP, "internal error!"); | ^ picksbr.c:445:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | padvise (NULLCP, "missing argument to %s", argp[-2]); | ^ picksbr.c:453:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | padvise (NULLCP, "missing argument to %s", argp[-2]); | ^ picksbr.c:456:19: warning: passing arguments to 'newnexus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | n = newnexus (TWSaction); | ^ picksbr.c:458:20: warning: passing arguments to 'tcompile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | if (!tcompile (cp, &n -> n_tws, n -> n_after = i == PRAFTR)) { | ^ picksbr.c:459:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | padvise (NULLCP, "unable to parse %s %s", argp[-2], cp); | ^ picksbr.c:474:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | adios (NULLCP, "unable to allocate component storage"); | ^ picksbr.c:468:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | static struct nexus *newnexus (action) | ^ picksbr.c:157:63: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 157 | static struct nexus *parse (), *exp1 (), *exp2 (), *exp3 (), *newnexus (); | ^ picksbr.c:501:11: warning: passing arguments to 'PRaction' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | PRaction (head, 0); | ^ picksbr.c:503:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | return (*head -> n_action) (args (head)); | ^ picksbr.c:491:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | int pmatches (fp, msgnum, start, stop) | ^ picksbr.c:542:12: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | dasctime (&n -> n_tws, TW_NULL)); | ^ picksbr.c:545:41: warning: format specifies type 'unsigned int' but the argument has type 'int (*)()' [-Wformat] 545 | fprintf (stderr, "UNKNOWN(0x%x)\n", (*n -> n_action)); | ~~ ^~~~~~~~~~~~~~~~ picksbr.c:508:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | static void PRaction (n, level) | ^ picksbr.c:154:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 154 | static void PRaction(); | ^ picksbr.c:553:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | if ((*n -> n_L_child -> n_action) (args (n -> n_L_child))) | ^ picksbr.c:555:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | return (*n -> n_R_child -> n_action) (args (n -> n_R_child)); | ^ picksbr.c:550:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | static int ORaction (params) | ^ picksbr.c:159:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 159 | static int ORaction (), ANDaction (), NOTaction (), GREPaction (), | ^ picksbr.c:562:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | if (!(*n -> n_L_child -> n_action) (args (n -> n_L_child))) | ^ picksbr.c:564:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | return (*n -> n_R_child -> n_action) (args (n -> n_R_child)); | ^ picksbr.c:559:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | static int ANDaction (params) | ^ picksbr.c:159:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 159 | static int ORaction (), ANDaction (), NOTaction (), GREPaction (), | ^ picksbr.c:571:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | return (!(*n -> n_L_child -> n_action) (args (n -> n_L_child))); | ^ picksbr.c:568:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | static int NOTaction (params) | ^ picksbr.c:159:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 159 | static int ORaction (), ANDaction (), NOTaction (), GREPaction (), | ^ picksbr.c:647:17: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | if (ml_ismlptr(sp - 1) && ep < dp) | ^ picksbr.c:576:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | static int gcompile (n, astr) | ^ picksbr.c:155:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | static int gcompile(), advance(), cclass(), tcompile(); | ^ picksbr.c:686:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | adios (NULLCP, "unable to allocate string storage"); | ^ picksbr.c:689:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | adios (NULLCP, "unable to allocate string storage"); | ^ picksbr.c:720:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 720 | else | ^ picksbr.c:725:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 725 | else { | ^ picksbr.c:737:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | adios (NULLCP, "unable to allocate string storage"); | ^ picksbr.c:749:16: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | (void) ml_conv(p1); | ^ picksbr.c:755:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | adios (NULLCP, "unable to allocate string storage"); | ^ picksbr.c:758:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | (void) copy(p1, tmpbuf); | ^ picksbr.c:759:19: warning: passing arguments to 'exthdr_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | exthdr_decode(tmpbuf, p1); | ^ picksbr.c:766:18: warning: passing arguments to 'advance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | if (advance (p1, p2)) | ^ picksbr.c:776:19: warning: passing arguments to 'advance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | if (advance (p1, p2)) | ^ picksbr.c:778:17: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | if (ml_ismlptr(p1)) | ^ picksbr.c:790:18: warning: passing arguments to 'advance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | if (advance (p1, p2)) | ^ picksbr.c:793:20: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | if (ml_ismlptr(p1)) | ^ picksbr.c:661:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | static int GREPaction (params) | ^ picksbr.c:159:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 159 | static int ORaction (), ANDaction (), NOTaction (), GREPaction (), | ^ picksbr.c:819:3: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | Get_onechar(c1, ep); | ^ picksbr.c:166:19: note: expanded from macro 'Get_onechar' 166 | if (ml_ismlptr(p))\ | ^ picksbr.c:820:3: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | Get_onechar(c2, lp); | ^ picksbr.c:166:19: note: expanded from macro 'Get_onechar' 166 | if (ml_ismlptr(p))\ | ^ picksbr.c:830:17: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | if (ml_ismlptr(lp)) | ^ picksbr.c:847:3: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | Get_onechar(c2, lp); | ^ picksbr.c:166:19: note: expanded from macro 'Get_onechar' 166 | if (ml_ismlptr(p))\ | ^ picksbr.c:848:14: warning: passing arguments to 'cclass' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | if (cclass (ep, c2, 1)) { | ^ picksbr.c:859:3: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | Get_onechar(c2, lp); | ^ picksbr.c:166:19: note: expanded from macro 'Get_onechar' 166 | if (ml_ismlptr(p))\ | ^ picksbr.c:860:14: warning: passing arguments to 'cclass' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | if (cclass (ep, c2, 0)) { | ^ picksbr.c:878:3: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | Get_onechar(c1, ep); | ^ picksbr.c:166:19: note: expanded from macro 'Get_onechar' 166 | if (ml_ismlptr(p))\ | ^ picksbr.c:880:7: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | Get_onechar(c2, lp); | ^ picksbr.c:166:19: note: expanded from macro 'Get_onechar' 166 | if (ml_ismlptr(p))\ | ^ picksbr.c:894:7: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | Get_onechar(c2, lp); | ^ picksbr.c:166:19: note: expanded from macro 'Get_onechar' 166 | if (ml_ismlptr(p))\ | ^ picksbr.c:895:19: warning: passing arguments to 'cclass' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | } while (cclass (ep, c2, ep[-1] == (CCL | STAR))); | ^ picksbr.c:907:35: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | if (lp > curlp && ml_ismlptr(lp - 1)) | ^ picksbr.c:916:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | admonish (NULLCP, "advance() botch -- you lose big"); | ^ picksbr.c:802:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | static int advance (alp, aep) | ^ picksbr.c:155:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | static int gcompile(), advance(), cclass(), tcompile(); | ^ picksbr.c:923:30: warning: parameter 'af' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 923 | static int cclass (aset, ac, af) | ^ 924 | register char *aset; 925 | { picksbr.c:923:26: warning: parameter 'ac' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 923 | static int cclass (aset, ac, af) | ^ 924 | register char *aset; 925 | { picksbr.c:930:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 930 | set = aset; | ^ ~~~~ picksbr.c:938:25: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | if (n > 1 && ml_ismlptr(set)) { | ^ picksbr.c:923:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | static int cclass (aset, ac, af) | ^ picksbr.c:155:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | static int gcompile(), advance(), cclass(), tcompile(); | ^ picksbr.c:964:25: warning: passing arguments to 'tws_parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | if ((tw = tws_parse (ap, isafter)) == NULL) | ^ picksbr.c:967:13: warning: passing arguments to 'twscopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | twscopy (tb, tw); | ^ picksbr.c:957:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | static int tcompile (ap, tb, isafter) | ^ picksbr.c:155:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | static int gcompile(), advance(), cclass(), tcompile(); | ^ picksbr.c:981:27: warning: passing arguments to 'tws_special' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | if ((tw = tws_special (ap)) != NULL) { | ^ picksbr.c:986:26: warning: passing arguments to 'dparsetime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | if ((tw = dparsetime (ap)) != NULL) | ^ picksbr.c:992:42: warning: passing arguments to 'dtimezone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | (void) sprintf (buffer, "%s %s", ap, dtwszone (ts)); | ^ ./../zotnet/tws.h:58:32: note: expanded from macro 'dtwszone' 58 | #define dtwszone(tw) dtimezone (tw -> tw_zone, tw -> tw_flags) | ^ picksbr.c:993:26: warning: passing arguments to 'dparsetime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | if ((tw = dparsetime (buffer)) != NULL) | ^ picksbr.c:997:49: warning: passing arguments to 'dtimezone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | ts -> tw_hour, ts -> tw_min, ts -> tw_sec, dtwszone (ts)); | ^ ./../zotnet/tws.h:58:32: note: expanded from macro 'dtwszone' 58 | #define dtwszone(tw) dtimezone (tw -> tw_zone, tw -> tw_flags) | ^ picksbr.c:998:26: warning: passing arguments to 'dparsetime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | if ((tw = dparsetime (buffer)) != NULL) | ^ picksbr.c:1003:26: warning: passing arguments to 'dparsetime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | if ((tw = dparsetime (buffer)) != NULL) | ^ picksbr.c:1008:10: warning: passing arguments to 'dtimezone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | ap, dtwszone (ts)); | ^ ./../zotnet/tws.h:58:32: note: expanded from macro 'dtwszone' 58 | #define dtwszone(tw) dtimezone (tw -> tw_zone, tw -> tw_flags) | ^ picksbr.c:1009:26: warning: passing arguments to 'dparsetime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | if ((tw = dparsetime (buffer)) != NULL) | ^ picksbr.c:973:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | static struct tws *tws_parse (ap, isafter) | ^ picksbr.c:98:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static struct tws *tws_parse (), *tws_special (); | ^ picksbr.c:1025:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | if (uleq (ap, "Today")) | ^ picksbr.c:1026:20: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | return dlocaltime (&clock); | ^ picksbr.c:1027:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | if (uleq (ap, "Yesterday")) { | ^ picksbr.c:1029:20: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | return dlocaltime (&clock); | ^ picksbr.c:1031:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | if (uleq (ap, "Tomorrow")) { | ^ picksbr.c:1033:20: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | return dlocaltime (&clock); | ^ picksbr.c:1037:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | if (uleq (ap, tw_ldotw[i])) | ^ picksbr.c:1040:23: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | if ((tw = dlocaltime (&clock)) == NULL) | ^ picksbr.c:1052:23: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | return dlocaltime (&clock); | ^ picksbr.c:1017:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | static struct tws *tws_special (ap) | ^ picksbr.c:98:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static struct tws *tws_parse (), *tws_special (); | ^ picksbr.c:1070:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | switch (state = m_getfld (state, name, buf, sizeof buf, fp)) { | ^ picksbr.c:1076:12: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1076 | bp = add (buf, NULLCP); | ^ picksbr.c:1078:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | state = m_getfld (state, name, buf, sizeof buf, fp); | ^ picksbr.c:1079:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | bp = add (buf, bp); | ^ picksbr.c:1081:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | if (uleq (name, n -> n_datef)) | ^ picksbr.c:1092:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | advise (NULLCP, "format error in message %d", msgnum); | ^ picksbr.c:1098:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | adios (NULLCP, "internal error -- you lose"); | ^ picksbr.c:1105:26: warning: passing arguments to 'dparsetime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1105 | if ((tw = dparsetime (bp)) == NULL) | ^ picksbr.c:1106:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | advise (NULLCP, "unable to parse %s field in message %d, matching...", | ^ picksbr.c:1109:33: warning: passing arguments to 'twsort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | state = n -> n_after ? (twsort (tw, &n -> n_tws) > 0) | ^ picksbr.c:1110:16: warning: passing arguments to 'twsort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | : (twsort (tw, &n -> n_tws) < 0); | ^ picksbr.c:1059:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | static int TWSaction (params) | ^ picksbr.c:160:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | TWSaction (); | ^ 144 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c mhlsbr.c -o mhlsbr.o mhlsbr.c:295:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 295 | static mhl_format(), evalvar(), process(), mhlfile(), free_queue(), putcomp(); | ~~~~~~ ^ | int mhlsbr.c:295:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 295 | static mhl_format(), evalvar(), process(), mhlfile(), free_queue(), putcomp(); | ~~~~~~ ^ | int mhlsbr.c:295:33: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 295 | static mhl_format(), evalvar(), process(), mhlfile(), free_queue(), putcomp(); | ~~~~~~ ^ | int mhlsbr.c:295:44: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 295 | static mhl_format(), evalvar(), process(), mhlfile(), free_queue(), putcomp(); | ~~~~~~ ^ | int mhlsbr.c:295:55: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 295 | static mhl_format(), evalvar(), process(), mhlfile(), free_queue(), putcomp(); | ~~~~~~ ^ | int mhlsbr.c:295:69: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 295 | static mhl_format(), evalvar(), process(), mhlfile(), free_queue(), putcomp(); | ~~~~~~ ^ | int mhlsbr.c:296:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 296 | static putstr(), putch(), face_format(), m_popen(); | ~~~~~~ ^ | int mhlsbr.c:296:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 296 | static putstr(), putch(), face_format(), m_popen(); | ~~~~~~ ^ | int mhlsbr.c:296:27: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 296 | static putstr(), putch(), face_format(), m_popen(); | ~~~~~~ ^ | int mhlsbr.c:296:42: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 296 | static putstr(), putch(), face_format(), m_popen(); | ~~~~~~ ^ | int mhlsbr.c:330:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | invo_name = r1bindex (argv[0], '/'); | ^ mhlsbr.c:333:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | if ((cp = m_find (invo_name)) != NULL) { | ^ mhlsbr.c:334:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | ap = brkstring (getcpy (cp), " ", "\n"); | ^ mhlsbr.c:334:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | ap = brkstring (getcpy (cp), " ", "\n"); | ^ mhlsbr.c:335:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | ap = copyip (ap, arguments); | ^ mhlsbr.c:339:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | (void) copyip (argv + 1, ap); | ^ mhlsbr.c:344:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 344 | if (cp = getenv ("FACEPROC")) | ~~~^~~~~~~~~~~~~~~~~~~~~ mhlsbr.c:344:12: note: place parentheses around the assignment to silence this warning 344 | if (cp = getenv ("FACEPROC")) | ^ | ( ) mhlsbr.c:344:12: note: use '==' to turn this assignment into an equality comparison 344 | if (cp = getenv ("FACEPROC")) | ^ | == mhlsbr.c:348:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 348 | while (cp = *argp++) { | ~~~^~~~~~~~~ mhlsbr.c:348:15: note: place parentheses around the assignment to silence this warning 348 | while (cp = *argp++) { | ^ | ( ) mhlsbr.c:348:15: note: use '==' to turn this assignment into an equality comparison 348 | while (cp = *argp++) { | ^ | == mhlsbr.c:350:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | switch (smatch (++cp, mhlswitches)) { | ^ mhlsbr.c:352:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | ambigsw (cp, mhlswitches); | ^ mhlsbr.c:353:12: warning: passing arguments to 'mhldone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | done (1); | ^ mhlsbr.c:355:13: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | adios (NULLCP, "-%s unknown\n", cp); | ^ mhlsbr.c:359:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | help (buf, mhlswitches); | ^ mhlsbr.c:360:12: warning: passing arguments to 'mhldone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | done (1); | ^ mhlsbr.c:378:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhlsbr.c:382:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhlsbr.c:387:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhlsbr.c:394:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhlsbr.c:400:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhlsbr.c:408:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhlsbr.c:410:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | adios (NULLCP, "bad argument %s %s", argp[-2], cp); | ^ mhlsbr.c:414:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhlsbr.c:416:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | adios (NULLCP, "bad argument %s %s", argp[-2], cp); | ^ mhlsbr.c:421:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhlsbr.c:425:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhlsbr.c:427:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | adios (NULLCP, "bad argument %s %s", argp[-2], cp); | ^ mhlsbr.c:431:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ mhlsbr.c:433:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | adios (NULLCP, "bad argument %s %s", argp[-2], cp); | ^ mhlsbr.c:463:18: warning: call to undeclared function 'sc_hardcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 463 | if (!nomore && !sc_hardcopy () && moreproc && *moreproc) { | ^ mhlsbr.c:468:14: warning: passing arguments to 'm_popen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | m_popen (moreproc); | ^ mhlsbr.c:479:16: warning: passing arguments to 'mhl_format' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | mhl_format (form ? form : mhlformat, length, width); | ^ mhlsbr.c:482:10: warning: passing arguments to 'process' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | process (folder, NULLCP, 1, vecp = 1); | ^ mhlsbr.c:485:14: warning: passing arguments to 'process' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | process (folder, files[i], i + 1, vecp); | ^ mhlsbr.c:511:2: warning: call to undeclared function 'm_pclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 511 | m_pclose (); | ^ mhlsbr.c:312:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | int mhl (argc, argv) | ^ mhlsbr.c:518:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 518 | static mhl_format (file, length, width) | ~~~~~~ ^ | int mhlsbr.c:538:20: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | if (stat (libpath (file), &st) != NOTOK | ^ mhlsbr.c:544:17: warning: passing arguments to 'free_queue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | free_queue (&fmthd, &fmttl); | ^ mhlsbr.c:543:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 543 | else | ^ mhlsbr.c:546:30: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | if ((fp = fopen (libpath (file), "r")) == NULL) | ^ mhlsbr.c:547:8: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | adios (file, "unable to open format file"); | ^ mhlsbr.c:556:14: warning: call to undeclared function 'sc_width'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 556 | if ((i = sc_width ()) > 5) | ^ mhlsbr.c:559:14: warning: call to undeclared function 'sc_length'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 559 | if ((i = sc_length ()) > 5) | ^ mhlsbr.c:564:19: warning: passing arguments to 'vfgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | while (vfgets (fp, &ap) == OK) { | ^ mhlsbr.c:566:16: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | (void) ml_conv(ap); | ^ mhlsbr.c:572:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 572 | if (cp = index (bp, '\n')) | ~~~^~~~~~~~~~~~~~~~~~ mhlsbr.c:572:9: note: place parentheses around the assignment to silence this warning 572 | if (cp = index (bp, '\n')) | ^ | ( ) mhlsbr.c:572:9: note: use '==' to turn this assignment into an equality comparison 572 | if (cp = index (bp, '\n')) | ^ | == mhlsbr.c:576:21: warning: passing arguments to 'add_queue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | c1 = add_queue (&fmthd, &fmttl, NULLCP, bp + 1, CLEARTEXT); | ^ mhlsbr.c:586:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | if (uleq (name, "ignores")) { | ^ mhlsbr.c:587:38: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | ip = copyip (brkstring (getcpy (++parptr), ",", NULLCP), ip); | ^ mhlsbr.c:587:30: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | ip = copyip (brkstring (getcpy (++parptr), ",", NULLCP), ip); | ^ mhlsbr.c:587:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | ip = copyip (brkstring (getcpy (++parptr), ",", NULLCP), ip); | ^ mhlsbr.c:592:19: warning: passing arguments to 'evalvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | if (evalvar (&global)) | ^ mhlsbr.c:593:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | adios (NULLCP, "format file syntax error: %s", bp); | ^ mhlsbr.c:600:18: warning: passing arguments to 'add_queue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | c1 = add_queue (&fmthd, &fmttl, name, NULLCP, INIT); | ^ mhlsbr.c:603:19: warning: passing arguments to 'evalvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | if (evalvar (c1)) | ^ mhlsbr.c:604:10: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | adios (NULLCP, "format file syntax error: %s", bp); | ^ mhlsbr.c:609:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | c1 -> c_nfs = getcpy (global.c_nfs); | ^ mhlsbr.c:614:26: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | c1 -> c_nfs = getcpy (global.c_nfs); | ^ mhlsbr.c:611:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 611 | else | ^ mhlsbr.c:619:9: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | adios (NULLCP, "format file syntax error: %s", bp); | ^ mhlsbr.c:629:7: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] 628 | fprintf (stderr, "\tnfs=0x%x fmt=0x%x\n", | ~~ | %s 629 | c1 -> c_nfs, c1 -> c_fmt); | ^~~~~~~~~~~ mhlsbr.c:629:20: warning: format specifies type 'unsigned int' but the argument has type 'struct format *' [-Wformat] 628 | fprintf (stderr, "\tnfs=0x%x fmt=0x%x\n", | ~~ 629 | c1 -> c_nfs, c1 -> c_fmt); | ^~~~~~~~~~~ mhlsbr.c:634:15: warning: passing arguments to 'sprintb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | sprintb (buffer, (unsigned) c1 -> c_flags, LBITS)); | ^ mhlsbr.c:518:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | static mhl_format (file, length, width) | ^ mhlsbr.c:295:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 295 | static mhl_format(), evalvar(), process(), mhlfile(), free_queue(), putcomp(); | ^ mhlsbr.c:665:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 665 | static evalvar (c1) | ~~~~~~ ^ | int mhlsbr.c:676:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | if (uleq (name, "component")) { | ^ mhlsbr.c:677:11: warning: passing arguments to 'ptos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | if (ptos (name, &c1 -> c_text)) | ^ mhlsbr.c:682:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | if (uleq (name, "overflowtext")) | ^ mhlsbr.c:683:14: warning: passing arguments to 'ptos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | return ptos (name, &c1 -> c_ovtxt); | ^ mhlsbr.c:684:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | if (uleq (name, "formatfield")) { | ^ mhlsbr.c:685:11: warning: passing arguments to 'ptos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | if (ptos (name, &cp)) | ^ mhlsbr.c:687:31: warning: passing arguments to 'new_fs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | c1 -> c_nfs = getcpy (new_fs (NULLCP, NULLCP, cp)); | ^ mhlsbr.c:687:23: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | c1 -> c_nfs = getcpy (new_fs (NULLCP, NULLCP, cp)); | ^ mhlsbr.c:692:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | if (uleq (name, "offset")) | ^ mhlsbr.c:693:14: warning: passing arguments to 'ptoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | return ptoi (name, &c1 -> c_offset); | ^ mhlsbr.c:694:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | if (uleq (name, "overflowoffset")) | ^ mhlsbr.c:695:14: warning: passing arguments to 'ptoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | return ptoi (name, &c1 -> c_ovoff); | ^ mhlsbr.c:696:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | if (uleq (name, "width")) | ^ mhlsbr.c:697:14: warning: passing arguments to 'ptoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | return ptoi (name, &c1 -> c_width); | ^ mhlsbr.c:698:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | if (uleq (name, "compwidth")) | ^ mhlsbr.c:699:14: warning: passing arguments to 'ptoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | return ptoi (name, &c1 -> c_cwidth); | ^ mhlsbr.c:700:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | if (uleq (name, "length")) | ^ mhlsbr.c:701:14: warning: passing arguments to 'ptoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | return ptoi (name, &c1 -> c_length); | ^ mhlsbr.c:702:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | if (uleq (name, "nodashmunging")) | ^ mhlsbr.c:706:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | if (uleq (ap -> t_name, name)) { | ^ mhlsbr.c:665:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | static evalvar (c1) | ^ mhlsbr.c:295:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 295 | static mhl_format(), evalvar(), process(), mhlfile(), free_queue(), putcomp(); | ^ mhlsbr.c:724:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | advise (NULLCP, "missing argument to variable %s", name); | ^ mhlsbr.c:717:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | static int ptoi (name, i) | ^ mhlsbr.c:297:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 297 | static int ptoi(), ptos(), doface(); | ^ mhlsbr.c:741:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | advise (NULLCP, "missing argument to variable %s", name); | ^ mhlsbr.c:757:17: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | *s = getcpy (cp); | ^ mhlsbr.c:733:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | static int ptos (name, s) | ^ mhlsbr.c:297:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 297 | static int ptoi(), ptos(), doface(); | ^ mhlsbr.c:770:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 770 | for (cp = result; c = *parptr; parptr++) | ~~^~~~~~~~~ mhlsbr.c:770:25: note: place parentheses around the assignment to silence this warning 770 | for (cp = result; c = *parptr; parptr++) | ^ | ( ) mhlsbr.c:770:25: note: use '==' to turn this assignment into an equality comparison 770 | for (cp = result; c = *parptr; parptr++) | ^ | == mhlsbr.c:787:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 787 | static process (folder, fname, ofilen, ofilec) | ~~~~~~ ^ | int mhlsbr.c:800:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | fp = mhl_action ? (*mhl_action) (fname) : fopen (fname, "r"); | ^ mhlsbr.c:802:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | advise (fname, "unable to open"); | ^ mhlsbr.c:811:65: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | cp = folder ? concat (folder, ":", fname, NULLCP) : getcpy (fname); | ^ mhlsbr.c:814:14: warning: passing arguments to 'mhlfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | mhlfile (fp, cp, ofilen, ofilec);/* fall */ | ^ mhlsbr.c:826:17: warning: passing arguments to 'free_queue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | free_queue (&msghd, &msgtl); | ^ mhlsbr.c:787:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | static process (folder, fname, ofilen, ofilec) | ^ mhlsbr.c:295:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 295 | static mhl_format(), evalvar(), process(), mhlfile(), free_queue(), putcomp(); | ^ mhlsbr.c:835:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 835 | static mhlfile (fp, mname, ofilen, ofilec) | ~~~~~~ ^ | int mhlsbr.c:878:11: warning: call to undeclared function 'SOprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 878 | if (SOprintf ("Press to list \"%s\"...", mname)) { | ^ mhlsbr.c:910:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | switch (state = m_getfld (state, name, buf, sizeof buf, fp)) { | ^ mhlsbr.c:914:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | if (uleq (name, *ip)) { | ^ mhlsbr.c:916:25: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | state = m_getfld (state, name, buf, sizeof buf, fp); | ^ mhlsbr.c:923:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | if (uleq (c2 -> c_name, name)) | ^ mhlsbr.c:928:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | if (uleq (c1 -> c_name, c3 -> c_name)) { | ^ mhlsbr.c:930:15: warning: passing arguments to 'mcomp_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | mcomp_add (c1 -> c_flags, buf, c1 -> c_text); | ^ mhlsbr.c:934:22: warning: passing arguments to 'add_queue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | c1 = add_queue (&msghd, &msgtl, name, buf, 0); | ^ mhlsbr.c:936:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | state = m_getfld (state, name, buf, sizeof buf, fp); | ^ mhlsbr.c:937:26: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | c1 -> c_text = add (buf, c1 -> c_text); | ^ mhlsbr.c:942:17: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | (void) ml_conv(c1 -> c_text); | ^ mhlsbr.c:946:18: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | cp = getcpy((c1 -> c_text) + 1); | ^ mhlsbr.c:957:12: warning: passing arguments to 'putcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | putcomp (c1, c1, ONECOMP); | ^ mhlsbr.c:960:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | if (uleq (c1 -> c_name, "messagename")) { | ^ mhlsbr.c:963:12: warning: passing arguments to 'putcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | putcomp (c1, &holder, ONECOMP); | ^ mhlsbr.c:968:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | if (uleq (c1 -> c_name, "extras")) { | ^ mhlsbr.c:971:13: warning: passing arguments to 'putcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | putcomp (c1, c2, TWOCOMP); | ^ mhlsbr.c:974:26: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | if (dobody && uleq (c1 -> c_name, "body")) { | ^ mhlsbr.c:979:14: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | adios (NULLCP, "unable to allocate buffer memory"); | ^ mhlsbr.c:991:19: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | (void) ml_conv(holder.c_text); | ^ mhlsbr.c:994:12: warning: passing arguments to 'putcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | putcomp(c1, &holder, BODYCOMP); | ^ mhlsbr.c:995:14: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | cp = copy(buf, holder.c_text); | ^ mhlsbr.c:999:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | state = m_getfld(state, name, | ^ mhlsbr.c:1001:24: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | holder.c_text = add(buf, holder.c_text); | ^ mhlsbr.c:1004:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | state = m_getfld(state, name, cp, | ^ mhlsbr.c:1008:18: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | (void) ml_conv(holder.c_text); | ^ mhlsbr.c:1009:11: warning: passing arguments to 'putcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | putcomp(c1, &holder, BODYCOMP); | ^ mhlsbr.c:1022:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | if (uleq (c2 -> c_name, c1 -> c_name)) { | ^ mhlsbr.c:1023:16: warning: passing arguments to 'putcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | putcomp (c1, c2, ONECOMP); | ^ mhlsbr.c:1031:21: warning: passing arguments to 'face_format' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | face_format (c2); | ^ mhlsbr.c:1032:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1032 | if (holder.c_text = c2 -> c_face) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ mhlsbr.c:1032:23: note: place parentheses around the assignment to silence this warning 1032 | if (holder.c_text = c2 -> c_face) { | ^ | ( ) mhlsbr.c:1032:23: note: use '==' to turn this assignment into an equality comparison 1032 | if (holder.c_text = c2 -> c_face) { | ^ | == mhlsbr.c:1033:17: warning: passing arguments to 'putcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | putcomp (c1, &holder, ONECOMP); | ^ mhlsbr.c:1043:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | advise (NULLCP, "format error in message %s", mname); | ^ mhlsbr.c:1048:9: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | adios (NULLCP, "getfld() returned %d", state); | ^ mhlsbr.c:835:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | static mhlfile (fp, mname, ofilen, ofilec) | ^ mhlsbr.c:295:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 295 | static mhl_format(), evalvar(), process(), mhlfile(), free_queue(), putcomp(); | ^ mhlsbr.c:1060:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | if (uleq (ap -> p_name, name)) | ^ mhlsbr.c:1054:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | static int mcomp_flags (name) | ^ mhlsbr.c:1075:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | return add (s1, s2); | ^ mhlsbr.c:1080:25: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | return add (s1, add (",\n", s2)); | ^ mhlsbr.c:1080:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | return add (s1, add (",\n", s2)); | ^ mhlsbr.c:1067:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | static char *mcomp_add (flags, s1, s2) | ^ mhlsbr.c:292:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 292 | static char *mcomp_add (), *oneline (), *parse (); | ^ mhlsbr.c:1092:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1092 | static mcomp_format (c1, c2) | ~~~~~~ ^ | int mhlsbr.c:1113:7: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | adios(NULLCP, "out of memory"); | ^ mhlsbr.c:1116:12: warning: call to undeclared function 'fmt_compile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1116 | (void) fmt_compile (c1 -> c_nfs, &c1 -> c_fmt); | ^ mhlsbr.c:1122:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1122 | if (cp = rindex(ap, '\n')) /* drop ending newline */ | ~~~^~~~~~~~~~~~~~~~~~ mhlsbr.c:1122:9: note: place parentheses around the assignment to silence this warning 1122 | if (cp = rindex(ap, '\n')) /* drop ending newline */ | ^ | ( ) mhlsbr.c:1122:9: note: use '==' to turn this assignment into an equality comparison 1122 | if (cp = rindex(ap, '\n')) /* drop ending newline */ | ^ | == mhlsbr.c:1126:17: warning: passing arguments to 'fmtscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1126 | (void) fmtscan (c1 -> c_fmt, buffer, buflen - 1, dat); | ^ mhlsbr.c:1127:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | c2 -> c_text = getcpy (buffer); | ^ mhlsbr.c:1140:25: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1140 | while (cp = getname (ap)) { | ^ mhlsbr.c:1140:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1140 | while (cp = getname (ap)) { | ~~~^~~~~~~~~~~~~~ mhlsbr.c:1140:15: note: place parentheses around the assignment to silence this warning 1140 | while (cp = getname (ap)) { | ^ | ( ) mhlsbr.c:1140:15: note: use '==' to turn this assignment into an equality comparison 1140 | while (cp = getname (ap)) { | ^ | == mhlsbr.c:1142:12: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | adios (NULLCP, "unable to allocate pqpair memory"); | ^ mhlsbr.c:1144:17: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1144 | if ((mp = getm (cp, NULLCP, 0, AD_NAME, error)) == NULL) { | ^ mhlsbr.c:1145:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1145 | p -> pq_text = getcpy (cp); | ^ mhlsbr.c:1146:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | p -> pq_error = getcpy (error); | ^ mhlsbr.c:1153:24: warning: passing arguments to 'OfficialName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | if (o = OfficialName (h)) | ^ mhlsbr.c:1153:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1153 | if (o = OfficialName (h)) | ~~^~~~~~~~~~~~~~~~~~ mhlsbr.c:1153:9: note: place parentheses around the assignment to silence this warning 1153 | if (o = OfficialName (h)) | ^ | ( ) mhlsbr.c:1153:9: note: use '==' to turn this assignment into an equality comparison 1153 | if (o = OfficialName (h)) | ^ | == mhlsbr.c:1158:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1158 | p -> pq_text = getcpy (mp -> m_text); | ^ mhlsbr.c:1159:13: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | mnfree (mp); | ^ mhlsbr.c:1172:17: warning: passing arguments to 'fmtscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | (void) fmtscan (c1 -> c_fmt, buffer, buflen - 1, dat); | ^ mhlsbr.c:1175:22: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1175 | c2 -> c_text = add (",\n", c2 -> c_text); | ^ mhlsbr.c:1178:25: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | c2 -> c_text = add (buffer, c2 -> c_text); | ^ mhlsbr.c:1188:24: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1188 | c2 -> c_text = add ("\n", c2 -> c_text); | ^ mhlsbr.c:1092:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | static mcomp_format (c1, c2) | ^ mhlsbr.c:1205:8: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | adios (NULLCP, "unable to allocate comp memory"); | ^ mhlsbr.c:1208:38: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1208 | if (c1 -> c_name = name ? getcpy (name) : NULL) | ^ mhlsbr.c:1208:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1208 | if (c1 -> c_name = name ? getcpy (name) : NULL) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhlsbr.c:1208:22: note: place parentheses around the assignment to silence this warning 1208 | if (c1 -> c_name = name ? getcpy (name) : NULL) | ^ | ( ) mhlsbr.c:1208:22: note: use '==' to turn this assignment into an equality comparison 1208 | if (c1 -> c_name = name ? getcpy (name) : NULL) | ^ | == mhlsbr.c:1210:34: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | c1 -> c_text = text ? getcpy (text) : NULL; | ^ mhlsbr.c:1213:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | c1 -> c_ovtxt = getcpy (global.c_ovtxt); | ^ mhlsbr.c:1195:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | static struct mcomp *add_queue (head, tail, name, text, flags) | ^ mhlsbr.c:293:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 293 | static struct mcomp *add_queue (); | ^ mhlsbr.c:1230:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1230 | static free_queue (head, tail) | ~~~~~~ ^ | int mhlsbr.c:1230:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mhlsbr.c:295:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 295 | static mhl_format(), evalvar(), process(), mhlfile(), free_queue(), putcomp(); | ^ mhlsbr.c:1259:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1259 | static putcomp (c1, c2, flag) | ~~~~~~ ^ | int mhlsbr.c:1277:8: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1277 | adios (NULLCP, "component: %s width(%d) too small for overflow(%d)", | ^ mhlsbr.c:1282:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | putstr (c1 -> c_text); | ^ mhlsbr.c:1283:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1283 | putstr ("\n"); | ^ mhlsbr.c:1288:17: warning: passing arguments to 'doface' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | switch (doface (c2)) { | ^ mhlsbr.c:1301:11: warning: passing arguments to 'mhladios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | adios(NULLCP, "out of memory"); | ^ mhlsbr.c:1302:22: warning: passing arguments to 'exthdr_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | (void) exthdr_decode(c2 -> c_text, ep); | ^ mhlsbr.c:1327:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | putstr (c1 -> c_text ? c1 -> c_text : c1 -> c_name); | ^ mhlsbr.c:1329:13: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1329 | putstr (": "); | ^ mhlsbr.c:1337:10: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | putstr (" "); | ^ mhlsbr.c:1350:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1350 | putstr (c2 -> c_name); | ^ mhlsbr.c:1351:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | putstr (": "); | ^ mhlsbr.c:1358:10: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1358 | putstr (" "); | ^ mhlsbr.c:1370:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1370 | else | ^ mhlsbr.c:1375:22: warning: passing arguments to 'oneline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | if (cp = oneline (c2 -> c_text, c1 -> c_flags)) | ^ mhlsbr.c:1375:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1375 | if (cp = oneline (c2 -> c_text, c1 -> c_flags)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhlsbr.c:1375:12: note: place parentheses around the assignment to silence this warning 1375 | if (cp = oneline (c2 -> c_text, c1 -> c_flags)) | ^ | ( ) mhlsbr.c:1375:12: note: use '==' to turn this assignment into an equality comparison 1375 | if (cp = oneline (c2 -> c_text, c1 -> c_flags)) | ^ | == mhlsbr.c:1376:14: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | putstr(cp); | ^ mhlsbr.c:1378:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | putstr ("\n"); | ^ mhlsbr.c:1379:25: warning: passing arguments to 'oneline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1379 | while (cp = oneline (c2 -> c_text, c1 -> c_flags)) { | ^ mhlsbr.c:1379:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1379 | while (cp = oneline (c2 -> c_text, c1 -> c_flags)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhlsbr.c:1379:15: note: place parentheses around the assignment to silence this warning 1379 | while (cp = oneline (c2 -> c_text, c1 -> c_flags)) { | ^ | ( ) mhlsbr.c:1379:15: note: use '==' to turn this assignment into an equality comparison 1379 | while (cp = oneline (c2 -> c_text, c1 -> c_flags)) { | ^ | == mhlsbr.c:1383:13: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | putstr (c1 -> c_text ? c1 -> c_text : c1 -> c_name); | ^ mhlsbr.c:1385:13: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | putstr (cp); | ^ mhlsbr.c:1387:13: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | putstr ("\n"); | ^ mhlsbr.c:1259:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | static putcomp (c1, c2, flag) | ^ mhlsbr.c:295:69: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 295 | static mhl_format(), evalvar(), process(), mhlfile(), free_queue(), putcomp(); | ^ mhlsbr.c:1396:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1396 | static char *oneline (stuff, flags) | ^ mhlsbr.c:292:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 292 | static char *mcomp_add (), *oneline (), *parse (); | ^ mhlsbr.c:1453:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1452 | static | ~~~~~~ | int 1453 | putstr(string) | ^ mhlsbr.c:1458:15: warning: passing arguments to 'putstr_sbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1458 | putstr_sbr(string); | ^ mhlsbr.c:1460:13: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1460 | ml_fputs(mlbuf, stdout); | ^ mhlsbr.c:1453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | putstr(string) | ^ mhlsbr.c:296:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 296 | static putstr(), putch(), face_format(), m_popen(); | ^ mhlsbr.c:1470:11: warning: passing arguments to 'putch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | putch('\t'); lm -= 8; | ^ mhlsbr.c:1472:11: warning: passing arguments to 'putch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1472 | putch(' '); lm--; | ^ mhlsbr.c:1471:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1471 | } else { | ^ mhlsbr.c:1476:12: warning: passing arguments to 'putch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1476 | putch(*string++); | ^ mhlsbr.c:1464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | putstr_sbr(string) | ^ mhlsbr.c:305:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 305 | static void putstr_sbr(); | ^ mhlsbr.c:1482:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1481 | static | ~~~~~~ | int 1482 | putch(ch) | ^ mhlsbr.c:1499:10: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1499 | ml_fputs(mlbuf, stdout); | ^ mhlsbr.c:1529:17: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1529 | if (ml_ismlchar(ch)) { | ^ mhlsbr.c:1548:10: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | ml_fputs(mlbuf, stdout); | ^ mhlsbr.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | putch(ch) | ^ mhlsbr.c:296:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 296 | static putstr(), putch(), face_format(), m_popen(); | ^ mhlsbr.c:1652:13: warning: passing arguments to 'discard' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1652 | discard (stdout); | ^ mhlsbr.c:1645:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1645 | static TYPESIG intrser (i) | ^ mhlsbr.c:291:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 291 | static TYPESIG intrser (), pipeser (), quitser (); | ^ mhlsbr.c:1668:10: warning: passing arguments to 'mhldone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1668 | done (NOTOK); | ^ mhlsbr.c:1661:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1661 | static TYPESIG pipeser (i) | ^ mhlsbr.c:291:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 291 | static TYPESIG intrser (), pipeser (), quitser (); | ^ mhlsbr.c:1684:10: warning: passing arguments to 'mhldone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1684 | done (NOTOK); | ^ mhlsbr.c:1674:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1674 | static TYPESIG quitser (i) | ^ mhlsbr.c:291:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 291 | static TYPESIG intrser (), pipeser (), quitser (); | ^ mhlsbr.c:1689:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1689 | static face_format (c1) | ~~~~~~ ^ | int mhlsbr.c:1698:22: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1698 | if (cp = getname (cp)) { | ^ mhlsbr.c:1698:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1698 | if (cp = getname (cp)) { | ~~~^~~~~~~~~~~~~~ mhlsbr.c:1698:12: note: place parentheses around the assignment to silence this warning 1698 | if (cp = getname (cp)) { | ^ | ( ) mhlsbr.c:1698:12: note: use '==' to turn this assignment into an equality comparison 1698 | if (cp = getname (cp)) { | ^ | == mhlsbr.c:1699:16: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1699 | if (mp = getm (cp, NULLCP, 0, AD_NAME, NULLCP)) { | ^ mhlsbr.c:1699:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1699 | if (mp = getm (cp, NULLCP, 0, AD_NAME, NULLCP)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhlsbr.c:1699:9: note: place parentheses around the assignment to silence this warning 1699 | if (mp = getm (cp, NULLCP, 0, AD_NAME, NULLCP)) { | ^ | ( ) mhlsbr.c:1699:9: note: use '==' to turn this assignment into an equality comparison 1699 | if (mp = getm (cp, NULLCP, 0, AD_NAME, NULLCP)) { | ^ | == mhlsbr.c:1703:27: warning: passing arguments to 'OfficialName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1703 | if (o = OfficialName (h)) | ^ mhlsbr.c:1703:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1703 | if (o = OfficialName (h)) | ~~^~~~~~~~~~~~~~~~~~ mhlsbr.c:1703:12: note: place parentheses around the assignment to silence this warning 1703 | if (o = OfficialName (h)) | ^ | ( ) mhlsbr.c:1703:12: note: use '==' to turn this assignment into an equality comparison 1703 | if (o = OfficialName (h)) | ^ | == mhlsbr.c:1708:22: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1708 | while (cp = getname (cp)) | ^ mhlsbr.c:1708:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1708 | while (cp = getname (cp)) | ~~~^~~~~~~~~~~~~~ mhlsbr.c:1708:12: note: place parentheses around the assignment to silence this warning 1708 | while (cp = getname (cp)) | ^ | ( ) mhlsbr.c:1708:12: note: use '==' to turn this assignment into an equality comparison 1708 | while (cp = getname (cp)) | ^ | == mhlsbr.c:1689:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1689 | static face_format (c1) | ^ mhlsbr.c:296:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 296 | static putstr(), putch(), face_format(), m_popen(); | ^ mhlsbr.c:1752:38: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1752 | char **ap = brkstring (cp = getcpy (faceproc), " ", "\n"); | ^ mhlsbr.c:1752:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1752 | char **ap = brkstring (cp = getcpy (faceproc), " ", "\n"); | ^ mhlsbr.c:1761:29: warning: passing arguments to 'gethostbystring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1761 | if (!(hp = gethostbystring (ap[0]))) | ^ mhlsbr.c:1732:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | static int doface (c1) | ^ mhlsbr.c:297:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 297 | static int ptoi(), ptos(), doface(); | ^ mhlsbr.c:1933:3: warning: call to undeclared function 'm_pclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1933 | m_pclose (); | ^ mhlsbr.c:1904:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1904 | int mhlsbr (argc, argv, action) | ^ mhlsbr.c:1961:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1961 | advise (what, fmt, a, b, c, d, e, f); | ^ mhlsbr.c:1962:13: warning: passing arguments to 'mhldone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1962 | mhldone (1); | ^ mhlsbr.c:1951:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1951 | static void mhladios (what, fmt, a, b, c, d, e, f) | ^ mhlsbr.c:290:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 290 | static void mhladios (), mhldone (); | ^ mhlsbr.c:1973:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1973 | done (exitstat); | ^ mhlsbr.c:1966:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1966 | static void mhldone (status) | ^ mhlsbr.c:290:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 290 | static void mhladios (), mhldone (); | ^ mhlsbr.c:1982:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1982 | static m_popen (name) | ~~~~~~ ^ | int mhlsbr.c:1988:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | adios ("standard output", "unable to dup()"); | ^ mhlsbr.c:1991:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1991 | adios ("pipe", "unable to"); | ^ mhlsbr.c:1995:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1995 | adios ("fork", "unable to"); | ^ mhlsbr.c:2006:29: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2006 | execlp (name, r1bindex (name, '/'), NULLCP); | ^ mhlsbr.c:1982:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1982 | static m_popen (name) | ^ mhlsbr.c:296:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 296 | static putstr(), putch(), face_format(), m_popen(); | ^ mhlsbr.c:2021:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2021 | m_pclose () { | ^ | int mhlsbr.c:2028:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2028 | adios ("standard output", "unable to dup2()"); | ^ mhlsbr.c:2037:20: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | (void) pidwait (m_pid, OK); | ^ 277 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DPSHSBR -c pshsbr.c pshsbr.c:67:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | static putline(); | ~~~~~~ ^ | int pshsbr.c:159:16: warning: call to undeclared function 'client'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | if ((fd1 = client (host, "tcp", "nntp", rpop, response)) == NOTOK) | ^ pshsbr.c:163:16: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | if ((fd2 = dup (fd1)) == NOTOK) { | ^ pshsbr.c:167:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | (void) close (fd1); | ^ pshsbr.c:173:9: warning: call to undeclared function 'pop_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | if (pop_set (fd1, fd2, snoop, (char *)0) == NOTOK) | ^ pshsbr.c:179:22: warning: passing arguments to 'get_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | switch (get_line (response, sizeof response, input)) { | ^ pshsbr.c:207:18: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | (void) command ("MODE READER"); | ^ pshsbr.c:216:21: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | (void) command ("QUIT"); | ^ pshsbr.c:125:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | int pop_init (host, user, pass, snoop, rpop) | ^ pshsbr.c:253:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | (void) close (in); | ^ pshsbr.c:235:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | int pop_set (in, out, snoop, myname) | ^ pshsbr.c:264:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | int pop_fd (in, out) | ^ pshsbr.c:293:13: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | if (command("GROUP %s", xtnd_name) == NOTOK) | ^ pshsbr.c:296:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | ap = brkstring (response, " ", "\n"); /* "211 nart first last ggg" */ | ^ pshsbr.c:275:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | int pop_stat (nmsgs, nbytes) | ^ pshsbr.c:330:6: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 330 | (targ_t)xtnd_first, (targ_t)xtnd_last, 0, 0) == OK) | ^~~~~~~~~~~~~~~~~~ pshsbr.c:330:26: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 330 | (targ_t)xtnd_first, (targ_t)xtnd_last, 0, 0) == OK) | ^~~~~~~~~~~~~~~~~ pshsbr.c:335:6: warning: call to undeclared function 'pop_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 335 | if (pop_list(msgno, (int *) 0, &arg1, &arg2, (int *) 0) == OK) { | ^ pshsbr.c:339:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | (*action) (++cp); | ^ pshsbr.c:313:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | int pop_exists (action) | ^ pshsbr.c:375:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | if (command ("STAT %d", msgno) == NOTOK) | ^ pshsbr.c:349:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | int pop_list (msgno, nmsgs, msgs, bytes, ids) | ^ pshsbr.c:429:44: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 429 | return traverse (action, "ARTICLE %d", (targ_t)msgno, 0, 0, 0); | ^~~~~~~~~~~~~ pshsbr.c:422:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | int pop_retr (msgno, action) | ^ pshsbr.c:436:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | static int traverse (action, fmt, a, b, c, d) | ^ pshsbr.c:450:17: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | if (command (fmt, a, b, c, d) == NOTOK) | ^ pshsbr.c:464:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | (*action) (response); | ^ pshsbr.c:474:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | return command ("DELE %d", msgno); | ^ pshsbr.c:471:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | int pop_dele (msgno) | ^ pshsbr.c:479:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | return command ("NOOP"); | ^ pshsbr.c:492:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | return command ("RSET"); | ^ pshsbr.c:505:41: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 505 | return traverse (action, "HEAD %d", (targ_t)msgno, 0, 0, 0); | ^~~~~~~~~~~~~ pshsbr.c:497:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | int pop_top (msgno, lines, action) | ^ pshsbr.c:530:20: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | ap = brkstring (buffer, " ", "\n"); /* a hack, i know... */ | ^ pshsbr.c:532:9: warning: call to undeclared function 'uleq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 532 | if (uleq(ap[0], "x-bboards")) { /* XTND "X-BBOARDS group */ | ^ pshsbr.c:549:17: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | if (command("GROUP %s", xtnd_name) == NOTOK) | ^ pshsbr.c:553:21: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | ap = brkstring (response, " ", "\n");/* "211 nart first last g" */ | ^ pshsbr.c:557:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | (*action) (buffer); | ^ pshsbr.c:511:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | int pop_xtnd (action, fmt, a, b, c, d) | ^ pshsbr.c:574:17: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | i = command ("QUIT"); | ^ pshsbr.c:575:12: warning: call to undeclared function 'pop_done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 575 | (void) pop_done (); | ^ pshsbr.c:609:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 609 | if (cp = index (buffer, ' ')) | ~~~^~~~~~~~~~~~~~~~~~~~~ pshsbr.c:609:13: note: place parentheses around the assignment to silence this warning 609 | if (cp = index (buffer, ' ')) | ^ | ( ) pshsbr.c:609:13: note: use '==' to turn this assignment into an equality comparison 609 | if (cp = index (buffer, ' ')) | ^ | == pshsbr.c:616:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 616 | else | ^ pshsbr.c:619:17: warning: passing arguments to 'putline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | if (putline (buffer, output) == NOTOK) | ^ pshsbr.c:622:22: warning: passing arguments to 'get_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | switch (get_line (response, sizeof response, input)) { | ^ pshsbr.c:595:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | static int command (fmt, a, b, c, d) | ^ pshsbr.c:63:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | static int command(), multiline(); | ^ pshsbr.c:648:18: warning: passing arguments to 'get_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | if (get_line (buffer, sizeof buffer, input) != OK) | ^ pshsbr.c:668:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | static int get_line (s, n, iop) | ^ pshsbr.c:66:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static int get_line(); | ^ pshsbr.c:698:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 698 | static putline (s, iop) | ~~~~~~ ^ | int pshsbr.c:698:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] pshsbr.c:67:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static putline(); | ^ 53 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xmsh msh.o mshcmds.o vmhsbr.o picksbr.o scansbr.o dropsbr.o mhlsbr.o trmsbr.o pshsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o -lcurses /usr/local/bin/ld.bfd: mshcmds.o: in function `forwcmd': mshcmds.c:(.text+0x1cb2): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo msh msh cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c show.c -o show.o show.c:61:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | main (argc, argv) | ^ | int show.c:93:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | invo_name = r1bindex (argv[0], '/'); | ^ show.c:94:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | if (uleq (invo_name, "next")) | ^ show.c:97:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | if (uleq (invo_name, "prev")) | ^ show.c:99:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | if ((cp = m_find (invo_name)) != NULL) { | ^ show.c:100:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ show.c:100:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ show.c:101:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | ap = copyip (ap, arguments); | ^ show.c:105:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | (void) copyip (argv + 1, ap); | ^ show.c:110:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 110 | while (cp = *argp++) { | ~~~^~~~~~~~~ show.c:110:15: note: place parentheses around the assignment to silence this warning 110 | while (cp = *argp++) { | ^ | ( ) show.c:110:15: note: use '==' to turn this assignment into an equality comparison 110 | while (cp = *argp++) { | ^ | == show.c:112:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | switch (smatch (++cp, switches)) { | ^ show.c:114:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | ambigsw (cp, switches); | ^ show.c:115:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | done (1); | ^ show.c:124:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | help (buf, switches); | ^ show.c:125:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | done (1); | ^ show.c:129:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | adios (NULLCP, "only one file at a time!"); | ^ show.c:134:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | adios (NULLCP, | ^ show.c:141:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | adios (NULLCP, "only one file at a time!"); | ^ show.c:143:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ show.c:144:19: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | file = path (cp, TFILE); | ^ show.c:157:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ show.c:158:36: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | vec[vecp++] = getcpy (libpath(cp)); | ^ show.c:158:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | vec[vecp++] = getcpy (libpath(cp)); | ^ show.c:166:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ show.c:172:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ show.c:181:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | adios (NULLCP, "only one folder at a time!"); | ^ show.c:183:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ show.c:195:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | if (!m_find ("path")) | ^ show.c:196:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | free (path ("./", TFOLDER)); | ^ show.c:200:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | adios (NULLCP, "only one file at a time!"); | ^ show.c:202:24: warning: passing arguments to 'm_draft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | ? getcpy (m_draft (folder, msgp ? msgs[0] : NULL, 1, &isdf)) | ^ show.c:202:15: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | ? getcpy (m_draft (folder, msgp ? msgs[0] : NULL, 1, &isdf)) | ^ show.c:219:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | maildir = m_maildir (folder); | ^ show.c:221:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 221 | if (chdir (maildir) == NOTOK) | ^ show.c:222:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | adios (maildir, "unable to change directory to"); | ^ show.c:223:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | if (!(mp = m_gmsg (folder))) | ^ show.c:224:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | adios (NULLCP, "unable to read folder %s", folder); | ^ show.c:226:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | adios (NULLCP, "no messages in %s", folder); | ^ show.c:229:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if (!m_convert (mp, msgs[msgnum])) | ^ show.c:230:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | done (1); | ^ show.c:234:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | m_setseq (mp); | ^ show.c:235:14: warning: passing arguments to 'm_setvis' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | m_setvis (mp, 1); | ^ show.c:238:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | adios (NULLCP, "more than %d messages for show exec", MAXARGS - 2); | ^ show.c:241:35: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | vec[vecp++] = getcpy (m_name (msgnum)); | ^ show.c:241:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | vec[vecp++] = getcpy (m_name (msgnum)); | ^ show.c:243:15: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | m_replace (pfolder, folder); | ^ show.c:245:11: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | m_setcur (mp, mp -> hghsel); | ^ show.c:246:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | m_sync (mp); | ^ show.c:261:20: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | if (!(cp = m_find ("mhnproc"))) | ^ show.c:265:18: warning: passing arguments to 'nontext' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | if (nontext (vec[vecp - 1])) { | ^ show.c:275:30: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | && nontext (m_name (msgnum))) { | ^ show.c:275:22: warning: passing arguments to 'nontext' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | && nontext (m_name (msgnum))) { | ^ show.c:292:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | (void) m_putenv ("mhfolder", folder); | ^ show.c:293:23: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | if (strcmp (r1bindex (showproc, '/'), "mhl") == 0) { | ^ show.c:295:13: warning: call to undeclared function 'mhl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | (void) mhl (vecp, vec); | ^ show.c:296:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | done (0); | ^ show.c:303:44: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | && chdir (maildir = concat (m_maildir (""), "/", NULLCP)) | ^ show.c:306:15: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | cp = ssequal (maildir, mp -> foldpath) | ^ show.c:314:23: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | vec[0] = r1bindex (proc, '/'); | ^ show.c:315:5: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 315 | execvp (proc, vec); | ^ show.c:316:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | adios (proc, "unable to exec"); | ^ show.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | main (argc, argv) | ^ show.c:327:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | char *OfficialName (name) | ^ show.c:363:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | switch (state = m_getfld (state, name, buf, sizeof buf, fp)) { | ^ show.c:367:19: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | if (uleq (name, TYPE_FIELD)) { | ^ show.c:371:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | cp = add (buf, NULLCP); | ^ show.c:373:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | state = m_getfld (state, name, buf, sizeof buf, fp); | ^ show.c:374:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | cp = add (buf, cp); | ^ show.c:430:23: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | if (result = !uleq (bp, "plain")) | ^ show.c:430:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 430 | if (result = !uleq (bp, "plain")) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ show.c:430:15: note: place parentheses around the assignment to silence this warning 430 | if (result = !uleq (bp, "plain")) | ^ | ( ) show.c:430:15: note: use '==' to turn this assignment into an equality comparison 430 | if (result = !uleq (bp, "plain")) | ^ | == show.c:438:23: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | if (result = !uprf (bp, "charset")) | ^ show.c:438:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 438 | if (result = !uprf (bp, "charset")) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ show.c:438:15: note: place parentheses around the assignment to silence this warning 438 | if (result = !uprf (bp, "charset")) | ^ | ( ) show.c:438:15: note: use '==' to turn this assignment into an equality comparison 438 | if (result = !uprf (bp, "charset")) | ^ | == show.c:448:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 448 | if (bp = index (++dp, '"')) | ~~~^~~~~~~~~~~~~~~~~~~ show.c:448:15: note: place parentheses around the assignment to silence this warning 448 | if (bp = index (++dp, '"')) | ^ | ( ) show.c:448:15: note: use '==' to turn this assignment into an equality comparison 448 | if (bp = index (++dp, '"')) | ^ | == show.c:457:24: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | if ((result = !uleq (dp, chset)) | ^ show.c:458:20: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | && uleq (dp, "us-ascii") | ^ show.c:460:21: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | && (uleq (chset, "iso-2022-jp") | ^ show.c:461:17: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | || uleq (chset, "euc-jp") | ^ show.c:462:17: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | || uleq (chset, "shift_jis") | ^ show.c:463:18: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | || (uprf (chset, "iso-8859-") | ^ show.c:464:16: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | && m_atoi (chset+9) >= 1))) | ^ show.c:473:25: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | if (!(result = !uleq (bp, "text"))) { | ^ show.c:488:19: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | if (uleq (name, ENCODING_FIELD)) { | ^ show.c:489:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | cp = add (buf, NULLCP); | ^ show.c:491:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | state = m_getfld (state, name, buf, sizeof buf, fp); | ^ show.c:492:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | cp = add (buf, cp); | ^ show.c:499:22: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | result = !uleq (bp, "7bit") | ^ show.c:500:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | && !uleq (bp, "8bit") | ^ show.c:501:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | && !uleq (bp, "binary"); | ^ show.c:511:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | state = m_getfld (state, name, buf, sizeof buf, fp); | ^ show.c:339:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | static int nontext (msgnam) | ^ show.c:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static int nontext(); | ^ 91 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xshow show.o mhlsbr.o trmsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o -lcurses echo show show cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c packf.c -o packf.o packf.c:41:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 41 | main (argc, argv) | ^ | int packf.c:66:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | invo_name = r1bindex (argv[0], '/'); | ^ packf.c:67:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | if ((cp = m_find (invo_name)) != NULL) { | ^ packf.c:68:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ packf.c:68:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ packf.c:69:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | ap = copyip (ap, arguments); | ^ packf.c:73:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | (void) copyip (argv + 1, ap); | ^ packf.c:78:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 78 | while (cp = *argp++) { | ~~~^~~~~~~~~ packf.c:78:15: note: place parentheses around the assignment to silence this warning 78 | while (cp = *argp++) { | ^ | ( ) packf.c:78:15: note: use '==' to turn this assignment into an equality comparison 78 | while (cp = *argp++) { | ^ | == packf.c:80:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | switch (smatch (++cp, switches)) { | ^ packf.c:82:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | ambigsw (cp, switches); | ^ packf.c:83:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | done (1); | ^ packf.c:85:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | adios (NULLCP, "-%s unknown", cp); | ^ packf.c:89:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | help (buf, switches); | ^ packf.c:90:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | done (1); | ^ packf.c:94:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | adios (NULLCP, "only one file at a time!"); | ^ packf.c:96:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ packf.c:101:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | adios (NULLCP, "only one folder at a time!"); | ^ packf.c:102:20: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ packf.c:112:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | file = path (file, TFILE); | ^ packf.c:115:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | adios (file, "error on file"); | ^ packf.c:117:17: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | if (!getanswer (cp)) | ^ packf.c:118:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | done (1); | ^ packf.c:122:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | if (!m_find ("path")) | ^ packf.c:123:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | free (path ("./", TFOLDER)); | ^ packf.c:128:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | maildir = m_maildir (folder); | ^ packf.c:130:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | if (chdir (maildir) == NOTOK) | ^ packf.c:131:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | adios (maildir, "unable to change directory to "); | ^ packf.c:132:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | if (!(mp = m_gmsg (folder))) | ^ packf.c:133:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | adios (NULLCP, "unable to read folder %s", folder); | ^ packf.c:135:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | adios (NULLCP, "no messages in %s", folder); | ^ packf.c:138:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | if (!m_convert (mp, msgs[msgnum])) | ^ packf.c:139:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | done (1); | ^ packf.c:140:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | m_setseq (mp); | ^ packf.c:142:31: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | if ((md = mbx_open (file, getuid (), getgid (), m_gmprot ())) == NOTOK) | ^ packf.c:142:42: warning: call to undeclared function 'getgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | if ((md = mbx_open (file, getuid (), getgid (), m_gmprot ())) == NOTOK) | ^ packf.c:142:24: warning: passing arguments to 'mbx_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | if ((md = mbx_open (file, getuid (), getgid (), m_gmprot ())) == NOTOK) | ^ packf.c:143:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | adios (file, "unable to open"); | ^ packf.c:147:16: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | if ((fd = open (msgnam = m_name (msgnum), 0)) == NOTOK) { | ^ packf.c:147:38: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | if ((fd = open (msgnam = m_name (msgnum), 0)) == NOTOK) { | ^ packf.c:148:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | admonish (msgnam, "unable to read message"); | ^ packf.c:152:19: warning: passing arguments to 'mbx_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | if (mbx_copy (file, md, fd, 1, NULLCP, 1) == NOTOK) | ^ packf.c:153:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | adios (file, "error writing to file"); | ^ packf.c:155:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | (void) close (fd); | ^ packf.c:157:22: warning: passing arguments to 'mbx_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | (void) mbx_close (file, md); | ^ packf.c:159:15: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | m_replace (pfolder, folder); | ^ packf.c:161:11: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | m_setcur (mp, mp -> lowsel); | ^ packf.c:162:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | m_sync (mp); | ^ packf.c:165:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | done (0); | ^ packf.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | main (argc, argv) | ^ packf.c:173:22: warning: passing arguments to 'mbx_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | (void) mbx_close (file, md); | ^ packf.c:170:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | void done (status) | ^ In file included from packf.c:6: ./../h/mh.h:262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 262 | void done (); | ^ 52 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xpackf packf.o dropsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o /usr/local/bin/ld.bfd: ../zotnet/libzot.a(lock.o): in function `lockname': lock.c:(.text+0x62e): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo packf packf cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c pgped.c -o pgped.o pgped.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | main(argc, argv) | ^ | int pgped.c:117:25: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | invo_name = r1bindex(argv[0], '/'); | ^ pgped.c:118:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | if ((cp = m_find(invo_name)) != NULL) { | ^ pgped.c:119:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | ap = brkstring(cp = getcpy(cp), " ", "\n"); | ^ pgped.c:119:16: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | ap = brkstring(cp = getcpy(cp), " ", "\n"); | ^ pgped.c:120:13: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | ap = copyip(ap, arguments); | ^ pgped.c:124:18: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | (void) copyip(argv + 1, ap); | ^ pgped.c:131:20: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | switch (smatch(++cp, switches)) { | ^ pgped.c:133:10: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | ambigsw(cp, switches); | ^ pgped.c:134:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | done(1); | ^ pgped.c:136:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | adios(NULLCP, "-%s unknown", cp); | ^ pgped.c:139:7: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | help(buf, switches); | ^ pgped.c:140:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | done(1); | ^ pgped.c:144:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | adios(NULLCP, "missing argument to %s", argp[-2]); | ^ pgped.c:145:17: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | if ((i = alias(cp)) != AK_OK) | ^ pgped.c:146:61: warning: passing arguments to 'akerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | adios(NULLCP, "aliasing error in %s - %s", cp, akerror(i)); | ^ pgped.c:146:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | adios(NULLCP, "aliasing error in %s - %s", cp, akerror(i)); | ^ pgped.c:172:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | adios(NULLCP, "missing argument to %s", argp[-2]); | ^ pgped.c:177:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | adios(NULLCP, "missing argument to %s", argp[-2]); | ^ pgped.c:182:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | adios(NULLCP, "only one file at a time!"); | ^ pgped.c:193:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | if ((cp = m_find("Aliasfile"))) { /* allow Aliasfile: profile entry */ | ^ pgped.c:196:33: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) | ^ pgped.c:196:21: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) | ^ pgped.c:197:20: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | if ((i = alias(*ap)) != AK_OK) | ^ pgped.c:198:59: warning: passing arguments to 'akerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | adios (NULLCP, "aliasing error in %s - %s", *ap, akerror(i)); | ^ pgped.c:198:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | adios (NULLCP, "aliasing error in %s - %s", *ap, akerror(i)); | ^ pgped.c:202:17: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | (void) alias(AliasFile); | ^ pgped.c:205:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | adios(NULLCP, "usage: %s [switches] file", invo_name); | ^ pgped.c:211:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | adios(file, "unable to open"); | ^ pgped.c:215:26: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | while ((state = m_getfld(state, name, buf, sizeof(buf), in)) == FLD | ^ pgped.c:217:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | if (uleq(name, VRSN_FIELD)) { | ^ pgped.c:226:11: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | m_putenv("mhdraft", file); | ^ pgped.c:229:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | adios("fork", "unable to"); | ^ pgped.c:232:27: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | execlp(mhnproc, r1bindex(mhnproc, '/'), | ^ pgped.c:234:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | adios(mhnproc, "unable to exec"); | ^ pgped.c:237:7: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | if (pidXwait(pid, r1bindex(mhnproc, '/'))) | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ pgped.c:237:29: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | if (pidXwait(pid, r1bindex(mhnproc, '/'))) | ^ pgped.c:237:7: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | if (pidXwait(pid, r1bindex(mhnproc, '/'))) | ^ ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ pgped.c:238:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | done(1); | ^ pgped.c:243:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | done(0); | ^ pgped.c:251:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | adios(file, "unable to open"); | ^ pgped.c:260:51: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | (void) strcpy(tmpfil1, m_scratch("", m_maildir(invo_name))); | ^ pgped.c:260:37: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | (void) strcpy(tmpfil1, m_scratch("", m_maildir(invo_name))); | ^ pgped.c:262:33: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | (void) strcpy(tmpfil1, m_tmpfil(invo_name)); | ^ pgped.c:264:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | advise(tmpfil1, "unable to create"); | ^ pgped.c:270:51: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | (void) strcpy(tmpfil2, m_scratch("", m_maildir(invo_name))); | ^ pgped.c:270:37: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | (void) strcpy(tmpfil2, m_scratch("", m_maildir(invo_name))); | ^ pgped.c:272:33: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | (void) strcpy(tmpfil2, m_tmpfil(invo_name)); | ^ pgped.c:274:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | advise(tmpfil2, "unable to create"); | ^ pgped.c:284:26: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | switch (state = m_getfld(state, name, buf, sizeof(buf), in)) { | ^ pgped.c:289:14: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | cp = add(buf, NULLCP); | ^ pgped.c:291:19: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | state = m_getfld(state, name, buf, sizeof(buf), in); | ^ pgped.c:292:11: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | cp = add(buf, cp); | ^ pgped.c:294:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | if (uleq(name, VRSN_FIELD)) | ^ pgped.c:296:14: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | if (uprf(name, XXX_FIELD_PRF)) { | ^ pgped.c:311:11: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | if (uprf(name, "Resent-")) { | ^ pgped.c:313:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | if (uleq(name+7, *h)) | ^ pgped.c:316:31: warning: passing arguments to 'add_addrlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | resent_addrs = add_addrlist(resent_addrs, cp); | ^ pgped.c:317:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | if (uleq(name+7, "To")) /* Resent-To */ | ^ pgped.c:321:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | if (uleq(name, *h)) | ^ pgped.c:324:24: warning: passing arguments to 'add_addrlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | addrs = add_addrlist(addrs, cp); | ^ pgped.c:325:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | if (uleq(name, "From")) | ^ pgped.c:326:29: warning: passing arguments to 'add_addrlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | from_addrs = add_addrlist(from_addrs, cp); | ^ pgped.c:339:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | advise(NULLCP, "draft has empty body -- no directives!"); | ^ pgped.c:344:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | advise(NULLCP, "message format error in component #%d", compnum); | ^ pgped.c:348:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | advise(NULLCP, "getfld() returned %d", state); | ^ pgped.c:367:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | advise(NULLCP, "internal error"); | ^ pgped.c:395:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | advise(NULLCP, | ^ pgped.c:447:51: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | (void) strcpy(tmpfil3, m_scratch("", m_maildir(invo_name))); | ^ pgped.c:447:37: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | (void) strcpy(tmpfil3, m_scratch("", m_maildir(invo_name))); | ^ pgped.c:449:33: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | (void) strcpy(tmpfil3, m_tmpfil(invo_name)); | ^ pgped.c:451:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | advise(tmpfil3, "unable to create"); | ^ pgped.c:465:8: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | advise(NULLCP, "out of memory"); | ^ pgped.c:495:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | advise("fork", "unable to"); | ^ pgped.c:508:23: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | if ((state = pidwait(pid, OK)) == (NOT_INSTALLED << 8)) | ^ pgped.c:512:21: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | else if (pidstatus(state, stdout, pgpproc)) | ^ pgped.c:518:32: warning: passing arguments to 'exec_pgp5_for_keyid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | } else if (exec_pgp5_for_keyid(pgpproc, ap, &keyid) == NOTOK) | ^ pgped.c:526:22: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | ap[i = 0] = r1bindex(pgpproc, '/'); | ^ pgped.c:544:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | advise("fork", "unable to"); | ^ pgped.c:549:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | adios(pgpproc, "unable to exec"); | ^ pgped.c:552:10: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | if (pidXwait(pid, r1bindex(pgpproc, '/'))) | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ pgped.c:552:32: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | if (pidXwait(pid, r1bindex(pgpproc, '/'))) | ^ pgped.c:552:10: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | if (pidXwait(pid, r1bindex(pgpproc, '/'))) | ^ ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ pgped.c:565:15: warning: passing arguments to 'get_micalg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | : get_micalg(from_addrs ? from_addrs->address : NULLCP, | ^ pgped.c:570:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | advise(tmpfil2, "unable to open"); | ^ pgped.c:589:8: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | advise(tmpfil3, "unable to open"); | ^ pgped.c:601:34: warning: passing arguments to 'm_backup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | sprintf(buf, "%s.orig", m_backup(file)); | ^ pgped.c:603:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | advise(buf, "unable to rename %s to", file); | ^ pgped.c:612:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | advise(file, "unable to rename %s to", tmpfil1); | ^ pgped.c:615:12: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 615 | if ((in = open(tmpfil1, 0)) == NOTOK) { | ^ pgped.c:616:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | advise(tmpfil1, "unable to open"); | ^ pgped.c:619:13: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 619 | if ((out = creat(file, 0600)) == NOTOK) { | ^ pgped.c:620:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | advise(file, "unable to create"); | ^ pgped.c:624:9: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | cpydata(in, out, tmpfil1, file); | ^ pgped.c:630:9: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | done(0); | ^ pgped.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | main(argc, argv) | ^ pgped.c:643:25: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | while ((cp = getname(str))) { | ^ pgped.c:644:17: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | if (!(mp = getm(cp, NULLCP, 0, AD_HOST, NULLCP))) | ^ pgped.c:655:18: warning: passing arguments to 'akvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | pp = akvalue(lp->m_mbox); | ^ pgped.c:656:26: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | while ((cp = getname(pp))) { | ^ pgped.c:657:18: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | if (!(mp = getm(cp, NULLCP, 0, AD_HOST, NULLCP))) | ^ pgped.c:663:12: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | mnfree(lp); | ^ pgped.c:671:39: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | cp = add(lp->m_mbox, add("!", add(lp->m_host, NULLCP))); | ^ pgped.c:671:30: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | cp = add(lp->m_mbox, add("!", add(lp->m_host, NULLCP))); | ^ pgped.c:671:14: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | cp = add(lp->m_mbox, add("!", add(lp->m_host, NULLCP))); | ^ pgped.c:674:40: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | cp = add(LocalName(), add("@", add(lp->m_mbox, NULLCP))); | ^ pgped.c:674:31: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | cp = add(LocalName(), add("@", add(lp->m_mbox, NULLCP))); | ^ pgped.c:674:14: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | cp = add(LocalName(), add("@", add(lp->m_mbox, NULLCP))); | ^ pgped.c:677:39: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | cp = add(lp->m_host, add("@", add(lp->m_mbox, NULLCP))); | ^ pgped.c:677:30: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | cp = add(lp->m_host, add("@", add(lp->m_mbox, NULLCP))); | ^ pgped.c:677:14: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | cp = add(lp->m_host, add("@", add(lp->m_mbox, NULLCP))); | ^ pgped.c:682:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | if (uleq(ap->address, cp)) | ^ pgped.c:691:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | advise(NULLCP, "out of memory"); | ^ pgped.c:698:8: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | mnfree(lp); | ^ pgped.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | add_addrlist(addrp, str) | ^ pgped.c:26:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | struct addrlist *add_addrlist(); | ^ pgped.c:711:8: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | advise(NULLCP, "unable to open pipe"); | ^ pgped.c:719:8: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | advise("fork", "unable to"); | ^ pgped.c:758:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | *keyid = add(xp + 13, NULLCP); | ^ pgped.c:774:25: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | if ((state = pidwait(pid, OK)) == (NOT_INSTALLED << 8)) | ^ pgped.c:778:42: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | if (pidstatus(state, stdout, r1bindex(pgpproc, '/'))) | ^ pgped.c:778:18: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | if (pidstatus(state, stdout, r1bindex(pgpproc, '/'))) | ^ pgped.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | exec_pgp5_for_keyid(prog, ap, keyid) | ^ pgped.c:27:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | int exec_pgp5_for_keyid(); | ^ pgped.c:793:8: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | advise(NULLCP, "unable to open pipe"); | ^ pgped.c:801:8: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | advise("fork", "unable to"); | ^ pgped.c:819:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | adios("pgpk", "unable to exec"); | ^ pgped.c:835:9: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | if (pidXwait(pid, "pgpk")) | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ pgped.c:835:9: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ pgped.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | get_micalg(userid, keyid) | ^ pgped.c:28:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | char *get_micalg(); | ^ pgped.c:853:9: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | done(1); | ^ 132 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xpgped pgped.o aliasbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo pgped pgped cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c pgpshow.c -o pgpshow.o pgpshow.c:78:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 78 | main(argc, argv) | ^ | int pgpshow.c:92:25: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | invo_name = r1bindex(argv[0], '/'); | ^ pgpshow.c:93:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | if ((cp = m_find(invo_name)) != NULL) { | ^ pgpshow.c:94:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | ap = brkstring(cp = getcpy(cp), " ", "\n"); | ^ pgpshow.c:94:16: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | ap = brkstring(cp = getcpy(cp), " ", "\n"); | ^ pgpshow.c:95:13: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | ap = copyip(ap, arguments); | ^ pgpshow.c:99:18: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | (void) copyip(argv + 1, ap); | ^ pgpshow.c:106:20: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | switch (smatch(++cp, switches)) { | ^ pgpshow.c:108:10: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | ambigsw(cp, switches); | ^ pgpshow.c:109:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | done(1); | ^ pgpshow.c:111:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | adios(NULLCP, "-%s unknown", cp); | ^ pgpshow.c:115:7: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | help(buf, switches); | ^ pgpshow.c:116:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | done(1); | ^ pgpshow.c:141:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | adios(NULLCP, "missing argument to %s", argp[-2]); | ^ pgpshow.c:149:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | adios(NULLCP, "usage: %s [switches] file .. [parameters]", invo_name); | ^ pgpshow.c:158:14: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if (uprf(param[i], "protocol=")) { | ^ pgpshow.c:159:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | if (uleq(param[i] + 9, "application/pgp-signature")) | ^ pgpshow.c:161:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | else if (uleq(param[i] + 9, "application/pgp-encrypted")) | ^ pgpshow.c:164:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | adios(NULLCP, | ^ pgpshow.c:167:14: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | if (uprf(param[i], "micalg=")) { | ^ pgpshow.c:169:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | if (!uleq(micalg, "pgp-md5") && !uleq(micalg, "pgp-sha1")) | ^ pgpshow.c:169:40: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | if (!uleq(micalg, "pgp-md5") && !uleq(micalg, "pgp-sha1")) | ^ pgpshow.c:170:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | adios(NULLCP, "micalg \"%s\" is unsupported", micalg); | ^ pgpshow.c:174:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | adios(NULLCP, "protocol parameter is required"); | ^ pgpshow.c:176:10: warning: passing arguments to 'pgp_mime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | pgp_mime(param[0], param[1], protocol, micalg, showsw); | ^ pgpshow.c:180:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | if (uleq(param[i], "format=mime")) { | ^ pgpshow.c:186:14: warning: passing arguments to 'pgp_show' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | pgp_show(param[0], fmtmime); | ^ pgpshow.c:188:15: warning: passing arguments to 'pgp_store' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | pgp_store(param[0], fmtmime); | ^ pgpshow.c:191:9: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | done(0); | ^ pgpshow.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | main(argc, argv) | ^ pgpshow.c:208:51: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | (void) strcpy(tmpfil1, m_scratch("", m_maildir(invo_name))); | ^ pgpshow.c:208:37: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | (void) strcpy(tmpfil1, m_scratch("", m_maildir(invo_name))); | ^ pgpshow.c:210:33: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | (void) strcpy(tmpfil1, m_tmpfil(invo_name)); | ^ pgpshow.c:212:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | advise(tmpfil1, "unable to create"); | ^ pgpshow.c:228:9: warning: passing arguments to 'tee' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | if (tee(ap, PGP_VER5) == NOTOK) | ^ pgpshow.c:236:18: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | ap[0] = r1bindex(pgpproc, '/'); | ^ pgpshow.c:237:9: warning: passing arguments to 'tee' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | if (tee(ap, PGP_VER2) == NOTOK) { | ^ pgpshow.c:238:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | advise(pgpproc, "unable to exec"); | ^ pgpshow.c:244:18: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | ap[0] = r1bindex(showprog, '/'); | ^ pgpshow.c:249:18: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | ap[0] = r1bindex(moreproc, '/'); | ^ pgpshow.c:256:8: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | advise("fork", "unable to"); | ^ pgpshow.c:261:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | adios(fmtmime ? showprog : moreproc, "unable to exec"); | ^ pgpshow.c:264:6: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | if (pidXwait(pid, fmtmime ? showprog : r1bindex(moreproc, '/'))) | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ pgpshow.c:264:49: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | if (pidXwait(pid, fmtmime ? showprog : r1bindex(moreproc, '/'))) | ^ pgpshow.c:264:6: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | if (pidXwait(pid, fmtmime ? showprog : r1bindex(moreproc, '/'))) | ^ ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ pgpshow.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | pgp_show(file, fmtmime) | ^ pgpshow.c:18:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | void pgp_show(); | ^ pgpshow.c:285:51: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | (void) strcpy(tmpfil1, m_scratch("", m_maildir(invo_name))); | ^ pgpshow.c:285:37: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | (void) strcpy(tmpfil1, m_scratch("", m_maildir(invo_name))); | ^ pgpshow.c:287:33: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | (void) strcpy(tmpfil1, m_tmpfil(invo_name)); | ^ pgpshow.c:289:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | advise(tmpfil1, "unable to create"); | ^ pgpshow.c:294:12: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | cpydata(fileno(stdin), fileno(out), "stdin", tmpfil1); | ^ pgpshow.c:308:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | advise("fork", "unable to"); | ^ pgpshow.c:321:26: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | if ((state = pidwait(pid, OK)) == (NOT_INSTALLED << 8)) | ^ pgpshow.c:325:24: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | else if (pidstatus(state, stdout, "pgpv")) | ^ pgpshow.c:332:18: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | ap[0] = r1bindex(pgpproc, '/'); | ^ pgpshow.c:336:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | advise("fork", "unable to"); | ^ pgpshow.c:341:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | adios(pgpproc, "unable to exec"); | ^ pgpshow.c:344:10: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | if (pidXwait(pid, r1bindex(pgpproc, '/'))) | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ pgpshow.c:344:32: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | if (pidXwait(pid, r1bindex(pgpproc, '/'))) | ^ pgpshow.c:344:10: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | if (pidXwait(pid, r1bindex(pgpproc, '/'))) | ^ ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ pgpshow.c:352:13: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | if (!m_find("path")) | ^ pgpshow.c:353:15: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | free(path("./", TFOLDER)); | ^ pgpshow.c:354:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | if (!(ap[0] = m_find(inbox))) | ^ pgpshow.c:357:28: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | ap[0] = add(ap[0], add("+", NULLCP)); | ^ pgpshow.c:357:17: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | ap[0] = add(ap[0], add("+", NULLCP)); | ^ pgpshow.c:359:8: warning: passing arguments to 'refile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | refile(ap, file); | ^ pgpshow.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | pgp_store(file, fmtmime) | ^ pgpshow.c:19:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | void pgp_store(); | ^ pgpshow.c:378:51: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | (void) strcpy(tmpfil1, m_scratch("", m_maildir(invo_name))); | ^ pgpshow.c:378:37: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | (void) strcpy(tmpfil1, m_scratch("", m_maildir(invo_name))); | ^ pgpshow.c:380:33: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | (void) strcpy(tmpfil1, m_tmpfil(invo_name)); | ^ pgpshow.c:382:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | advise(tmpfil1, "unable to create"); | ^ pgpshow.c:390:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | advise(file1, "unable to open"); | ^ pgpshow.c:425:9: warning: passing arguments to 'tee' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | if (tee(ap, PGP_VER5) == NOTOK) { | ^ pgpshow.c:426:39: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | if (protocol == PGP_SIGN && !uleq(micalg, "pgp-md5")) { | ^ pgpshow.c:428:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | advise(pgpproc, "unable to exec"); | ^ pgpshow.c:438:18: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | ap[0] = r1bindex(pgpproc, '/'); | ^ pgpshow.c:443:9: warning: passing arguments to 'tee' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | if (tee(ap, PGP_VER2) == NOTOK) { | ^ pgpshow.c:444:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | advise(pgpproc, "unable to exec"); | ^ pgpshow.c:450:21: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | ap[0] = r1bindex(showprog, '/'); | ^ pgpshow.c:456:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | advise(tmpfil1, "unable to open"); | ^ pgpshow.c:460:48: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | (void) strcpy(tmpfil2, m_scratch("", m_maildir(invo_name))); | ^ pgpshow.c:460:34: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | (void) strcpy(tmpfil2, m_scratch("", m_maildir(invo_name))); | ^ pgpshow.c:462:37: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | (void) strcpy(tmpfil2, m_tmpfil(invo_name)); | ^ pgpshow.c:464:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | advise(tmpfil2, "unable to create"); | ^ pgpshow.c:488:13: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | if (!m_find("path")) | ^ pgpshow.c:489:15: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | free(path("./", TFOLDER)); | ^ pgpshow.c:490:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | if (!(ap[0] = m_find(inbox))) | ^ pgpshow.c:493:28: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | ap[0] = add(ap[0], add("+", NULLCP)); | ^ pgpshow.c:493:17: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | ap[0] = add(ap[0], add("+", NULLCP)); | ^ pgpshow.c:495:8: warning: passing arguments to 'refile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | refile(ap, ap[2]); | ^ pgpshow.c:501:8: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | advise("fork", "unable to"); | ^ pgpshow.c:506:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | adios(showprog, "unable to exec"); | ^ pgpshow.c:509:6: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | if (pidXwait(pid, r1bindex(showprog, '/'))) | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ pgpshow.c:509:28: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | if (pidXwait(pid, r1bindex(showprog, '/'))) | ^ pgpshow.c:509:6: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | if (pidXwait(pid, r1bindex(showprog, '/'))) | ^ ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ pgpshow.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | pgp_mime(file1, file2, protocol, micalg, showsw) | ^ pgpshow.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | void pgp_mime(); | ^ pgpshow.c:526:8: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | advise(NULLCP, "unable to open pipe"); | ^ pgpshow.c:534:8: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | advise("fork", "unable to"); | ^ pgpshow.c:578:15: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | m_putenv("PGP_SIGNATURE", xp + 1); | ^ pgpshow.c:594:25: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | if ((state = pidwait(pid, OK)) == (NOT_INSTALLED << 8)) | ^ pgpshow.c:598:42: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | if (pidstatus(state, stdout, r1bindex(pgpproc, '/'))) | ^ pgpshow.c:598:18: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | if (pidstatus(state, stdout, r1bindex(pgpproc, '/'))) | ^ pgpshow.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | tee(ap, pgpver) | ^ pgpshow.c:21:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | int tee(); | ^ pgpshow.c:612:9: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | done(1); | ^ 108 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xpgpshow pgpshow.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo pgpshow pgpshow cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c pick.c -o pick.o pick.c:78:7: warning: parameter 'argc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 78 | main (argc, argv) | ^ 79 | char *argv[]; 80 | { pick.c:78:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 78 | main (argc, argv) | ^ | int pick.c:108:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | invo_name = r1bindex (argv[0], '/'); | ^ pick.c:109:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | if ((cp = m_find (invo_name)) != NULL) { | ^ pick.c:110:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ pick.c:110:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ pick.c:111:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | ap = copyip (ap, arguments); | ^ pick.c:115:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | (void) copyip (argv + 1, ap); | ^ pick.c:120:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 120 | while (cp = *argp++) { | ~~~^~~~~~~~~ pick.c:120:15: note: place parentheses around the assignment to silence this warning 120 | while (cp = *argp++) { | ^ | ( ) pick.c:120:15: note: use '==' to turn this assignment into an equality comparison 120 | while (cp = *argp++) { | ^ | == pick.c:126:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | switch (smatch (cp, switches)) { | ^ pick.c:128:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | ambigsw (cp, switches); | ^ pick.c:129:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | done (1); | ^ pick.c:131:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | adios (NULLCP, "-%s unknown", cp); | ^ pick.c:135:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | help (buf, switches); | ^ pick.c:137:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | done (1); | ^ pick.c:151:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ pick.c:155:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | adios (NULLCP, "internal error!"); | ^ pick.c:167:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ pick.c:171:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | adios (NULLCP, "only %d sequences allowed!", NATTRS); | ^ pick.c:197:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | adios (NULLCP, "only one folder at a time!"); | ^ pick.c:199:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ pick.c:207:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | if (!m_find ("path")) | ^ pick.c:208:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | free (path ("./", TFOLDER)); | ^ pick.c:213:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | maildir = m_maildir (folder); | ^ pick.c:215:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 215 | if (chdir (maildir) == NOTOK) | ^ pick.c:216:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | adios (maildir, "unable to change directory to"); | ^ pick.c:217:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | if (!(mp = m_gmsg (folder))) | ^ pick.c:218:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | adios (NULLCP, "unable to read folder %s", folder); | ^ pick.c:220:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | adios (NULLCP, "no messages in %s", folder); | ^ pick.c:223:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | if (!m_convert (mp, msgs[msgnum])) | ^ pick.c:224:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | done (1); | ^ pick.c:225:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | m_setseq (mp); | ^ pick.c:232:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | adios (NULLCP, "folder %s is read-only, so -public not allowed", | ^ pick.c:237:10: warning: call to undeclared function 'pcompile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 237 | if (!pcompile (vec, NULLCP)) | ^ pick.c:238:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | done (1); | ^ pick.c:245:35: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | if ((fp = fopen (cp = m_name (msgnum), "r")) == NULL) | ^ pick.c:246:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | admonish (cp, "unable to read message"); | ^ pick.c:247:16: warning: call to undeclared function 'pmatches'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | if (fp && pmatches (fp, msgnum, 0L, 0L)) { | ^ pick.c:265:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | adios (NULLCP, "no messages match specification"); | ^ pick.c:271:26: warning: passing arguments to 'm_seqnew' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | if (zerosw && !m_seqnew (mp, seqs[seqp], publicsw)) | ^ pick.c:272:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | done (1); | ^ pick.c:275:17: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | if (!m_seqadd (mp, seqs[seqp], msgnum, publicsw)) | ^ pick.c:276:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | done (1); | ^ pick.c:282:26: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | printf ("%s\n", m_name (msgnum)); | ^ pick.c:288:15: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | m_replace (pfolder, folder); | ^ pick.c:289:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | m_sync (mp); | ^ pick.c:292:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | done (0); | ^ pick.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | main (argc, argv) | ^ pick.c:300:30: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 300 | if (listsw && status && !isatty (fileno (stdout))) | ^ pick.c:297:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | void done (status) | ^ In file included from pick.c:6: ./../h/mh.h:262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 262 | void done (); | ^ 51 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xpick pick.o picksbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo pick pick cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c prompter.c -o prompter.o prompter.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | main (argc, argv) | ^ | int prompter.c:116:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | invo_name = r1bindex (argv[0], '/'); | ^ prompter.c:117:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | if ((cp = m_find (invo_name)) != NULL) { | ^ prompter.c:118:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ prompter.c:118:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ prompter.c:119:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | ap = copyip (ap, arguments); | ^ prompter.c:123:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | (void) copyip (argv + 1, ap); | ^ prompter.c:128:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | while (cp = *argp++) | ~~~^~~~~~~~~ prompter.c:128:15: note: place parentheses around the assignment to silence this warning 128 | while (cp = *argp++) | ^ | ( ) prompter.c:128:15: note: use '==' to turn this assignment into an equality comparison 128 | while (cp = *argp++) | ^ | == prompter.c:130:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | switch (smatch (++cp, switches)) { | ^ prompter.c:132:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | ambigsw (cp, switches); | ^ prompter.c:133:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | done (1); | ^ prompter.c:135:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | adios (NULLCP, "-%s unknown", cp); | ^ prompter.c:138:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | help (buffer, switches); | ^ prompter.c:139:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | done (1); | ^ prompter.c:143:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ prompter.c:147:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ prompter.c:185:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | adios (NULLCP, "usage: %s [switches] file", invo_name); | ^ prompter.c:187:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | adios (drft, "unable to open"); | ^ prompter.c:189:37: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | (void) strcpy (tmpfil, m_tmpfil (invo_name)); | ^ prompter.c:191:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | adios (tmpfil, "unable to create"); | ^ prompter.c:192:12: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | (void) chmod (tmpfil, 0600); | ^ prompter.c:200:17: warning: call to undeclared function 'chrcnv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | KILL = killp ? chrcnv (killp) : skill; | ^ prompter.c:204:2: warning: call to undeclared function 'chrdsp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | chrdsp ("erase", ERASE); | ^ prompter.c:220:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | switch (state = m_getfld (state, name, field, sizeof field, in)) { | ^ prompter.c:232:17: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | m_getfld (state, name, field, sizeof field, in); | ^ prompter.c:240:11: warning: call to undeclared function 'getln'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | i = getln (field, sizeof field); | ^ prompter.c:245:11: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | (void) unlink (tmpfil); | ^ prompter.c:246:9: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | done (1); | ^ prompter.c:282:15: warning: call to undeclared function 'getln'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 282 | (void) getln (buffer, sizeof buffer); | ^ prompter.c:296:26: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | (state = m_getfld (state, name, field, sizeof field, in))); | ^ prompter.c:305:14: warning: call to undeclared function 'getln'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 305 | (void) getln (field, sizeof field); | ^ prompter.c:315:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | adios (NULLCP, "skeleton is poorly formatted"); | ^ prompter.c:334:16: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | if ((fdi = open (tmpfil, 0)) == NOTOK) | ^ prompter.c:335:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | adios (tmpfil, "unable to re-open"); | ^ prompter.c:336:16: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 336 | if ((fdo = creat (drft, m_gmprot ())) == NOTOK) | ^ prompter.c:337:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | adios (drft, "unable to write"); | ^ prompter.c:338:13: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | cpydata (fdi, fdo, tmpfil, drft); | ^ prompter.c:339:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 339 | (void) close (fdi); | ^ prompter.c:341:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | (void) unlink (tmpfil); | ^ prompter.c:345:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | done (0); | ^ prompter.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | main (argc, argv) | ^ prompter.c:350:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 350 | getln (buffer, n) | ^ | int prompter.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] prompter.c:411:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | static TYPESIG intrser (i) | ^ prompter.c:72:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static TYPESIG intrser (); | ^ prompter.c:428:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 428 | chrcnv (cp) | ^ | int prompter.c:431:41: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | return (*cp != QUOTE ? *cp : m_atoi (++cp)); | ^ prompter.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | chrcnv (cp) | ^ prompter.c:435:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 435 | chrdsp (s, c) | ^ | int prompter.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xprompter prompter.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo prompter prompter cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c refile.c -o refile.o refile.c:61:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | static opnfolds(), clsfolds(), removeit(); | ~~~~~~ ^ | int refile.c:61:20: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | static opnfolds(), clsfolds(), removeit(); | ~~~~~~ ^ | int refile.c:61:32: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | static opnfolds(), clsfolds(), removeit(); | ~~~~~~ ^ | int refile.c:66:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | main (argc, argv) | ^ | int refile.c:96:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | invo_name = r1bindex (argv[0], '/'); | ^ refile.c:97:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | if ((cp = m_find (invo_name)) != NULL) { | ^ refile.c:98:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ refile.c:98:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ refile.c:99:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | ap = copyip (ap, arguments); | ^ refile.c:103:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | (void) copyip (argv + 1, ap); | ^ refile.c:108:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 108 | while (cp = *argp++) { | ~~~^~~~~~~~~ refile.c:108:15: note: place parentheses around the assignment to silence this warning 108 | while (cp = *argp++) { | ^ | ( ) refile.c:108:15: note: use '==' to turn this assignment into an equality comparison 108 | while (cp = *argp++) { | ^ | == refile.c:110:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | switch (smatch (++cp, switches)) { | ^ refile.c:112:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | ambigsw (cp, switches); | ^ refile.c:113:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | done (1); | ^ refile.c:115:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | adios (NULLCP, "-%s unknown\n", cp); | ^ refile.c:119:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | help (buf, switches); | ^ refile.c:120:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | done (1); | ^ refile.c:138:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | adios (NULLCP, "only one source folder at a time!"); | ^ refile.c:140:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ refile.c:141:21: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | folder = path (*cp == '+' || *cp == '@' ? cp + 1 : cp, | ^ refile.c:146:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | adios (NULLCP, "only %d files allowed!", NFOLDERS); | ^ refile.c:148:40: warning: passing arguments to 'm_draft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | files[filep++] = getcpy (m_draft (NULLCP, NULLCP, 1, &isdf)); | ^ refile.c:148:31: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | files[filep++] = getcpy (m_draft (NULLCP, NULLCP, 1, &isdf)); | ^ refile.c:152:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | adios (NULLCP, "only %d files allowed!", NFOLDERS); | ^ refile.c:154:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ refile.c:155:29: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | files[filep++] = path (cp, TFILE); | ^ refile.c:160:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ refile.c:168:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | adios (NULLCP, "only %d folders allowed!", NFOLDERS); | ^ refile.c:170:12: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ refile.c:178:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | if (!m_find ("path")) | ^ refile.c:179:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | free (path ("./", TFOLDER)); | ^ refile.c:181:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | adios (NULLCP, "no folder specified"); | ^ refile.c:190:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | adios (NULLCP, "use -file or some messages, not both"); | ^ refile.c:191:11: warning: passing arguments to 'opnfolds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | opnfolds (folders, foldp); | ^ refile.c:193:17: warning: passing arguments to 'm_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | if (m_file (files[i], folders, foldp, prsrvf)) | ^ refile.c:194:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | done (1); | ^ refile.c:196:15: warning: passing arguments to 'removeit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | removeit (NULLMP, filep, filevec); | ^ refile.c:197:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | done (0); | ^ refile.c:204:39: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | (void) strcpy (maildir, m_maildir (folder)); | ^ refile.c:206:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | if (chdir (maildir) == NOTOK) | ^ refile.c:207:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | adios (maildir, "unable to change directory to"); | ^ refile.c:208:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | if (!(mp = m_gmsg (folder))) | ^ refile.c:209:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | adios (NULLCP, "unable to read folder %s", folder); | ^ refile.c:211:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | adios (NULLCP, "no messages in %s", folder); | ^ refile.c:214:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | if (!m_convert (mp, msgs[msgnum])) | ^ refile.c:215:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | done (1); | ^ refile.c:216:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | m_setseq (mp); | ^ refile.c:218:14: warning: passing arguments to 'opnfolds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | opnfolds (folders, foldp); | ^ refile.c:221:26: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | cp = getcpy (m_name (msgnum)); | ^ refile.c:221:18: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | cp = getcpy (m_name (msgnum)); | ^ refile.c:222:17: warning: passing arguments to 'm_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | if (m_file (cp, folders, foldp, prsrvf)) | ^ refile.c:223:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | done (1); | ^ refile.c:234:14: warning: passing arguments to 'clsfolds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | clsfolds (folders, foldp); | ^ refile.c:236:15: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | m_replace (pfolder, folder); | ^ refile.c:239:11: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | m_setcur (mp, mp -> hghsel); | ^ refile.c:240:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | m_sync (mp); | ^ refile.c:244:11: warning: passing arguments to 'removeit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | removeit (mp, filep, filevec); | ^ refile.c:246:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | done (0); | ^ refile.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | main (argc, argv) | ^ refile.c:251:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 251 | static opnfolds (folders, nfolders) | ~~~~~~ ^ | int refile.c:263:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 263 | (void) chdir (m_maildir ("")); | ^ refile.c:263:26: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | (void) chdir (m_maildir ("")); | ^ refile.c:264:37: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | (void) strcpy (nmaildir, m_maildir (fp -> f_name)); | ^ refile.c:268:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | adios (nmaildir, "error on folder"); | ^ refile.c:270:21: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | if (!getanswer (cp)) | ^ refile.c:271:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | done (1); | ^ refile.c:273:19: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | if (!makedir (nmaildir)) | ^ refile.c:274:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | adios (NULLCP, "unable to create folder %s", nmaildir); | ^ refile.c:278:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | adios (nmaildir, "unable to change directory to"); | ^ refile.c:279:20: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | if (!(mp = m_gmsg (fp -> f_name))) | ^ refile.c:280:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | adios (NULLCP, "unable to read folder %s", fp -> f_name); | ^ refile.c:251:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | static opnfolds (folders, nfolders) | ^ refile.c:61:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static opnfolds(), clsfolds(), removeit(); | ^ refile.c:291:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 291 | static clsfolds (folders, nfolders) | ~~~~~~ ^ | int refile.c:301:11: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | m_setseq (mp); | ^ refile.c:302:9: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | m_sync (mp); | ^ refile.c:291:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | static clsfolds (folders, nfolders) | ^ refile.c:61:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static opnfolds(), clsfolds(), removeit(); | ^ refile.c:308:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 308 | static removeit (mp, filep, files) | ~~~~~~ ^ | int refile.c:325:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | adios (NULLCP, "more than %d messages for %s exec", | ^ refile.c:329:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | adios (NULLCP, "unable to allocate exec vector"); | ^ refile.c:333:36: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | vec[vecp++] = getcpy (m_name (i)); | ^ refile.c:333:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | vec[vecp++] = getcpy (m_name (i)); | ^ refile.c:338:20: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | vec[0] = r1bindex (rmmproc, '/'); | ^ refile.c:339:2: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 339 | execvp (rmmproc, vec); | ^ refile.c:340:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | adios (rmmproc, "unable to exec"); | ^ refile.c:346:10: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 346 | if (unlink (files[i]) == NOTOK) | ^ refile.c:347:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | admonish (files[i], "unable to unlink"); | ^ refile.c:352:7: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 352 | if (unlink (cp = m_name (i)) == NOTOK) | ^ refile.c:352:27: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | if (unlink (cp = m_name (i)) == NOTOK) | ^ refile.c:353:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | admonish (cp, "unable to unlink"); | ^ refile.c:308:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | static removeit (mp, filep, files) | ^ refile.c:61:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static opnfolds(), clsfolds(), removeit(); | ^ refile.c:358:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 358 | m_file (msg, folders, nfolders, prsrvf) | ^ | int refile.c:378:33: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | if (prsrvf && (msgnum = m_atoi (nmsg = msg)) > 0) { | ^ refile.c:380:20: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | if (mp = m_remsg (mp, 0, msgnum + MAXFOLDER)) | ^ refile.c:380:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 380 | if (mp = m_remsg (mp, 0, msgnum + MAXFOLDER)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ refile.c:380:10: note: place parentheses around the assignment to silence this warning 380 | if (mp = m_remsg (mp, 0, msgnum + MAXFOLDER)) | ^ | ( ) refile.c:380:10: note: use '==' to turn this assignment into an equality comparison 380 | if (mp = m_remsg (mp, 0, msgnum + MAXFOLDER)) | ^ | == refile.c:383:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | adios (NULLCP, "unable to allocate folder storage"); | ^ refile.c:382:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 382 | else | ^ refile.c:397:20: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | if (mp = m_remsg (mp, 0, mp -> hghoff + MAXFOLDER)) | ^ refile.c:397:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 397 | if (mp = m_remsg (mp, 0, mp -> hghoff + MAXFOLDER)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ refile.c:397:10: note: place parentheses around the assignment to silence this warning 397 | if (mp = m_remsg (mp, 0, mp -> hghoff + MAXFOLDER)) | ^ | ( ) refile.c:397:10: note: use '==' to turn this assignment into an equality comparison 397 | if (mp = m_remsg (mp, 0, mp -> hghoff + MAXFOLDER)) | ^ | == refile.c:400:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | adios (NULLCP, "unable to allocate folder storage"); | ^ refile.c:399:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 399 | else | ^ refile.c:402:20: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | nmsg = m_name (msgnum = ++mp -> hghmsg); | ^ refile.c:416:6: warning: call to undeclared function 'link'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 416 | if (link (msg, newmsg) == NOTOK) { | ^ refile.c:429:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | advise (NULLCP, "message %s:%s already exists", | ^ refile.c:436:13: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 436 | if ((in = open (msg, 0)) == NOTOK) { | ^ refile.c:437:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | advise (msg, "unable to open message %s"); | ^ refile.c:441:14: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 441 | if ((out = creat (newmsg, (int) st.st_mode & 0777)) | ^ refile.c:443:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | advise (newmsg, "unable to create"); | ^ refile.c:444:14: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 444 | (void) close (in); | ^ refile.c:447:11: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | cpydata (in, out, msg, newmsg); | ^ refile.c:448:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | (void) close (in); | ^ refile.c:452:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | advise (newmsg, "error linking %s to", msg); | ^ refile.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | m_file (msg, folders, nfolders, prsrvf) | ^ In file included from refile.c:6: ./../h/mh.h:276:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 276 | int m_file (); | ^ 116 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xrefile refile.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo refile refile cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c repl.c -o repl.o repl.c:161:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 161 | main (argc, argv) | ^ | int repl.c:199:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | invo_name = r1bindex (argv[0], '/'); | ^ repl.c:200:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | if ((cp = m_find (invo_name)) != NULL) { | ^ repl.c:201:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ repl.c:201:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ repl.c:202:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | ap = copyip (ap, arguments); | ^ repl.c:206:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | (void) copyip (argv + 1, ap); | ^ repl.c:211:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 211 | while (cp = *argp++) { | ~~~^~~~~~~~~ repl.c:211:15: note: place parentheses around the assignment to silence this warning 211 | while (cp = *argp++) { | ^ | ( ) repl.c:211:15: note: use '==' to turn this assignment into an equality comparison 211 | while (cp = *argp++) { | ^ | == repl.c:213:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | switch (smatch (++cp, switches)) { | ^ repl.c:215:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | ambigsw (cp, switches); | ^ repl.c:216:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | done (1); | ^ repl.c:218:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | adios (NULLCP, "-%s unknown", cp); | ^ repl.c:222:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | help (buf, switches); | ^ repl.c:223:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | done (0); | ^ repl.c:234:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ repl.c:235:7: warning: call to undeclared function 'docc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | docc (cp, 1); | ^ repl.c:239:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ repl.c:245:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ repl.c:254:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ repl.c:267:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ repl.c:270:19: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | cp = dp = path (cp + 1, TSUBCWF); | ^ repl.c:272:14: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | fcc = add (", ", fcc); | ^ repl.c:273:17: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | fcc = add (cp, fcc); | ^ repl.c:280:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | adios (NULLCP, "only one file at a time!"); | ^ repl.c:282:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ repl.c:283:19: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | file = path (cp, TFILE); | ^ repl.c:287:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ repl.c:288:32: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | filter = getcpy (libpath (cp)); | ^ repl.c:288:23: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | filter = getcpy (libpath (cp)); | ^ repl.c:293:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ repl.c:329:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ repl.c:331:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | adios (NULLCP, "impossible width %d", outputlinelen); | ^ repl.c:336:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | adios (NULLCP, "only one draft folder at a time!"); | ^ repl.c:338:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ repl.c:339:22: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | dfolder = path (*cp == '+' || *cp == '@' ? cp + 1 : cp, | ^ repl.c:344:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | adios (NULLCP, "only one draft message at a time!"); | ^ repl.c:346:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ repl.c:355:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | adios (NULLCP, "only one folder at a time!"); | ^ repl.c:357:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ repl.c:361:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | adios (NULLCP, "only one message at a time!"); | ^ repl.c:368:18: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | cwd = getcpy (pwd ()); | ^ repl.c:370:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | if (!m_find ("path")) | ^ repl.c:371:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | free (path ("./", TFOLDER)); | ^ repl.c:373:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | adios (NULLCP, "can't mix files and folders/msgs"); | ^ repl.c:380:46: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | (void) strcpy (drft, buildsw ? m_maildir ("reply") | ^ repl.c:381:16: warning: passing arguments to 'm_draft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | : m_draft (dfolder, NULLCP, NOUSE, &isdf)); | ^ repl.c:386:26: warning: passing arguments to 'getans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | if (!(argp = getans ("\nDisposition? ", isdf ? aqrnl : aqrl))) | ^ repl.c:387:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | done (1); | ^ repl.c:388:25: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | switch (i = smatch (*argp, isdf ? aqrnl : aqrl)) { | ^ repl.c:390:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | done (0); | ^ repl.c:397:23: warning: passing arguments to 'showfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | (void) showfile (++argp, drft); | ^ repl.c:400:18: warning: passing arguments to 'refile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | if (refile (++argp, drft) == 0) | ^ repl.c:404:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | advise (NULLCP, "say what?"); | ^ repl.c:421:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | maildir = m_maildir (folder); | ^ repl.c:423:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 423 | if (chdir (maildir) == NOTOK) | ^ repl.c:424:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | adios (maildir, "unable to change directory to"); | ^ repl.c:425:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | if (!(mp = m_gmsg (folder))) | ^ repl.c:426:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | adios (NULLCP, "unable to read folder %s", folder); | ^ repl.c:428:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | adios (NULLCP, "no messages in %s", folder); | ^ repl.c:430:20: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | if (!m_convert (mp, msg)) | ^ repl.c:431:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | done (1); | ^ repl.c:432:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | m_setseq (mp); | ^ repl.c:435:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | adios (NULLCP, "only one message at a time!"); | ^ repl.c:437:15: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | m_replace (pfolder, folder); | ^ repl.c:439:11: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | m_setcur (mp, mp -> lowsel); | ^ repl.c:440:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | m_sync (mp); | ^ repl.c:444:40: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | msg = file ? file : getcpy (m_name (mp -> lowsel)); | ^ repl.c:444:32: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | msg = file ? file : getcpy (m_name (mp -> lowsel)); | ^ repl.c:447:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | adios (msg, "unable to open"); | ^ repl.c:449:5: warning: call to undeclared function 'replout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 449 | replout (in, msg, drft, mp); | ^ repl.c:453:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | done (0); | ^ repl.c:454:12: warning: call to undeclared function 'what_now'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 454 | (void) what_now (ed, nedit, NOUSE, drft, msg, 0, mp, | ^ repl.c:456:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | done (1); | ^ repl.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | main (argc, argv) | ^ repl.c:461:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 461 | docc (cp, ccflag) | ^ | int repl.c:465:20: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | switch (smatch (cp, ccswitches)) { | ^ repl.c:467:14: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | ambigsw (cp, ccswitches); | ^ repl.c:468:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | done (1); | ^ repl.c:470:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | adios (NULLCP, "-%scc %s unknown", ccflag ? "" : "no", cp); | ^ repl.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | docc (cp, ccflag) | ^ 80 warnings generated. cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c replsbr.c -o replsbr.o replsbr.c:71:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | static insert(), replfilter(); | ~~~~~~ ^ | int replsbr.c:71:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | static insert(), replfilter(); | ~~~~~~ ^ | int replsbr.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | replout (inb, msg, drft, mp) | ^ | int replsbr.c:96:12: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | (void) umask( ~ m_gmprot() ); | ^ replsbr.c:98:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | adios (drft, "unable to create"); | ^ replsbr.c:100:17: warning: passing arguments to 'new_fs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | cp = new_fs (form ? form : replcomps, NULLCP, NULLCP); | ^ replsbr.c:102:14: warning: call to undeclared function 'fmt_compile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | ncomps = fmt_compile (cp, &fmt) + 1; | ^ replsbr.c:106:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | adios (NULLCP, "unable to allocate component buffers"); | ^ replsbr.c:110:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | adios (NULLCP, "unable to allocate component buffer stack"); | ^ replsbr.c:115:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | adios (NULLCP, "unable to allocate component buffer"); | ^ replsbr.c:141:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | cptr->c_text = getcpy (fcc); | ^ replsbr.c:143:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 143 | if (cp = getenv("USER")) { | ~~~^~~~~~~~~~~~~~~~ replsbr.c:143:12: note: place parentheses around the assignment to silence this warning 143 | if (cp = getenv("USER")) { | ^ | ( ) replsbr.c:143:12: note: use '==' to turn this assignment into an equality comparison 143 | if (cp = getenv("USER")) { | ^ | == replsbr.c:146:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | cptr->c_text = getcpy(cp); | ^ replsbr.c:149:18: warning: passing arguments to 'ismymbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | (void) ismymbox ((struct mailname *)0); /* XXX */ | ^ replsbr.c:153:19: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | state = m_getfld (state, name, tmpbuf, SBUFSIZ, inb); | ^ replsbr.c:155:16: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | (void) ml_conv(tmpbuf); | ^ replsbr.c:166:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 166 | if (cptr = wantcomp[CHASH(name)]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ replsbr.c:166:12: note: place parentheses around the assignment to silence this warning 166 | if (cptr = wantcomp[CHASH(name)]) | ^ | ( ) replsbr.c:166:12: note: use '==' to turn this assignment into an equality comparison 166 | if (cptr = wantcomp[CHASH(name)]) | ^ | == replsbr.c:168:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | if (uleq(name, cptr->c_name)) { | ^ replsbr.c:179:15: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | cp = add (",\n\t", cp); | ^ replsbr.c:181:15: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | cp = add ("\t", cp); | ^ replsbr.c:180:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] 180 | } else { | ^ replsbr.c:183:24: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | cptr->c_text = add (tmpbuf, cp); | ^ replsbr.c:186:22: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | state = m_getfld (state, name, tmpbuf, | ^ replsbr.c:189:47: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | (void) ml_conv(tmpbuf); | ^ replsbr.c:191:24: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | cptr->c_text = add (tmpbuf, cptr->c_text); | ^ replsbr.c:196:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 196 | } while (cptr = cptr->c_next); | ~~~~~^~~~~~~~~~~~~~ replsbr.c:196:21: note: place parentheses around the assignment to silence this warning 196 | } while (cptr = cptr->c_next); | ^ | ( ) replsbr.c:196:21: note: use '==' to turn this assignment into an equality comparison 196 | } while (cptr = cptr->c_next); | ^ | == replsbr.c:199:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | state = m_getfld (state, name, tmpbuf, SBUFSIZ, inb); | ^ replsbr.c:201:28: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | (void) ml_conv(tmpbuf); | ^ replsbr.c:213:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | adios (NULLCP, "m_getfld() returned %d", state); | ^ replsbr.c:234:13: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | if(uprf(cp, "re:")) | ^ replsbr.c:242:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | cptr->c_text = getcpy (sp); | ^ replsbr.c:250:20: warning: passing arguments to 'fmtscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | (void) fmtscan (fmt, scanl, i, dat); | ^ replsbr.c:252:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | ml_fputs (scanl, out); | ^ replsbr.c:261:13: warning: passing arguments to 'replfilter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | replfilter (inb, out); | ^ replsbr.c:266:31: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | mp -> foldpath, m_name (mp -> lowsel)); | ^ replsbr.c:270:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | adios (drft, "error writing"); | ^ replsbr.c:276:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 276 | cptr = *savecomp++; nxtbuf++, i--) | ~~~~~^~~~~~~~~~~~~ replsbr.c:276:11: note: place parentheses around the assignment to silence this warning 276 | cptr = *savecomp++; nxtbuf++, i--) | ^ | ( ) replsbr.c:276:11: note: use '==' to turn this assignment into an equality comparison 276 | cptr = *savecomp++; nxtbuf++, i--) | ^ | == replsbr.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | replout (inb, msg, drft, mp) | ^ replsbr.c:337:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | adios (NULLCP, "formataddr: couldn't allocate buffer space"); | ^ replsbr.c:353:2: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | CHECKMEM (orig); | ^ replsbr.c:305:13: note: expanded from macro 'CHECKMEM' 305 | adios (NULLCP, "formataddr: couldn't get buffer space");\ | ^ replsbr.c:354:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 354 | CPY (orig); | ^~~~~~~~~~ replsbr.c:293:42: note: expanded from macro 'CPY' 293 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ~~~~~~~^~~~~~~ replsbr.c:354:2: note: place parentheses around the assignment to silence this warning replsbr.c:293:42: note: expanded from macro 'CPY' 293 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ replsbr.c:354:2: note: use '==' to turn this assignment into an equality comparison replsbr.c:293:42: note: expanded from macro 'CPY' 293 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ replsbr.c:358:36: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | for (isgroup = 0; cp = getname (str); ) { | ^ replsbr.c:358:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 358 | for (isgroup = 0; cp = getname (str); ) { | ~~~^~~~~~~~~~~~~~~ replsbr.c:358:26: note: place parentheses around the assignment to silence this warning 358 | for (isgroup = 0; cp = getname (str); ) { | ^ | ( ) replsbr.c:358:26: note: use '==' to turn this assignment into an equality comparison 358 | for (isgroup = 0; cp = getname (str); ) { | ^ | == replsbr.c:359:17: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | if ((mp = getm (cp, dfhost, dftype, AD_NAME, error)) == NULL) { | ^ replsbr.c:361:21: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | badaddrs = add (baddr, badaddrs); | ^ replsbr.c:368:13: warning: passing arguments to 'insert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | if (insert (mp)) { | ^ replsbr.c:375:3: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | CHECKMEM (mp->m_gname); | ^ replsbr.c:305:13: note: expanded from macro 'CHECKMEM' 305 | adios (NULLCP, "formataddr: couldn't get buffer space");\ | ^ replsbr.c:376:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 376 | CPY (mp->m_gname); | ^~~~~~~~~~~~~~~~~ replsbr.c:293:42: note: expanded from macro 'CPY' 293 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ~~~~~~~^~~~~~~ replsbr.c:376:3: note: place parentheses around the assignment to silence this warning replsbr.c:293:42: note: expanded from macro 'CPY' 293 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ replsbr.c:376:3: note: use '==' to turn this assignment into an equality comparison replsbr.c:293:42: note: expanded from macro 'CPY' 293 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ replsbr.c:379:11: warning: passing arguments to 'auxformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | sp = adrformat (mp); | ^ ./../h/addrsbr.h:43:32: note: expanded from macro 'adrformat' 43 | #define adrformat(m) auxformat ((m), 1) | ^ replsbr.c:380:6: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | CHECKMEM (sp); | ^ replsbr.c:305:13: note: expanded from macro 'CHECKMEM' 305 | adios (NULLCP, "formataddr: couldn't get buffer space");\ | ^ replsbr.c:381:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 381 | CPY (sp); | ^~~~~~~~ replsbr.c:293:42: note: expanded from macro 'CPY' 293 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ~~~~~~~^~~~~~~ replsbr.c:381:6: note: place parentheses around the assignment to silence this warning replsbr.c:293:42: note: expanded from macro 'CPY' 293 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ replsbr.c:381:6: note: use '==' to turn this assignment into an equality comparison replsbr.c:293:42: note: expanded from macro 'CPY' 293 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ replsbr.c:320:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | char *formataddr (orig, str) | ^ replsbr.c:394:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 394 | static insert (np) | ~~~~~~ ^ | int replsbr.c:408:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | if (uleq (np -> m_host, mp -> m_next -> m_host) | ^ replsbr.c:409:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | && uleq (np -> m_mbox, mp -> m_next -> m_mbox)) | ^ replsbr.c:413:27: warning: passing arguments to 'ismymbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | if (!ccme && ismymbox (np)) | ^ replsbr.c:419:7: warning: passing arguments to 'auxformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | cp = adrformat (np); | ^ ./../h/addrsbr.h:43:32: note: expanded from macro 'adrformat' 43 | #define adrformat(m) auxformat ((m), 1) | ^ replsbr.c:421:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | adios (NULLCP, "out of memory"); | ^ replsbr.c:422:22: warning: passing arguments to 'exthdr_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | (void) exthdr_decode(cp, ep); | ^ replsbr.c:428:12: warning: passing arguments to 'gans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | if (!gans (buffer, anoyes)) | ^ replsbr.c:433:18: warning: passing arguments to 'ismymbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | if (ismymbox (np)) | ^ replsbr.c:394:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | static insert (np) | ^ replsbr.c:71:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static insert(), replfilter(); | ^ replsbr.c:441:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 441 | static replfilter (in, out) | ~~~~~~ ^ | int replsbr.c:452:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | adios (filter, "unable to read"); | ^ replsbr.c:454:20: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | mhl = r1bindex (mhlproc, '/'); | ^ replsbr.c:462:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | adios ("fork", "unable to"); | ^ replsbr.c:467:15: warning: passing arguments to 'closefds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | closefds (3); | ^ replsbr.c:475:10: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | if (pidXwait (pid, mhl)) | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ replsbr.c:475:10: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ replsbr.c:476:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | done (1); | ^ replsbr.c:441:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | static replfilter (in, out) | ^ replsbr.c:71:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static insert(), replfilter(); | ^ 73 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xrepl repl.o replsbr.o whatnowproc.o whatnowsbr.o sendsbr.o annosbr.o distsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o /usr/local/bin/ld.bfd: ../zotnet/libzot.a(lock.o): in function `lockname': lock.c:(.text+0x62e): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo repl repl cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c rmf.c -o rmf.o rmf.c:28:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | static rma(); | ~~~~~~ ^ | int rmf.c:33:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | main (argc, argv) | ^ | int rmf.c:53:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | invo_name = r1bindex (argv[0], '/'); | ^ rmf.c:54:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | if ((cp = m_find (invo_name)) != NULL) { | ^ rmf.c:55:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ rmf.c:55:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ rmf.c:56:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | ap = copyip (ap, arguments); | ^ rmf.c:60:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | (void) copyip (argv + 1, ap); | ^ rmf.c:65:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 65 | while (cp = *argp++) { | ~~~^~~~~~~~~ rmf.c:65:15: note: place parentheses around the assignment to silence this warning 65 | while (cp = *argp++) { | ^ | ( ) rmf.c:65:15: note: use '==' to turn this assignment into an equality comparison 65 | while (cp = *argp++) { | ^ | == rmf.c:67:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | switch (smatch (++cp, switches)) { | ^ rmf.c:69:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | ambigsw (cp, switches); | ^ rmf.c:70:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | done (1); | ^ rmf.c:72:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | adios (NULLCP, "-%s unknown", cp); | ^ rmf.c:75:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | help (buf, switches); | ^ rmf.c:76:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | done (1); | ^ rmf.c:87:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | adios (NULLCP, "only one folder at a time!"); | ^ rmf.c:89:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ rmf.c:92:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | adios (NULLCP, "usage: %s [+folder] [switches]", invo_name); | ^ rmf.c:97:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | if (!m_find ("path")) | ^ rmf.c:98:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | free (path ("./", TFOLDER)); | ^ rmf.c:103:28: warning: passing arguments to 'm_mailpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | if (strcmp (m_mailpath (folder), pwd ()) == 0) | ^ rmf.c:104:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | adios (NULLCP, "sorry, you can't remove the current working directory"); | ^ rmf.c:110:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | for (cp = copy (folder, newfolder); cp > newfolder && *cp != '/'; cp--) | ^ rmf.c:115:45: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | (void) strcpy (newfolder, (cp = m_find (inbox)) ? cp : defalt); | ^ rmf.c:118:41: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | (void) strcpy (newfolder, (cp = m_find (inbox)) ? cp : defalt); | ^ rmf.c:122:17: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | if (!getanswer (cp)) | ^ rmf.c:123:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | done (0); | ^ rmf.c:127:13: warning: passing arguments to 'rmf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if (rmf (folder) == OK && strcmp (m_find (pfolder), newfolder)) { | ^ rmf.c:127:46: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if (rmf (folder) == OK && strcmp (m_find (pfolder), newfolder)) { | ^ rmf.c:129:12: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | m_replace (pfolder, newfolder); | ^ rmf.c:133:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | done (0); | ^ rmf.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | main (argc, argv) | ^ rmf.c:156:17: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | switch (i = chdir (maildir = m_maildir (folder))) { | ^ rmf.c:156:44: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | switch (i = chdir (maildir = m_maildir (folder))) { | ^ rmf.c:158:10: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | if (access (".", 2) != NOTOK && access ("..", 2) != NOTOK) | ^ rmf.c:162:60: warning: passing arguments to 'm_mailpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | (void) sprintf (cur, "atr-%s-%s", current, m_mailpath (folder)); | ^ rmf.c:163:20: warning: passing arguments to 'm_delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | if (!m_delete (cur)) { | ^ rmf.c:167:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | advise (NULLCP, "you have no profile entry for the %s folder +%s", | ^ rmf.c:173:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | adios (NULLCP, "unable to read folder +%s", folder); | ^ rmf.c:177:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 177 | while (dp = readdir (dd)) { | ~~~^~~~~~~~~~~~~~ rmf.c:177:15: note: place parentheses around the assignment to silence this warning 177 | while (dp = readdir (dd)) { | ^ | ( ) rmf.c:177:15: note: use '==' to turn this assignment into an equality comparison 177 | while (dp = readdir (dd)) { | ^ | == rmf.c:195:14: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | if (m_atoi (dp -> d_name)) | ^ rmf.c:205:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | admonish (NULLCP, "file \"%s/%s\" not deleted", | ^ rmf.c:210:6: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | if (unlink (dp -> d_name) == NOTOK) { | ^ rmf.c:211:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | admonish (dp -> d_name, "unable to unlink %s:", folder); | ^ rmf.c:218:9: warning: passing arguments to 'rma' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | rma (folder); | ^ rmf.c:221:31: warning: passing arguments to 'remdir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | if (others == 0 && remdir (maildir)) | ^ rmf.c:224:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | advise (NULLCP, "folder +%s not removed", folder); | ^ rmf.c:138:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | static int rmf (folder) | ^ rmf.c:27:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static int rmf(); | ^ rmf.c:230:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 230 | static rma (folder) | ~~~~~~ ^ | int rmf.c:241:36: warning: passing arguments to 'm_mailpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | plen = strlen (cp = m_mailpath (folder)) + 1; | ^ rmf.c:245:14: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | if (ssequal ("atr-", np -> n_name) | ^ rmf.c:250:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | admonish (NULLCP, "bug: m_delete(key=\"%s\")", np -> n_name); | ^ rmf.c:230:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | static rma (folder) | ^ rmf.c:28:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static rma(); | ^ 55 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xrmf rmf.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo rmf rmf cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c rmm.c -o rmm.o rmm.c:33:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | main (argc, argv) | ^ | int rmm.c:71:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | invo_name = r1bindex (argv[0], '/'); | ^ rmm.c:72:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | if ((cp = m_find (invo_name)) != NULL) { | ^ rmm.c:73:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ rmm.c:73:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ rmm.c:74:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | ap = copyip (ap, arguments); | ^ rmm.c:78:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | (void) copyip (argv + 1, ap); | ^ rmm.c:83:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 83 | while (cp = *argp++) { | ~~~^~~~~~~~~ rmm.c:83:15: note: place parentheses around the assignment to silence this warning 83 | while (cp = *argp++) { | ^ | ( ) rmm.c:83:15: note: use '==' to turn this assignment into an equality comparison 83 | while (cp = *argp++) { | ^ | == rmm.c:85:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | switch (smatch (++cp, switches)) { | ^ rmm.c:87:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | ambigsw (cp, switches); | ^ rmm.c:88:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | done (1); | ^ rmm.c:90:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | adios (NULLCP, "-%s unknown\n", cp); | ^ rmm.c:94:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | help (buf, switches); | ^ rmm.c:95:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | done (1); | ^ rmm.c:99:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | adios (NULLCP, "only one folder at a time!"); | ^ rmm.c:101:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ rmm.c:109:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | if (!m_find ("path")) | ^ rmm.c:110:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | free (path ("./", TFOLDER)); | ^ rmm.c:115:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | maildir = m_maildir (folder); | ^ rmm.c:117:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | if (chdir (maildir) == NOTOK) | ^ rmm.c:118:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | adios (maildir, "unable to change directory to"); | ^ rmm.c:119:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | if (!(mp = m_gmsg (folder))) | ^ rmm.c:120:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | adios (NULLCP, "unable to read folder %s", folder); | ^ rmm.c:122:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | adios (NULLCP, "no messages in %s", folder); | ^ rmm.c:125:37: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | if (!rmmproc && (tfold = m_find ("Trash-Folder"))) { | ^ rmm.c:126:38: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | tmp = opntrashf (tfold, cp = getcpy (maildir), &rmp); | ^ rmm.c:126:18: warning: passing arguments to 'opntrashf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | tmp = opntrashf (tfold, cp = getcpy (maildir), &rmp); | ^ rmm.c:132:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | if (!m_convert (mp, msgs[msgnum])) | ^ rmm.c:133:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | done (1); | ^ rmm.c:134:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | m_setseq (mp); | ^ rmm.c:145:15: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | m_replace (pfolder, folder); | ^ rmm.c:146:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | m_sync (mp); | ^ rmm.c:151:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | adios (NULLCP, "more than %d messages for %s exec", MAXARGS - 2, | ^ rmm.c:155:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | adios (NULLCP, "unable to allocate exec vector"); | ^ rmm.c:159:32: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | vec[vecp++] = getcpy (m_name (msgnum)); | ^ rmm.c:159:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | vec[vecp++] = getcpy (m_name (msgnum)); | ^ rmm.c:163:20: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | vec[0] = r1bindex (rmmproc, '/'); | ^ rmm.c:164:2: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | execvp (rmmproc, vec); | ^ rmm.c:165:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | adios (rmmproc, "unable to exec"); | ^ rmm.c:172:15: warning: passing arguments to 'trash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | tmp = trash (msgnum, tmp, rmp); | ^ rmm.c:176:48: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | (void) strcpy (buf, m_backup (dp = m_name (msgnum))); | ^ rmm.c:176:35: warning: passing arguments to 'm_backup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | (void) strcpy (buf, m_backup (dp = m_name (msgnum))); | ^ rmm.c:178:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | admonish (buf, "unable to rename %s to", dp); | ^ rmm.c:181:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | done (0); | ^ rmm.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | main (argc, argv) | ^ rmm.c:198:15: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | tf = path (*tfold == '+' || *tfold == '@' ? tfold + 1 : tfold, | ^ rmm.c:213:16: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | tf = path ("./", TSUBCWF); | ^ rmm.c:215:27: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | trashdir = m_maildir (tf); | ^ rmm.c:217:23: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | trashdir = m_maildir (tf); | ^ rmm.c:224:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | adios (trashdir, "error on folder"); | ^ rmm.c:226:17: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | if (!getanswer (cp)) | ^ rmm.c:227:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | done (1); | ^ rmm.c:229:15: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if (!makedir (trashdir)) | ^ rmm.c:230:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | adios (NULLCP, "unable to create folder %s", trashdir); | ^ rmm.c:232:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 232 | if (chdir (trashdir) == NOTOK) | ^ rmm.c:233:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | adios (trashdir, "unable to change directory to"); | ^ rmm.c:234:24: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | if (!(tmp = m_gmsg (tf))) | ^ rmm.c:235:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | adios (NULLCP, "unable to read folder %s", tfold); | ^ rmm.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | opntrashf (tfold, cwd, rmp) | ^ rmm.c:27:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | struct msgs *opntrashf (); | ^ rmm.c:252:15: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | msg = m_name (msgnum); | ^ rmm.c:253:6: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | if (unlink (msg) == NOTOK) | ^ rmm.c:254:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | admonish (msg, "unable to unlink"); | ^ rmm.c:259:22: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | if (!(tmp = m_remsg (tmp, 0, tmp -> hghoff + MAXFOLDER))) | ^ rmm.c:260:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | adios (NULLCP, "unable to allocate folder storage"); | ^ rmm.c:272:62: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | (void) sprintf (newmsg, "%s/%s", tmp -> foldpath, m_name (newnum)); | ^ rmm.c:273:18: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | msg = m_name (msgnum); | ^ rmm.c:278:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | admonish (newmsg, "unable to rename %s to", msg); | ^ rmm.c:281:12: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 281 | if ((in = open(msg, 0)) == NOTOK) { | ^ rmm.c:282:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | admonish (msg, "unable to open message"); | ^ rmm.c:286:13: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 286 | if ((out = creat (newmsg, (int) st.st_mode & 0777)) == NOTOK) { | ^ rmm.c:287:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | admonish (newmsg, "unable to create"); | ^ rmm.c:288:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 288 | (void) close (in); | ^ rmm.c:291:10: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | cpydata (in, out, msg, newmsg); | ^ rmm.c:292:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | (void) close (in); | ^ rmm.c:294:6: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | if (unlink (msg) == NOTOK) | ^ rmm.c:295:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | admonish (msg, "unable to unlink"); | ^ rmm.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | trash (msgnum, tmp, rmp) | ^ rmm.c:28:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | struct msgs *trash (); | ^ 79 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xrmm rmm.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo rmm rmm cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c scan.c -o scan.o scan.c:65:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 65 | main (argc, argv) | ^ | int scan.c:101:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | invo_name = r1bindex (argv[0], '/'); | ^ scan.c:102:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | mts_init (invo_name); | ^ scan.c:103:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | if ((cp = m_find (invo_name)) != NULL) { | ^ scan.c:104:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ scan.c:104:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ scan.c:105:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | ap = copyip (ap, arguments); | ^ scan.c:109:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | (void) copyip (argv + 1, ap); | ^ scan.c:114:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 114 | while (cp = *argp++) { | ~~~^~~~~~~~~ scan.c:114:15: note: place parentheses around the assignment to silence this warning 114 | while (cp = *argp++) { | ^ | ( ) scan.c:114:15: note: use '==' to turn this assignment into an equality comparison 114 | while (cp = *argp++) { | ^ | == scan.c:116:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | switch (smatch (++cp, switches)) { | ^ scan.c:118:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | ambigsw (cp, switches); | ^ scan.c:119:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | done (1); | ^ scan.c:121:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | adios (NULLCP, "-%s unknown", cp); | ^ scan.c:125:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | help (buf, switches); | ^ scan.c:126:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | done (1); | ^ scan.c:137:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ scan.c:142:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ scan.c:155:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ scan.c:167:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ scan.c:169:16: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | file = path (cp, TFILE); | ^ scan.c:174:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | adios (NULLCP, "only one folder at a time!"); | ^ scan.c:176:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ scan.c:183:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | if (!m_find ("path")) | ^ scan.c:184:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | free (path ("./", TFOLDER)); | ^ scan.c:185:18: warning: passing arguments to 'new_fs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | nfs = new_fs (form, format, FORMAT); /* must be before chdir() */ | ^ scan.c:189:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | adios (NULLCP, "\"msgs\" not allowed with -file"); | ^ scan.c:191:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | adios (NULLCP, "\"+folder\" not allowed with -file"); | ^ scan.c:196:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | adios (file, "unable to open"); | ^ scan.c:207:28: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | dasctime (dlocaltime (&clock), TW_NULL)); | ^ scan.c:207:16: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | dasctime (dlocaltime (&clock), TW_NULL)); | ^ scan.c:210:12: warning: passing arguments to 'm_unknown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | m_unknown (in); | ^ scan.c:212:19: warning: passing arguments to 'scan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | state = scan (in, msgnum, -1, nfs, width, 0, 0, | ^ scan.c:218:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | done (0); | ^ scan.c:225:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | maildir = m_maildir (folder); | ^ scan.c:227:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | if (chdir (maildir) == NOTOK) | ^ scan.c:228:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | adios (maildir, "unable to change directory to"); | ^ scan.c:229:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if (!(mp = m_gmsg (folder))) | ^ scan.c:230:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | adios (NULLCP, "unable to read folder %s", folder); | ^ scan.c:232:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | adios (NULLCP, "no messages in %s", folder); | ^ scan.c:235:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | if (!m_convert (mp, msgs[msgnum])) | ^ scan.c:236:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | done(1); | ^ scan.c:237:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | m_setseq (mp); | ^ scan.c:239:15: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | m_replace (pfolder, folder); | ^ scan.c:240:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | m_sync (mp); | ^ scan.c:243:20: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | if (cp = m_find(usequence)) { /* set bits for each unseen sequence */ | ^ scan.c:243:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 243 | if (cp = m_find(usequence)) { /* set bits for each unseen sequence */ | ~~~^~~~~~~~~~~~~~~~~~~ scan.c:243:12: note: place parentheses around the assignment to silence this warning 243 | if (cp = m_find(usequence)) { /* set bits for each unseen sequence */ | ^ | ( ) scan.c:243:12: note: use '==' to turn this assignment into an equality comparison 243 | if (cp = m_find(usequence)) { /* set bits for each unseen sequence */ | ^ | == scan.c:247:33: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) | ^ scan.c:247:21: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) | ^ scan.c:248:23: warning: passing arguments to 'm_seqflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | bits |= m_seqflag(mp, *ap); | ^ scan.c:254:13: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | ontty = isatty (fileno (stdout)); | ^ scan.c:267:35: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | if ((in = fopen (cp = m_name (msgnum), "r")) == NULL) { | ^ scan.c:271:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | admonish (cp, "unable to open message"); | ^ scan.c:283:25: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | dasctime (dlocaltime (&clock), TW_NULL)); | ^ scan.c:283:13: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | dasctime (dlocaltime (&clock), TW_NULL)); | ^ scan.c:286:27: warning: passing arguments to 'scan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | switch (state = scan (in, msgnum, 0, nfs, width, | ^ scan.c:296:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | adios (NULLCP, "scan() botch (%d)", state); | ^ scan.c:302:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | advise (NULLCP, "message %d: empty", msgnum); | ^ scan.c:320:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | done (0); | ^ scan.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | main (argc, argv) | ^ 59 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xscan scan.o scansbr.o trmsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o -lcurses echo scan scan cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c send.c -o send.o send.c:173:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 173 | main (argc, argv) | ^ | int send.c:204:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | invo_name = r1bindex (argv[0], '/'); | ^ send.c:205:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | if ((cp = m_find (invo_name)) != NULL) { | ^ send.c:206:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ send.c:206:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ send.c:207:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | ap = copyip (ap, arguments); | ^ send.c:211:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | (void) copyip (argv + 1, ap); | ^ send.c:215:37: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | vec[vecp++] = getcpy (m_maildir ("")); | ^ send.c:215:26: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | vec[vecp++] = getcpy (m_maildir ("")); | ^ send.c:219:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 219 | while (cp = *argp++) { | ~~~^~~~~~~~~ send.c:219:15: note: place parentheses around the assignment to silence this warning 219 | while (cp = *argp++) { | ^ | ( ) send.c:219:15: note: use '==' to turn this assignment into an equality comparison 219 | while (cp = *argp++) { | ^ | == send.c:221:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | switch (smatch (++cp, switches)) { | ^ send.c:223:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | ambigsw (cp, switches); | ^ send.c:224:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | done (1); | ^ send.c:226:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | adios (NULLCP, "-%s unknown\n", cp); | ^ send.c:229:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | help (buf, switches); | ^ send.c:230:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | done (1); /* thanks, phyl */ | ^ send.c:238:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | adios (NULLCP, "only one draft folder at a time!"); | ^ send.c:240:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ send.c:241:22: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | dfolder = path (*cp == '+' || *cp == '@' ? cp + 1 : cp, | ^ send.c:246:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ send.c:263:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ send.c:335:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ send.c:342:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ send.c:342:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 342 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ~~~^~~~~~~~~~~~~~~~~~~~~~ send.c:342:12: note: place parentheses around the assignment to silence this warning 342 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ | ( ) send.c:342:12: note: use '==' to turn this assignment into an equality comparison 342 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ | == send.c:345:33: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) { | ^ send.c:345:21: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) { | ^ send.c:361:37: warning: passing arguments to 'm_draft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | msgs[msgp++] = getcpy (m_draft (NULLCP, NULLCP, 1, &isdf)); | ^ send.c:361:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | msgs[msgp++] = getcpy (m_draft (NULLCP, NULLCP, 1, &isdf)); | ^ send.c:363:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | adios (msgs[0], "unable to stat draft file"); | ^ send.c:366:23: warning: passing arguments to 'getans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | if (!(argp = getans (cp, anyl))) | ^ send.c:367:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | done (1); | ^ send.c:368:27: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | switch (status = smatch (*argp, anyl)) { | ^ send.c:370:9: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | done (0); | ^ send.c:374:20: warning: passing arguments to 'showfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | (void) showfile (++argp, msgs[0]); | ^ send.c:377:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | advise (NULLCP, "say what?"); | ^ send.c:384:36: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | msgs[msgnum] = getcpy (m_maildir (msgs[msgnum])); | ^ send.c:384:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | msgs[msgnum] = getcpy (m_maildir (msgs[msgnum])); | ^ send.c:387:14: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | if (!m_find ("path")) | ^ send.c:388:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | free (path ("./", TFOLDER)); | ^ send.c:392:22: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | maildir = m_maildir (dfolder); | ^ send.c:394:6: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 394 | if (chdir (maildir) == NOTOK) | ^ send.c:395:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | adios (maildir, "unable to change directory to"); | ^ send.c:396:20: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | if (!(mp = m_gmsg (dfolder))) | ^ send.c:397:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | adios (NULLCP, "unable to read folder %s", dfolder); | ^ send.c:399:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | adios (NULLCP, "no messages in %s", dfolder); | ^ send.c:402:21: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | if (!m_convert (mp, msgs[msgnum])) | ^ send.c:403:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | done (1); | ^ send.c:404:11: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | m_setseq (mp); | ^ send.c:408:33: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | msgs[msgp++] = getcpy (m_name (msgnum)); | ^ send.c:408:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | msgs[msgp++] = getcpy (m_name (msgnum)); | ^ send.c:416:9: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | m_sync (mp); | ^ send.c:434:19: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | if ((cp = m_find ("signature")) && *cp) | ^ send.c:435:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | (void) m_putenv ("SIGNATURE", cp); | ^ send.c:451:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | adios (msgs[msgnum], "unable to stat draft file"); | ^ send.c:465:31: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | distfile = getcpy (m_scratch (altmsg, invo_name)); | ^ send.c:465:20: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | distfile = getcpy (m_scratch (altmsg, invo_name)); | ^ send.c:466:6: warning: call to undeclared function 'link'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | if (link (altmsg, distfile) == NOTOK) { | ^ send.c:472:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | adios (distfile, "unable to link %s to", altmsg); | ^ send.c:474:34: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | distfile = getcpy (m_tmpfil (invo_name)); | ^ send.c:474:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | distfile = getcpy (m_tmpfil (invo_name)); | ^ send.c:479:13: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 479 | if ((in = open (altmsg, 0)) == NOTOK) | ^ send.c:480:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | adios (altmsg, "unable to open"); | ^ send.c:482:14: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 482 | if ((out = creat (distfile, (int) st.st_mode & 0777)) == NOTOK) | ^ send.c:483:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | adios (distfile, "unable to write"); | ^ send.c:484:11: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | cpydata (in, out, altmsg, distfile); | ^ send.c:485:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 485 | (void) close (in); | ^ send.c:499:23: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | vec[0] = r1bindex (postproc, '/'); | ^ send.c:500:14: warning: passing arguments to 'closefds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | closefds (3); | ^ send.c:503:10: warning: call to undeclared function 'sendsbr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 503 | switch (sendsbr (vec, vecp, msgs[msgnum], &st)) { | ^ send.c:505:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | done (++status); | ^ send.c:515:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | done (status); | ^ send.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | main (argc, argv) | ^ 72 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xsend send.o sendsbr.o annosbr.o distsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o /usr/local/bin/ld.bfd: ../zotnet/libzot.a(lock.o): in function `lockname': lock.c:(.text+0x62e): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo send send cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c sortm.c -o sortm.o sortm.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | main (argc, argv) | ^ | int sortm.c:101:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | invo_name = r1bindex (argv[0], '/'); | ^ sortm.c:102:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | if ((cp = m_find (invo_name)) != NULL) { | ^ sortm.c:103:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ sortm.c:103:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ sortm.c:104:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | ap = copyip (ap, arguments); | ^ sortm.c:108:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | (void) copyip (argv + 1, ap); | ^ sortm.c:111:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 111 | while (cp = *argp++) { | ~~~^~~~~~~~~ sortm.c:111:15: note: place parentheses around the assignment to silence this warning 111 | while (cp = *argp++) { | ^ | ( ) sortm.c:111:15: note: use '==' to turn this assignment into an equality comparison 111 | while (cp = *argp++) { | ^ | == sortm.c:113:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | switch (smatch (++cp, switches)) { | ^ sortm.c:115:11: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | ambigsw (cp, switches); | ^ sortm.c:116:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | done (1); | ^ sortm.c:118:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | adios (NULLCP, "-%s unknown", cp); | ^ sortm.c:122:8: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | help (buf, switches); | ^ sortm.c:123:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | done (1); | ^ sortm.c:127:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | adios (NULLCP, "only one date field at a time"); | ^ sortm.c:129:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ sortm.c:134:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | adios (NULLCP, "only one text field at a time"); | ^ sortm.c:136:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ sortm.c:148:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ sortm.c:156:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | adios (NULLCP, "impossible limit %s", cp); | ^ sortm.c:173:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | adios (NULLCP, "only one folder at a time!"); | ^ sortm.c:175:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ sortm.c:181:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | if (!m_find ("path")) | ^ sortm.c:182:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | free (path ("./", TFOLDER)); | ^ sortm.c:189:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | maildir = m_maildir (folder); | ^ sortm.c:191:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | if (chdir (maildir) == NOTOK) | ^ sortm.c:192:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | adios (maildir, "unable to change directory to"); | ^ sortm.c:193:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | if (!(mp = m_gmsg (folder))) | ^ sortm.c:194:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | adios (NULLCP, "unable to read folder %s", folder); | ^ sortm.c:196:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | adios (NULLCP, "no messages in %s", folder); | ^ sortm.c:199:17: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | if (!m_convert (mp, msgs[msgnum])) | ^ sortm.c:200:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | done (1); | ^ sortm.c:201:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | m_setseq (mp); | ^ sortm.c:203:28: warning: passing arguments to 'read_hdrs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | if ((nmsgs = read_hdrs (mp, datesw)) <= 0) | ^ sortm.c:204:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | adios (NULLCP, "no messages to sort"); | ^ sortm.c:211:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | adios (NULLCP, "couldn't allocate sort memory"); | ^ sortm.c:221:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 221 | else | ^ sortm.c:242:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | adios (NULLCP, "couldn't allocate sort memory"); | ^ sortm.c:253:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | adios (NULLCP, "couldn't allocate msg list"); | ^ sortm.c:262:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | adios (NULLCP, "couldn't allocate msg list"); | ^ sortm.c:291:17: warning: passing arguments to 'rename_msgs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | rename_msgs (mp, dlist); | ^ sortm.c:293:15: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | m_replace (pfolder, folder); | ^ sortm.c:294:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | m_sync (mp); | ^ sortm.c:296:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | done (0); | ^ sortm.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | main (argc, argv) | ^ sortm.c:308:13: warning: passing arguments to 'twscopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | twscopy (&tb, dtwstime ()); | ^ sortm.c:314:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | adios (NULLCP, "unable to allocate sort storage"); | ^ sortm.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | read_hdrs (mp, datesw) | ^ sortm.c:71:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static int dsort(), read_hdrs (), subsort(), txtsort(); | ^ sortm.c:330:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 329 | static | ~~~~~~ | int 330 | getws (datesw, msg, smsg) | ^ sortm.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] sortm.c:345:38: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | if ((in = fopen (msgnam = m_name (msg), "r")) == NULL) { | ^ sortm.c:346:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | admonish (msgnam, "unable to read message"); | ^ sortm.c:350:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | switch (state = m_getfld (state, nam, buf, sizeof buf, in)) { | ^ sortm.c:355:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | if (uleq (nam, datesw)) { | ^ sortm.c:356:18: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | datecomp = add (buf, datecomp); | ^ sortm.c:358:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | state = m_getfld (state, nam, buf, sizeof buf, in); | ^ sortm.c:359:22: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | datecomp = add (buf, datecomp); | ^ sortm.c:364:32: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | else if (subjsort && uleq (nam, subjsort)) { | ^ sortm.c:365:18: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | subjcomp = add (buf, subjcomp); | ^ sortm.c:367:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | state = m_getfld (state, nam, buf, sizeof buf, in); | ^ sortm.c:368:22: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | subjcomp = add (buf, subjcomp); | ^ sortm.c:376:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | state = m_getfld (state, nam, buf, sizeof buf, in); | ^ sortm.c:388:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | admonish (NULLCP, "format error in message %d (header #%d)", | ^ sortm.c:398:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | adios (NULLCP, "internal error -- you lose"); | ^ sortm.c:403:39: warning: passing arguments to 'dparsetime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | if (!datecomp || (tw = dparsetime (datecomp)) == NULL) { | ^ sortm.c:406:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | admonish (NULLCP, "can't parse %s field in message %d", | ^ sortm.c:414:26: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | smsg->s_clock = twclock (tw); | ^ sortm.c:430:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 430 | while (c = *cp) { | ~~^~~~~ sortm.c:430:12: note: place parentheses around the assignment to silence this warning 430 | while (c = *cp) { | ^ | ( ) sortm.c:430:12: note: use '==' to turn this assignment into an equality comparison 430 | while (c = *cp) { | ^ | == sortm.c:432:11: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | if(uprf(cp, "re:")) | ^ sortm.c:442:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 442 | while (c = *cp++) { | ~~^~~~~~~ sortm.c:442:15: note: place parentheses around the assignment to silence this warning 442 | while (c = *cp++) { | ^ | ( ) sortm.c:442:15: note: use '==' to turn this assignment into an equality comparison 442 | while (c = *cp++) { | ^ | == sortm.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | dsort (a, b) | ^ sortm.c:71:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static int dsort(), read_hdrs (), subsort(), txtsort(); | ^ sortm.c:489:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 489 | if (i = strcmp ((*a)->s_subj, (*b)->s_subj)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sortm.c:489:11: note: place parentheses around the assignment to silence this warning 489 | if (i = strcmp ((*a)->s_subj, (*b)->s_subj)) | ^ | ( ) sortm.c:489:11: note: use '==' to turn this assignment into an equality comparison 489 | if (i = strcmp ((*a)->s_subj, (*b)->s_subj)) | ^ | == sortm.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | subsort (a, b) | ^ sortm.c:71:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static int dsort(), read_hdrs (), subsort(), txtsort(); | ^ sortm.c:502:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 502 | if (i = strcmp ((*a)->s_subj, (*b)->s_subj)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sortm.c:502:11: note: place parentheses around the assignment to silence this warning 502 | if (i = strcmp ((*a)->s_subj, (*b)->s_subj)) | ^ | ( ) sortm.c:502:11: note: use '==' to turn this assignment into an equality comparison 502 | if (i = strcmp ((*a)->s_subj, (*b)->s_subj)) | ^ | == sortm.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | txtsort (a, b) | ^ sortm.c:71:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static int dsort(), read_hdrs (), subsort(), txtsort(); | ^ sortm.c:527:33: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | (void) strcpy (oldname, m_name (old)); | ^ sortm.c:528:19: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | newname = m_name (new); | ^ sortm.c:533:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | adios (newname, "unable to rename %s to", oldname); | ^ sortm.c:537:15: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | m_setcur (mp, new); | ^ sortm.c:510:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | static void rename_chain (mp, mlist, msg, endmsg) | ^ sortm.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void rename_chain(), rename_msgs(); | ^ sortm.c:562:35: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | (void) strcpy (tmpfil, m_name (mp->hghmsg + 1)); | ^ sortm.c:579:28: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | (void) strcpy (f1, m_name (old)); | ^ sortm.c:585:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | adios (tmpfil, "unable to rename %s to ", f1); | ^ sortm.c:589:28: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | if (rename (tmpfil, m_name(new)) == NOTOK) | ^ sortm.c:590:19: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | adios (m_name(new), "unable to rename %s to", tmpfil); | ^ sortm.c:590:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | adios (m_name(new), "unable to rename %s to", tmpfil); | ^ sortm.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | rename_msgs (mp, mlist) | ^ sortm.c:72:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void rename_chain(), rename_msgs(); | ^ 93 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xsortm sortm.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo sortm sortm cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c vmh.c -o vmh.o vmh.c:227:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 227 | char *tgoto (); | ^ /usr/include/term.h:844:31: note: conflicting prototype is here 844 | extern NCURSES_EXPORT(char *) tgoto (const char *, int, int); | ^ vmh.c:247:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 247 | static vmh(), lreset(), linsert(), ladvance(), lretreat(), lgo(); | ~~~~~~ ^ | int vmh.c:247:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 247 | static vmh(), lreset(), linsert(), ladvance(), lretreat(), lgo(); | ~~~~~~ ^ | int vmh.c:247:25: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 247 | static vmh(), lreset(), linsert(), ladvance(), lretreat(), lgo(); | ~~~~~~ ^ | int vmh.c:247:36: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 247 | static vmh(), lreset(), linsert(), ladvance(), lretreat(), lgo(); | ~~~~~~ ^ | int vmh.c:247:48: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 247 | static vmh(), lreset(), linsert(), ladvance(), lretreat(), lgo(); | ~~~~~~ ^ | int vmh.c:247:60: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 247 | static vmh(), lreset(), linsert(), ladvance(), lretreat(), lgo(); | ~~~~~~ ^ | int vmh.c:248:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 248 | static TTYon(), TTYoff(), foreground(); | ~~~~~~ ^ | int vmh.c:248:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 248 | static TTYon(), TTYoff(), foreground(); | ~~~~~~ ^ | int vmh.c:248:27: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 248 | static TTYon(), TTYoff(), foreground(); | ~~~~~~ ^ | int vmh.c:255:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 255 | main (argc, argv) | ^ | int vmh.c:274:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | invo_name = r1bindex (argv[0], '/'); | ^ vmh.c:275:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | if ((cp = m_find (invo_name)) != NULL) { | ^ vmh.c:276:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ vmh.c:276:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ vmh.c:277:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | ap = copyip (ap, arguments); | ^ vmh.c:281:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | (void) copyip (argv + 1, ap); | ^ vmh.c:286:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 286 | while (cp = *argp++) | ~~~^~~~~~~~~ vmh.c:286:15: note: place parentheses around the assignment to silence this warning 286 | while (cp = *argp++) | ^ | ( ) vmh.c:286:15: note: use '==' to turn this assignment into an equality comparison 286 | while (cp = *argp++) | ^ | == vmh.c:288:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | switch (smatch (++cp, switches)) { | ^ vmh.c:290:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | ambigsw (cp, switches); | ^ vmh.c:291:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | done (1); | ^ vmh.c:298:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | help (buffer, switches); | ^ vmh.c:299:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | done (1); | ^ vmh.c:303:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ vmh.c:308:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ vmh.c:319:17: warning: passing arguments to 'TTYinit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | if (TTYinit (nprog) == NOTOK || WINinit (nprog) == NOTOK) { | ^ vmh.c:319:45: warning: passing arguments to 'WINinit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | if (TTYinit (nprog) == NOTOK || WINinit (nprog) == NOTOK) { | ^ vmh.c:322:20: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | vec[0] = r1bindex (vmhproc, '/'); | ^ vmh.c:324:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | adios (vmhproc, "unable to exec"); | ^ vmh.c:327:21: warning: passing arguments to 'PEERinit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | (void) PEERinit (vecp, vec); | ^ vmh.c:332:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | done (0); | ^ vmh.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | main (argc, argv) | ^ vmh.c:337:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 337 | static vmh () { | ~~~~~~ ^ | int vmh.c:341:15: warning: passing arguments to 'pLOOP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | (void) pLOOP (RC_QRY, NULLCP); | ^ vmh.c:348:20: warning: passing arguments to 'WINgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | switch (WINgetstr (Command, buffer)) { | ^ vmh.c:353:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | done (0); /* NOTREACHED */ | ^ vmh.c:357:20: warning: passing arguments to 'pLOOP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | (void) pLOOP (RC_CMD, buffer); | ^ vmh.c:375:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | adios ("pipe", "unable to"); | ^ vmh.c:387:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | adios ("vfork", "unable to");/* NOTREACHED */ | ^ vmh.c:404:24: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | vec[0] = r1bindex (vmhproc, '/'); | ^ vmh.c:413:20: warning: passing arguments to 'rcinit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | (void) rcinit (pfd0[0], pfd1[1]); | ^ vmh.c:365:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | static int PEERinit (vecp, vec) | ^ vmh.c:249:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 249 | static int PEERinit(), pINI(), pLOOP(), pTTY(), pWIN(), WINinit(); | ^ vmh.c:445:20: warning: passing arguments to 'str2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | switch (str2rc (RC_INI, buffer, rc)) { | ^ vmh.c:451:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | adios (NULLCP, "%s", rc -> rc_data); | ^ vmh.c:453:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | adios (NULLCP, "pINI peer error"); | ^ vmh.c:456:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | adios (NULLCP, "%s", rc -> rc_data); | ^ vmh.c:459:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | adios (NULLCP, "pINI protocol screw-up"); | ^ vmh.c:476:21: warning: passing arguments to 'str2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | (void) str2peer (code, str); | ^ vmh.c:478:18: warning: passing arguments to 'peer2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | switch (peer2rc (rc)) { | ^ vmh.c:480:12: warning: passing arguments to 'pTTY' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | if (pTTY (rc) == NOTOK) | ^ vmh.c:488:23: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | (void) fmt2peer (RC_ERR, "no such window \"%s\"", | ^ vmh.c:492:12: warning: passing arguments to 'pWIN' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | if (pWIN (windows[i - 1]) == NOTOK) | ^ vmh.c:501:13: warning: passing arguments to 'adorn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | adorn (NULLCP, "%s", rc -> rc_data); | ^ vmh.c:503:13: warning: passing arguments to 'adorn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | adorn (NULLCP, "pLOOP(%s) peer error", | ^ vmh.c:509:13: warning: passing arguments to 'adorn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | adorn (NULLCP, "%s", rc -> rc_data); | ^ vmh.c:511:15: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | i = pidwait (PEERpid, OK); | ^ vmh.c:513:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | done (i); | ^ vmh.c:516:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | adios (NULLCP, "%s", rc -> rc_data); | ^ vmh.c:519:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | adios (NULLCP, "pLOOP(%s) protocol screw-up", | ^ vmh.c:466:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | static int pLOOP (code, str) | ^ vmh.c:249:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 249 | static int PEERinit(), pINI(), pLOOP(), pTTY(), pWIN(), WINinit(); | ^ vmh.c:542:18: warning: passing arguments to 'rc2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | (void) rc2rc (RC_ACK, 0, NULLCP, rc); | ^ vmh.c:581:21: warning: passing arguments to 'rc2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | (void) rc2peer (RC_ACK, 0, NULLCP); | ^ vmh.c:586:9: warning: passing arguments to 'adorn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | adorn (NULLCP, "%s", rc -> rc_data); | ^ vmh.c:588:9: warning: passing arguments to 'adorn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | adorn (NULLCP, "pTTY peer error"); | ^ vmh.c:592:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | adios (NULLCP, "%s", rc -> rc_data); | ^ vmh.c:595:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | adios (NULLCP, "pTTY protocol screw-up"); | ^ vmh.c:526:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | static int pTTY (r) | ^ vmh.c:249:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 249 | static int PEERinit(), pINI(), pLOOP(), pTTY(), pWIN(), WINinit(); | ^ vmh.c:608:22: warning: passing arguments to 'pWINaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | if ((i = pWINaux (w)) == OK && did_less) | ^ vmh.c:609:17: warning: passing arguments to 'WINless' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | (void) WINless (w, 1); | ^ vmh.c:602:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | static int pWIN (w) | ^ vmh.c:249:49: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 249 | static int PEERinit(), pINI(), pLOOP(), pTTY(), pWIN(), WINinit(); | ^ vmh.c:642:16: warning: passing arguments to 'rc2rc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | switch (rc2rc (RC_ACK, 0, NULLCP, rc)) { | ^ vmh.c:644:22: warning: passing arguments to 'WINputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | if (eol && WINputc (w, '\n') == ERR && WINless (w, 0)) | ^ vmh.c:644:50: warning: passing arguments to 'WINless' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | if (eol && WINputc (w, '\n') == ERR && WINless (w, 0)) | ^ vmh.c:647:11: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | ep = add(rc -> rc_data, tmpbak); | ^ vmh.c:657:17: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | (void) ml_conv(rc -> rc_data); | ^ vmh.c:668:19: warning: passing arguments to 'linsert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | linsert (w); | ^ vmh.c:678:11: warning: passing arguments to 'linsert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | linsert(w); | ^ vmh.c:706:19: warning: passing arguments to 'WINputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | if (WINputc (w, c) == ERR | ^ vmh.c:716:19: warning: passing arguments to 'WINputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | && WINputc (w, '\n') == ERR)) | ^ vmh.c:720:20: warning: passing arguments to 'WINless' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | if (WINless (w, 0)) { | ^ vmh.c:722:21: warning: passing arguments to 'fmt2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | (void) fmt2peer (RC_ERR, "flush window"); | ^ vmh.c:719:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 719 | else | ^ vmh.c:734:18: warning: passing arguments to 'rc2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | (void) rc2peer (RC_ACK, 0, NULLCP); | ^ vmh.c:744:13: warning: passing arguments to 'adorn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | adorn (NULLCP, "%s", rc -> rc_data); | ^ vmh.c:746:13: warning: passing arguments to 'adorn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | adorn (NULLCP, "pWIN peer error"); | ^ vmh.c:750:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | adios (NULLCP, "%s", rc -> rc_data); | ^ vmh.c:753:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | adios (NULLCP, "pWIN protocol screw-up"); | ^ vmh.c:618:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | static int pWINaux (w) | ^ vmh.c:250:58: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 250 | static int WINgetstr(), WINless(), WINputc(), TTYinit(), pWINaux(); | ^ vmh.c:766:20: warning: passing arguments to 'rc2peer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | (void) rc2peer (RC_FIN, 0, NULLCP); | ^ vmh.c:774:23: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | status = pidwait (PEERpid, OK); | ^ vmh.c:791:22: warning: parameter 'nprog' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 791 | static int WINinit (nprog) { | ^ vmh.c:801:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | adios (NULLCP, "could not initialize terminal"); | ^ vmh.c:800:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 800 | else | ^ vmh.c:805:5: warning: call to undeclared function 'sideground'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 805 | sideground (); | ^ vmh.c:815:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | adios (NULLCP, | ^ vmh.c:814:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 814 | else | ^ vmh.c:833:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | adios (NULLCP, "screen too small"); | ^ vmh.c:791:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | static int WINinit (nprog) { | ^ vmh.c:249:57: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 249 | static int PEERinit(), pINI(), pLOOP(), pTTY(), pWIN(), WINinit(); | ^ vmh.c:875:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | adios (NULLCP, "wgetch lost"); | ^ vmh.c:862:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | static int WINgetstr (w, buffer) | ^ vmh.c:250:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 250 | static int WINgetstr(), WINless(), WINputc(), TTYinit(), pWINaux(); | ^ vmh.c:996:17: warning: field width should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat] 996 | wprintw (w, "%*.*s", iov -> iov_len, iov -> iov_len, iov -> iov_base); | ~~^~~ ~~~~~~~~~~~~~~ vmh.c:986:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | static int WINwritev (w, iov, n) | ^ vmh.c:1072:18: warning: passing arguments to 'lgo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | (void) lgo (ltail -> l_no - w -> _maxy + 2); | ^ vmh.c:1077:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1077 | else | ^ vmh.c:1108:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1108 | else { | ^ vmh.c:1155:16: warning: passing arguments to 'ladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1155 | if (ladvance (smallmove)) | ^ vmh.c:1163:16: warning: passing arguments to 'lretreat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | if (lretreat (smallmove)) | ^ vmh.c:1171:16: warning: passing arguments to 'ladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | if (ladvance (largemove)) | ^ vmh.c:1178:16: warning: passing arguments to 'lretreat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | if (lretreat (largemove)) | ^ vmh.c:1183:11: warning: passing arguments to 'lgo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1183 | if (lgo (n ? n : 1)) | ^ vmh.c:1195:11: warning: passing arguments to 'lgo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | if (lgo (n ? n : ltail -> l_no - w -> _maxy + 2)) | ^ vmh.c:1025:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | static int WINless (w, fin) | ^ vmh.c:250:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 250 | static int WINgetstr(), WINless(), WINputc(), TTYinit(), pWINaux(); | ^ vmh.c:1255:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1255 | static int WINputc (w, c) | ^ vmh.c:250:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 250 | static int WINgetstr(), WINless(), WINputc(), TTYinit(), pWINaux(); | ^ vmh.c:1342:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1342 | static lreset () { | ~~~~~~ ^ | int vmh.c:1355:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1355 | static linsert (w) | ~~~~~~ ^ | int vmh.c:1362:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1362 | adios (NULLCP, "unable to allocate line storage"); | ^ vmh.c:1406:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1406 | adios (NULLCP, "unable to allocate storage"); | ^ vmh.c:1355:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1355 | static linsert (w) | ^ vmh.c:247:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 247 | static vmh(), lreset(), linsert(), ladvance(), lretreat(), lgo(); | ^ vmh.c:1430:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1430 | static int ladvance (n) | ^ vmh.c:247:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 247 | static vmh(), lreset(), linsert(), ladvance(), lretreat(), lgo(); | ^ vmh.c:1447:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | static int lretreat (n) | ^ vmh.c:247:48: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 247 | static vmh(), lreset(), linsert(), ladvance(), lretreat(), lgo(); | ^ vmh.c:1466:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1466 | static int lgo (n) | ^ vmh.c:247:60: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 247 | static vmh(), lreset(), linsert(), ladvance(), lretreat(), lgo(); | ^ vmh.c:1501:22: warning: parameter 'nprog' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1501 | static int TTYinit (nprog) { | ^ vmh.c:1506:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | adios (NULLCP, "not a tty"); | ^ vmh.c:1505:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1505 | else | ^ vmh.c:1517:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1517 | adios( "failed", "tcgetattr"); | ^ vmh.c:1528:5: warning: call to undeclared function 'sideground'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1528 | sideground (); | ^ vmh.c:1501:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1501 | static int TTYinit (nprog) { | ^ vmh.c:250:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 250 | static int WINgetstr(), WINless(), WINputc(), TTYinit(), pWINaux(); | ^ vmh.c:1539:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1539 | static TTYon () { | ~~~~~~ ^ | int vmh.c:1559:13: warning: passing arguments to 'discard' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1559 | discard (stdin); | ^ vmh.c:1573:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1573 | static TTYoff () { | ~~~~~~ ^ | int vmh.c:1615:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1615 | static foreground () { | ~~~~~~ ^ | int vmh.c:1622:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1622 | adios ("process group", "unable to determine"); | ^ vmh.c:1625:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1625 | adios ("tty's process group", "unable to determine"); | ^ vmh.c:1641:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1641 | sideground () { | ^ | int vmh.c:1653:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | static TYPESIG ALRMser (sig) | ^ vmh.c:232:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 232 | static TYPESIG ALRMser (), PIPEser (), SIGser (); | ^ vmh.c:1671:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1671 | adios (NULLCP, "lost peer"); | ^ vmh.c:1664:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1664 | static TYPESIG PIPEser (sig) | ^ vmh.c:232:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 232 | static TYPESIG ALRMser (), PIPEser (), SIGser (); | ^ vmh.c:1686:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1686 | done (1); | ^ vmh.c:1679:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1679 | static TYPESIG SIGser (sig) | ^ vmh.c:232:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 232 | static TYPESIG ALRMser (), PIPEser (), SIGser (); | ^ vmh.c:1691:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | static TYPESIG TSTPser (sig) | ^ vmh.c:234:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 234 | static TYPESIG TSTPser (); | ^ vmh.c:1721:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1721 | void done (status) | ^ In file included from vmh.c:61: ./../h/mh.h:262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 262 | void done (); | ^ vmh.c:1747:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1747 | advise (what, fmt, a, b, c, d, e, f); | ^ vmh.c:1734:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1734 | static void adorn (what, fmt, a, b, c, d, e, f) | ^ vmh.c:245:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 245 | static void adorn (); | ^ vmh.c:1759:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1759 | void advertise (what, tail, fmt, a, b, c, d, e, f) | ^ In file included from vmh.c:61: ./../h/mh.h:251:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 251 | void advertise (); | ^ 165 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xvmh vmh.o vmhsbr.o -lcurses ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo vmh vmh cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c whatnow.c -o whatnow.o whatnow.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | main (argc, argv) | ^ | int whatnow.c:18:2: warning: call to undeclared function 'ml_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | ml_init(); | ^ whatnow.c:20:5: warning: call to undeclared function 'WhatNow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | WhatNow (argc, argv); | ^ whatnow.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | main (argc, argv) | ^ 4 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xwhatnow whatnow.o whatnowsbr.o sendsbr.o annosbr.o distsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o /usr/local/bin/ld.bfd: ../zotnet/libzot.a(lock.o): in function `lockname': lock.c:(.text+0x62e): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo whatnow whatnow cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c whom.c -o whom.o whom.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | main (argc, argv) | ^ | int whom.c:85:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | invo_name = r1bindex (argv[0], '/'); | ^ whom.c:86:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | if ((cp = m_find (invo_name)) != NULL) { | ^ whom.c:87:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ whom.c:87:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ whom.c:88:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | ap = copyip (ap, arguments); | ^ whom.c:92:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | (void) copyip (argv + 1, ap); | ^ whom.c:98:37: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | vec[vecp++] = getcpy (m_maildir ("")); | ^ whom.c:98:26: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | vec[vecp++] = getcpy (m_maildir ("")); | ^ whom.c:102:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 102 | while (cp = *argp++) { | ~~~^~~~~~~~~ whom.c:102:15: note: place parentheses around the assignment to silence this warning 102 | while (cp = *argp++) { | ^ | ( ) whom.c:102:15: note: use '==' to turn this assignment into an equality comparison 102 | while (cp = *argp++) { | ^ | == whom.c:104:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | switch (smatch (++cp, switches)) { | ^ whom.c:106:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | ambigsw (cp, switches); | ^ whom.c:107:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | done (1); | ^ whom.c:109:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | adios (NULLCP, "-%s unknown", cp); | ^ whom.c:112:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | help (buf, switches); | ^ whom.c:113:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | done (1); | ^ whom.c:131:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | adios (NULLCP, "only one draft folder at a time!"); | ^ whom.c:133:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ whom.c:134:22: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | dfolder = path (*cp == '+' || *cp == '@' ? cp + 1 : cp, | ^ whom.c:139:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | adios (NULLCP, "only one draft message at a time!"); | ^ whom.c:141:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ whom.c:153:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ whom.c:158:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | adios (NULLCP, "only one draft at a time!"); | ^ whom.c:162:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ whom.c:162:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 162 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ~~~^~~~~~~~~~~~~~~~~~~~~~ whom.c:162:12: note: place parentheses around the assignment to silence this warning 162 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ | ( ) whom.c:162:12: note: use '==' to turn this assignment into an equality comparison 162 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ | == whom.c:165:33: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) { | ^ whom.c:165:21: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) { | ^ whom.c:177:28: warning: passing arguments to 'm_draft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | cp = getcpy (m_draft (dfolder, dmsg, 1, &isdf)); | ^ whom.c:177:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | cp = getcpy (m_draft (dfolder, dmsg, 1, &isdf)); | ^ whom.c:185:6: warning: call to undeclared function 'distout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | if (distout (msg, cp, backup) == NOTOK) | ^ whom.c:186:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | done (1); | ^ whom.c:192:14: warning: passing arguments to 'closefds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | closefds (3); | ^ whom.c:195:26: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | for (i = 0; (child_id = fork ()) == NOTOK && i < 5; i++) | ^ whom.c:196:6: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | sleep (5); | ^ whom.c:199:17: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | advise (NULLCP, "unable to fork, so checking directly..."); | ^ whom.c:201:6: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 201 | execvp (postproc, vec); | ^ whom.c:204:6: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | _exit (-1); | ^ whom.c:204:6: note: include the header or explicitly provide a declaration for '_exit' whom.c:212:23: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | status = pidwait (child_id, OK); | ^ whom.c:214:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 214 | (void) unlink (msg); | ^ whom.c:216:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | adios (msg, "unable to rename %s to", backup); | ^ whom.c:217:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | done (status); | ^ whom.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | main (argc, argv) | ^ 42 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xwhom whom.o distsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo whom whom cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c bbc.c -o bbc.o In file included from bbc.c:10: ./../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ bbc.c:148:8: warning: '/*' within block comment [-Wcomment] 148 | #endif /* BPOP */ | ^ bbc.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | main (argc, argv) | ^ | int bbc.c:207:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | invo_name = r1bindex (argv[0], '/'); | ^ bbc.c:213:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | mts_init (invo_name); | ^ bbc.c:221:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | if ((cp = m_find (invo_name)) != NULL) { | ^ bbc.c:222:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ bbc.c:222:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ bbc.c:223:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | ap = copyip (ap, arguments); | ^ bbc.c:228:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | adios (NULLCP, "too many arguments."); | ^ bbc.c:229:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | (void) copyip (argv + 1, ap); | ^ bbc.c:232:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | adios (NULLCP, "argument too long"); | ^ bbc.c:235:21: warning: passing arguments to 'setbbent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | (void) setbbent (SB_STAY); | ^ bbc.c:239:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 239 | while (cp = *argp++) { | ~~~^~~~~~~~~ bbc.c:239:15: note: place parentheses around the assignment to silence this warning 239 | while (cp = *argp++) { | ^ | ( ) bbc.c:239:15: note: use '==' to turn this assignment into an equality comparison 239 | while (cp = *argp++) { | ^ | == bbc.c:241:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | switch (smatch (++cp, switches)) { | ^ bbc.c:243:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | ambigsw (cp, switches); | ^ bbc.c:244:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | done (1); | ^ bbc.c:252:16: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | help (buffer, switches); | ^ bbc.c:253:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | done (1); | ^ bbc.c:293:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ bbc.c:298:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ bbc.c:306:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ bbc.c:307:22: warning: passing arguments to 'setbbinfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | if (!setbbinfo (user, cp, 1)) | ^ bbc.c:308:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | adios (NULLCP, "setbbinfo(%s, %s, 1) failed -- %s", | ^ bbc.c:313:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ bbc.c:318:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ bbc.c:331:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | adios (NULLCP, "too many bboards, starting with %s", cp); | ^ bbc.c:346:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | if (!m_find ("path")) | ^ bbc.c:347:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | free (path ("./", TFOLDER)); | ^ bbc.c:349:5: warning: call to undeclared function 'rcinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | rcinit (rc); | ^ bbc.c:351:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 351 | for (bbp = 0; cp = bbs[bbp]; bbp++) | ~~~^~~~~~~~~~ bbc.c:351:22: note: place parentheses around the assignment to silence this warning 351 | for (bbp = 0; cp = bbs[bbp]; bbp++) | ^ | ( ) bbc.c:351:22: note: use '==' to turn this assignment into an equality comparison 351 | for (bbp = 0; cp = bbs[bbp]; bbp++) | ^ | == bbc.c:352:2: warning: call to undeclared function 'add_bb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 352 | add_bb (cp, NOTOK); | ^ bbc.c:361:2: warning: call to undeclared function 'topics'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | topics (); | ^ bbc.c:364:2: warning: call to undeclared function 'default_bboards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 364 | default_bboards (); | ^ bbc.c:366:6: warning: call to undeclared function 'check'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | check (); | ^ bbc.c:368:6: warning: call to undeclared function 'process'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 368 | process (vecp, vec); | ^ bbc.c:372:25: warning: call to undeclared function 'pop_quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | if (didpop != OK && pop_quit () == NOTOK) | ^ bbc.c:373:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | adios (NULLCP, "%s", response); | ^ bbc.c:376:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | done (0); | ^ bbc.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | main (argc, argv) | ^ bbc.c:381:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 381 | topics () { | ^ | int bbc.c:401:31: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | cp = add (*ap, cp ? add (", ", cp) : cp); | ^ bbc.c:401:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | cp = add (*ap, cp ? add (", ", cp) : cp); | ^ bbc.c:402:3: warning: call to undeclared function 'printv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 402 | printv ("AKA", cp); | ^ bbc.c:406:6: warning: call to undeclared function 'printv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 406 | printv ("Leaders", *bb -> bb_leader); | ^ bbc.c:422:20: warning: passing arguments to 'getbbdist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | (void) getbbdist (bb, action); | ^ bbc.c:425:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 425 | if (cp = getbberr ()) | ~~~^~~~~~~~~~~~~ bbc.c:425:10: note: place parentheses around the assignment to silence this warning 425 | if (cp = getbberr ()) | ^ | ( ) bbc.c:425:10: note: use '==' to turn this assignment into an equality comparison 425 | if (cp = getbberr ()) | ^ | == bbc.c:428:6: warning: call to undeclared function 'printb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 428 | printb (bb -> bb_flags & ~BB_SEEN); | ^ bbc.c:435:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 435 | printv (key, value) | ^ | int bbc.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] bbc.c:452:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | int action (local, domain) | ^ bbc.c:151:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | int action (); | ^ bbc.c:464:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 464 | printb (flags) | ^ | int bbc.c:469:30: warning: passing arguments to 'sprintb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | printv ("Flags", sprintb (buffer, flags, BBITS)); | ^ bbc.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | printb (flags) | ^ bbc.c:474:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 474 | check () { | ^ | int bbc.c:509:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 509 | process (vecp, vec) | ^ | int bbc.c:519:23: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | vec[0] = r1bindex (mshproc, '/'); | ^ bbc.c:537:11: warning: passing arguments to 'bbreset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | bbreset (bb, 0); | ^ bbc.c:540:3: warning: call to undeclared function 'bbread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 540 | bbread (bb, vecp, vec); | ^ bbc.c:552:5: warning: call to undeclared function 'rcend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 552 | rcend (); | ^ bbc.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | process (vecp, vec) | ^ bbc.c:560:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | static int xtnd1 (s) | ^ bbc.c:569:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 569 | bbread (bb, vecp, vec) | ^ | int bbc.c:589:6: warning: call to undeclared function 'pop_xtnd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 589 | if (pop_xtnd (xtnd1, "%s %s", archivesw ? "archive" : "bboards", | ^ bbc.c:591:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | advise (NULLCP, "%s", response); | ^ bbc.c:594:6: warning: call to undeclared function 'pop_stat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 594 | if (pop_stat (&nmsgs, &nbytes) == NOTOK) | ^ bbc.c:595:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | adios (NULLCP, "%s", response); | ^ bbc.c:601:6: warning: call to undeclared function 'pop_fd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 601 | if (pop_fd (buf4, buf5) == NOTOK) | ^ bbc.c:602:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | adios (NULLCP, "%s", response); | ^ bbc.c:611:6: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 611 | if (pipe (pd) == NOTOK) | ^ bbc.c:612:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | adios ("pipe", "unable to"); | ^ bbc.c:613:30: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 613 | (void) sprintf (buf3, "%d", getpid ()); | ^ bbc.c:616:24: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 616 | switch (child_id = fork ()) { | ^ bbc.c:618:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | adios ("fork", "unable to"); | ^ bbc.c:622:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 622 | (void) close (pd[0]); | ^ bbc.c:644:6: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 644 | execvp (mshproc, vec); | ^ bbc.c:647:6: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 647 | _exit (-1); | ^ bbc.c:647:6: note: include the header or explicitly provide a declaration for '_exit' bbc.c:654:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 654 | (void) close (pd[1]); | ^ bbc.c:655:3: warning: call to undeclared function 'pgmread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 655 | pgmread (pd[0], child_id, bb); | ^ bbc.c:658:10: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | (void) pidXwait (child_id, mshproc); | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ bbc.c:658:10: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ bbc.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | bbread (bb, vecp, vec) | ^ bbc.c:664:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 664 | pgmread (pd, child_id, bb) | ^ | int bbc.c:682:17: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 682 | while ((n = read (pd, buffer, sizeof buffer)) == NOTOK && errno == EINTR) | ^ bbc.c:684:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 684 | (void) close (pd); | ^ bbc.c:685:12: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | (void) pidXwait (child_id, mshproc); | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ bbc.c:685:12: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ bbc.c:698:32: warning: passing arguments to 'seek_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | if ((selected = seek_count (bbc, bb -> bb_name)) == NULL) { | ^ bbc.c:699:18: warning: passing arguments to 'add_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | bbc = add_count (bbc, bb -> bb_name, i); | ^ bbc.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | pgmread (pd, child_id, bb) | ^ bbc.c:722:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | TYPESIG sigser (i) | ^ bbc.c:150:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 150 | TYPESIG sigser (), hupser (); | ^ bbc.c:744:2: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 744 | alarm ((unsigned int) 30); | ^ bbc.c:734:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | TYPESIG hupser (i) | ^ bbc.c:150:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 150 | TYPESIG sigser (), hupser (); | ^ bbc.c:749:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 749 | rcinit (rc) | ^ | int bbc.c:760:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | adios (NULLCP, "MHBBRC envariable too long"); | ^ bbc.c:761:16: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | rcfile = path (cp, TFILE); | ^ bbc.c:763:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | (void) m_putenv ("MHBBRC", rcfile); | ^ bbc.c:770:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | adios (rcfile, "unable to read"); | ^ bbc.c:771:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 771 | else | ^ bbc.c:775:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | switch (state = m_getfld (state, key, value, sizeof value, bbrc)) { | ^ bbc.c:778:14: warning: passing arguments to 'make_lower' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | make_lower (key, key); | ^ bbc.c:779:19: warning: passing arguments to 'add_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | bbc = add_count (bbc, key, atoi (value)); | ^ bbc.c:785:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | admonish (NULLCP, "bad format: %s", rcfile); | ^ bbc.c:794:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | admonish (rcfile, "error reading"); | ^ bbc.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | rcinit (rc) | ^ bbc.c:800:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 800 | rcend () { | ^ | int bbc.c:813:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | adios (rcfile, "unable to write"); | ^ bbc.c:814:5: warning: call to undeclared function 'rcput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 814 | rcput (bbrc, bbc); | ^ bbc.c:817:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | adios (rcfile, "error writing"); | ^ bbc.c:829:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 829 | rcput (bbrc, p) | ^ | int bbc.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] bbc.c:869:18: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 869 | (void) kill (getpid (), sig); | ^ bbc.c:844:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | static TYPESIG tstpser (sig) | ^ bbc.c:154:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 154 | static TYPESIG tstpser (); | ^ bbc.c:886:32: warning: passing arguments to 'seek_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | if ((selected = seek_count (bbc, bb -> bb_name)) == NULL) | ^ bbc.c:887:18: warning: passing arguments to 'add_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | bbc = add_count (bbc, bb -> bb_name, i); | ^ bbc.c:879:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | static void bbreset (bb, i) | ^ bbc.c:165:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 165 | static void bbreset(); | ^ bbc.c:904:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | adios (NULLCP,"insufficient memory"); | ^ bbc.c:905:20: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | p -> key = getcpy (w); | ^ bbc.c:894:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | struct bbcount *add_count (p, w, i) | ^ bbc.c:163:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 163 | struct bbcount *add_count (), *seek_count (); | ^ bbc.c:920:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | struct bbcount *seek_count (p, w) | ^ bbc.c:163:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 163 | struct bbcount *add_count (), *seek_count (); | ^ bbc.c:934:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 934 | default_bboards () { | ^ | int bbc.c:944:37: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | if (!archivesw && ((cp = m_find ("bboards")) != NULL)) { | ^ bbc.c:948:18: warning: passing arguments to 'getip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | for (ap = getip (cp); *ap; ap++) | ^ bbc.c:951:6: warning: call to undeclared function 'add_bb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 951 | add_bb (*ap, OK); | ^ bbc.c:962:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | advise (NULLCP, "please fix the %s: entry in your %s file", | ^ bbc.c:973:2: warning: call to undeclared function 'add_bb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 973 | add_bb (getcpy("general"), NOTOK); | ^ bbc.c:973:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | add_bb (getcpy("general"), NOTOK); | ^ bbc.c:985:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | done (1); | ^ bbc.c:990:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 990 | add_bb (s, hush) | ^ | int bbc.c:997:16: warning: passing arguments to 'make_lower' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | make_lower (s, s); | ^ bbc.c:998:24: warning: passing arguments to 'getbbaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | if ((bb = getbbaux (s)) == NULL) | ^ bbc.c:1002:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | adios (NULLCP, "no such bboard as '%s'", s); | ^ bbc.c:1001:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1001 | else | ^ bbc.c:1006:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | admonish (NULLCP, "duplicate bboard '%s'", s); | ^ bbc.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | add_bb (s, hush) | ^ bbc.c:1034:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | adios (NULLCP, "XTND2 botch: %s", s); | ^ bbc.c:1037:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | adios (NULLCP, "insufficient memory"); | ^ bbc.c:1038:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | bb -> bb_name = getcpy (name); | ^ bbc.c:1042:23: warning: passing arguments to 'getip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | bb -> bb_aka = getip (name); | ^ bbc.c:1049:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | adios (NULLCP, "insufficient memory"); | ^ bbc.c:1062:29: warning: passing arguments to 'getip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | bb -> bb_leader = getip ("usenet"); | ^ bbc.c:1066:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | adios (NULLCP, "insufficient memory"); | ^ bbc.c:1026:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | static int xtnd2 (s) | ^ bbc.c:1097:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | adios (NULLCP, "XTND3 botch"); | ^ bbc.c:1100:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | bb -> bb_name = getcpy (s); | ^ bbc.c:1105:27: warning: passing arguments to 'getip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1105 | bb -> bb_aka = getip (s); | ^ bbc.c:1108:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | bb -> bb_file = getcpy (s); | ^ bbc.c:1111:32: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | bb -> bb_archive = getcpy (s); | ^ bbc.c:1114:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1114 | bb -> bb_info = getcpy (s); | ^ bbc.c:1117:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | bb -> bb_map = getcpy (s); | ^ bbc.c:1120:31: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | bb -> bb_passwd = getcpy (s); | ^ bbc.c:1125:30: warning: passing arguments to 'getip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1125 | bb -> bb_leader = getip (s); | ^ bbc.c:1128:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | bb -> bb_addr = getcpy (s); | ^ bbc.c:1131:32: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | bb -> bb_request = getcpy (s); | ^ bbc.c:1134:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | bb -> bb_relay = getcpy (s); | ^ bbc.c:1139:28: warning: passing arguments to 'getip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | bb -> bb_dist = getip (s); | ^ bbc.c:1147:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | bb -> bb_date = getcpy (s); | ^ bbc.c:1085:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | static int xtnd3 (s) | ^ bbc.c:1163:37: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | for (p = ap = brkstring (getcpy (s), " ", "\n"); *p; p++) | ^ bbc.c:1163:29: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | for (p = ap = brkstring (getcpy (s), " ", "\n"); *p; p++) | ^ bbc.c:1168:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1168 | adios (NULLCP, "insufficient memory"); | ^ bbc.c:1156:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | static char **getip (s) | ^ bbc.c:144:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 144 | static char **getip (); | ^ bbc.c:1209:6: warning: call to undeclared function 'pop_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1209 | if (pop_init (host, user, pass, snoop, rpop) == NOTOK) | ^ bbc.c:1210:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | adios (NULLCP, "%s", response); | ^ bbc.c:1215:6: warning: call to undeclared function 'pop_xtnd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1215 | if (pop_xtnd (xtnd2, "bboards") == NOTOK) | ^ bbc.c:1216:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | adios (NULLCP, "%s", response); | ^ bbc.c:1220:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | adios (NULLCP, "%s", response); | ^ bbc.c:1224:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1224 | if (bb = rover) | ~~~^~~~~~~ bbc.c:1224:12: note: place parentheses around the assignment to silence this warning 1224 | if (bb = rover) | ^ | ( ) bbc.c:1224:12: note: use '==' to turn this assignment into an equality comparison 1224 | if (bb = rover) | ^ | == bbc.c:1257:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1257 | while (bb = getbbent ()) { | ~~~^~~~~~~~~~~~~ bbc.c:1257:15: note: place parentheses around the assignment to silence this warning 1257 | while (bb = getbbent ()) { | ^ | ( ) bbc.c:1257:15: note: use '==' to turn this assignment into an equality comparison 1257 | while (bb = getbbent ()) { | ^ | == bbc.c:1264:21: warning: passing arguments to 'getbbcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | if ((bb = getbbcpy (bb)) == NULL) | ^ bbc.c:1265:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | adios (NULLCP, "insufficient memory"); | ^ bbc.c:1283:19: warning: call to undeclared function 'pop_xtnd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1283 | if (nlatch && pop_xtnd (xtnd2, "bboards %s", s) != NOTOK) { | ^ bbc.c:1234:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | struct bboard *getbbaux (s) | ^ bbc.c:164:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 164 | struct bboard *getbbaux (), *getbbvis (); | ^ bbc.c:1297:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1297 | while (bb = getbbent ()) | ~~~^~~~~~~~~~~~~ bbc.c:1297:15: note: place parentheses around the assignment to silence this warning 1297 | while (bb = getbbent ()) | ^ | ( ) bbc.c:1297:15: note: use '==' to turn this assignment into an equality comparison 1297 | while (bb = getbbent ()) | ^ | == bbc.c:1299:7: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1299 | && (access (bb -> bb_file, 04) != NOTOK || errno != EACCES)) | ^ 184 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xbbc bbc.o pshsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo bbc bbc cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c ap.c -o ap.o ap.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | main (argc, argv) | ^ | int ap.c:79:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | invo_name = r1bindex (argv[0], '/'); | ^ ap.c:80:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | mts_init (invo_name); | ^ ap.c:81:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | if ((cp = m_find (invo_name)) != NULL) { | ^ ap.c:82:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ ap.c:82:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ ap.c:83:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | ap = copyip (ap, arguments); | ^ ap.c:87:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | (void) copyip (argv + 1, ap); | ^ ap.c:92:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 92 | while (cp = *argp++) { | ~~~^~~~~~~~~ ap.c:92:15: note: place parentheses around the assignment to silence this warning 92 | while (cp = *argp++) { | ^ | ( ) ap.c:92:15: note: use '==' to turn this assignment into an equality comparison 92 | while (cp = *argp++) { | ^ | == ap.c:94:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | switch (smatch (++cp, switches)) { | ^ ap.c:96:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | ambigsw (cp, switches); | ^ ap.c:97:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | done (1); | ^ ap.c:100:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | adios (NULLCP, "-%s unknown", cp); | ^ ap.c:104:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | help (buf, switches); | ^ ap.c:105:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | done (1); | ^ ap.c:109:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ ap.c:114:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ ap.c:120:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ ap.c:132:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | adios (NULLCP, "more than %d addresses", NADDRS); | ^ ap.c:141:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | adios (NULLCP, "usage: %s [switches] addrs ...", invo_name); | ^ ap.c:143:18: warning: passing arguments to 'new_fs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | nfs = new_fs (form, format, FORMAT); | ^ ap.c:145:15: warning: call to undeclared function 'sc_width'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | if ((width = sc_width ()) < WIDTH / 2) | ^ ap.c:152:12: warning: call to undeclared function 'fmt_compile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | (void) fmt_compile (nfs, &fmt); | ^ ap.c:157:20: warning: passing arguments to 'process' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | status += process (addrs[addrp], width, normalize); | ^ ap.c:159:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | done (status); | ^ ap.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | main (argc, argv) | ^ ap.c:187:25: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | while (cp = getname (arg)) { | ^ ap.c:187:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 187 | while (cp = getname (arg)) { | ~~~^~~~~~~~~~~~~~~ ap.c:187:15: note: place parentheses around the assignment to silence this warning 187 | while (cp = getname (arg)) { | ^ | ( ) ap.c:187:15: note: use '==' to turn this assignment into an equality comparison 187 | while (cp = getname (arg)) { | ^ | == ap.c:189:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | adios (NULLCP, "unable to allocate pqpair memory"); | ^ ap.c:190:17: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | if ((mp = getm (cp, NULLCP, 0, norm, error)) == NULL) { | ^ ap.c:191:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | p -> pq_text = getcpy (cp); | ^ ap.c:192:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | p -> pq_error = getcpy (error); | ^ ap.c:196:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | p -> pq_text = getcpy (mp -> m_text); | ^ ap.c:197:13: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | mnfree (mp); | ^ ap.c:210:17: warning: passing arguments to 'fmtscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | (void) fmtscan (fmt, buffer, length, dat); | ^ ap.c:212:11: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | ml_fputs (buffer, stdout); | ^ ap.c:171:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | static int process (arg, length, norm) | ^ ap.c:50:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static int process(); | ^ 38 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xap ap.o trmsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o -lcurses echo ap ap cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c conflict.c -o conflict.o In file included from conflict.c:10: ./../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ conflict.c:62:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 62 | main (argc, argv) | ^ | int conflict.c:79:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | invo_name = r1bindex (argv[0], '/'); | ^ conflict.c:80:12: warning: passing arguments to 'm_foil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | m_foil (NULLCP); | ^ conflict.c:81:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | mts_init (invo_name); | ^ conflict.c:85:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 85 | while (cp = *argp++) { | ~~~^~~~~~~~~ conflict.c:85:15: note: place parentheses around the assignment to silence this warning 85 | while (cp = *argp++) { | ^ | ( ) conflict.c:85:15: note: use '==' to turn this assignment into an equality comparison 85 | while (cp = *argp++) { | ^ | == conflict.c:87:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | switch (smatch (++cp, switches)) { | ^ conflict.c:89:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | ambigsw (cp, switches); | ^ conflict.c:90:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | done (1); | ^ conflict.c:92:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | adios (NULLCP, "-%s unknown", cp); | ^ conflict.c:96:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | help (buf, switches); | ^ conflict.c:97:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | done (1); | ^ conflict.c:101:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ conflict.c:103:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | adios (NULLCP, "mail to one address only"); | ^ conflict.c:110:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ conflict.c:112:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | adios (NULLCP, "more than %d directories", NDIRS); | ^ conflict.c:129:5: warning: call to undeclared function 'alias_files'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | alias_files (akp, akv); | ^ conflict.c:130:5: warning: call to undeclared function 'pwd_names'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | pwd_names (); | ^ conflict.c:131:5: warning: call to undeclared function 'grp_names'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | grp_names (); | ^ conflict.c:132:5: warning: call to undeclared function 'grp_members'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | grp_members (); | ^ conflict.c:133:5: warning: call to undeclared function 'grp_ids'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | grp_ids (); | ^ conflict.c:138:5: warning: call to undeclared function 'maildrops'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | maildrops (); | ^ conflict.c:140:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | done (0); | ^ conflict.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | main (argc, argv) | ^ conflict.c:145:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 145 | alias_files (akp, akv) | ^ | int conflict.c:152:19: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | if ((err = alias (akv[i])) != AK_OK) { | ^ conflict.c:153:6: warning: call to undeclared function 'setup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | setup (); | ^ conflict.c:154:67: warning: passing arguments to 'akerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | fprintf (out, "aliasing error in %s - %s\n", akv[i], akerror (err)); | ^ conflict.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | alias_files (akp, akv) | ^ conflict.c:163:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 163 | pwd_names () { | ^ | int conflict.c:171:3: warning: call to undeclared function 'setup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | setup (); | ^ conflict.c:182:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 182 | grp_names () { | ^ | int conflict.c:190:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 190 | while (gr = getgrent ()) { | ~~~^~~~~~~~~~~~~ conflict.c:190:15: note: place parentheses around the assignment to silence this warning 190 | while (gr = getgrent ()) { | ^ | ( ) conflict.c:190:15: note: use '==' to turn this assignment into an equality comparison 190 | while (gr = getgrent ()) { | ^ | == conflict.c:193:3: warning: call to undeclared function 'setup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | setup (); | ^ conflict.c:201:23: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | grps[gp++] = getcpy (gr -> gr_name); | ^ conflict.c:205:3: warning: call to undeclared function 'setup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | setup (); | ^ conflict.c:204:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 204 | else { | ^ conflict.c:222:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 222 | grp_members () { | ^ | int conflict.c:230:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 230 | while (gr = getgrent ()) | ~~~^~~~~~~~~~~~~ conflict.c:230:15: note: place parentheses around the assignment to silence this warning 230 | while (gr = getgrent ()) | ^ | ( ) conflict.c:230:15: note: use '==' to turn this assignment into an equality comparison 230 | while (gr = getgrent ()) | ^ | == conflict.c:236:3: warning: call to undeclared function 'setup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | setup (); | ^ conflict.c:248:7: warning: call to undeclared function 'setup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | setup (); | ^ conflict.c:259:6: warning: call to undeclared function 'setup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | setup (); | ^ conflict.c:271:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 271 | grp_ids () { /* -DRAND not implemented at most places */ | ^ | int conflict.c:277:6: warning: call to undeclared function 'setup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | setup (); | ^ conflict.c:289:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 289 | maildrops () | ^ | int conflict.c:294:2: warning: call to undeclared function 'mdrop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | mdrop (mmdfldir); | ^ conflict.c:302:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 302 | mdrop(drop) | ^ | int conflict.c:314:2: warning: call to undeclared function 'setup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | setup (); | ^ conflict.c:319:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 319 | while (dp = readdir (dd)) | ~~~^~~~~~~~~~~~~~ conflict.c:319:15: note: place parentheses around the assignment to silence this warning 319 | while (dp = readdir (dd)) | ^ | ( ) conflict.c:319:15: note: use '==' to turn this assignment into an equality comparison 319 | while (dp = readdir (dd)) | ^ | == conflict.c:320:33: warning: call to undeclared function 'check'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | if (dp -> d_name[0] != '.' && !check (dp ->d_name)) { | ^ conflict.c:321:6: warning: call to undeclared function 'setup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 321 | setup (); | ^ conflict.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | mdrop(drop) | ^ conflict.c:336:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | int check (s) | ^ conflict.c:349:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 349 | setup () { | ^ | int conflict.c:357:6: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | if (pipe (pd) == NOTOK) | ^ conflict.c:358:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | adios ("pipe", "unable to"); | ^ conflict.c:360:10: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | switch (fork ()) { | ^ conflict.c:362:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | adios ("fork", "unable to"); | ^ conflict.c:365:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 365 | (void) close (pd[1]); | ^ conflict.c:367:14: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | (void) dup2 (pd[0], 0); | ^ conflict.c:370:13: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 370 | if ((fd = open ("/dev/null", 1)) != NOTOK) | ^ conflict.c:372:11: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | (void) dup2 (fd, 1); | ^ conflict.c:375:3: warning: call to undeclared function 'execlp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 375 | execlp (mailproc, r1bindex (mailproc, '/'), | ^ conflict.c:375:30: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | execlp (mailproc, r1bindex (mailproc, '/'), | ^ conflict.c:377:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | adios (mailproc, "unable to exec "); | ^ 65 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xconflict conflict.o aliasbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo conflict conflict cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c dp.c -o dp.o dp.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | main (argc, argv) | ^ | int dp.c:73:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | invo_name = r1bindex (argv[0], '/'); | ^ dp.c:74:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | if ((cp = m_find (invo_name)) != NULL) { | ^ dp.c:75:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ dp.c:75:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ dp.c:76:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | ap = copyip (ap, arguments); | ^ dp.c:80:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | (void) copyip (argv + 1, ap); | ^ dp.c:85:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 85 | while (cp = *argp++) { | ~~~^~~~~~~~~ dp.c:85:15: note: place parentheses around the assignment to silence this warning 85 | while (cp = *argp++) { | ^ | ( ) dp.c:85:15: note: use '==' to turn this assignment into an equality comparison 85 | while (cp = *argp++) { | ^ | == dp.c:87:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | switch (smatch (++cp, switches)) { | ^ dp.c:89:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | ambigsw (cp, switches); | ^ dp.c:90:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | done (1); | ^ dp.c:92:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | adios (NULLCP, "-%s unknown", cp); | ^ dp.c:95:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | help (buf, switches); | ^ dp.c:96:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | done (1); | ^ dp.c:100:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ dp.c:105:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ dp.c:111:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ dp.c:116:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | adios (NULLCP, "more than %d dates", NDATES); | ^ dp.c:125:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | adios (NULLCP, "usage: %s [switches] dates ...", invo_name); | ^ dp.c:127:18: warning: passing arguments to 'new_fs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | nfs = new_fs (form, format, FORMAT); | ^ dp.c:129:15: warning: call to undeclared function 'sc_width'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | if ((width = sc_width ()) < WIDTH / 2) | ^ dp.c:135:12: warning: call to undeclared function 'fmt_compile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | (void) fmt_compile (nfs, &fmt); | ^ dp.c:140:20: warning: passing arguments to 'process' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | status += process (dates[datep], width); | ^ dp.c:144:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | done (status); | ^ dp.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | main (argc, argv) | ^ dp.c:160:20: warning: passing arguments to 'fmtscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | (void) fmtscan (fmt, buffer, length, dat); | ^ dp.c:162:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | ml_fputs (buffer, stdout); | ^ dp.c:149:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | static int process (date, length) | ^ dp.c:45:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static int process(); | ^ 29 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xdp dp.o trmsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o -lcurses echo dp dp cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c install-mh.c -o install-mh.o install-mh.c:39:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 39 | main (argc, argv) | ^ | int install-mh.c:56:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | invo_name = r1bindex (argv[0], '/'); | ^ install-mh.c:86:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 86 | if (mypath = getenv ("HOME")) | ~~~~~~~^~~~~~~~~~~~~~~~~ install-mh.c:86:13: note: place parentheses around the assignment to silence this warning 86 | if (mypath = getenv ("HOME")) | ^ | ( ) install-mh.c:86:13: note: use '==' to turn this assignment into an equality comparison 86 | if (mypath = getenv ("HOME")) | ^ | == install-mh.c:87:22: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | mypath = getcpy (mypath); | ^ install-mh.c:89:26: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | if ((pw = getpwuid (getuid ())) == NULL | ^ install-mh.c:92:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | adios (NULLCP, "no HOME envariable"); | ^ install-mh.c:94:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | mypath = getcpy (pw -> pw_dir); | ^ install-mh.c:102:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | adios (NULLCP, "invocation error"); | ^ install-mh.c:104:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | adios (NULLCP, | ^ install-mh.c:103:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 103 | else | ^ install-mh.c:107:24: warning: passing arguments to 'gans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | if (!autof && gans ("Do you want help? ", anoyes)) { | ^ install-mh.c:123:15: warning: passing arguments to 'gans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | if (gans (cp, anoyes)) | ^ install-mh.c:137:20: warning: passing arguments to 'gans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | if (autof || gans (cp, anoyes)) | ^ install-mh.c:141:15: warning: passing arguments to 'gans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | if (gans ("Do you want a path below your login directory? ", | ^ install-mh.c:153:12: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | (void) chdir (mypath); | ^ install-mh.c:156:20: warning: passing arguments to 'gans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | if (autof || gans (cp, anoyes)) | ^ install-mh.c:157:18: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | if (makedir (path) == 0) | ^ install-mh.c:158:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | adios (NULLCP, "unable to create %s", path); | ^ install-mh.c:167:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | adios (NULLCP, "unable to allocate profile storage"); | ^ install-mh.c:168:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | np -> n_name = getcpy ("Path"); | ^ install-mh.c:169:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | np -> n_field = getcpy (path); | ^ install-mh.c:173:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 173 | if (in = fopen (mh_defaults, "r")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ install-mh.c:173:12: note: place parentheses around the assignment to silence this warning 173 | if (in = fopen (mh_defaults, "r")) { | ^ | ( ) install-mh.c:173:12: note: use '==' to turn this assignment into an equality comparison 173 | if (in = fopen (mh_defaults, "r")) { | ^ | == install-mh.c:174:12: warning: passing arguments to 'm_readefs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | m_readefs (&np -> n_next, in, mh_defaults, 0); | ^ install-mh.c:178:33: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | ctxpath = getcpy (m_maildir (context = "context")); | ^ install-mh.c:178:22: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | ctxpath = getcpy (m_maildir (context = "context")); | ^ install-mh.c:179:15: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | m_replace (pfolder, defalt); | ^ install-mh.c:183:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | adios (defpath, "unable to write"); | ^ install-mh.c:189:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | done (0); | ^ install-mh.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | main (argc, argv) | ^ install-mh.c:200:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | done (1); | ^ install-mh.c:201:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 201 | if (cp = index (line, '\n')) | ~~~^~~~~~~~~~~~~~~~~~~~ install-mh.c:201:12: note: place parentheses around the assignment to silence this warning 201 | if (cp = index (line, '\n')) | ^ | ( ) install-mh.c:201:12: note: use '==' to turn this assignment into an equality comparison 201 | if (cp = index (line, '\n')) | ^ | == 31 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xinstall-mh install-mh.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo install-mh install-mh cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c mhl.c -o mhl.o mhl.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 9 | main (argc, argv) | ^ | int mhl.c:17:5: warning: call to undeclared function 'ml_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | ml_init(); | ^ mhl.c:19:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | done (mhl (argc, argv)); | ^ mhl.c:19:11: warning: call to undeclared function 'mhl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | done (mhl (argc, argv)); | ^ mhl.c:9:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | main (argc, argv) | ^ mhl.c:30:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | char *OfficialName (name) | ^ 6 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xmhl mhl.o mhlsbr.o trmsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o -lcurses echo mhl mhl cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c post.c -o post.o In file included from post.c:21: ./../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ post.c:365:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 365 | off_t lseek (); | ^ /usr/include/sys/types.h:374:8: note: conflicting prototype is here 374 | off_t lseek(int, off_t, int); | ^ post.c:366:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 366 | time_t time (); | ^ /usr/include/time.h:131:8: note: conflicting prototype is here 131 | time_t time(time_t *); | ^ post.c:368:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 368 | static putfmt(), start_headers(), finish_headers(), putgrp(), pl(); | ~~~~~~ ^ | int post.c:368:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 368 | static putfmt(), start_headers(), finish_headers(), putgrp(), pl(); | ~~~~~~ ^ | int post.c:368:35: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 368 | static putfmt(), start_headers(), finish_headers(), putgrp(), pl(); | ~~~~~~ ^ | int post.c:368:53: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 368 | static putfmt(), start_headers(), finish_headers(), putgrp(), pl(); | ~~~~~~ ^ | int post.c:368:63: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 368 | static putfmt(), start_headers(), finish_headers(), putgrp(), pl(); | ~~~~~~ ^ | int post.c:369:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 369 | static anno(), make_bcc_file(), verify_all_addresses(); | ~~~~~~ ^ | int post.c:369:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 369 | static anno(), make_bcc_file(), verify_all_addresses(); | ~~~~~~ ^ | int post.c:369:33: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 369 | static anno(), make_bcc_file(), verify_all_addresses(); | ~~~~~~ ^ | int post.c:370:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 370 | static chkadr(), do_addresses(), do_text(), do_an_address(), sigon(); | ~~~~~~ ^ | int post.c:370:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 370 | static chkadr(), do_addresses(), do_text(), do_an_address(), sigon(); | ~~~~~~ ^ | int post.c:370:34: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 370 | static chkadr(), do_addresses(), do_text(), do_an_address(), sigon(); | ~~~~~~ ^ | int post.c:370:45: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 370 | static chkadr(), do_addresses(), do_text(), do_an_address(), sigon(); | ~~~~~~ ^ | int post.c:370:62: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 370 | static chkadr(), do_addresses(), do_text(), do_an_address(), sigon(); | ~~~~~~ ^ | int post.c:371:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | static sigoff(), p_refile(), fcc(), die(), insert_fcc(), p_record (); | ~~~~~~ ^ | int post.c:371:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | static sigoff(), p_refile(), fcc(), die(), insert_fcc(), p_record (); | ~~~~~~ ^ | int post.c:371:31: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | static sigoff(), p_refile(), fcc(), die(), insert_fcc(), p_record (); | ~~~~~~ ^ | int post.c:371:38: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | static sigoff(), p_refile(), fcc(), die(), insert_fcc(), p_record (); | ~~~~~~ ^ | int post.c:371:45: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | static sigoff(), p_refile(), fcc(), die(), insert_fcc(), p_record (); | ~~~~~~ ^ | int post.c:371:59: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | static sigoff(), p_refile(), fcc(), die(), insert_fcc(), p_record (); | ~~~~~~ ^ | int post.c:376:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 376 | static post(); | ~~~~~~ ^ | int post.c:383:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 383 | main (argc, argv) | ^ | int post.c:403:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | invo_name = r1bindex (argv[0], '/'); | ^ post.c:404:12: warning: passing arguments to 'm_foil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | m_foil (NULLCP); | ^ post.c:405:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 405 | mts_init (invo_name); | ^ post.c:414:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 414 | while (cp = *argp++) { | ~~~^~~~~~~~~ post.c:414:15: note: place parentheses around the assignment to silence this warning 414 | while (cp = *argp++) { | ^ | ( ) post.c:414:15: note: use '==' to turn this assignment into an equality comparison 414 | while (cp = *argp++) { | ^ | == post.c:416:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | switch (smatch (++cp, switches)) { | ^ post.c:418:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | ambigsw (cp, switches); | ^ post.c:419:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | done (1); | ^ post.c:421:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | adios (NULLCP, "-%s unknown", cp); | ^ post.c:424:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | help (buf, switches); | ^ post.c:425:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | done (1); | ^ post.c:429:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ post.c:430:14: warning: passing arguments to 'm_foil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | m_foil (cp); | ^ post.c:435:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ post.c:440:26: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | if ((state = alias (cp)) != AK_OK) | ^ post.c:442:17: warning: passing arguments to 'akerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | cp, akerror (state)); | ^ post.c:441:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | adios (NULLCP, "aliasing error in %s - %s", | ^ post.c:462:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ post.c:513:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ post.c:515:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | adios (NULLCP, "impossible width %d", outputlinelen); | ^ post.c:527:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ post.c:529:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | adios (NULLCP, "bad argument %s %s", argp[-2], cp); | ^ post.c:548:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ post.c:586:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ post.c:590:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ post.c:599:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ post.c:606:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ post.c:615:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ post.c:632:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ post.c:636:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ post.c:641:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | adios (NULLCP, "only one message at a time!"); | ^ post.c:646:18: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | (void) alias (AliasFile); | ^ post.c:651:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | adios (NULLCP, "usage: %s [switches] file", invo_name); | ^ post.c:654:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | adios (NULLCP, "impossible width %d", outputlinelen); | ^ post.c:661:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | adios (msg, "unable to open"); | ^ post.c:667:31: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | switch (state = m_getfld (state, name, buf, sizeof buf, in)) { | ^ post.c:671:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | if (uleq (name, "MIME-Version")) { | ^ post.c:689:10: warning: passing arguments to 'discard' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | discard (out = stdout); /* XXX: reference discard() to help loader */ | ^ post.c:711:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | adios ("/dev/null", "unable to open"); | ^ post.c:714:54: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | (void) strcpy (tmpfil, m_scratch ("", m_maildir (invo_name))); | ^ post.c:714:39: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | (void) strcpy (tmpfil, m_scratch ("", m_maildir (invo_name))); | ^ post.c:716:35: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | (void) strcpy (tmpfil, m_tmpfil (invo_name)); | ^ post.c:718:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | adios (tmpfil, "unable to create"); | ^ post.c:723:13: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 723 | (void) chmod (tmpfil, 0600); | ^ post.c:731:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | switch (state = m_getfld (state, name, buf, sizeof buf, in)) { | ^ post.c:736:12: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | cp = add (buf, NULLCP); | ^ post.c:738:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ post.c:739:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | cp = add (buf, cp); | ^ post.c:741:10: warning: passing arguments to 'putfmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | putfmt (name, cp, out); | ^ post.c:745:18: warning: passing arguments to 'finish_headers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | finish_headers (out); | ^ post.c:750:18: warning: passing arguments to 'finish_headers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | finish_headers (out); | ^ post.c:755:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ post.c:761:18: warning: passing arguments to 'finish_headers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | finish_headers (out); | ^ post.c:766:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | adios (NULLCP, "message format error in component #%d", | ^ post.c:770:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | adios (NULLCP, "getfld() returned %d", state); | ^ post.c:785:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | done (0); | ^ post.c:796:27: warning: passing arguments to 'verify_all_addresses' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | verify_all_addresses (1); | ^ post.c:797:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | done (0); | ^ post.c:809:23: warning: passing arguments to 'verify_all_addresses' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | verify_all_addresses (verbose); | ^ post.c:815:24: warning: passing arguments to 'verify_all_addresses' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | verify_all_addresses (verbose); | ^ post.c:817:11: warning: passing arguments to 'post' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | post (tmpfil, 0, verbose); | ^ post.c:819:7: warning: passing arguments to 'post' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | post (bccfil, 1, verbose); | ^ post.c:820:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 820 | (void) unlink (bccfil); | ^ post.c:823:19: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 823 | post (tmpfil, 0, isatty (1)); | ^ post.c:823:7: warning: passing arguments to 'post' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | post (tmpfil, 0, isatty (1)); | ^ post.c:829:14: warning: passing arguments to 'p_refile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | p_refile (tmpfil); | ^ post.c:836:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 836 | (void) unlink (tmpfil); | ^ post.c:842:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | done (0); | ^ post.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | main (argc, argv) | ^ post.c:847:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 847 | static putfmt (name, str, out) | ~~~~~~ ^ | int post.c:870:36: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | if (msgstate == NORMAL && uprf (name, "resent")) { | ^ post.c:871:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | advise (NULLCP, "illegal header line -- %s:", name); | ^ post.c:880:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | adios(NULLCP, "out of memory"); | ^ post.c:882:16: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | (void) ml_conv(str); | ^ post.c:884:22: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | (void) exthdr_encode(str, ep, strlen(name)+2, name); | ^ post.c:890:25: warning: passing arguments to 'get_header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | if ((i = get_header (name, hdrtab)) == NOTOK) { | ^ post.c:905:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | advise (NULLCP, "illegal header line -- %s:", name); | ^ post.c:913:36: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | msgfrom = msgfrom ? add (str, add (",", msgfrom)) : getcpy (str); | ^ post.c:913:26: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | msgfrom = msgfrom ? add (str, add (",", msgfrom)) : getcpy (str); | ^ post.c:913:61: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | msgfrom = msgfrom ? add (str, add (",", msgfrom)) : getcpy (str); | ^ post.c:915:36: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | subject = subject ? add (str, add ("\t", subject)) : getcpy (str); | ^ post.c:915:26: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | subject = subject ? add (str, add ("\t", subject)) : getcpy (str); | ^ post.c:915:62: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | subject = subject ? add (str, add ("\t", subject)) : getcpy (str); | ^ post.c:922:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 922 | if (cp = rindex (str, '\n')) | ~~~^~~~~~~~~~~~~~~~~~~~ post.c:922:9: note: place parentheses around the assignment to silence this warning 922 | if (cp = rindex (str, '\n')) | ^ | ( ) post.c:922:9: note: use '==' to turn this assignment into an equality comparison 922 | if (cp = rindex (str, '\n')) | ^ | == post.c:924:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 924 | for (cp = pp = str; cp = index (pp, ','); pp = cp) { | ~~~^~~~~~~~~~~~~~~~~ post.c:924:25: note: place parentheses around the assignment to silence this warning 924 | for (cp = pp = str; cp = index (pp, ','); pp = cp) { | ^ | ( ) post.c:924:25: note: use '==' to turn this assignment into an equality comparison 924 | for (cp = pp = str; cp = index (pp, ','); pp = cp) { | ^ | == post.c:926:17: warning: passing arguments to 'insert_fcc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | insert_fcc (hdr, pp); | ^ post.c:928:13: warning: passing arguments to 'insert_fcc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | insert_fcc (hdr, pp); | ^ post.c:942:22: warning: passing arguments to 'exthdr_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | (void) exthdr_decode(origstr, str); | ^ post.c:946:34: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | for (count = 0; cp = getname (str); count++) | ^ post.c:946:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 946 | for (count = 0; cp = getname (str); count++) | ~~~^~~~~~~~~~~~~~~ post.c:946:24: note: place parentheses around the assignment to silence this warning 946 | for (count = 0; cp = getname (str); count++) | ^ | ( ) post.c:946:24: note: use '==' to turn this assignment into an equality comparison 946 | for (count = 0; cp = getname (str); count++) | ^ | == post.c:947:16: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | if (mp = getm (cp, NULLCP, 0, AD_HOST, NULLCP)) { | ^ post.c:947:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 947 | if (mp = getm (cp, NULLCP, 0, AD_HOST, NULLCP)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ post.c:947:9: note: place parentheses around the assignment to silence this warning 947 | if (mp = getm (cp, NULLCP, 0, AD_HOST, NULLCP)) { | ^ | ( ) post.c:947:9: note: use '==' to turn this assignment into an equality comparison 947 | if (mp = getm (cp, NULLCP, 0, AD_HOST, NULLCP)) { | ^ | == post.c:983:19: warning: passing arguments to 'akvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | pp = akvalue (mp -> m_mbox); | ^ post.c:987:10: warning: passing arguments to 'putgrp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | putgrp (namep, np -> m_gname, out, hdr -> flags); | ^ post.c:988:26: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | while (cp = getname (pp)) { | ^ post.c:988:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 988 | while (cp = getname (pp)) { | ~~~^~~~~~~~~~~~~~ post.c:988:16: note: place parentheses around the assignment to silence this warning 988 | while (cp = getname (pp)) { | ^ | ( ) post.c:988:16: note: use '==' to turn this assignment into an equality comparison 988 | while (cp = getname (pp)) { | ^ | == post.c:989:19: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | if (!(mp = getm (cp, NULLCP, 0, AD_HOST, NULLCP))) { | ^ post.c:999:11: warning: passing arguments to 'putgrp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | putgrp (namep, mp -> m_gname, out, hdr -> flags); | ^ post.c:1005:14: warning: passing arguments to 'putadr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | if (putadr (namep, qp, mp, out, hdr -> flags)) | ^ post.c:1008:14: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | mnfree (mp); | ^ post.c:1012:13: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | mnfree (mp); | ^ post.c:1018:10: warning: passing arguments to 'putgrp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | putgrp (namep, mp -> m_gname, out, hdr -> flags); | ^ post.c:1021:20: warning: passing arguments to 'putadr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | keep = putadr (namep, "", mp, out, hdr -> flags); | ^ post.c:1028:10: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | mnfree (mp); | ^ post.c:1032:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | advise (NULLCP, "%s: field does not allow groups", name); | ^ post.c:847:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | static putfmt (name, str, out) | ^ post.c:368:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 368 | static putfmt(), start_headers(), finish_headers(), putgrp(), pl(); | ^ post.c:1044:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1044 | static start_headers () { | ~~~~~~ ^ | int post.c:1051:13: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1051 | myuid = getuid (); | ^ post.c:1052:13: warning: call to undeclared function 'getgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1052 | mygid = getgid (); | ^ post.c:1059:37: warning: passing arguments to 'adrsprintf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | (void) strcpy (from, adrsprintf (user, NULLCP)); | ^ post.c:1073:23: warning: passing arguments to 'adrsprintf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | addr = adrsprintf (user, NULLCP); | ^ post.c:1087:20: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | (void) ml_conv(signature); | ^ post.c:1089:18: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | ep = getcpy (signature); | ^ post.c:1090:27: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | (void) exthdr_encode (ep, signature, 5, "From"); | ^ post.c:1094:20: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | if ((cp = getname (signature)) == NULL) | ^ post.c:1095:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | adios (NULLCP, "getname () failed -- you lose extraordinarily big"); | ^ post.c:1096:17: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | if ((mp = getm (cp, NULLCP, 0, AD_HOST, NULLCP)) == NULL) | ^ post.c:1097:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | adios (NULLCP, "bad signature '%s'", sigbuf); | ^ post.c:1098:9: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | mnfree (mp); | ^ post.c:1099:17: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | while (getname ("")) | ^ post.c:1108:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1108 | static finish_headers (out) | ~~~~~~ ^ | int post.c:1116:34: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1116 | fprintf (out, "Date: %s\n", dtime (&tclock)); | ^ ./../zotnet/tws.h:54:40: note: expanded from macro 'dtime' 54 | #define dtime(cl) dasctime (dlocaltime (cl), TW_ZONE) | ^ post.c:1116:34: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../zotnet/tws.h:54:28: note: expanded from macro 'dtime' 54 | #define dtime(cl) dasctime (dlocaltime (cl), TW_ZONE) | ^ post.c:1119:4: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1119 | getpid (), (long)tclock, LocalName ()); | ^ post.c:1137:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | advise (NULLCP, "message has no Date: header"); | ^ post.c:1141:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | advise (NULLCP, "message has no From: header"); | ^ post.c:1151:41: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | fprintf (out, "Resent-Date: %s\n", dtime (&tclock)); | ^ ./../zotnet/tws.h:54:40: note: expanded from macro 'dtime' 54 | #define dtime(cl) dasctime (dlocaltime (cl), TW_ZONE) | ^ post.c:1151:41: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../zotnet/tws.h:54:28: note: expanded from macro 'dtime' 54 | #define dtime(cl) dasctime (dlocaltime (cl), TW_ZONE) | ^ post.c:1171:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | adios (NULLCP, "re-format message and try again"); | ^ post.c:1173:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | adios (NULLCP, "no addresses"); | ^ post.c:1108:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | static finish_headers (out) | ^ post.c:368:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 368 | static putfmt(), start_headers(), finish_headers(), putgrp(), pl(); | ^ post.c:1185:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | if (uleq (header, h -> value)) | ^ post.c:1178:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | static int get_header (header, table) | ^ post.c:372:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 372 | static int get_header(), putadr(), insert(), annoaux(); | ^ post.c:1207:60: warning: passing arguments to 'insert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | if (mp -> m_mbox == NULL || ((flags & HTRY) && !insert (mp))) | ^ post.c:1218:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | mp -> m_pers = getcpy (aka); | ^ post.c:1223:11: warning: passing arguments to 'auxformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | cp = adrformat (mp); | ^ ./../h/addrsbr.h:43:32: note: expanded from macro 'adrformat' 43 | #define adrformat(m) auxformat ((m), 1) | ^ post.c:1230:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | adios(NULLCP, "out of memory"); | ^ post.c:1231:22: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | (void) exthdr_encode(cp, ep, linepos + 2, name); | ^ post.c:1242:24: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | (void) exthdr_encode (cp, ep, linepos, name); | ^ post.c:1244:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1244 | } else { | ^ post.c:1193:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | static int putadr (name, aka, mp, out, flags) | ^ post.c:372:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 372 | static int get_header(), putadr(), insert(), annoaux(); | ^ post.c:1267:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1267 | static putgrp (name, group, out, flags) | ~~~~~~ ^ | int post.c:1293:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | adios(NULLCP, "out of memory"); | ^ post.c:1294:22: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1294 | (void) exthdr_encode(cp, ep, linepos + 2, name); | ^ post.c:1306:24: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1306 | (void) exthdr_encode (cp, ep, linepos, name); | ^ post.c:1309:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1309 | else { | ^ post.c:1267:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | static putgrp (name, group, out, flags) | ^ post.c:368:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 368 | static putfmt(), start_headers(), finish_headers(), putgrp(), pl(); | ^ post.c:1344:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | if (uleq (np -> m_host, mp -> m_next -> m_host) | ^ post.c:1345:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | && uleq (np -> m_mbox, mp -> m_next -> m_mbox) | ^ post.c:1331:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1331 | static int insert (np) | ^ post.c:372:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 372 | static int get_header(), putadr(), insert(), annoaux(); | ^ post.c:1355:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1355 | static pl () { | ~~~~~~ ^ | int post.c:1376:3: warning: data argument not used by format string [-Wformat-extra-args] 1374 | printf ("%s!%s%s", mp -> m_host, mp -> m_mbox, | ~~~~~~~~~ 1375 | mp -> m_bcc ? "[BCC]" : "", 1376 | mp -> m_next ? ",\n\t" : ""); | ^ post.c:1386:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1386 | static anno () { | ~~~~~~ ^ | int post.c:1390:14: warning: passing arguments to 'annoaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | if (annoaux (mp) == NOTOK) | ^ post.c:1394:14: warning: passing arguments to 'annoaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1394 | if (annoaux (mp) == NOTOK) | ^ post.c:1398:14: warning: passing arguments to 'annoaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | if (annoaux (mp) == NOTOK) | ^ post.c:1402:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1402 | (void) close (pfd); | ^ post.c:1413:37: warning: passing arguments to 'auxformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | (void) sprintf (buffer, "%s\n", adrformat (mp)); | ^ ./../h/addrsbr.h:43:32: note: expanded from macro 'adrformat' 43 | #define adrformat(m) auxformat ((m), 1) | ^ post.c:1416:13: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1416 | return (write (pfd, buffer, i) == i ? OK : NOTOK); | ^ post.c:1407:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1407 | static int annoaux (mp) | ^ post.c:372:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 372 | static int get_header(), putadr(), insert(), annoaux(); | ^ post.c:1421:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1421 | static insert_fcc (hdr, pp) | ~~~~~~ ^ | int post.c:1437:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | adios (NULLCP, "too many %ss", hdr -> value); | ^ post.c:1438:32: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | fccfold[fccind++] = getcpy (cp); | ^ post.c:1421:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | static insert_fcc (hdr, pp) | ^ post.c:371:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 371 | static sigoff(), p_refile(), fcc(), die(), insert_fcc(), p_record (); | ^ post.c:1443:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1443 | static make_bcc_file () { | ~~~~~~ ^ | int post.c:1450:37: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1450 | (void) strcpy (bccfil, m_tmpfil ("bccs")); | ^ post.c:1452:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1452 | adios (bccfil, "unable to create"); | ^ post.c:1453:12: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1453 | (void) chmod (bccfil, 0600); | ^ post.c:1455:33: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | fprintf (out, "Date: %s\n", dtime (&tclock)); | ^ ./../zotnet/tws.h:54:40: note: expanded from macro 'dtime' 54 | #define dtime(cl) dasctime (dlocaltime (cl), TW_ZONE) | ^ post.c:1455:33: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../zotnet/tws.h:54:28: note: expanded from macro 'dtime' 54 | #define dtime(cl) dasctime (dlocaltime (cl), TW_ZONE) | ^ post.c:1458:3: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1458 | getpid (), (long)tclock, LocalName ()); | ^ post.c:1477:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | adios (NULLCP, "lost prefix start"); | ^ post.c:1483:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1483 | adios (NULLCP, | ^ post.c:1501:12: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1501 | if ((fd = open (tmpfil, 0)) == NOTOK) | ^ post.c:1502:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1502 | adios (tmpfil, "unable to re-open"); | ^ post.c:1505:14: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1505 | cpydata (fd, fileno (out), tmpfil, bccfil); | ^ post.c:1508:14: warning: passing arguments to 'cpydgst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1508 | cpydgst (fd, fileno (out), tmpfil, bccfil); | ^ post.c:1509:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1509 | (void) close (fd); | ^ post.c:1512:20: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | vec[0] = r1bindex (mhlproc, '/'); | ^ post.c:1514:26: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1514 | for (i = 0; (child_id = fork ()) == NOTOK && i < 5; i++) | ^ post.c:1515:6: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1515 | sleep (5); | ^ post.c:1518:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1518 | adios ("fork", "unable to"); | ^ post.c:1521:10: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1521 | (void) dup2 (fileno (out), 1); | ^ post.c:1530:3: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1530 | execvp (mhlproc, vec); | ^ post.c:1533:3: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1533 | _exit (-1); | ^ post.c:1533:3: note: include the header or explicitly provide a declaration for '_exit' post.c:1536:10: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | (void) pidXwait (child_id, mhlproc); | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ post.c:1536:10: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ post.c:1562:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | adios (tmpfil, "unable to re-open"); | ^ post.c:1589:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1589 | static verify_all_addresses (talk) | ~~~~~~ ^ | int post.c:1623:33: warning: passing arguments to 'sm_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1623 | if (rp_isbad (retval = sm_init (clientsw, serversw, 0, 0, snoop, 0, 0)) | ^ post.c:1624:34: warning: passing arguments to 'sm_winit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1624 | || rp_isbad (retval = sm_winit (smtpmode, from))) | ^ post.c:1626:17: warning: passing arguments to 'rp_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1626 | rp_string (retval)); | ^ post.c:1625:10: warning: passing arguments to 'die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1625 | die (NULLCP, "problem initializing server; %s", | ^ post.c:1636:16: warning: passing arguments to 'do_an_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1636 | do_an_address (lp, talk, encryptsw); | ^ post.c:1643:16: warning: passing arguments to 'do_an_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1643 | do_an_address (lp, talk, encryptsw); | ^ post.c:1650:16: warning: passing arguments to 'do_an_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | do_an_address (lp, talk, encryptsw); | ^ post.c:1662:16: warning: passing arguments to 'sm_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1662 | (void) sm_end (DONE); | ^ post.c:1589:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | static verify_all_addresses (talk) | ^ post.c:369:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 369 | static anno(), make_bcc_file(), verify_all_addresses(); | ^ post.c:1673:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1673 | static chkadr () { | ~~~~~~ ^ | int post.c:1677:6: warning: passing arguments to 'die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1677 | die (NULLCP, "%d address%s unparsable, %d addressee%s undeliverable", | ^ post.c:1680:6: warning: passing arguments to 'die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1680 | die (NULLCP, "%d address%s unparsable", badadr, plural (badadr)); | ^ post.c:1682:6: warning: passing arguments to 'die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1682 | die (NULLCP, "%d addressee%s undeliverable", unkadr, plural (unkadr)); | ^ post.c:1690:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1690 | static post (file, bccque, talk) | ~~~~~~ ^ | int post.c:1714:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1714 | else | ^ post.c:1732:36: warning: passing arguments to 'sm_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | if (rp_isbad (retval = sm_init (clientsw, serversw, watch, verbose, snoop, | ^ post.c:1734:37: warning: passing arguments to 'sm_winit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1734 | || rp_isbad (retval = sm_winit (smtpmode, from))) | ^ post.c:1735:60: warning: passing arguments to 'rp_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1735 | die (NULLCP, "problem initializing server; %s", rp_string (retval)); | ^ post.c:1735:6: warning: passing arguments to 'die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1735 | die (NULLCP, "problem initializing server; %s", rp_string (retval)); | ^ post.c:1739:18: warning: passing arguments to 'do_addresses' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1739 | do_addresses (bccque, talk && verbose); | ^ post.c:1740:15: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1740 | if ((fd = open (file, 0)) == NOTOK) | ^ post.c:1741:6: warning: passing arguments to 'die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1741 | die (file, "unable to re-open"); | ^ post.c:1742:13: warning: passing arguments to 'do_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1742 | do_text (file, fd); | ^ post.c:1755:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1755 | (void) close (fd); | ^ post.c:1763:19: warning: passing arguments to 'sm_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1763 | (void) sm_end (onex ? OK : DONE); | ^ post.c:1772:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1772 | else | ^ post.c:1690:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1690 | static post (file, bccque, talk) | ^ post.c:376:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 376 | static post(); | ^ post.c:1955:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1955 | static do_addresses (bccque, talk) | ~~~~~~ ^ | int post.c:1981:20: warning: passing arguments to 'do_an_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1981 | do_an_address (lp, talk, 0); | ^ post.c:2000:20: warning: passing arguments to 'do_an_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | do_an_address (lp, talk, 0); | ^ post.c:2019:20: warning: passing arguments to 'do_an_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2019 | do_an_address (lp, talk, 0); | ^ post.c:2039:57: warning: passing arguments to 'rp_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2039 | die (NULLCP, "problem ending addresses; %s", rp_string (retval)); | ^ post.c:2039:6: warning: passing arguments to 'die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2039 | die (NULLCP, "problem ending addresses; %s", rp_string (retval)); | ^ post.c:1955:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1955 | static do_addresses (bccque, talk) | ^ post.c:370:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 370 | static chkadr(), do_addresses(), do_text(), do_an_address(), sigon(); | ^ post.c:2046:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2046 | static do_text (file, fd) | ~~~~~~ ^ | int post.c:2058:21: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2058 | while ((state = read (fd, buf, sizeof buf)) > 0) | ^ post.c:2064:33: warning: passing arguments to 'sm_wtxt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2064 | if (rp_isbad (retval = sm_wtxt (buf, state))) | ^ post.c:2065:59: warning: passing arguments to 'rp_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2065 | die (NULLCP, "problem writing text; %s\n", rp_string (retval)); | ^ post.c:2065:10: warning: passing arguments to 'die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2065 | die (NULLCP, "problem writing text; %s\n", rp_string (retval)); | ^ post.c:2069:6: warning: passing arguments to 'die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2069 | die (file, "problem reading from"); | ^ post.c:2108:51: warning: passing arguments to 'rp_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2108 | die (NULLCP, "posting failed; %s", rp_string (retval)); | ^ post.c:2108:10: warning: passing arguments to 'die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2108 | die (NULLCP, "posting failed; %s", rp_string (retval)); | ^ post.c:2111:56: warning: passing arguments to 'rp_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2111 | die (NULLCP, "unexpected response; %s", rp_string (retval)); | ^ post.c:2111:10: warning: passing arguments to 'die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2111 | die (NULLCP, "unexpected response; %s", rp_string (retval)); | ^ post.c:2046:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2046 | static do_text (file, fd) | ^ post.c:370:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 370 | static chkadr(), do_addresses(), do_text(), do_an_address(), sigon(); | ^ post.c:2356:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2356 | static do_an_address (lp, talk, tma) | ~~~~~~ ^ | int post.c:2377:23: warning: passing arguments to 'auxformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2377 | mbox = auxformat (lp, 0); | ^ post.c:2412:30: warning: passing arguments to 'sm_wadr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2412 | switch (retval = sm_wadr (mbox, host, | ^ post.c:2424:14: warning: passing arguments to 'rp_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2424 | rp_string (retval)); | ^ post.c:2431:56: warning: passing arguments to 'rp_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2431 | die (NULLCP, "unexpected response; %s", rp_string (retval)); | ^ post.c:2431:10: warning: passing arguments to 'die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2431 | die (NULLCP, "unexpected response; %s", rp_string (retval)); | ^ post.c:2356:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2356 | static do_an_address (lp, talk, tma) | ^ post.c:370:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 370 | static chkadr(), do_addresses(), do_text(), do_an_address(), sigon(); | ^ post.c:2450:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2450 | (void) unlink (tmpfil); | ^ post.c:2459:16: warning: passing arguments to 'sm_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2459 | (void) sm_end (NOTOK); | ^ post.c:2461:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2461 | done (1); | ^ post.c:2444:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2444 | static TYPESIG sigser (i) | ^ post.c:2466:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2466 | static sigon () { | ~~~~~~ ^ | int post.c:2484:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2484 | static sigoff () { | ~~~~~~ ^ | int post.c:2496:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2496 | static p_refile (file) | ~~~~~~ ^ | int post.c:2510:6: warning: passing arguments to 'fcc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2510 | fcc (file, fccfold[i]); | ^ post.c:2496:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2496 | static p_refile (file) | ^ post.c:371:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 371 | static sigoff(), p_refile(), fcc(), die(), insert_fcc(), p_record (); | ^ post.c:2516:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2516 | static fcc (file, folder) | ~~~~~~ ^ | int post.c:2529:29: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2529 | for (i = 0; (child_id = fork ()) == NOTOK && i < 5; i++) | ^ post.c:2530:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2530 | sleep (5); | ^ post.c:2542:6: warning: call to undeclared function 'execlp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2542 | execlp (fileproc, r1bindex (fileproc, '/'), | ^ post.c:2542:33: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2542 | execlp (fileproc, r1bindex (fileproc, '/'), | ^ post.c:2547:27: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2547 | if (status = pidwait (child_id, OK)) { | ^ post.c:2547:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2547 | if (status = pidwait (child_id, OK)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ post.c:2547:17: note: place parentheses around the assignment to silence this warning 2547 | if (status = pidwait (child_id, OK)) { | ^ | ( ) post.c:2547:17: note: use '==' to turn this assignment into an equality comparison 2547 | if (status = pidwait (child_id, OK)) { | ^ | == post.c:2551:20: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2551 | (void) pidstatus (status, verbose ? stdout : stderr, NULLCP); | ^ post.c:2516:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2516 | static fcc (file, folder) | ^ post.c:371:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 371 | static sigoff(), p_refile(), fcc(), die(), insert_fcc(), p_record (); | ^ post.c:2563:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2563 | static p_record () | ~~~~~~ ^ | int post.c:2585:38: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2585 | (void) strcpy (recfile, m_tmpfil ("record")); | ^ post.c:2593:12: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2593 | (void) chmod (recfile, 0600); | ^ post.c:2595:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2595 | for (app = addrs; ap = *app; app++) { | ~~~^~~~~~ post.c:2595:26: note: place parentheses around the assignment to silence this warning 2595 | for (app = addrs; ap = *app; app++) { | ^ | ( ) post.c:2595:26: note: use '==' to turn this assignment into an equality comparison 2595 | for (app = addrs; ap = *app; app++) { | ^ | == post.c:2599:28: warning: passing arguments to 'auxformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2599 | fprintf (out, "%s\n", adrformat (mp)); | ^ ./../h/addrsbr.h:43:32: note: expanded from macro 'adrformat' 43 | #define adrformat(m) auxformat ((m), 1) | ^ post.c:2604:29: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2604 | for (i = 0; (child_id = fork ()) == NOTOK && i < 5; i++) | ^ post.c:2605:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2605 | sleep (5); | ^ post.c:2615:6: warning: call to undeclared function 'execlp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2615 | execlp (record, r1bindex (record, '/'), recfile, NULLCP); | ^ post.c:2615:31: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2615 | execlp (record, r1bindex (record, '/'), recfile, NULLCP); | ^ post.c:2619:27: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2619 | if (status = pidwait (child_id, OK)) { | ^ post.c:2619:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2619 | if (status = pidwait (child_id, OK)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ post.c:2619:17: note: place parentheses around the assignment to silence this warning 2619 | if (status = pidwait (child_id, OK)) { | ^ | ( ) post.c:2619:17: note: use '==' to turn this assignment into an equality comparison 2619 | if (status = pidwait (child_id, OK)) { | ^ | == post.c:2622:20: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2622 | (void) pidstatus (status, verbose ? stdout : stderr, NULLCP); | ^ post.c:2629:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2629 | (void) unlink (recfile); | ^ post.c:2636:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2636 | static die (what, fmt, a, b, c, d) | ~~~~~~ ^ | int post.c:2645:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2645 | (void) unlink (tmpfil); | ^ post.c:2655:16: warning: passing arguments to 'sm_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2655 | (void) sm_end (NOTOK); | ^ post.c:2658:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2658 | adios (what, fmt, a, b, c, d); | ^ post.c:2636:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2636 | static die (what, fmt, a, b, c, d) | ^ post.c:371:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 371 | static sigoff(), p_refile(), fcc(), die(), insert_fcc(), p_record (); | ^ 316 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xpost post.o aliasbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo post post cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c rcvdist.c -o rcvdist.o rcvdist.c:33:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | static rcvdistout(); | ~~~~~~ ^ | int rcvdist.c:38:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 38 | main (argc, argv) | ^ | int rcvdist.c:61:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | invo_name = r1bindex (argv[0], '/'); | ^ rcvdist.c:62:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | mts_init (invo_name); | ^ rcvdist.c:63:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if ((cp = m_find (invo_name)) != NULL) { | ^ rcvdist.c:64:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ rcvdist.c:64:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ rcvdist.c:65:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | ap = copyip (ap, arguments); | ^ rcvdist.c:69:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | (void) copyip (argv + 1, ap); | ^ rcvdist.c:74:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 74 | while (cp = *argp++) { | ~~~^~~~~~~~~ rcvdist.c:74:15: note: place parentheses around the assignment to silence this warning 74 | while (cp = *argp++) { | ^ | ( ) rcvdist.c:74:15: note: use '==' to turn this assignment into an equality comparison 74 | while (cp = *argp++) { | ^ | == rcvdist.c:76:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | switch (smatch (++cp, switches)) { | ^ rcvdist.c:78:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | ambigsw (cp, switches); | ^ rcvdist.c:79:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | done (1); | ^ rcvdist.c:87:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | help (buf, switches); | ^ rcvdist.c:88:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | done (1); | ^ rcvdist.c:92:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ rcvdist.c:95:31: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | addrs = addrs ? add (cp, add (", ", addrs)) : getcpy (cp); | ^ rcvdist.c:95:22: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | addrs = addrs ? add (cp, add (", ", addrs)) : getcpy (cp); | ^ rcvdist.c:95:55: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | addrs = addrs ? add (cp, add (", ", addrs)) : getcpy (cp); | ^ rcvdist.c:101:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | adios (NULLCP, "usage: %s [switches] [switches for postproc] address ...", | ^ rcvdist.c:104:12: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | (void) umask (~m_gmprot ()); | ^ rcvdist.c:105:37: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | (void) strcpy (tmpfil, m_tmpfil (invo_name)); | ^ rcvdist.c:107:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | adios (tmpfil, "unable to create"); | ^ rcvdist.c:108:20: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | (void) cpydata (fileno (stdin), fileno (fp), "message", tmpfil); | ^ rcvdist.c:110:35: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | (void) strcpy (drft, m_tmpfil (invo_name)); | ^ rcvdist.c:111:16: warning: passing arguments to 'rcvdistout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | rcvdistout (fp, form, addrs); | ^ rcvdist.c:114:9: warning: call to undeclared function 'distout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | if (distout (drft, tmpfil, backup) == NOTOK) | ^ rcvdist.c:115:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | done (1); | ^ rcvdist.c:117:23: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | vec[0] = r1bindex (postproc, '/'); | ^ rcvdist.c:120:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | if ((cp = m_find("sendername"))) { | ^ rcvdist.c:124:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | if ((cp = m_find("from-address"))) { | ^ rcvdist.c:133:19: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | if ((cp = m_find ("signature")) && *cp) | ^ rcvdist.c:134:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | (void) m_putenv ("SIGNATURE", cp); | ^ rcvdist.c:148:29: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | for (i = 0; (child_id = fork ()) == NOTOK && i < 5; i++) | ^ rcvdist.c:149:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | sleep (5); | ^ rcvdist.c:152:15: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | admonish (NULLCP, "unable to fork");/* fall */ | ^ rcvdist.c:154:6: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | execvp (postproc, vec); | ^ rcvdist.c:157:6: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | _exit (1); | ^ rcvdist.c:157:6: note: include the header or explicitly provide a declaration for '_exit' rcvdist.c:160:12: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | done (pidXwait (child_id, postproc)); | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ rcvdist.c:160:12: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ rcvdist.c:160:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | done (pidXwait (child_id, postproc)); | ^ rcvdist.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | main (argc, argv) | ^ rcvdist.c:198:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 198 | static rcvdistout (inb, form, addrs) | ~~~~~~ ^ | int rcvdist.c:218:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | adios (drft, "unable to create"); | ^ rcvdist.c:220:17: warning: passing arguments to 'new_fs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | cp = new_fs (form ? form : rcvdistcomps, NULLCP, NULLCP); | ^ rcvdist.c:222:14: warning: call to undeclared function 'fmt_compile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | ncomps = fmt_compile (cp, &fmt) + 1; | ^ rcvdist.c:226:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | adios (NULLCP, "unable to allocate component buffers"); | ^ rcvdist.c:230:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | adios (NULLCP, "unable to allocate component buffer stack"); | ^ rcvdist.c:236:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | adios (NULLCP, "unable to allocate component buffer"); | ^ rcvdist.c:251:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | switch (state = m_getfld (state, name, tmpbuf, SBUFSIZ, inb)) { | ^ rcvdist.c:254:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 254 | if (cptr = wantcomp[CHASH (name)]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ rcvdist.c:254:12: note: place parentheses around the assignment to silence this warning 254 | if (cptr = wantcomp[CHASH (name)]) | ^ | ( ) rcvdist.c:254:12: note: use '==' to turn this assignment into an equality comparison 254 | if (cptr = wantcomp[CHASH (name)]) | ^ | == rcvdist.c:256:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | if (uleq (name, cptr -> c_name)) { | ^ rcvdist.c:268:15: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | cp = add (",\n\t", cp); | ^ rcvdist.c:271:15: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | cp = add ("\t", cp); | ^ rcvdist.c:270:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 270 | else | ^ rcvdist.c:272:26: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | cptr -> c_text = add (tmpbuf, cp); | ^ rcvdist.c:275:22: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | state = m_getfld (state, name, tmpbuf, | ^ rcvdist.c:277:26: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | cptr -> c_text = add (tmpbuf, cptr -> c_text); | ^ rcvdist.c:282:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 282 | } while (cptr = cptr -> c_next); | ~~~~~^~~~~~~~~~~~~~~~ rcvdist.c:282:21: note: place parentheses around the assignment to silence this warning 282 | } while (cptr = cptr -> c_next); | ^ | ( ) rcvdist.c:282:21: note: use '==' to turn this assignment into an equality comparison 282 | } while (cptr = cptr -> c_next); | ^ | == rcvdist.c:285:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | state = m_getfld (state, name, tmpbuf, SBUFSIZ, inb); | ^ rcvdist.c:295:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | adios (NULLCP, "m_getfld() returned %d", state); | ^ rcvdist.c:304:20: warning: passing arguments to 'fmtscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | (void) fmtscan (fmt, scanl, i, dat); | ^ rcvdist.c:306:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | ml_fputs (scanl, out); | ^ rcvdist.c:312:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | adios (drft, "error writing"); | ^ rcvdist.c:316:49: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 316 | for (nxtbuf = compbuffers, i = ncomps; cptr = *savecomp++; nxtbuf++, i--) | ~~~~~^~~~~~~~~~~~~ rcvdist.c:316:49: note: place parentheses around the assignment to silence this warning 316 | for (nxtbuf = compbuffers, i = ncomps; cptr = *savecomp++; nxtbuf++, i--) | ^ | ( ) rcvdist.c:316:49: note: use '==' to turn this assignment into an equality comparison 316 | for (nxtbuf = compbuffers, i = ncomps; cptr = *savecomp++; nxtbuf++, i--) | ^ | == rcvdist.c:198:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | static rcvdistout (inb, form, addrs) | ^ rcvdist.c:33:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | static rcvdistout(); | ^ rcvdist.c:330:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 330 | (void) unlink (backup); | ^ rcvdist.c:326:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | void done (status) | ^ In file included from rcvdist.c:6: ./../h/mh.h:262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 262 | void done (); | ^ 70 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xrcvdist rcvdist.o distsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo rcvdist rcvdist cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c rcvpack.c -o rcvpack.o In file included from rcvpack.c:10: ./../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ rcvpack.c:28:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | main (argc, argv) | ^ | int rcvpack.c:47:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | invo_name = r1bindex (argv[0], '/'); | ^ rcvpack.c:48:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | mts_init (invo_name); | ^ rcvpack.c:49:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if ((cp = m_find (invo_name)) != NULL) { | ^ rcvpack.c:50:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ rcvpack.c:50:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ rcvpack.c:51:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | ap = copyip (ap, arguments); | ^ rcvpack.c:55:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | (void) copyip (argv + 1, ap); | ^ rcvpack.c:60:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 60 | while (cp = *argp++) { | ~~~^~~~~~~~~ rcvpack.c:60:15: note: place parentheses around the assignment to silence this warning 60 | while (cp = *argp++) { | ^ | ( ) rcvpack.c:60:15: note: use '==' to turn this assignment into an equality comparison 60 | while (cp = *argp++) { | ^ | == rcvpack.c:62:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | switch (smatch (++cp, switches)) { | ^ rcvpack.c:64:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | ambigsw (cp, switches); | ^ rcvpack.c:65:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | done (1); | ^ rcvpack.c:67:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | adios (NULLCP, "-%s unknown", cp); | ^ rcvpack.c:70:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | help (buf, switches); | ^ rcvpack.c:71:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | done (1); | ^ rcvpack.c:74:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | adios (NULLCP, "only one file at a time!"); | ^ rcvpack.c:82:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | adios (NULLCP, "%s [switches] file", invo_name); | ^ rcvpack.c:86:31: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | if ((md = mbx_open (file, getuid (), getgid (), m_gmprot ())) == NOTOK | ^ rcvpack.c:86:42: warning: call to undeclared function 'getgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | if ((md = mbx_open (file, getuid (), getgid (), m_gmprot ())) == NOTOK | ^ rcvpack.c:86:24: warning: passing arguments to 'mbx_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | if ((md = mbx_open (file, getuid (), getgid (), m_gmprot ())) == NOTOK | ^ rcvpack.c:87:18: warning: passing arguments to 'mbx_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | || mbx_copy (file, md, fileno (stdin), 1, ddate, 0) == NOTOK | ^ rcvpack.c:88:19: warning: passing arguments to 'mbx_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | || mbx_close (file, md) == NOTOK) { | ^ rcvpack.c:90:23: warning: passing arguments to 'mbx_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | (void) mbx_close (file, md); | ^ rcvpack.c:91:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | done (RCV_MBX); | ^ rcvpack.c:94:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | done (RCV_MOK); | ^ rcvpack.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | main (argc, argv) | ^ 27 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xrcvpack rcvpack.o dropsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o /usr/local/bin/ld.bfd: ../zotnet/libzot.a(lock.o): in function `lockname': lock.c:(.text+0x62e): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo rcvpack rcvpack cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c rcvstore.c -o rcvstore.o rcvstore.c:53:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | main (argc, argv) | ^ | int rcvstore.c:80:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | invo_name = r1bindex (argv[0], '/'); | ^ rcvstore.c:81:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | mts_init (invo_name); | ^ rcvstore.c:82:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if ((cp = m_find (invo_name)) != NULL) { | ^ rcvstore.c:83:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ rcvstore.c:83:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ rcvstore.c:84:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | ap = copyip (ap, arguments); | ^ rcvstore.c:88:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | (void) copyip (argv + 1, ap); | ^ rcvstore.c:93:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 93 | while (cp = *argp++) { | ~~~^~~~~~~~~ rcvstore.c:93:15: note: place parentheses around the assignment to silence this warning 93 | while (cp = *argp++) { | ^ | ( ) rcvstore.c:93:15: note: use '==' to turn this assignment into an equality comparison 93 | while (cp = *argp++) { | ^ | == rcvstore.c:95:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | switch (smatch (++cp, switches)) { | ^ rcvstore.c:97:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | ambigsw (cp, switches); | ^ rcvstore.c:98:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | done (1); | ^ rcvstore.c:100:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | adios (NULLCP, "-%s unknown", cp); | ^ rcvstore.c:103:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | help (buf, switches); | ^ rcvstore.c:104:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | done (1); | ^ rcvstore.c:108:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | adios (NULLCP, "missing argument name to %s", | ^ rcvstore.c:113:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | adios (NULLCP, "only %d sequences allowed!", NATTRS); | ^ rcvstore.c:137:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | adios (NULLCP, "only one folder at a time!"); | ^ rcvstore.c:139:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); | ^ rcvstore.c:142:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | adios (NULLCP, "usage: %s [+folder] [switches]", invo_name); | ^ rcvstore.c:147:17: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | if (!m_find ("path")) | ^ rcvstore.c:148:13: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | free (path ("./", TFOLDER)); | ^ rcvstore.c:149:38: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | if (!folder && !(folder = m_find (inbox))) | ^ rcvstore.c:151:25: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | maildir = m_maildir (folder); | ^ rcvstore.c:155:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | adios (maildir, "error on folder"); | ^ rcvstore.c:157:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | adios (NULLCP, "folder %s doesn't exist", maildir); | ^ rcvstore.c:158:15: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if (!makedir (maildir)) | ^ rcvstore.c:159:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | adios (NULLCP, "unable to create folder %s", maildir); | ^ rcvstore.c:162:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | if (chdir (maildir) == NOTOK) | ^ rcvstore.c:163:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | adios (maildir, "unable to change directory to"); | ^ rcvstore.c:164:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | if (!(mp = m_gmsg (folder))) | ^ rcvstore.c:165:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | adios (NULLCP, "unable to read folder %s", folder); | ^ rcvstore.c:174:15: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | if ((fd = creat (tmpfilenam = m_scratch ("", invo_name), m_gmprot ())) | ^ rcvstore.c:174:45: warning: passing arguments to 'm_scratch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | if ((fd = creat (tmpfilenam = m_scratch ("", invo_name), m_gmprot ())) | ^ rcvstore.c:176:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | adios (tmpfilenam, "unable to create"); | ^ rcvstore.c:179:13: warning: passing arguments to 'cpydata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | cpydata (fileno (stdin), fd, "standard input", tmpfilenam); | ^ rcvstore.c:182:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | (void) unlink (tmpfilenam); | ^ rcvstore.c:183:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | adios (tmpfilenam, "unable to fstat"); | ^ rcvstore.c:185:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | if (close (fd) == NOTOK) | ^ rcvstore.c:186:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | adios (tmpfilenam, "error closing"); | ^ rcvstore.c:188:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | (void) unlink (tmpfilenam); | ^ rcvstore.c:189:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | advise (NULLCP, "empty file"); | ^ rcvstore.c:190:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | done (0); | ^ rcvstore.c:197:24: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | if ((mp = m_remsg (mp, 0, mp -> hghoff + MAXFOLDER)) == NULL) | ^ rcvstore.c:198:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | adios (NULLCP, "unable to allocate folder storage"); | ^ rcvstore.c:202:14: warning: call to undeclared function 'link'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | } while (link (tmpfilenam, m_name (msgnum)) == NOTOK && errno == EEXIST); | ^ rcvstore.c:202:39: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | } while (link (tmpfilenam, m_name (msgnum)) == NOTOK && errno == EEXIST); | ^ rcvstore.c:204:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | (void) unlink (tmpfilenam); | ^ rcvstore.c:207:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | adios (NULLCP, "can't file message %d", msgnum); | ^ rcvstore.c:215:26: warning: passing arguments to 'm_seqnew' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | if (zerosw && !m_seqnew (mp, seqs[seqp], publicsw)) | ^ rcvstore.c:216:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | done (1); | ^ rcvstore.c:217:16: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | if (!m_seqadd (mp, seqs[seqp], msgnum, publicsw)) | ^ rcvstore.c:218:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | done (1); | ^ rcvstore.c:221:14: warning: passing arguments to 'm_setvis' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | m_setvis (mp, 0); | ^ rcvstore.c:222:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | m_sync (mp); | ^ rcvstore.c:225:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | done (0); | ^ rcvstore.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | main (argc, argv) | ^ rcvstore.c:232:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 232 | (void) unlink (tmpfilenam); | ^ rcvstore.c:228:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | void done (status) | ^ In file included from rcvstore.c:7: ./../h/mh.h:262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 262 | void done (); | ^ 60 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xrcvstore rcvstore.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo rcvstore rcvstore cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c rcvtty.c -o rcvtty.o rcvtty.c:84:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 84 | off_t lseek (); | ^ /usr/include/stdio.h:439:10: note: conflicting prototype is here 439 | __off_t lseek(int, __off_t, int); | ^ rcvtty.c:88:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 88 | static alert(); | ~~~~~~ ^ | int rcvtty.c:104:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | main (argc, argv) | ^ | int rcvtty.c:137:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | invo_name = r1bindex (argv[0], '/'); | ^ rcvtty.c:142:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | mts_init (invo_name); | ^ rcvtty.c:143:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | if ((cp = m_find (invo_name)) != NULL) { | ^ rcvtty.c:144:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ rcvtty.c:144:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ rcvtty.c:145:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | ap = copyip (ap, arguments); | ^ rcvtty.c:150:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | adios (NULLCP, "too many arguments."); | ^ rcvtty.c:151:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | (void) copyip (argv + 1, ap); | ^ rcvtty.c:154:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | adios (NULLCP, "argument too long"); | ^ rcvtty.c:159:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 159 | while (cp = *argp++) { | ~~~^~~~~~~~~ rcvtty.c:159:15: note: place parentheses around the assignment to silence this warning 159 | while (cp = *argp++) { | ^ | ( ) rcvtty.c:159:15: note: use '==' to turn this assignment into an equality comparison 159 | while (cp = *argp++) { | ^ | == rcvtty.c:161:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | switch (smatch (++cp, switches)) { | ^ rcvtty.c:163:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | ambigsw (cp, switches); | ^ rcvtty.c:164:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | done (1); | ^ rcvtty.c:170:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | help (buf, switches); | ^ rcvtty.c:171:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | done (1); | ^ rcvtty.c:179:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ rcvtty.c:184:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ rcvtty.c:208:33: warning: passing arguments to 'message_fd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | if ((md = vecp ? message_fd (vec) : header_fd ()) == NOTOK) | ^ rcvtty.c:217:8: warning: passing arguments to 'alert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | alert (tty, md); | ^ rcvtty.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | main (argc, argv) | ^ rcvtty.c:244:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | static TYPESIG alrmser (i) | ^ rcvtty.c:261:15: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 261 | if ((fd = creat (tmpfil, 0600)) == NOTOK) | ^ rcvtty.c:265:15: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 265 | if ((fd = open (tmpfil, 2)) == NOTOK) | ^ rcvtty.c:280:15: warning: passing arguments to 'closefds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | closefds (3); | ^ rcvtty.c:300:22: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | (void) pidwait (child_id, OK); | ^ rcvtty.c:251:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | static int message_fd (vec) | ^ rcvtty.c:87:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static int message_fd(), header_fd(); | ^ rcvtty.c:326:37: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | (void) strcpy (tmpfil, m_tmpfil (invo_name)); | ^ rcvtty.c:327:15: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 327 | if ((fd = creat (tmpfil, 0600)) == NOTOK) | ^ rcvtty.c:331:15: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | if ((fd = open (tmpfil, 2)) == NOTOK) | ^ rcvtty.c:336:38: warning: passing arguments to 'new_fs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | (void) scan (stdin, 0, 0, new_fs (form, format, SCANFMT), 0, 0, 0, | ^ rcvtty.c:336:17: warning: passing arguments to 'scan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | (void) scan (stdin, 0, 0, new_fs (form, format, SCANFMT), 0, 0, 0, | ^ rcvtty.c:350:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 350 | static alert (tty, md) | ~~~~~~ ^ | int rcvtty.c:378:11: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 378 | td = open (ttyspec, 1); | ^ rcvtty.c:399:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | ml_fputs(buffer, fd); | ^ rcvtty.c:350:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | static alert (tty, md) | ^ rcvtty.c:88:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static alert(); | ^ 40 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xrcvtty rcvtty.o scansbr.o trmsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o -lcurses /usr/local/bin/ld.bfd: rcvtty.o: in function `message_fd': rcvtty.c:(.text+0x3ae): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo rcvtty rcvtty cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c fmtdump.c -o fmtdump.o fmtdump.c:31:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 31 | static lused = 0; | ~~~~~~ ^ | int fmtdump.c:41:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 41 | main (argc, argv) | ^ | int fmtdump.c:62:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | invo_name = r1bindex (argv[0], '/'); | ^ fmtdump.c:63:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if ((cp = m_find (invo_name)) != NULL) { | ^ fmtdump.c:64:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ fmtdump.c:64:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ fmtdump.c:65:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | ap = copyip (ap, arguments); | ^ fmtdump.c:69:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | (void) copyip (argv + 1, ap); | ^ fmtdump.c:74:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 74 | while (cp = *argp++) { | ~~~^~~~~~~~~ fmtdump.c:74:15: note: place parentheses around the assignment to silence this warning 74 | while (cp = *argp++) { | ^ | ( ) fmtdump.c:74:15: note: use '==' to turn this assignment into an equality comparison 74 | while (cp = *argp++) { | ^ | == fmtdump.c:76:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | switch (smatch (++cp, switches)) { | ^ fmtdump.c:78:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | ambigsw (cp, switches); | ^ fmtdump.c:79:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | done (1); | ^ fmtdump.c:81:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | adios (NULLCP, "-%s unknown", cp); | ^ fmtdump.c:85:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | help (buf, switches); | ^ fmtdump.c:86:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | done (1); | ^ fmtdump.c:90:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ fmtdump.c:95:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ fmtdump.c:101:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | adios (NULLCP, "only one form at a time!"); | ^ fmtdump.c:106:18: warning: passing arguments to 'new_fs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | nfs = new_fs (form, format, FORMAT); /* must be before chdir() */ | ^ fmtdump.c:107:14: warning: call to undeclared function 'fmt_compile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | ncomps = fmt_compile(nfs, &fmt); | ^ fmtdump.c:109:13: warning: passing arguments to 'fmt_dump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | fmt_dump(fmt); | ^ fmtdump.c:110:9: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | done(0); | ^ fmtdump.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | main (argc, argv) | ^ fmtdump.c:132:17: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | if (findlabel(addr) < 0) | ^ fmtdump.c:133:16: warning: passing arguments to 'assignlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | assignlabel(addr); | ^ fmtdump.c:141:10: warning: passing arguments to 'dumpone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | dumpone(fmt); | ^ fmtdump.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | fmt_dump (fmth) | ^ fmtdump.c:34:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | static void fmt_dump(), dumpone(), assignlabel(), litputs(), litputc(); | ^ fmtdump.c:153:20: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | if ((i = findlabel(fmt)) >= 0) | ^ fmtdump.c:157:17: warning: passing arguments to 'f_typestr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | fputs(f_typestr((int)fmt->f_type), stdout); | ^ fmtdump.c:166:10: warning: passing arguments to 'litputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | litputs(fmt->f_comp->c_name); | ^ fmtdump.c:168:35: warning: passing arguments to 'c_typestr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | printf(", c_type %s", c_typestr(fmt->f_comp->c_type)); | ^ fmtdump.c:198:10: warning: passing arguments to 'litputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | litputs(fmt->f_comp->c_name); | ^ fmtdump.c:200:35: warning: passing arguments to 'c_typestr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | printf(", c_type %s", c_typestr(fmt->f_comp->c_type)); | ^ fmtdump.c:220:10: warning: passing arguments to 'litputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | litputs(fmt->f_comp->c_name); | ^ fmtdump.c:222:35: warning: passing arguments to 'c_typestr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | printf(", c_type %s", c_typestr(fmt->f_comp->c_type)); | ^ fmtdump.c:229:10: warning: passing arguments to 'litputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | litputc(fmt->f_fill); | ^ fmtdump.c:231:10: warning: passing arguments to 'litputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | litputs(fmt->f_comp->c_name); | ^ fmtdump.c:233:35: warning: passing arguments to 'c_typestr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | printf(", c_type %s", c_typestr(fmt->f_comp->c_type)); | ^ fmtdump.c:241:10: warning: passing arguments to 'litputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | litputc(fmt->f_fill); | ^ fmtdump.c:250:10: warning: passing arguments to 'litputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | litputs(fmt->f_text); | ^ fmtdump.c:255:10: warning: passing arguments to 'litputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | litputc(fmt->f_fill); | ^ fmtdump.c:257:10: warning: passing arguments to 'litputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | litputs(fmt->f_text); | ^ fmtdump.c:263:10: warning: passing arguments to 'litputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | litputc(fmt->f_char); | ^ fmtdump.c:274:16: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | i = findlabel(fmt + fmt->f_skip); | ^ fmtdump.c:281:16: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | i = findlabel(fmt + fmt->f_skip); | ^ fmtdump.c:298:10: warning: passing arguments to 'litputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | litputs(fmt->f_text); | ^ fmtdump.c:303:10: warning: passing arguments to 'litputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | litputs(fmt->f_text); | ^ fmtdump.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | dumpone(fmt) | ^ fmtdump.c:34:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | static void fmt_dump(), dumpone(), assignlabel(), litputs(), litputc(); | ^ fmtdump.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | findlabel(addr) | ^ fmtdump.c:35:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | static int findlabel(); | ^ fmtdump.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | assignlabel(addr) | ^ fmtdump.c:34:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | static void fmt_dump(), dumpone(), assignlabel(), litputs(), litputc(); | ^ fmtdump.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | f_typestr(t) | ^ fmtdump.c:33:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | static char *f_typestr(), *c_typestr(); | ^ fmtdump.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | c_typestr(t) | ^ fmtdump.c:33:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | static char *f_typestr(), *c_typestr(); | ^ fmtdump.c:477:18: warning: passing arguments to 'ml_pretty_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | ml_pretty_fputs(s, stdout); | ^ fmtdump.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | litputs(s) | ^ fmtdump.c:34:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | static void fmt_dump(), dumpone(), assignlabel(), litputs(), litputc(); | ^ fmtdump.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | litputc(c) | ^ fmtdump.c:34:63: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | static void fmt_dump(), dumpone(), assignlabel(), litputs(), litputc(); | ^ 63 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xfmtdump fmtdump.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o echo fmtdump fmtdump cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c mhparam.c -o mhparam.o mhparam.c:35:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 35 | main(argc, argv) | ^ | int mhparam.c:54:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | invo_name = r1bindex (argv[0], '/'); | ^ mhparam.c:55:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | if ((cp = m_find (invo_name)) != NULL) { | ^ mhparam.c:56:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ mhparam.c:56:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ mhparam.c:57:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | ap = copyip (ap, arguments); | ^ mhparam.c:61:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | (void) copyip (argv + 1, ap); | ^ mhparam.c:66:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 66 | while (cp = *argp++) { | ~~~^~~~~~~~~ mhparam.c:66:15: note: place parentheses around the assignment to silence this warning 66 | while (cp = *argp++) { | ^ | ( ) mhparam.c:66:15: note: use '==' to turn this assignment into an equality comparison 66 | while (cp = *argp++) { | ^ | == mhparam.c:68:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | switch (smatch (++cp, switches)) { | ^ mhparam.c:70:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | ambigsw (cp, switches); | ^ mhparam.c:71:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | done (1); | ^ mhparam.c:73:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | adios (NULLCP, "-%s unknown", cp); | ^ mhparam.c:77:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | help (buf, switches); | ^ mhparam.c:78:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | done (1); | ^ mhparam.c:102:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | advise(NULLCP, "profile-components ignored with -all"); | ^ mhparam.c:105:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | advise(NULLCP, "-%scomponents ignored with -all", | ^ mhparam.c:112:20: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | (void) ml_conv(np -> n_field); | ^ mhparam.c:113:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | ml_fputs(np -> n_field, stdout); | ^ mhparam.c:124:35: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | register char *value = m_find(comps[i]); | ^ mhparam.c:127:17: warning: passing arguments to 'p_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | value = p_find(comps[i]); | ^ mhparam.c:134:17: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | (void) ml_conv(value); | ^ mhparam.c:135:11: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | ml_fputs(value, stdout); | ^ mhparam.c:145:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | done (missed); | ^ mhparam.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | main(argc, argv) | ^ mhparam.c:188:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | if (uleq (ps -> p_name, str)) | ^ mhparam.c:190:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | return getcpy(*ps -> p_field); | ^ mhparam.c:182:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | static char *p_find(str) | ^ mhparam.c:29:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | static char *p_find(); | ^ 28 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xmhparam mhparam.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o -lcurses echo mhparam mhparam cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c spost.c -o spost.o spost.c:215:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | static putfmt(), start_headers(), finish_headers(), putadr(), | ~~~~~~ ^ | int spost.c:215:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | static putfmt(), start_headers(), finish_headers(), putadr(), | ~~~~~~ ^ | int spost.c:215:35: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | static putfmt(), start_headers(), finish_headers(), putadr(), | ~~~~~~ ^ | int spost.c:215:53: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | static putfmt(), start_headers(), finish_headers(), putadr(), | ~~~~~~ ^ | int spost.c:216:2: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | static putfmt(), start_headers(), finish_headers(), putadr(), | ~~~~~~ | int 216 | insert_fcc(); | ^ spost.c:217:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | static file(), fcc(); | ~~~~~~ ^ | int spost.c:217:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | static file(), fcc(); | ~~~~~~ ^ | int spost.c:223:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 223 | main (argc, argv) | ^ | int spost.c:246:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | invo_name = r1bindex (argv[0], '/'); | ^ spost.c:247:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | mts_init (invo_name); | ^ spost.c:248:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | if ((cp = m_find (invo_name)) != NULL) { | ^ spost.c:249:27: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | argp = copyip (brkstring (cp, " ", "\n"), arguments); | ^ spost.c:249:16: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | argp = copyip (brkstring (cp, " ", "\n"), arguments); | ^ spost.c:250:16: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | (void) copyip (argv+1, argp); | ^ spost.c:256:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 256 | while (cp = *argp++) { | ~~~^~~~~~~~~ spost.c:256:15: note: place parentheses around the assignment to silence this warning 256 | while (cp = *argp++) { | ^ | ( ) spost.c:256:15: note: use '==' to turn this assignment into an equality comparison 256 | while (cp = *argp++) { | ^ | == spost.c:258:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | switch (smatch (++cp, switches)) { | ^ spost.c:260:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | ambigsw (cp, switches); | ^ spost.c:261:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | done (1); | ^ spost.c:263:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | adios (NULLCP, "-%s unknown", cp); | ^ spost.c:266:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | help (buf, switches); | ^ spost.c:267:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | done (1); | ^ spost.c:283:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ spost.c:326:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ spost.c:328:17: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | (void) alias (AliasFile);/* load default aka's */ | ^ spost.c:330:25: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | if ((state = alias(cp)) != AK_OK) | ^ spost.c:332:22: warning: passing arguments to 'akerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | cp, akerror(state) ); | ^ spost.c:331:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | adios (NULLCP, "aliasing error in file %s - %s", | ^ spost.c:340:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ spost.c:350:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ spost.c:362:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | adios (NULLCP, "only one message at a time!"); | ^ spost.c:370:15: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | (void) alias (AliasFile); /* load default aka's */ | ^ spost.c:373:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | adios (NULLCP, "usage: %s [switches] file", invo_name); | ^ spost.c:376:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | adios (msg, "unable to open"); | ^ spost.c:382:31: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | switch (state = m_getfld (state, name, buf, sizeof buf, in)) { | ^ spost.c:386:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | if (uleq (name, "MIME-Version")) { | ^ spost.c:409:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | adios (tmpfil, "unable to create"); | ^ spost.c:410:12: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 410 | (void)chmod (tmpfil, 0600); | ^ spost.c:416:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | switch (state = m_getfld (state, name, buf, sizeof buf, in)) { | ^ spost.c:422:12: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | cp = add (buf, NULLCP); | ^ spost.c:424:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ spost.c:425:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | cp = add (buf, cp); | ^ spost.c:427:10: warning: passing arguments to 'putfmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | putfmt (name, cp, out); | ^ spost.c:449:18: warning: passing arguments to 'finish_headers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | finish_headers (out); | ^ spost.c:453:21: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | state = m_getfld (state, name, buf, sizeof buf, in); | ^ spost.c:459:18: warning: passing arguments to 'finish_headers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | finish_headers (out); | ^ spost.c:464:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | adios (NULLCP, "message format error in component #%d", | ^ spost.c:468:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | adios (NULLCP, "getfld() returned %d", state); | ^ spost.c:477:31: warning: passing arguments to 'm_backup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | (void) strcpy (buf, m_backup (msg)); | ^ spost.c:479:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | advise (buf, "unable to rename %s to", msg); | ^ spost.c:483:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | done (0); | ^ spost.c:488:10: warning: passing arguments to 'file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | file (tmpfil); | ^ spost.c:495:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | adios (tmpfil, "can't reopen for sendmail"); | ^ spost.c:527:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | adios ( sendmail, "can't exec"); | ^ spost.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | main (argc, argv) | ^ spost.c:532:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 532 | static putfmt (name, str, out) | ~~~~~~ ^ | int spost.c:559:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | adios(NULLCP, "out of memory"); | ^ spost.c:561:16: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | (void) ml_conv(str); | ^ spost.c:563:22: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | (void) exthdr_encode(str, ep, strlen(name)+2, name); | ^ spost.c:569:25: warning: passing arguments to 'get_header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | if ((i = get_header (name, hdrtab)) == NOTOK) { | ^ spost.c:578:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | advise (NULLCP, "illegal header line -- %s:", name); | ^ spost.c:585:36: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | subject = subject ? add (str, add ("\t", subject)) : getcpy (str); | ^ spost.c:585:26: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | subject = subject ? add (str, add ("\t", subject)) : getcpy (str); | ^ spost.c:585:62: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | subject = subject ? add (str, add ("\t", subject)) : getcpy (str); | ^ spost.c:588:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 588 | if (cp = rindex (str, '\n')) | ~~~^~~~~~~~~~~~~~~~~~~~ spost.c:588:9: note: place parentheses around the assignment to silence this warning 588 | if (cp = rindex (str, '\n')) | ^ | ( ) spost.c:588:9: note: use '==' to turn this assignment into an equality comparison 588 | if (cp = rindex (str, '\n')) | ^ | == spost.c:590:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 590 | for (cp = pp = str; cp = index (pp, ','); pp = cp) { | ~~~^~~~~~~~~~~~~~~~~ spost.c:590:25: note: place parentheses around the assignment to silence this warning 590 | for (cp = pp = str; cp = index (pp, ','); pp = cp) { | ^ | ( ) spost.c:590:25: note: use '==' to turn this assignment into an equality comparison 590 | for (cp = pp = str; cp = index (pp, ','); pp = cp) { | ^ | == spost.c:592:17: warning: passing arguments to 'insert_fcc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | insert_fcc (hdr, pp); | ^ spost.c:594:13: warning: passing arguments to 'insert_fcc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | insert_fcc (hdr, pp); | ^ spost.c:619:23: warning: passing arguments to 'exthdr_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | (void) exthdr_decode(origstr, str); | ^ spost.c:622:25: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | while (cp = getname( str ) ) { | ^ spost.c:622:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 622 | while (cp = getname( str ) ) { | ~~~^~~~~~~~~~~~~~~~ spost.c:622:16: note: place parentheses around the assignment to silence this warning 622 | while (cp = getname( str ) ) { | ^ | ( ) spost.c:622:16: note: use '==' to turn this assignment into an equality comparison 622 | while (cp = getname( str ) ) { | ^ | == spost.c:623:12: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | mp = getm( cp, NULLCP, 0, AD_HOST, NULLCP); | ^ spost.c:634:12: warning: passing arguments to 'putadr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | putadr( name, f ); | ^ spost.c:635:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 635 | } else { | ^ spost.c:532:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | static putfmt (name, str, out) | ^ spost.c:215:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | static putfmt(), start_headers(), finish_headers(), putadr(), | ^ spost.c:643:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 642 | static | ~~~~~~ | int 643 | start_headers () | ^ spost.c:657:20: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | (void) ml_conv(signature); | ^ spost.c:659:18: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | ep = getcpy (signature); | ^ spost.c:660:27: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | (void) exthdr_encode (ep, signature, 5, "From"); | ^ spost.c:672:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 671 | static | ~~~~~~ | int 672 | finish_headers (out) | ^ spost.c:704:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | adios (NULLCP, "re-format message and try again"); | ^ spost.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | finish_headers (out) | ^ spost.c:215:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | static putfmt(), start_headers(), finish_headers(), putadr(), | ^ spost.c:717:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | if (uleq (header, h -> value)) | ^ spost.c:710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | get_header (header, table) | ^ spost.c:218:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 218 | static int get_header(), putone(); | ^ spost.c:729:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 729 | static putadr (name, nl) | ~~~~~~ ^ | int spost.c:749:18: warning: passing arguments to 'akvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | cp = akvalue(mp->m_mbox); | ^ spost.c:752:19: warning: passing arguments to 'putone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | linepos = putone( mp->m_text, linepos, namelen ); | ^ spost.c:755:22: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | while (cp = getname(cp) ) { | ^ spost.c:755:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 755 | while (cp = getname(cp) ) { | ~~~^~~~~~~~~~~~~ spost.c:755:13: note: place parentheses around the assignment to silence this warning 755 | while (cp = getname(cp) ) { | ^ | ( ) spost.c:755:13: note: use '==' to turn this assignment into an equality comparison 755 | while (cp = getname(cp) ) { | ^ | == spost.c:760:17: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | mp2 = getm( cp, NULLCP, 0, AD_HOST, NULLCP); | ^ spost.c:762:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | mp2->m_pers = getcpy(mp->m_mbox); | ^ spost.c:763:22: warning: passing arguments to 'auxformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | linepos = putone( adrformat(mp2), linepos, namelen ); | ^ ./../h/addrsbr.h:43:32: note: expanded from macro 'adrformat' 43 | #define adrformat(m) auxformat ((m), 1) | ^ spost.c:763:20: warning: passing arguments to 'putone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | linepos = putone( adrformat(mp2), linepos, namelen ); | ^ spost.c:765:20: warning: passing arguments to 'putone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | linepos = putone( mp2->m_text, linepos, namelen ); | ^ spost.c:767:13: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | mnfree( mp2 ); | ^ spost.c:772:22: warning: passing arguments to 'putone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | linepos = putone( mp->m_text, linepos, namelen ); | ^ spost.c:776:8: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | mnfree( mp2 ); | ^ spost.c:729:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | static putadr (name, nl) | ^ spost.c:215:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | static putfmt(), start_headers(), finish_headers(), putadr(), | ^ spost.c:793:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | adios(NULLCP, "out of memory"); | ^ spost.c:795:22: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | (void) exthdr_encode(adr, ep, pos, name); | ^ spost.c:806:26: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | (void) exthdr_encode(adr, ep, linepos, name); | ^ spost.c:781:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | static int putone ( adr, pos, indent ) | ^ spost.c:218:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 218 | static int get_header(), putone(); | ^ spost.c:838:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 838 | static insert_fcc (hdr, pp) | ~~~~~~ ^ | int spost.c:854:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | adios (NULLCP, "too many %ss", hdr -> value); | ^ spost.c:855:32: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | fccfold[fccind++] = getcpy (cp); | ^ spost.c:838:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | static insert_fcc (hdr, pp) | ^ spost.c:216:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 216 | insert_fcc(); | ^ spost.c:924:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 924 | static file (path) | ~~~~~~ ^ | int spost.c:936:10: warning: passing arguments to 'fcc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | fcc (path, fccfold[i]); | ^ spost.c:924:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | static file (path) | ^ spost.c:217:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 217 | static file(), fcc(); | ^ spost.c:940:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 940 | static fcc (file, folder) | ~~~~~~ ^ | int spost.c:966:33: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | execlp (fileproc, r1bindex (fileproc, '/'), | ^ spost.c:971:27: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | if (status = pidwait (child_id, OK)) { | ^ spost.c:971:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 971 | if (status = pidwait (child_id, OK)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ spost.c:971:17: note: place parentheses around the assignment to silence this warning 971 | if (status = pidwait (child_id, OK)) { | ^ | ( ) spost.c:971:17: note: use '==' to turn this assignment into an equality comparison 971 | if (status = pidwait (child_id, OK)) { | ^ | == spost.c:940:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | static fcc (file, folder) | ^ spost.c:217:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 217 | static file(), fcc(); | ^ spost.c:987:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 987 | static die (what, fmt, a, b, c, d) | ~~~~~~ ^ | int spost.c:995:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | adios (what, fmt, a, b, c, d); | ^ spost.c:987:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | static die (what, fmt, a, b, c, d) | ^ 124 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xspost spost.o aliasbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o /usr/local/bin/ld.bfd: spost.o: in function `main': spost.c:(.text+0x53f): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo spost spost cc -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/local/etc/pop.auth"' -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c slocal.c -o slocal.o In file included from slocal.c:30: ./../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ slocal.c:211:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 211 | off_t lseek (); | ^ /usr/include/stdio.h:439:10: note: conflicting prototype is here 439 | __off_t lseek(int, __off_t, int); | ^ slocal.c:219:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 219 | static expand(), glob(), copyinfo(); | ~~~~~~ ^ | int slocal.c:219:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 219 | static expand(), glob(), copyinfo(); | ~~~~~~ ^ | int slocal.c:219:26: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 219 | static expand(), glob(), copyinfo(); | ~~~~~~ ^ | int slocal.c:225:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 225 | main (argc, argv, envp) | ^ | int slocal.c:246:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | invo_name = r1bindex (*argv, '/'); | ^ slocal.c:247:12: warning: passing arguments to 'm_foil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | m_foil (NULLCP); | ^ slocal.c:248:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | mts_init (invo_name); | ^ slocal.c:252:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 252 | while (cp = *argp++) { | ~~~^~~~~~~~~ slocal.c:252:15: note: place parentheses around the assignment to silence this warning 252 | while (cp = *argp++) { | ^ | ( ) slocal.c:252:15: note: use '==' to turn this assignment into an equality comparison 252 | while (cp = *argp++) { | ^ | == slocal.c:254:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | switch (smatch (++cp, switches)) { | ^ slocal.c:256:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | ambigsw (cp, switches); | ^ slocal.c:257:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | done (1); | ^ slocal.c:259:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | adios (NULLCP, "-%s unknown", cp); | ^ slocal.c:263:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | help (buf, switches); | ^ slocal.c:264:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | done (1); | ^ slocal.c:268:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ slocal.c:272:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ slocal.c:276:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ slocal.c:280:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ slocal.c:284:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ slocal.c:288:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ slocal.c:292:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ slocal.c:297:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ slocal.c:299:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | adios (NULLCP, "only one maildelivery file at a time!"); | ^ slocal.c:332:30: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | rcvstore = getcpy(libpath("rcvstore")); | ^ slocal.c:332:22: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | rcvstore = getcpy(libpath("rcvstore")); | ^ slocal.c:339:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | adios (NULLCP, "no such local user as %s", user); | ^ slocal.c:341:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | if (chdir (pw -> pw_dir) == NOTOK) | ^ slocal.c:345:9: warning: call to undeclared function 'geteuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 345 | if (geteuid () == 0) { | ^ slocal.c:349:9: warning: call to undeclared function 'setgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | (void) setgid (pw -> pw_gid); | ^ slocal.c:351:9: warning: call to undeclared function 'initgroups'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 351 | (void) initgroups (pw -> pw_name, pw -> pw_gid); | ^ slocal.c:353:9: warning: call to undeclared function 'setuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | (void) setuid (pw -> pw_uid); | ^ slocal.c:368:21: warning: passing arguments to 'copyfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | if ((fd = copyfile (fileno (stdin), file = tmpfil, 1)) == NOTOK) | ^ slocal.c:369:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | adios (NULLCP, "unable to create temporary file"); | ^ slocal.c:372:15: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | if ((tmpfd = open (file, 0)) == NOTOK) | ^ slocal.c:373:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | adios(file, "unable to open"); | ^ slocal.c:376:28: warning: passing arguments to 'copyfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | if ((fd = copyfile (tmpfd, tmpfil, 1)) == NOTOK) | ^ slocal.c:377:19: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | adios (NULL, "unable to create temporary file"); | ^ slocal.c:378:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 378 | close (tmpfd); | ^ slocal.c:383:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 383 | (void) unlink (tmpfil); | ^ slocal.c:385:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | adios (NULLCP, "unable to access temporary file"); | ^ slocal.c:390:11: warning: passing arguments to 'copyinfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | copyinfo (fp, from); | ^ slocal.c:403:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | adios (NULLCP, "unable to ascertain local time"); | ^ slocal.c:415:21: warning: passing arguments to 'localmail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | done (localmail (fd, from, mdlvr) != NOTOK ? RCV_MOK : RCV_MBX); | ^ slocal.c:415:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | done (localmail (fd, from, mdlvr) != NOTOK ? RCV_MOK : RCV_MBX); | ^ slocal.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | main (argc, argv, envp) | ^ slocal.c:454:22: warning: passing arguments to 'usr_delivery' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | if (usr_delivery (fd, mdlvr ? mdlvr : ".maildelivery", 0, from) != NOTOK) | ^ slocal.c:457:22: warning: passing arguments to 'usr_delivery' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | if (usr_delivery (fd, maildelivery, 1, from) != NOTOK) | ^ slocal.c:469:21: warning: passing arguments to 'usr_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | return usr_file (fd, mbox, from); | ^ slocal.c:420:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | static int localmail (fd, from, mdlvr) | ^ slocal.c:217:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 217 | static int localmail(), usr_delivery(), split(), parse(), logged_in(); | ^ slocal.c:484:11: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | if (uprf (p, p2)) | ^ slocal.c:486:17: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | if (ml_ismlptr (p)) | ^ slocal.c:475:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | int matches (p1, p2) | ^ slocal.c:537:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 537 | if (cp = index (buffer, '\n')) | ~~~^~~~~~~~~~~~~~~~~~~~~~ slocal.c:537:9: note: place parentheses around the assignment to silence this warning 537 | if (cp = index (buffer, '\n')) | ^ | ( ) slocal.c:537:9: note: use '==' to turn this assignment into an equality comparison 537 | if (cp = index (buffer, '\n')) | ^ | == slocal.c:540:9: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | ml_conv(buffer); | ^ slocal.c:542:20: warning: passing arguments to 'split' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | if ((vecp = split (buffer, vec)) < 5) { | ^ slocal.c:582:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | if (uleq (vec[5], "select")) { | ^ slocal.c:585:26: warning: passing arguments to 'timely' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | if (vecp > 7 && timely (vec[6], vec[7]) == NOTOK) | ^ slocal.c:595:12: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | if (uleq (field, "default")) { | ^ slocal.c:602:24: warning: passing arguments to 'parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | if (!parsed && parse (fd) == NOTOK) { | ^ slocal.c:606:19: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | if ((p = lookup (hdrs, field)) == NULL | ^ slocal.c:619:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | if (!uleq (action, "qpipe")) | ^ slocal.c:622:10: warning: passing arguments to 'expand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | expand (tmpbuf, string, fd); | ^ slocal.c:623:13: warning: passing arguments to 'split' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | if (split (tmpbuf, vec) < 1) | ^ slocal.c:625:21: warning: passing arguments to 'usr_pipe' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | status = usr_pipe (fd, tmpbuf, vec[0], vec); | ^ slocal.c:629:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | if (!uleq (action, "pipe")) | ^ slocal.c:634:10: warning: passing arguments to 'expand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | expand (tmpbuf, string, fd); | ^ slocal.c:637:21: warning: passing arguments to 'usr_pipe' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | status = usr_pipe (fd, tmpbuf, "/bin/sh", vec + 2); | ^ slocal.c:651:20: warning: passing arguments to 'usr_pipe' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | status = usr_pipe(fd, "rcvstore", rcvstore, vec + 2); | ^ slocal.c:655:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | if (uleq(action, "folder")) | ^ slocal.c:657:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | if (!uleq (action, "file")) | ^ slocal.c:661:21: warning: passing arguments to 'usr_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | status = usr_file (fd, string, from); /* UUCP format? */ | ^ slocal.c:668:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | if (!uleq (action, "mbox")) | ^ slocal.c:670:21: warning: passing arguments to 'usr_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | status = usr_file (fd, string, NULLCP); | ^ slocal.c:674:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | if (!uleq (action, "destroy")) | ^ slocal.c:495:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | static int usr_delivery (fd, delivery, su, from) | ^ slocal.c:217:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 217 | static int localmail(), usr_delivery(), split(), parse(), logged_in(); | ^ slocal.c:704:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | static int split (cp, vec) | ^ slocal.c:217:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 217 | static int localmail(), usr_delivery(), split(), parse(), logged_in(); | ^ slocal.c:761:16: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 761 | if ((fd1 = dup (fd)) == NOTOK) | ^ slocal.c:764:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 764 | (void) close (fd1); | ^ slocal.c:769:20: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | if (p = lookup (hdrs, "source")) | ^ slocal.c:769:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 769 | if (p = lookup (hdrs, "source")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ slocal.c:769:11: note: place parentheses around the assignment to silence this warning 769 | if (p = lookup (hdrs, "source")) | ^ | ( ) slocal.c:769:11: note: use '==' to turn this assignment into an equality comparison 769 | if (p = lookup (hdrs, "source")) | ^ | == slocal.c:770:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | p -> p_value = getcpy (sender); | ^ slocal.c:771:20: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | if (p = lookup (hdrs, "addr")) | ^ slocal.c:771:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 771 | if (p = lookup (hdrs, "addr")) | ~~^~~~~~~~~~~~~~~~~~~~~~~ slocal.c:771:11: note: place parentheses around the assignment to silence this warning 771 | if (p = lookup (hdrs, "addr")) | ^ | ( ) slocal.c:771:11: note: use '==' to turn this assignment into an equality comparison 771 | if (p = lookup (hdrs, "addr")) | ^ | == slocal.c:772:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | p -> p_value = getcpy (addr); | ^ slocal.c:775:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | switch (state = m_getfld (state, name, field, sizeof field, in)) { | ^ slocal.c:779:12: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | lp = add (field, NULLCP); | ^ slocal.c:781:24: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | state = m_getfld (state, name, field, sizeof field, in); | ^ slocal.c:782:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | lp = add (field, lp); | ^ slocal.c:785:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | if (uleq (p -> p_name, name)) { | ^ slocal.c:787:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 787 | if (cp = p -> p_value) | ~~~^~~~~~~~~~~~~~ slocal.c:787:15: note: place parentheses around the assignment to silence this warning 787 | if (cp = p -> p_value) | ^ | ( ) slocal.c:787:15: note: use '==' to turn this assignment into an equality comparison 787 | if (cp = p -> p_value) | ^ | == slocal.c:792:18: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | cp = add (",\n\t", cp); | ^ slocal.c:795:18: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | cp = add ("\t", cp); | ^ slocal.c:794:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 794 | else | ^ slocal.c:796:27: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | p -> p_value = add (lp, cp); | ^ slocal.c:802:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | p -> p_name = getcpy (name); | ^ slocal.c:819:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | advise (NULLCP, "format error in message"); | ^ slocal.c:823:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | advise (NULLCP, "internal error"); | ^ slocal.c:831:20: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | if (p = lookup (vars, "reply-to")) { | ^ slocal.c:831:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 831 | if (p = lookup (vars, "reply-to")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ slocal.c:831:11: note: place parentheses around the assignment to silence this warning 831 | if (p = lookup (vars, "reply-to")) { | ^ | ( ) slocal.c:831:11: note: use '==' to turn this assignment into an equality comparison 831 | if (p = lookup (vars, "reply-to")) { | ^ | == slocal.c:832:18: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | if ((q = lookup (hdrs, "reply-to")) == NULL || q -> p_value == NULL) | ^ slocal.c:833:17: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | q = lookup (hdrs, "from"); | ^ slocal.c:834:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | p -> p_value = getcpy (q ? q -> p_value : ""); | ^ slocal.c:838:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 837 | fprintf (stderr, "vars[%d]: name=\"%s\" value=\"%s\"\n", | ~~ | %ld 838 | p - vars, p -> p_name, p -> p_value); | ^~~~~~~~ slocal.c:844:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 843 | fprintf (stderr, "hdrs[%d]: name=\"%s\" value=\"%s\"\n", | ~~ | %ld 844 | p - hdrs, p -> p_name, empty(p -> p_value)); | ^~~~~~~~ slocal.c:852:17: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | tmpbuf = getcpy(p -> p_value); | ^ slocal.c:853:15: warning: passing arguments to 'exthdr_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | exthdr_decode(tmpbuf, p -> p_value); | ^ slocal.c:743:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | static int parse (fd) | ^ slocal.c:217:50: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 217 | static int localmail(), usr_delivery(), split(), parse(), logged_in(); | ^ slocal.c:865:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 865 | static expand (s1, s2, fd) | ~~~~~~ ^ | int slocal.c:875:7: warning: passing arguments to 'glob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | glob (fd); | ^ slocal.c:877:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 877 | while (c = *s2++) | ~~^~~~~~~ slocal.c:877:14: note: place parentheses around the assignment to silence this warning 877 | while (c = *s2++) | ^ | ( ) slocal.c:877:14: note: use '==' to turn this assignment into an equality comparison 877 | while (c = *s2++) | ^ | == slocal.c:888:21: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | if (p = lookup (vars, cp)) { | ^ slocal.c:888:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 888 | if (p = lookup (vars, cp)) { | ~~^~~~~~~~~~~~~~~~~~~ slocal.c:888:12: note: place parentheses around the assignment to silence this warning 888 | if (p = lookup (vars, cp)) { | ^ | ( ) slocal.c:888:12: note: use '==' to turn this assignment into an equality comparison 888 | if (p = lookup (vars, cp)) { | ^ | == slocal.c:865:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | static expand (s1, s2, fd) | ^ slocal.c:219:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 219 | static expand(), glob(), copyinfo(); | ^ slocal.c:901:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 901 | static glob (fd) | ~~~~~~ ^ | int slocal.c:911:20: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | if (p = lookup (vars, "sender")) | ^ slocal.c:911:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 911 | if (p = lookup (vars, "sender")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ slocal.c:911:11: note: place parentheses around the assignment to silence this warning 911 | if (p = lookup (vars, "sender")) | ^ | ( ) slocal.c:911:11: note: use '==' to turn this assignment into an equality comparison 911 | if (p = lookup (vars, "sender")) | ^ | == slocal.c:912:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | p -> p_value = getcpy (sender); | ^ slocal.c:913:20: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | if (p = lookup (vars, "address")) | ^ slocal.c:913:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 913 | if (p = lookup (vars, "address")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ slocal.c:913:11: note: place parentheses around the assignment to silence this warning 913 | if (p = lookup (vars, "address")) | ^ | ( ) slocal.c:913:11: note: use '==' to turn this assignment into an equality comparison 913 | if (p = lookup (vars, "address")) | ^ | == slocal.c:914:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | p -> p_value = getcpy (addr); | ^ slocal.c:915:20: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | if (p = lookup (vars, "size")) { | ^ slocal.c:915:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 915 | if (p = lookup (vars, "size")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ slocal.c:915:11: note: place parentheses around the assignment to silence this warning 915 | if (p = lookup (vars, "size")) { | ^ | ( ) slocal.c:915:11: note: use '==' to turn this assignment into an equality comparison 915 | if (p = lookup (vars, "size")) { | ^ | == slocal.c:918:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | p -> p_value = getcpy (buffer); | ^ slocal.c:920:20: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | if (p = lookup (vars, "info")) | ^ slocal.c:920:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 920 | if (p = lookup (vars, "info")) | ~~^~~~~~~~~~~~~~~~~~~~~~~ slocal.c:920:11: note: place parentheses around the assignment to silence this warning 920 | if (p = lookup (vars, "info")) | ^ | ( ) slocal.c:920:11: note: use '==' to turn this assignment into an equality comparison 920 | if (p = lookup (vars, "info")) | ^ | == slocal.c:921:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | p -> p_value = getcpy (info); | ^ slocal.c:926:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 925 | fprintf (stderr, "vars[%d]: name=\"%s\" value=\"%s\"\n", | ~~ | %ld 926 | p - vars, p -> p_name, p -> p_value); | ^~~~~~~~ slocal.c:901:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | static glob (fd) | ^ slocal.c:219:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 219 | static expand(), glob(), copyinfo(); | ^ slocal.c:937:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 937 | for (; cp = pairs -> p_name; pairs++) | ~~~^~~~~~~~~~~~~~~~~ slocal.c:937:15: note: place parentheses around the assignment to silence this warning 937 | for (; cp = pairs -> p_name; pairs++) | ^ | ( ) slocal.c:937:15: note: use '==' to turn this assignment into an equality comparison 937 | for (; cp = pairs -> p_name; pairs++) | ^ | == slocal.c:938:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | if (uleq (cp, key)) | ^ slocal.c:931:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | static struct pair *lookup (pairs, key) | ^ slocal.c:168:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 168 | static struct pair *lookup (); | ^ slocal.c:992:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | static int timely (t1, t2) | ^ slocal.c:218:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 218 | static int timely(), usr_file(), usr_pipe(), copyfile(); | ^ slocal.c:1072:24: warning: passing arguments to 'mbx_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | if ((md = mbx_open (mailbox, pw -> pw_uid, mail_gid, file_mode)) | ^ slocal.c:1077:8: warning: passing arguments to 'adorn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | adorn ("", "unable to open:"); | ^ slocal.c:1082:18: warning: passing arguments to 'mbx_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | if (mbx_copy (mailbox, md, fd, mapping, bp, verbose) == NOTOK) { | ^ slocal.c:1086:8: warning: passing arguments to 'adorn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | adorn ("", "error writing to:"); | ^ slocal.c:1090:22: warning: passing arguments to 'mbx_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | (void) mbx_close (mailbox, md); | ^ slocal.c:1022:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | static int usr_file (fd, mailbox, from) | ^ slocal.c:218:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 218 | static int timely(), usr_file(), usr_pipe(), copyfile(); | ^ slocal.c:1177:29: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1177 | for (i = 0; (child_id = fork ()) == NOTOK && i < 5; i++) | ^ slocal.c:1178:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1178 | sleep (5); | ^ slocal.c:1181:12: warning: passing arguments to 'adorn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1181 | adorn ("fork", "unable to"); | ^ slocal.c:1186:10: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1186 | (void) dup2 (fd, 0); | ^ slocal.c:1191:15: warning: passing arguments to 'closefds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | closefds (4); | ^ slocal.c:1193:16: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1193 | if ((fd = open ("/dev/tty", 2)) != NOTOK) { | ^ slocal.c:1195:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1195 | (void) close (fd); | ^ slocal.c:1199:13: warning: call to undeclared function 'setpgrp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1199 | (void) setpgrp (0, getpid ()); | ^ slocal.c:1199:25: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1199 | (void) setpgrp (0, getpid ()); | ^ slocal.c:1203:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | (void) m_putenv ("USER", pw -> pw_name); | ^ slocal.c:1204:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | (void) m_putenv ("HOME", pw -> pw_dir); | ^ slocal.c:1205:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | (void) m_putenv ("SHELL", pw -> pw_shell); | ^ slocal.c:1207:6: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1207 | execvp (pgm, vec); | ^ slocal.c:1208:6: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1208 | _exit (-1); | ^ slocal.c:1208:6: note: include the header or explicitly provide a declaration for '_exit' slocal.c:1217:14: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1217 | (void) alarm ((unsigned) (bytes * 60 + 300)); | ^ slocal.c:1219:24: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | status = pidwait (child_id, OK); | ^ slocal.c:1233:22: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | (void) pidstatus (status, stdout, ", loses"); | ^ slocal.c:1159:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | static int usr_pipe (fd, cmd, pgm, vec) | ^ slocal.c:218:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 218 | static int timely(), usr_file(), usr_pipe(), copyfile(); | ^ slocal.c:1257:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | static TYPESIG alrmser (i) | ^ slocal.c:208:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 208 | static TYPESIG alrmser (); | ^ slocal.c:1265:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1265 | static copyinfo (fp, from) | ~~~~~~ ^ | int slocal.c:1276:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1276 | adios (NULLCP, "no message"); | ^ slocal.c:1285:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1285 | if (cp = index (buffer, '\n')) { | ~~~^~~~~~~~~~~~~~~~~~~~~~ slocal.c:1285:12: note: place parentheses around the assignment to silence this warning 1285 | if (cp = index (buffer, '\n')) { | ^ | ( ) slocal.c:1285:12: note: use '==' to turn this assignment into an equality comparison 1285 | if (cp = index (buffer, '\n')) { | ^ | == slocal.c:1265:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | static copyinfo (fp, from) | ^ slocal.c:219:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 219 | static expand(), glob(), copyinfo(); | ^ slocal.c:1319:37: warning: passing arguments to 'm_tmpfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1319 | (void) strcpy (tmpfil, m_tmpfil (invo_name)); | ^ slocal.c:1320:16: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1320 | if ((fd1 = creat (tmpfil, 0600)) == NOTOK) | ^ slocal.c:1322:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1322 | (void) close (fd1); | ^ slocal.c:1323:16: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1323 | if ((fd1 = open (tmpfil, 2)) == NOTOK) | ^ slocal.c:1327:14: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1327 | while ((i = read (qd, buffer, sizeof buffer)) > 0) | ^ slocal.c:1328:10: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1328 | if (write (fd1, buffer, i) != i) { | ^ slocal.c:1331:10: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1331 | (void) unlink (tmpfil); | ^ slocal.c:1340:16: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1340 | if ((fd2 = dup (qd)) == NOTOK) { | ^ slocal.c:1369:21: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | unixfrom = getcpy (buffer); /* save for later */ | ^ slocal.c:1374:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1374 | while (hp = index (++hp, 'r')) | ~~~^~~~~~~~~~~~~~~~~~~ slocal.c:1374:13: note: place parentheses around the assignment to silence this warning 1374 | while (hp = index (++hp, 'r')) | ^ | ( ) slocal.c:1374:13: note: use '==' to turn this assignment into an equality comparison 1374 | while (hp = index (++hp, 'r')) | ^ | == slocal.c:1375:16: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | if (uprf (hp, "remote from")) { | ^ slocal.c:1381:40: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 1381 | sprintf (buffer, "Return-Path: %.*s!%.*s\n", | ~~^~ 1382 | ep - hp, hp, | ~~~~~~~ slocal.c:1386:40: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 1386 | sprintf (buffer, "Return-Path: %.*s\n", | ~~^~ 1387 | cp - fp, fp); | ~~~~~~~ slocal.c:1306:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1306 | static int copyfile (qd, tmpfil, fold) | ^ slocal.c:218:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 218 | static int timely(), usr_file(), usr_pipe(), copyfile(); | ^ slocal.c:1438:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | advise (what, fmt, a, b, c, d, e, f); | ^ slocal.c:1421:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | static void adorn (what, fmt, a, b, c, d, e, f) | ^ slocal.c:207:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 207 | static void adorn (); | ^ 193 warnings generated. cc -L../sbr -fuse-ld=bfd -Xlinker -rpath -Xlinker /usr/local/lib -o xslocal slocal.o aliasbr.o dropsbr.o ../config/config.o -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o /usr/local/bin/ld.bfd: ../zotnet/libzot.a(lock.o): in function `lockname': lock.c:(.text+0x62e): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo slocal slocal for d in bboards general pop; do (cd $d; make DESTDIR= -k all); done cat tmac.h ali.me | sed -f me2man.sed | gzip -9n > ali.man cat tmac.h anno.me | sed -f me2man.sed | gzip -9n > anno.man cat tmac.h burst.me | sed -f me2man.sed | gzip -9n > burst.man cat tmac.h comp.me | sed -f me2man.sed | gzip -9n > comp.man cat tmac.h dist.me | sed -f me2man.sed | gzip -9n > dist.man cat tmac.h folder.me | sed -f me2man.sed | gzip -9n > folder.man cat tmac.h forw.me | sed -f me2man.sed | gzip -9n > forw.man cat tmac.h inc.me | sed -f me2man.sed | gzip -9n > inc.man cat tmac.h mark.me | sed -f me2man.sed | gzip -9n > mark.man cat tmac.h mh-chart.me | sed -f me2man.sed | gzip -9n > mh-chart.man cat tmac.h mh.me | sed -f me2man.sed | gzip -9n > mh.man cat tmac.h mhl.me | sed -f me2man.sed | gzip -9n > mhl.man cat tmac.h mhook.me | sed -f me2man.sed | gzip -9n > mhook.man cat tmac.h mhmail.me | sed -f me2man.sed | gzip -9n > mhmail.man cat tmac.h mhn.me | sed -f me2man.sed | gzip -9n > mhn.man cat tmac.h mhparam.me | sed -f me2man.sed | gzip -9n > mhparam.man cat tmac.h mhpath.me | sed -f me2man.sed | gzip -9n > mhpath.man cat tmac.h msgchk.me | sed -f me2man.sed | gzip -9n > msgchk.man cat tmac.h msh.me | sed -f me2man.sed | gzip -9n > msh.man cat tmac.h next.me | sed -f me2man.sed | gzip -9n > next.man cat tmac.h packf.me | sed -f me2man.sed | gzip -9n > packf.man cat tmac.h pgped.me | sed -f me2man.sed | gzip -9n > pgped.man cat tmac.h pick.me | sed -f me2man.sed | gzip -9n > pick.man cat tmac.h prev.me | sed -f me2man.sed | gzip -9n > prev.man cat tmac.h prompter.me | sed -f me2man.sed | gzip -9n > prompter.man cat tmac.h rcvstore.me | sed -f me2man.sed | gzip -9n > rcvstore.man cat tmac.h refile.me | sed -f me2man.sed | gzip -9n > refile.man cat tmac.h repl.me | sed -f me2man.sed | gzip -9n > repl.man cat tmac.h rmf.me | sed -f me2man.sed | gzip -9n > rmf.man cat tmac.h rmm.me | sed -f me2man.sed | gzip -9n > rmm.man cat tmac.h scan.me | sed -f me2man.sed | gzip -9n > scan.man cat tmac.h send.me | sed -f me2man.sed | gzip -9n > send.man cat tmac.h show.me | sed -f me2man.sed | gzip -9n > show.man cat tmac.h slocal.me | sed -f me2man.sed | gzip -9n > slocal.man cat tmac.h sortm.me | sed -f me2man.sed | gzip -9n > sortm.man cat tmac.h vmh.me | sed -f me2man.sed | gzip -9n > vmh.man cat tmac.h whatnow.me | sed -f me2man.sed | gzip -9n > whatnow.man cat tmac.h whom.me | sed -f me2man.sed | gzip -9n > whom.man cat tmac.h bbc.me | sed -f me2man.sed | gzip -9n > bbc.man cat tmac.h mh-alias.me | sed -f me2man.sed | gzip -9n > mh-alias.man cat tmac.h mh-format.me | sed -f me2man.sed | gzip -9n > mh-format.man cat tmac.h mh-mail.me | sed -f me2man.sed | gzip -9n > mh-mail.man cat tmac.h mh-profile.me | sed -f me2man.sed | gzip -9n > mh-profile.man cat tmac.h mh-sequence.me | sed -f me2man.sed | gzip -9n > mh-sequence.man cat tmac.h mh-tailor.me | sed -f me2man.sed | gzip -9n > mh-tailor.man cat tmac.h ap.me | sed -f me2man.sed | gzip -9n > ap.man cat tmac.h conflict.me | sed -f me2man.sed | gzip -9n > conflict.man cat tmac.h dp.me | sed -f me2man.sed | gzip -9n > dp.man cat tmac.h install-mh.me | sed -f me2man.sed | gzip -9n > install-mh.man cat tmac.h post.me | sed -f me2man.sed | gzip -9n > post.man cat tmac.h fmtdump.me | sed -f me2man.sed | gzip -9n > fmtdump.man cat tmac.h ja-ali.me | sed -f me2man.sed | gzip -9n > ja-ali.man cat tmac.h ja-anno.me | sed -f me2man.sed | gzip -9n > ja-anno.man cat tmac.h ja-bbc.me | sed -f me2man.sed | gzip -9n > ja-bbc.man cat tmac.h ja-burst.me | sed -f me2man.sed | gzip -9n > ja-burst.man cat tmac.h ja-comp.me | sed -f me2man.sed | gzip -9n > ja-comp.man cat tmac.h ja-dist.me | sed -f me2man.sed | gzip -9n > ja-dist.man cat tmac.h ja-folder.me | sed -f me2man.sed | gzip -9n > ja-folder.man cat tmac.h ja-forw.me | sed -f me2man.sed | gzip -9n > ja-forw.man cat tmac.h ja-inc.me | sed -f me2man.sed | gzip -9n > ja-inc.man cat tmac.h ja-mark.me | sed -f me2man.sed | gzip -9n > ja-mark.man cat tmac.h ja-mh-chart.me | sed -f me2man.sed | gzip -9n > ja-mh-chart.man cat tmac.h ja-mh.me | sed -f me2man.sed | gzip -9n > ja-mh.man cat tmac.h ja-mhl.me | sed -f me2man.sed | gzip -9n > ja-mhl.man cat tmac.h ja-mhmail.me | sed -f me2man.sed | gzip -9n > ja-mhmail.man cat tmac.h ja-mhn.me | sed -f me2man.sed | gzip -9n > ja-mhn.man cat tmac.h ja-mhook.me | sed -f me2man.sed | gzip -9n > ja-mhook.man cat tmac.h ja-mhparam.me | sed -f me2man.sed | gzip -9n > ja-mhparam.man cat tmac.h ja-mhpath.me | sed -f me2man.sed | gzip -9n > ja-mhpath.man cat tmac.h ja-msgchk.me | sed -f me2man.sed | gzip -9n > ja-msgchk.man cat tmac.h ja-msh.me | sed -f me2man.sed | gzip -9n > ja-msh.man cat tmac.h ja-next.me | sed -f me2man.sed | gzip -9n > ja-next.man cat tmac.h ja-packf.me | sed -f me2man.sed | gzip -9n > ja-packf.man cat tmac.h ja-pgped.me | sed -f me2man.sed | gzip -9n > ja-pgped.man cat tmac.h ja-pick.me | sed -f me2man.sed | gzip -9n > ja-pick.man cat tmac.h ja-prev.me | sed -f me2man.sed | gzip -9n > ja-prev.man cat tmac.h ja-prompter.me | sed -f me2man.sed | gzip -9n > ja-prompter.man cat tmac.h ja-rcvstore.me | sed -f me2man.sed | gzip -9n > ja-rcvstore.man cat tmac.h ja-refile.me | sed -f me2man.sed | gzip -9n > ja-refile.man cat tmac.h ja-repl.me | sed -f me2man.sed | gzip -9n > ja-repl.man cat tmac.h ja-rmf.me | sed -f me2man.sed | gzip -9n > ja-rmf.man cat tmac.h ja-rmm.me | sed -f me2man.sed | gzip -9n > ja-rmm.man cat tmac.h ja-scan.me | sed -f me2man.sed | gzip -9n > ja-scan.man cat tmac.h ja-send.me | sed -f me2man.sed | gzip -9n > ja-send.man cat tmac.h ja-show.me | sed -f me2man.sed | gzip -9n > ja-show.man cat tmac.h ja-slocal.me | sed -f me2man.sed | gzip -9n > ja-slocal.man cat tmac.h ja-sortm.me | sed -f me2man.sed | gzip -9n > ja-sortm.man cat tmac.h ja-vmh.me | sed -f me2man.sed | gzip -9n > ja-vmh.man cat tmac.h ja-whatnow.me | sed -f me2man.sed | gzip -9n > ja-whatnow.man cat tmac.h ja-whom.me | sed -f me2man.sed | gzip -9n > ja-whom.man cat tmac.h ja-mh-alias.me | sed -f me2man.sed | gzip -9n > ja-mh-alias.man cat tmac.h ja-mh-format.me | sed -f me2man.sed | gzip -9n > ja-mh-format.man cat tmac.h ja-mh-mail.me | sed -f me2man.sed | gzip -9n > ja-mh-mail.man cat tmac.h ja-mh-profile.me | sed -f me2man.sed | gzip -9n > ja-mh-profile.man cat tmac.h ja-mh-sequence.me | sed -f me2man.sed | gzip -9n > ja-mh-sequence.man cat tmac.h ja-mh-tailor.me | sed -f me2man.sed | gzip -9n > ja-mh-tailor.man cat tmac.h ja-ap.me | sed -f me2man.sed | gzip -9n > ja-ap.man cat tmac.h ja-conflict.me | sed -f me2man.sed | gzip -9n > ja-conflict.man cat tmac.h ja-dp.me | sed -f me2man.sed | gzip -9n > ja-dp.man cat tmac.h ja-fmtdump.me | sed -f me2man.sed | gzip -9n > ja-fmtdump.man cat tmac.h ja-install-mh.me | sed -f me2man.sed | gzip -9n > ja-install-mh.man cat tmac.h ja-post.me | sed -f me2man.sed | gzip -9n > ja-post.man =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-mh-6.8.4.j3.05_8 depends on executable: jless - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ja-mh-6.8.4.j3.05_8 ===> Generating temporary packing list sh ./install-sh -d /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh for d in sbr; do (cd $d; make DESTDIR=/wrkdirs/usr/ports/japanese/mh/work/stage -k inst-lib); done rm -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/libmh.so.3 cp libmh.so.3 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/libmh.so.3 lrwxr-xr-x 1 root wheel 10 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/libmh.so -> libmh.so.3 -rw-r--r-- 1 root wheel 134312 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/libmh.so.3 Shared library installed normally for d in zotnet support uip doc; do (cd $d; make DESTDIR=/wrkdirs/usr/ports/japanese/mh/work/stage -k inst-all); done for d in mts bboards tws mf; do (cd $d; make DESTDIR=/wrkdirs/usr/ports/japanese/mh/work/stage -k inst-all); done mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mtstailor to zmtstailor: No such file or directory -rw-r--r-- 1 root wheel 96 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mtstailor for d in bboards general pop; do (cd $d; make DESTDIR=/wrkdirs/usr/ports/japanese/mh/work/stage -k inst-all); done mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/MailAliases to zMailAliases: No such file or directory -rw-r--r-- 1 root wheel 876 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/MailAliases mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/components zcomponents mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/components to zcomponents: No such file or directory *** Error code 1 (ignored) cp components /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/components -rw-r--r-- 1 root wheel 26 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/components mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/digestcomps zdigestcomps mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/digestcomps to zdigestcomps: No such file or directory *** Error code 1 (ignored) cp digestcomps /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/digestcomps -rw-r--r-- 1 root wheel 314 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/digestcomps mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/distcomps zdistcomps mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/distcomps to zdistcomps: No such file or directory *** Error code 1 (ignored) cp distcomps /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/distcomps -rw-r--r-- 1 root wheel 22 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/distcomps mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/forwcomps zforwcomps mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/forwcomps to zforwcomps: No such file or directory *** Error code 1 (ignored) cp forwcomps /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/forwcomps -rw-r--r-- 1 root wheel 26 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/forwcomps mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvdistcomps zrcvdistcomps mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvdistcomps to zrcvdistcomps: No such file or directory *** Error code 1 (ignored) cp rcvdistcomps /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvdistcomps -rw-r--r-- 1 root wheel 104 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvdistcomps mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/replcomps zreplcomps mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/replcomps to zreplcomps: No such file or directory *** Error code 1 (ignored) cp replcomps /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/replcomps -rw-r--r-- 1 root wheel 426 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/replcomps mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.digest zmhl.digest mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.digest to zmhl.digest: No such file or directory *** Error code 1 (ignored) cp mhl.digest /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.digest -rw-r--r-- 1 root wheel 193 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.digest mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.format zmhl.format mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.format to zmhl.format: No such file or directory *** Error code 1 (ignored) cp mhl.format.hdecode /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.format -rw-r--r-- 1 root wheel 329 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.format mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.forward zmhl.forward mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.forward to zmhl.forward: No such file or directory *** Error code 1 (ignored) cp mhl.forward /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.forward -rw-r--r-- 1 root wheel 215 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.forward mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.body zmhl.body mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.body to zmhl.body: No such file or directory *** Error code 1 (ignored) cp mhl.body /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.body -rw-r--r-- 1 root wheel 46 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.body mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.headers zmhl.headers mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.headers to zmhl.headers: No such file or directory *** Error code 1 (ignored) cp mhl.headers.hdecode /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.headers -rw-r--r-- 1 root wheel 284 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl.headers mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.mailx zscan.mailx mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.mailx to zscan.mailx: No such file or directory *** Error code 1 (ignored) cp scan.mailx /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.mailx -rw-r--r-- 1 root wheel 247 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.mailx mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.default zscan.default mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.default to zscan.default: No such file or directory *** Error code 1 (ignored) cp scan.default /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.default -rw-r--r-- 1 root wheel 400 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.default mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.size zscan.size mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.size to zscan.size: No such file or directory *** Error code 1 (ignored) cp scan.size /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.size -rw-r--r-- 1 root wheel 219 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.size mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.time zscan.time mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.time to zscan.time: No such file or directory *** Error code 1 (ignored) cp scan.time /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.time -rw-r--r-- 1 root wheel 258 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.time mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.timely zscan.timely mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.timely to zscan.timely: No such file or directory *** Error code 1 (ignored) cp scan.timely /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.timely -rw-r--r-- 1 root wheel 378 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/scan.timely mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/packmbox zpackmbox.sh mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/packmbox to zpackmbox.sh: No such file or directory *** Error code 1 (ignored) cp packmbox.sh /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/packmbox -rwxr-xr-x 1 root wheel 1051 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/packmbox mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhn_defaults zmhn_defaults mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhn_defaults to zmhn_defaults: No such file or directory Will merge mhn_defaults into existing /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhn_defaults -rw-r--r-- 1 root wheel 517 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhn_defaults *** Error code 1 (ignored) mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/viamail zviamail.sh mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/viamail to zviamail.sh: No such file or directory *** Error code 1 (ignored) cp viamail.sh /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/viamail -rwxr-xr-x 1 root wheel 695 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/viamail mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/ali zali mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/ali to zali: No such file or directory *** Error code 1 (ignored) cp xali /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/ali -rwxr-xr-x 1 root wheel 82368 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/ali mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/anno zanno mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/anno to zanno: No such file or directory *** Error code 1 (ignored) cp xanno /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/anno -rwxr-xr-x 1 root wheel 82912 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/anno mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/burst zburst mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/burst to zburst: No such file or directory *** Error code 1 (ignored) cp xburst /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/burst -rwxr-xr-x 1 root wheel 82096 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/burst mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/comp zcomp mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/comp to zcomp: No such file or directory *** Error code 1 (ignored) cp xcomp /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/comp -rwxr-xr-x 1 root wheel 108224 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/comp mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/dist zdist mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/dist to zdist: No such file or directory *** Error code 1 (ignored) cp xdist /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/dist -rwxr-xr-x 1 root wheel 108368 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/dist mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/folder zfolder mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/folder to zfolder: No such file or directory *** Error code 1 (ignored) cp xfolder /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/folder rm -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/folders ln /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/folder /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/folders -rwxr-xr-x 2 root wheel 82920 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/folder mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/forw zforw mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/forw to zforw: No such file or directory *** Error code 1 (ignored) cp xforw /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/forw -rwxr-xr-x 1 root wheel 116328 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/forw mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/inc zinc mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/inc to zinc: No such file or directory *** Error code 1 (ignored) chmod u-s zinc chmod: zinc: No such file or directory *** Error code 1 (ignored) chmod g-s zinc chmod: zinc: No such file or directory *** Error code 1 (ignored) cp xinc /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/inc -rwxr-xr-x 1 root wheel 124752 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/inc mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mark zmark mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mark to zmark: No such file or directory *** Error code 1 (ignored) cp xmark /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mark -rwxr-xr-x 1 root wheel 77384 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mark mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhmail zmhmail mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhmail to zmhmail: No such file or directory *** Error code 1 (ignored) cp xmhmail /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhmail -rwxr-xr-x 1 root wheel 76624 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhmail mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhn zmhn mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhn to zmhn: No such file or directory *** Error code 1 (ignored) cp xmhn /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhn -rwxr-xr-x 1 root wheel 206384 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhn mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhpath zmhpath mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhpath to zmhpath: No such file or directory *** Error code 1 (ignored) cp xmhpath /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhpath -rwxr-xr-x 1 root wheel 77120 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhpath mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/msgchk zmsgchk mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/msgchk to zmsgchk: No such file or directory *** Error code 1 (ignored) chmod u-s zmsgchk chmod: zmsgchk: No such file or directory *** Error code 1 (ignored) cp xmsgchk /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/msgchk -rwxr-xr-x 1 root wheel 93584 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/msgchk mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/msh zmsh mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/msh to zmsh: No such file or directory *** Error code 1 (ignored) cp xmsh /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/msh -rwxr-xr-x 1 root wheel 230160 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/msh mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/show zshow mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/show to zshow: No such file or directory *** Error code 1 (ignored) cp xshow /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/show rm -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/next ln /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/show /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/next rm -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/prev ln /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/show /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/prev -rwxr-xr-x 3 root wheel 122704 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/show mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/packf zpackf mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/packf to zpackf: No such file or directory *** Error code 1 (ignored) cp xpackf /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/packf -rwxr-xr-x 1 root wheel 89280 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/packf mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/pgped zpgped mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/pgped to zpgped: No such file or directory *** Error code 1 (ignored) cp xpgped /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/pgped -rwxr-xr-x 1 root wheel 93880 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/pgped mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/pgpshow zpgpshow mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/pgpshow to zpgpshow: No such file or directory *** Error code 1 (ignored) cp xpgpshow /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/pgpshow -rwxr-xr-x 1 root wheel 82592 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/pgpshow mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/pick zpick mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/pick to zpick: No such file or directory *** Error code 1 (ignored) cp xpick /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/pick -rwxr-xr-x 1 root wheel 87856 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/pick mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/prompter zprompter mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/prompter to zprompter: No such file or directory *** Error code 1 (ignored) cp xprompter /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/prompter -rwxr-xr-x 1 root wheel 82280 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/prompter mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/refile zrefile mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/refile to zrefile: No such file or directory *** Error code 1 (ignored) cp xrefile /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/refile -rwxr-xr-x 1 root wheel 80376 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/refile mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/repl zrepl mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/repl to zrepl: No such file or directory *** Error code 1 (ignored) cp xrepl /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/repl -rwxr-xr-x 1 root wheel 117920 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/repl mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/rmf zrmf mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/rmf to zrmf: No such file or directory *** Error code 1 (ignored) cp xrmf /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/rmf -rwxr-xr-x 1 root wheel 77480 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/rmf mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/rmm zrmm mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/rmm to zrmm: No such file or directory *** Error code 1 (ignored) cp xrmm /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/rmm -rwxr-xr-x 1 root wheel 78184 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/rmm mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/scan zscan mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/scan to zscan: No such file or directory *** Error code 1 (ignored) cp xscan /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/scan -rwxr-xr-x 1 root wheel 88144 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/scan mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/send zsend mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/send to zsend: No such file or directory *** Error code 1 (ignored) cp xsend /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/send -rwxr-xr-x 1 root wheel 99456 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/send mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/sortm zsortm mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/sortm to zsortm: No such file or directory *** Error code 1 (ignored) cp xsortm /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/sortm -rwxr-xr-x 1 root wheel 82104 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/sortm mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/vmh zvmh mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/vmh to zvmh: No such file or directory *** Error code 1 (ignored) cp xvmh /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/vmh -rwxr-xr-x 1 root wheel 98608 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/vmh mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/whatnow zwhatnow mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/whatnow to zwhatnow: No such file or directory *** Error code 1 (ignored) cp xwhatnow /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/whatnow -rwxr-xr-x 1 root wheel 103072 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/whatnow mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/whom zwhom mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/whom to zwhom: No such file or directory *** Error code 1 (ignored) cp xwhom /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/whom -rwxr-xr-x 1 root wheel 82392 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/whom mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/bbc zbbc mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/bbc to zbbc: No such file or directory *** Error code 1 (ignored) chmod u-s zbbc chmod: zbbc: No such file or directory *** Error code 1 (ignored) cp xbbc /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/bbc -rwxr-xr-x 1 root wheel 110728 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/bbc mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/ap zap mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/ap to zap: No such file or directory *** Error code 1 (ignored) cp xap /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/ap -rwxr-xr-x 1 root wheel 78488 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/ap mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/conflict zconflict mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/conflict to zconflict: No such file or directory *** Error code 1 (ignored) cp xconflict /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/conflict -rwxr-xr-x 1 root wheel 85008 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/conflict mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/dp zdp mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/dp to zdp: No such file or directory *** Error code 1 (ignored) cp xdp /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/dp -rwxr-xr-x 1 root wheel 78264 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/dp mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/install-mh zinstall-mh mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/install-mh to zinstall-mh: No such file or directory *** Error code 1 (ignored) cp xinstall-mh /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/install-mh -rwxr-xr-x 1 root wheel 75080 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/install-mh mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl zmhl mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl to zmhl: No such file or directory *** Error code 1 (ignored) cp xmhl /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl -rwxr-xr-x 1 root wheel 113480 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/post zpost mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/post to zpost: No such file or directory *** Error code 1 (ignored) chmod u-s zpost chmod: zpost: No such file or directory *** Error code 1 (ignored) cp xpost /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/post -rwxr-xr-x 1 root wheel 119680 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/post mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvdist zrcvdist mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvdist to zrcvdist: No such file or directory *** Error code 1 (ignored) cp xrcvdist /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvdist -rwxr-xr-x 1 root wheel 82944 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvdist mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvpack zrcvpack mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvpack to zrcvpack: No such file or directory *** Error code 1 (ignored) cp xrcvpack /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvpack -rwxr-xr-x 1 root wheel 86896 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvpack mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvstore zrcvstore mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvstore to zrcvstore: No such file or directory *** Error code 1 (ignored) cp xrcvstore /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvstore -rwxr-xr-x 1 root wheel 77848 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvstore mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvtty zrcvtty mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvtty to zrcvtty: No such file or directory *** Error code 1 (ignored) chmod g-s zrcvtty chmod: zrcvtty: No such file or directory *** Error code 1 (ignored) cp xrcvtty /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvtty -rwxr-xr-x 1 root wheel 89776 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvtty mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/fmtdump zfmtdump mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/fmtdump to zfmtdump: No such file or directory *** Error code 1 (ignored) cp xfmtdump /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/fmtdump -rwxr-xr-x 1 root wheel 79832 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/fmtdump mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhparam zmhparam mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhparam to zmhparam: No such file or directory *** Error code 1 (ignored) cp xmhparam /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhparam -rwxr-xr-x 1 root wheel 77056 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/mhparam mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/spost zspost mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/spost to zspost: No such file or directory *** Error code 1 (ignored) cp xspost /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/spost -rwxr-xr-x 1 root wheel 93008 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/spost mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/slocal zslocal mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/slocal to zslocal: No such file or directory *** Error code 1 (ignored) cp xslocal /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/slocal chmod 0755 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/slocal -rwxr-xr-x 1 root wheel 113656 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/slocal mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/tmac.h ztmac.h mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/tmac.h to ztmac.h: No such file or directory *** Error code 1 (ignored) cp tmac.h /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/tmac.h -rw-r--r-- 1 root wheel 943 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/tmac.h mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/ali.1.gz zali.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/ali.1.gz to zali.man: No such file or directory *** Error code 1 (ignored) cp ali.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/ali.1.gz -rw-r--r-- 1 root wheel 1298 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/ali.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/anno.1.gz zanno.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/anno.1.gz to zanno.man: No such file or directory *** Error code 1 (ignored) cp anno.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/anno.1.gz -rw-r--r-- 1 root wheel 1300 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/anno.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/burst.1.gz zburst.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/burst.1.gz to zburst.man: No such file or directory *** Error code 1 (ignored) cp burst.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/burst.1.gz -rw-r--r-- 1 root wheel 2032 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/burst.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/comp.1.gz zcomp.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/comp.1.gz to zcomp.man: No such file or directory *** Error code 1 (ignored) cp comp.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/comp.1.gz -rw-r--r-- 1 root wheel 2163 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/comp.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/dist.1.gz zdist.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/dist.1.gz to zdist.man: No such file or directory *** Error code 1 (ignored) cp dist.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/dist.1.gz -rw-r--r-- 1 root wheel 2556 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/dist.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/folder.1.gz zfolder.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/folder.1.gz to zfolder.man: No such file or directory *** Error code 1 (ignored) cp folder.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/folder.1.gz -rw-r--r-- 1 root wheel 3106 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/folder.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/forw.1.gz zforw.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/forw.1.gz to zforw.man: No such file or directory *** Error code 1 (ignored) cp forw.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/forw.1.gz -rw-r--r-- 1 root wheel 3662 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/forw.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/inc.1.gz zinc.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/inc.1.gz to zinc.man: No such file or directory *** Error code 1 (ignored) cp inc.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/inc.1.gz -rw-r--r-- 1 root wheel 3029 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/inc.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mark.1.gz zmark.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mark.1.gz to zmark.man: No such file or directory *** Error code 1 (ignored) cp mark.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mark.1.gz -rw-r--r-- 1 root wheel 2297 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mark.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mh-chart.1.gz zmh-chart.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mh-chart.1.gz to zmh-chart.man: No such file or directory *** Error code 1 (ignored) cp mh-chart.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mh-chart.1.gz -rw-r--r-- 1 root wheel 2513 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mh-chart.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mh.1.gz zmh.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mh.1.gz to zmh.man: No such file or directory *** Error code 1 (ignored) cp mh.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mh.1.gz -rw-r--r-- 1 root wheel 4045 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mh.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhl.1.gz zmhl.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhl.1.gz to zmhl.man: No such file or directory *** Error code 1 (ignored) cp mhl.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhl.1.gz -rw-r--r-- 1 root wheel 4138 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhl.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhook.1.gz zmhook.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhook.1.gz to zmhook.man: No such file or directory *** Error code 1 (ignored) cp mhook.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhook.1.gz -rw-r--r-- 1 root wheel 1928 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhook.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhmail.1.gz zmhmail.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhmail.1.gz to zmhmail.man: No such file or directory *** Error code 1 (ignored) cp mhmail.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhmail.1.gz -rw-r--r-- 1 root wheel 1386 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhmail.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhn.1.gz zmhn.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhn.1.gz to zmhn.man: No such file or directory *** Error code 1 (ignored) cp mhn.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhn.1.gz -rw-r--r-- 1 root wheel 10255 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhn.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhparam.1.gz zmhparam.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhparam.1.gz to zmhparam.man: No such file or directory *** Error code 1 (ignored) cp mhparam.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhparam.1.gz -rw-r--r-- 1 root wheel 1156 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhparam.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhpath.1.gz zmhpath.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhpath.1.gz to zmhpath.man: No such file or directory *** Error code 1 (ignored) cp mhpath.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhpath.1.gz -rw-r--r-- 1 root wheel 1740 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/mhpath.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/msgchk.1.gz zmsgchk.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/msgchk.1.gz to zmsgchk.man: No such file or directory *** Error code 1 (ignored) cp msgchk.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/msgchk.1.gz -rw-r--r-- 1 root wheel 1573 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/msgchk.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/msh.1.gz zmsh.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/msh.1.gz to zmsh.man: No such file or directory *** Error code 1 (ignored) cp msh.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/msh.1.gz -rw-r--r-- 1 root wheel 3233 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/msh.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/next.1.gz znext.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/next.1.gz to znext.man: No such file or directory *** Error code 1 (ignored) cp next.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/next.1.gz -rw-r--r-- 1 root wheel 1178 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/next.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/packf.1.gz zpackf.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/packf.1.gz to zpackf.man: No such file or directory *** Error code 1 (ignored) cp packf.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/packf.1.gz -rw-r--r-- 1 root wheel 1239 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/packf.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/pgped.1.gz zpgped.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/pgped.1.gz to zpgped.man: No such file or directory *** Error code 1 (ignored) cp pgped.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/pgped.1.gz -rw-r--r-- 1 root wheel 726 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/pgped.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/pick.1.gz zpick.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/pick.1.gz to zpick.man: No such file or directory *** Error code 1 (ignored) cp pick.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/pick.1.gz -rw-r--r-- 1 root wheel 4234 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/pick.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/prev.1.gz zprev.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/prev.1.gz to zprev.man: No such file or directory *** Error code 1 (ignored) cp prev.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/prev.1.gz -rw-r--r-- 1 root wheel 1189 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/prev.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/prompter.1.gz zprompter.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/prompter.1.gz to zprompter.man: No such file or directory *** Error code 1 (ignored) cp prompter.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/prompter.1.gz -rw-r--r-- 1 root wheel 2343 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/prompter.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/rcvstore.1.gz zrcvstore.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/rcvstore.1.gz to zrcvstore.man: No such file or directory *** Error code 1 (ignored) cp rcvstore.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/rcvstore.1.gz -rw-r--r-- 1 root wheel 1816 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/rcvstore.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/refile.1.gz zrefile.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/refile.1.gz to zrefile.man: No such file or directory *** Error code 1 (ignored) cp refile.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/refile.1.gz -rw-r--r-- 1 root wheel 2252 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/refile.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/repl.1.gz zrepl.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/repl.1.gz to zrepl.man: No such file or directory *** Error code 1 (ignored) cp repl.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/repl.1.gz -rw-r--r-- 1 root wheel 4074 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/repl.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/rmf.1.gz zrmf.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/rmf.1.gz to zrmf.man: No such file or directory *** Error code 1 (ignored) cp rmf.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/rmf.1.gz -rw-r--r-- 1 root wheel 1555 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/rmf.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/rmm.1.gz zrmm.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/rmm.1.gz to zrmm.man: No such file or directory *** Error code 1 (ignored) cp rmm.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/rmm.1.gz -rw-r--r-- 1 root wheel 1318 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/rmm.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/scan.1.gz zscan.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/scan.1.gz to zscan.man: No such file or directory *** Error code 1 (ignored) cp scan.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/scan.1.gz -rw-r--r-- 1 root wheel 2925 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/scan.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/send.1.gz zsend.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/send.1.gz to zsend.man: No such file or directory *** Error code 1 (ignored) cp send.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/send.1.gz -rw-r--r-- 1 root wheel 3135 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/send.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/show.1.gz zshow.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/show.1.gz to zshow.man: No such file or directory *** Error code 1 (ignored) cp show.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/show.1.gz -rw-r--r-- 1 root wheel 2537 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/show.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/slocal.1.gz zslocal.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/slocal.1.gz to zslocal.man: No such file or directory *** Error code 1 (ignored) cp slocal.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/slocal.1.gz -rw-r--r-- 1 root wheel 4513 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/slocal.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/sortm.1.gz zsortm.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/sortm.1.gz to zsortm.man: No such file or directory *** Error code 1 (ignored) cp sortm.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/sortm.1.gz -rw-r--r-- 1 root wheel 1946 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/sortm.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/vmh.1.gz zvmh.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/vmh.1.gz to zvmh.man: No such file or directory *** Error code 1 (ignored) cp vmh.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/vmh.1.gz -rw-r--r-- 1 root wheel 2065 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/vmh.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/whatnow.1.gz zwhatnow.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/whatnow.1.gz to zwhatnow.man: No such file or directory *** Error code 1 (ignored) cp whatnow.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/whatnow.1.gz -rw-r--r-- 1 root wheel 2333 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/whatnow.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/whom.1.gz zwhom.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/whom.1.gz to zwhom.man: No such file or directory *** Error code 1 (ignored) cp whom.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/whom.1.gz -rw-r--r-- 1 root wheel 1414 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/whom.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/bbc.1.gz zbbc.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/bbc.1.gz to zbbc.man: No such file or directory *** Error code 1 (ignored) cp bbc.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/bbc.1.gz -rw-r--r-- 1 root wheel 2412 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man1/bbc.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-alias.5.gz zmh-alias.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-alias.5.gz to zmh-alias.man: No such file or directory *** Error code 1 (ignored) cp mh-alias.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-alias.5.gz -rw-r--r-- 1 root wheel 3175 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-alias.5.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-format.5.gz zmh-format.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-format.5.gz to zmh-format.man: No such file or directory *** Error code 1 (ignored) cp mh-format.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-format.5.gz -rw-r--r-- 1 root wheel 7028 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-format.5.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-mail.5.gz zmh-mail.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-mail.5.gz to zmh-mail.man: No such file or directory *** Error code 1 (ignored) cp mh-mail.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-mail.5.gz -rw-r--r-- 1 root wheel 2651 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-mail.5.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-profile.5.gz zmh-profile.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-profile.5.gz to zmh-profile.man: No such file or directory *** Error code 1 (ignored) cp mh-profile.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-profile.5.gz -rw-r--r-- 1 root wheel 6237 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-profile.5.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-sequence.5.gz zmh-sequence.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-sequence.5.gz to zmh-sequence.man: No such file or directory *** Error code 1 (ignored) cp mh-sequence.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-sequence.5.gz -rw-r--r-- 1 root wheel 3671 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-sequence.5.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-tailor.5.gz zmh-tailor.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-tailor.5.gz to zmh-tailor.man: No such file or directory *** Error code 1 (ignored) cp mh-tailor.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-tailor.5.gz -rw-r--r-- 1 root wheel 4490 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man5/mh-tailor.5.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/ap.8.gz zap.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/ap.8.gz to zap.man: No such file or directory *** Error code 1 (ignored) cp ap.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/ap.8.gz -rw-r--r-- 1 root wheel 1593 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/ap.8.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/conflict.8.gz zconflict.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/conflict.8.gz to zconflict.man: No such file or directory *** Error code 1 (ignored) cp conflict.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/conflict.8.gz -rw-r--r-- 1 root wheel 1266 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/conflict.8.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/dp.8.gz zdp.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/dp.8.gz to zdp.man: No such file or directory *** Error code 1 (ignored) cp dp.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/dp.8.gz -rw-r--r-- 1 root wheel 1407 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/dp.8.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/install-mh.8.gz zinstall-mh.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/install-mh.8.gz to zinstall-mh.man: No such file or directory *** Error code 1 (ignored) cp install-mh.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/install-mh.8.gz -rw-r--r-- 1 root wheel 1156 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/install-mh.8.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/post.8.gz zpost.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/post.8.gz to zpost.man: No such file or directory *** Error code 1 (ignored) cp post.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/post.8.gz -rw-r--r-- 1 root wheel 2055 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/post.8.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/fmtdump.8.gz zfmtdump.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/fmtdump.8.gz to zfmtdump.man: No such file or directory *** Error code 1 (ignored) cp fmtdump.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/fmtdump.8.gz -rw-r--r-- 1 root wheel 1000 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/man8/fmtdump.8.gz sh ../install-sh -d /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5 mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/ali.1.gz zja-ali.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/ali.1.gz to zja-ali.man: No such file or directory *** Error code 1 (ignored) cp ja-ali.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/ali.1.gz -rw-r--r-- 1 root wheel 1440 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/ali.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/anno.1.gz zja-anno.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/anno.1.gz to zja-anno.man: No such file or directory *** Error code 1 (ignored) cp ja-anno.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/anno.1.gz -rw-r--r-- 1 root wheel 1541 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/anno.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/bbc.1.gz zja-bbc.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/bbc.1.gz to zja-bbc.man: No such file or directory *** Error code 1 (ignored) cp ja-bbc.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/bbc.1.gz -rw-r--r-- 1 root wheel 2656 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/bbc.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/burst.1.gz zja-burst.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/burst.1.gz to zja-burst.man: No such file or directory *** Error code 1 (ignored) cp ja-burst.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/burst.1.gz -rw-r--r-- 1 root wheel 2245 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/burst.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/comp.1.gz zja-comp.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/comp.1.gz to zja-comp.man: No such file or directory *** Error code 1 (ignored) cp ja-comp.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/comp.1.gz -rw-r--r-- 1 root wheel 2325 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/comp.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/dist.1.gz zja-dist.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/dist.1.gz to zja-dist.man: No such file or directory *** Error code 1 (ignored) cp ja-dist.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/dist.1.gz -rw-r--r-- 1 root wheel 2766 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/dist.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/folder.1.gz zja-folder.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/folder.1.gz to zja-folder.man: No such file or directory *** Error code 1 (ignored) cp ja-folder.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/folder.1.gz -rw-r--r-- 1 root wheel 3701 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/folder.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/forw.1.gz zja-forw.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/forw.1.gz to zja-forw.man: No such file or directory *** Error code 1 (ignored) cp ja-forw.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/forw.1.gz -rw-r--r-- 1 root wheel 4122 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/forw.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/inc.1.gz zja-inc.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/inc.1.gz to zja-inc.man: No such file or directory *** Error code 1 (ignored) cp ja-inc.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/inc.1.gz -rw-r--r-- 1 root wheel 3430 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/inc.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mark.1.gz zja-mark.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mark.1.gz to zja-mark.man: No such file or directory *** Error code 1 (ignored) cp ja-mark.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mark.1.gz -rw-r--r-- 1 root wheel 2648 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mark.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mh-chart.1.gz zja-mh-chart.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mh-chart.1.gz to zja-mh-chart.man: No such file or directory *** Error code 1 (ignored) cp ja-mh-chart.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mh-chart.1.gz -rw-r--r-- 1 root wheel 2592 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mh-chart.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mh.1.gz zja-mh.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mh.1.gz to zja-mh.man: No such file or directory *** Error code 1 (ignored) cp ja-mh.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mh.1.gz -rw-r--r-- 1 root wheel 4382 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mh.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhl.1.gz zja-mhl.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhl.1.gz to zja-mhl.man: No such file or directory *** Error code 1 (ignored) cp ja-mhl.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhl.1.gz -rw-r--r-- 1 root wheel 4373 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhl.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhmail.1.gz zja-mhmail.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhmail.1.gz to zja-mhmail.man: No such file or directory *** Error code 1 (ignored) cp ja-mhmail.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhmail.1.gz -rw-r--r-- 1 root wheel 1569 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhmail.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhn.1.gz zja-mhn.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhn.1.gz to zja-mhn.man: No such file or directory *** Error code 1 (ignored) cp ja-mhn.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhn.1.gz -rw-r--r-- 1 root wheel 11441 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhn.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhook.1.gz zja-mhook.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhook.1.gz to zja-mhook.man: No such file or directory *** Error code 1 (ignored) cp ja-mhook.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhook.1.gz -rw-r--r-- 1 root wheel 2172 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhook.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhparam.1.gz zja-mhparam.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhparam.1.gz to zja-mhparam.man: No such file or directory *** Error code 1 (ignored) cp ja-mhparam.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhparam.1.gz -rw-r--r-- 1 root wheel 1314 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhparam.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhpath.1.gz zja-mhpath.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhpath.1.gz to zja-mhpath.man: No such file or directory *** Error code 1 (ignored) cp ja-mhpath.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhpath.1.gz -rw-r--r-- 1 root wheel 1949 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/mhpath.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/msgchk.1.gz zja-msgchk.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/msgchk.1.gz to zja-msgchk.man: No such file or directory *** Error code 1 (ignored) cp ja-msgchk.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/msgchk.1.gz -rw-r--r-- 1 root wheel 1725 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/msgchk.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/msh.1.gz zja-msh.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/msh.1.gz to zja-msh.man: No such file or directory *** Error code 1 (ignored) cp ja-msh.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/msh.1.gz -rw-r--r-- 1 root wheel 3586 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/msh.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/next.1.gz zja-next.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/next.1.gz to zja-next.man: No such file or directory *** Error code 1 (ignored) cp ja-next.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/next.1.gz -rw-r--r-- 1 root wheel 1314 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/next.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/packf.1.gz zja-packf.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/packf.1.gz to zja-packf.man: No such file or directory *** Error code 1 (ignored) cp ja-packf.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/packf.1.gz -rw-r--r-- 1 root wheel 1409 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/packf.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/pgped.1.gz zja-pgped.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/pgped.1.gz to zja-pgped.man: No such file or directory *** Error code 1 (ignored) cp ja-pgped.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/pgped.1.gz -rw-r--r-- 1 root wheel 2513 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/pgped.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/pick.1.gz zja-pick.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/pick.1.gz to zja-pick.man: No such file or directory *** Error code 1 (ignored) cp ja-pick.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/pick.1.gz -rw-r--r-- 1 root wheel 4540 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/pick.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/prev.1.gz zja-prev.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/prev.1.gz to zja-prev.man: No such file or directory *** Error code 1 (ignored) cp ja-prev.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/prev.1.gz -rw-r--r-- 1 root wheel 1315 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/prev.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/prompter.1.gz zja-prompter.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/prompter.1.gz to zja-prompter.man: No such file or directory *** Error code 1 (ignored) cp ja-prompter.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/prompter.1.gz -rw-r--r-- 1 root wheel 2501 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/prompter.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/rcvstore.1.gz zja-rcvstore.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/rcvstore.1.gz to zja-rcvstore.man: No such file or directory *** Error code 1 (ignored) cp ja-rcvstore.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/rcvstore.1.gz -rw-r--r-- 1 root wheel 2158 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/rcvstore.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/refile.1.gz zja-refile.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/refile.1.gz to zja-refile.man: No such file or directory *** Error code 1 (ignored) cp ja-refile.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/refile.1.gz -rw-r--r-- 1 root wheel 2594 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/refile.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/repl.1.gz zja-repl.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/repl.1.gz to zja-repl.man: No such file or directory *** Error code 1 (ignored) cp ja-repl.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/repl.1.gz -rw-r--r-- 1 root wheel 4408 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/repl.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/rmf.1.gz zja-rmf.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/rmf.1.gz to zja-rmf.man: No such file or directory *** Error code 1 (ignored) cp ja-rmf.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/rmf.1.gz -rw-r--r-- 1 root wheel 1752 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/rmf.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/rmm.1.gz zja-rmm.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/rmm.1.gz to zja-rmm.man: No such file or directory *** Error code 1 (ignored) cp ja-rmm.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/rmm.1.gz -rw-r--r-- 1 root wheel 1665 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/rmm.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/scan.1.gz zja-scan.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/scan.1.gz to zja-scan.man: No such file or directory *** Error code 1 (ignored) cp ja-scan.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/scan.1.gz -rw-r--r-- 1 root wheel 3170 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/scan.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/send.1.gz zja-send.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/send.1.gz to zja-send.man: No such file or directory *** Error code 1 (ignored) cp ja-send.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/send.1.gz -rw-r--r-- 1 root wheel 3480 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/send.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/show.1.gz zja-show.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/show.1.gz to zja-show.man: No such file or directory *** Error code 1 (ignored) cp ja-show.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/show.1.gz -rw-r--r-- 1 root wheel 2842 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/show.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/slocal.1.gz zja-slocal.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/slocal.1.gz to zja-slocal.man: No such file or directory *** Error code 1 (ignored) cp ja-slocal.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/slocal.1.gz -rw-r--r-- 1 root wheel 4870 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/slocal.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/sortm.1.gz zja-sortm.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/sortm.1.gz to zja-sortm.man: No such file or directory *** Error code 1 (ignored) cp ja-sortm.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/sortm.1.gz -rw-r--r-- 1 root wheel 2223 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/sortm.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/vmh.1.gz zja-vmh.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/vmh.1.gz to zja-vmh.man: No such file or directory *** Error code 1 (ignored) cp ja-vmh.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/vmh.1.gz -rw-r--r-- 1 root wheel 2296 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/vmh.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/whatnow.1.gz zja-whatnow.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/whatnow.1.gz to zja-whatnow.man: No such file or directory *** Error code 1 (ignored) cp ja-whatnow.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/whatnow.1.gz -rw-r--r-- 1 root wheel 2697 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/whatnow.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/whom.1.gz zja-whom.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/whom.1.gz to zja-whom.man: No such file or directory *** Error code 1 (ignored) cp ja-whom.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/whom.1.gz -rw-r--r-- 1 root wheel 1583 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man1/whom.1.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-alias.5.gz zja-mh-alias.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-alias.5.gz to zja-mh-alias.man: No such file or directory *** Error code 1 (ignored) cp ja-mh-alias.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-alias.5.gz -rw-r--r-- 1 root wheel 3555 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-alias.5.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-format.5.gz zja-mh-format.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-format.5.gz to zja-mh-format.man: No such file or directory *** Error code 1 (ignored) cp ja-mh-format.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-format.5.gz -rw-r--r-- 1 root wheel 7633 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-format.5.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-mail.5.gz zja-mh-mail.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-mail.5.gz to zja-mh-mail.man: No such file or directory *** Error code 1 (ignored) cp ja-mh-mail.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-mail.5.gz -rw-r--r-- 1 root wheel 2951 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-mail.5.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-profile.5.gz zja-mh-profile.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-profile.5.gz to zja-mh-profile.man: No such file or directory *** Error code 1 (ignored) cp ja-mh-profile.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-profile.5.gz -rw-r--r-- 1 root wheel 7720 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-profile.5.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-sequence.5.gz zja-mh-sequence.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-sequence.5.gz to zja-mh-sequence.man: No such file or directory *** Error code 1 (ignored) cp ja-mh-sequence.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-sequence.5.gz -rw-r--r-- 1 root wheel 4118 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-sequence.5.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-tailor.5.gz zja-mh-tailor.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-tailor.5.gz to zja-mh-tailor.man: No such file or directory *** Error code 1 (ignored) cp ja-mh-tailor.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-tailor.5.gz -rw-r--r-- 1 root wheel 4902 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man5/mh-tailor.5.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/ap.8.gz zja-ap.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/ap.8.gz to zja-ap.man: No such file or directory *** Error code 1 (ignored) cp ja-ap.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/ap.8.gz -rw-r--r-- 1 root wheel 1781 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/ap.8.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/conflict.8.gz zja-conflict.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/conflict.8.gz to zja-conflict.man: No such file or directory *** Error code 1 (ignored) cp ja-conflict.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/conflict.8.gz -rw-r--r-- 1 root wheel 1431 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/conflict.8.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/dp.8.gz zja-dp.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/dp.8.gz to zja-dp.man: No such file or directory *** Error code 1 (ignored) cp ja-dp.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/dp.8.gz -rw-r--r-- 1 root wheel 1590 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/dp.8.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/fmtdump.8.gz zja-fmtdump.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/fmtdump.8.gz to zja-fmtdump.man: No such file or directory *** Error code 1 (ignored) cp ja-fmtdump.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/fmtdump.8.gz -rw-r--r-- 1 root wheel 1145 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/fmtdump.8.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/install-mh.8.gz zja-install-mh.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/install-mh.8.gz to zja-install-mh.man: No such file or directory *** Error code 1 (ignored) cp ja-install-mh.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/install-mh.8.gz -rw-r--r-- 1 root wheel 1337 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/install-mh.8.gz mv -f /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/post.8.gz zja-post.man mv: rename /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/post.8.gz to zja-post.man: No such file or directory *** Error code 1 (ignored) cp ja-post.man /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/post.8.gz -rw-r--r-- 1 root wheel 2460 Jan 21 01:08 /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/man/ja/man8/post.8.gz /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/bin/* /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/libmh.so.3 /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/ap /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/conflict /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/dp /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/fmtdump /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/install-mh /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/mhl /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/post /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvdist /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvpack /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvstore /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/rcvtty /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/slocal /usr/bin/strip /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/lib/mh/spost /bin/mkdir -p /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/doc/ja-mh (cd /wrkdirs/usr/ports/japanese/mh/work/mh-6.8.4-JP-3.05/doc-JP && install -m 0644 00.READ.ME.1ST CHANGES.JP COMMANDS.JP FAQ.JP FEATURES.JP INSTALL.JP OPTIONS.JP READ-ME.JP TODO.JP /wrkdirs/usr/ports/japanese/mh/work/stage/usr/local/share/doc/ja-mh) ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-01-21T01:06:44+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=993ca87fedcc' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ja-mh-6.8.4.j3.05_8 ===> Building ja-mh-6.8.4.j3.05_8 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ja-mh-6.8.4.j3.05_8 build of japanese/mh | ja-mh-6.8.4.j3.05_8 ended at Tue Jan 20 20:08:24 EST 2026 build time: 00:01:41