=>> Building mail/metamail build started at 2025-06-08T16:30:09-05:00 port directory: /usr/ports/mail/metamail package name: metamail-2.7_16 building for: FreeBSD 143amd64-current-job-03 14.3-RELEASE FreeBSD 14.3-RELEASE amd64 maintained by: ports@FreeBSD.org port version: 2.7 port revision: 16 Makefile datestamp: -rw-r--r-- 1 root wheel 1092 Feb 15 2024 /usr/ports/mail/metamail/Makefile Ports top last git commit: 9845af890dd7 Ports top unclean checkout: no =>> Inspecting /poudriere/data/.m/143amd64-current/03//usr/ports/mail/metamail for modifications to git checkout... no Port dir last git commit: f139e51116d4 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20250209 Host OSVERSION: 1403000 Jail OSVERSION: 1403000 Job Id: 03 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE UNAME_r=14.3-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git USE_COLORS=no POUDRIERE_VERSION=3.4.99.20250209 MASTERMNT=/poudriere/data/.m/143amd64-current/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/poudriere/data/.m/143amd64-current/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=143amd64-current OLDPWD=/poudriere/data/.m/143amd64-current/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20250209 PREFIX=/usr/local 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 metamail-2.7_16: X11=off: X11 hebrew font support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --PORTVERSION-- 2.7 --End PORTVERSION-- --PORTREVISION-- 16 --End PORTREVISION-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/metamail/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/metamail/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/metamail/work/.cache HOME=/wrkdirs/usr/ports/mail/metamail/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/metamail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/metamail/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/metamail/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/metamail/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/metamail/work/.cache HOME=/wrkdirs/usr/ports/mail/metamail/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/metamail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/metamail/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- X11="@comment " NO_X11="" OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/metamail" EXAMPLESDIR="share/examples/metamail" DATADIR="share/metamail" WWWDIR="www/metamail" ETCDIR="etc/metamail" --End PLIST_SUB-- --SUB_LIST-- X11="@comment " NO_X11="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/metamail DOCSDIR=/usr/local/share/doc/metamail EXAMPLESDIR=/usr/local/share/examples/metamail WWWDIR=/usr/local/www/metamail ETCDIR=/usr/local/etc/metamail --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes 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) 63795 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The metamail port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License MIT accepted by the user =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> metamail-2.7_16 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.1.4.pkg [143amd64-current-job-03] Installing pkg-2.1.4... [143amd64-current-job-03] Extracting pkg-2.1.4: .......... done ===> metamail-2.7_16 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of metamail-2.7_16 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =>> Debug: gather_distfiles: missing '/poudriere/data/.m/143amd64-current/03/portdistfiles//mm2.7.tar.Z'=================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The metamail port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License MIT accepted by the user ===> Fetching all distfiles required by metamail-2.7_16 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The metamail port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License MIT accepted by the user ===> Fetching all distfiles required by metamail-2.7_16 for building => SHA256 Checksum OK for mm2.7.tar.Z. =========================================================================== =>> Debug: gather_distfiles: skipping copy '/poudriere/distfiles//mm2.7.tar.Z'=================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The metamail port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License MIT accepted by the user ===> Fetching all distfiles required by metamail-2.7_16 for building ===> Extracting for metamail-2.7_16 => SHA256 Checksum OK for mm2.7.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for metamail-2.7_16 ===> Applying extra patch /usr/ports/mail/metamail/files/extra-patch-Makefile-nox11 ===> Applying FreeBSD patches for metamail-2.7_16 from /usr/ports/mail/metamail/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> metamail-2.7_16 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [143amd64-current-job-03] Installing ccache-3.7.12_8... [143amd64-current-job-03] 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. ===> metamail-2.7_16 depends on file: /usr/local/bin/ccache - found ===> Returning to build of metamail-2.7_16 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for metamail-2.7_16 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for metamail-2.7_16 --- all --- (cd metamail ; make CONFIGDIR=../. CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. " CC="cc" LDLIBS="-fstack-protector-strong ") --- metamail.o --- --- codes.o --- --- uue.o --- --- shared.o --- --- putenv.o --- --- mmencode.o --- --- metamail.o --- rm -f metamail.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. metamail.c --- codes.o --- rm -f codes.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. codes.c --- uue.o --- rm -f uue.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. uue.c --- shared.o --- rm -f shared.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. shared.c --- putenv.o --- rm -f putenv.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. putenv.c --- mmencode.o --- rm -f mmencode.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. mmencode.c --- uue.o --- uue.c:8:21: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 8 | uueget (ptr, outfp, n) | ^ 9 | char *ptr; 10 | FILE *outfp; 11 | { uue.c:8:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 8 | uueget (ptr, outfp, n) | ^ | int uue.c:8:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] uue.c:30:1: warning: non-void function does not return a value [-Wreturn-type] 30 | } | ^ uue.c:33:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | get_line (buf, size, fp) | ^ | int uue.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] uue.c:65:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 65 | fromuue (infp, outfp, boundaries, ctptr) | ^ | int uue.c:77:6: 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] 77 | if (strncmp (buf, "begin", 5) == 0) | ^ uue.c:77:6: note: include the header or explicitly provide a declaration for 'strncmp' uue.c:80:24: warning: call to undeclared function 'PendingBoundary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | if (boundaries && PendingBoundary (buf, boundaries, ctptr)) | ^ uue.c:92:24: warning: call to undeclared function 'PendingBoundary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | if (boundaries && PendingBoundary (buf, boundaries, ctptr)) { | ^ uue.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 | fromuue (infp, outfp, boundaries, ctptr) | ^ uue.c:123:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 123 | } | ^ 12 warnings generated. --- mailto.o --- rm -f mailto.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. mailto.c --- putenv.o --- putenv.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | putenv (string) | ^ 1 warning generated. --- splitmail.o --- rm -f splitmail.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. splitmail.c --- shared.o --- shared.c:15:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 15 | ExceptionalNewline(contenttype, needsportable) | ^ | int shared.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] shared.c:44:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | DoesNeedPortableNewlines(ctype) | ^ | int shared.c:51:14: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | if (!lc2strcmp(ctype, Exceptions[i])) { | ^ shared.c:56:10: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | if (!lc2strncmp(ctype, "text", 4)) { | ^ shared.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | DoesNeedPortableNewlines(ctype) | ^ shared.c:69:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | lc2strncmp(s1, s2, len) | ^ | int shared.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] shared.c:82:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 82 | lc2strcmp(s1, s2) | ^ | int shared.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] shared.c:113:9: warning: call to undeclared function 'gethostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | gethostname(hostname, sizeof(hostname)); | ^ 11 warnings generated. --- codes.o --- codes.c:20:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 20 | extern char *index(); | ^ codes.c:50:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | int nextcharin(infile, PortableNewlines) | ^ codes.c:73:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 73 | to64(infile, outfile, PortableNewlines) | ^ | int codes.c:82:13: warning: call to undeclared function 'output64chunk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | output64chunk(c1, 0, 0, 2, outfile); | ^ codes.c:86:17: warning: call to undeclared function 'output64chunk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | output64chunk(c1, c2, 0, 1, outfile); | ^ codes.c:88:17: warning: call to undeclared function 'output64chunk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | output64chunk(c1, c2, c3, 0, outfile); | ^ codes.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | to64(infile, outfile, PortableNewlines) | ^ codes.c:99:1: warning: non-void function does not return a value [-Wreturn-type] 99 | } | ^ codes.c:101:27: warning: parameter 'pads' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | output64chunk(c1, c2, c3, pads, outfile) | ^ 102 | FILE *outfile; 103 | { codes.c:101:23: warning: parameter 'c3' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | output64chunk(c1, c2, c3, pads, outfile) | ^ 102 | FILE *outfile; 103 | { codes.c:101:19: warning: parameter 'c2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | output64chunk(c1, c2, c3, pads, outfile) | ^ 102 | FILE *outfile; 103 | { codes.c:101:15: warning: parameter 'c1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | output64chunk(c1, c2, c3, pads, outfile) | ^ 102 | FILE *outfile; 103 | { codes.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | output64chunk(c1, c2, c3, pads, outfile) | ^ | int codes.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] codes.c:116:1: warning: non-void function does not return a value [-Wreturn-type] 116 | } | ^ codes.c:118:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 118 | PendingBoundary(s, Boundaries, BoundaryCt) | ^ | int codes.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] codes.c:144:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 144 | almostputc(c, outfile, PortableNewlines) | ^ | int codes.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] codes.c:167:1: warning: non-void function does not return a value [-Wreturn-type] 167 | } | ^ codes.c:178:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 178 | from64(infile, outfile, boundaries, boundaryct, PortableNewlines) | ^ | int codes.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] codes.c:248:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 248 | } | ^ codes.c:279:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 279 | toqp(infile, outfile) | ^ | int codes.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] codes.c:352:1: warning: non-void function does not return a value [-Wreturn-type] 352 | } | ^ codes.c:354:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 354 | fromqp(infile, outfile, boundaries, boundaryct) | ^ | int codes.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] codes.c:435:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 435 | } | ^ 29 warnings generated. --- mmencode.o --- mmencode.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 mmencode.c:87:13: warning: call to undeclared function 'to64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | to64(fp, fpo, portablenewlines); | ^ mmencode.c:89:13: warning: call to undeclared function 'from64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | from64(fp,fpo, (char **) NULL, (int *) 0, portablenewlines); | ^ mmencode.c:92:21: warning: call to undeclared function 'toqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | if (encode) toqp(fp, fpo); else fromqp(fp, fpo, NULL, 0); | ^ mmencode.c:92:41: warning: call to undeclared function 'fromqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | if (encode) toqp(fp, fpo); else fromqp(fp, fpo, NULL, 0); | ^ mmencode.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) | ^ 6 warnings generated. --- mmencode --- rm -f mmencode cc -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -o mmencode mmencode.o codes.o -fstack-protector-strong --- splitmail.o --- splitmail.c:45: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 previous declaration [-Wdeprecated-non-prototype] 45 | extern char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ splitmail.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | usageexit() { | ^ | int splitmail.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | endofheader(s) | ^ splitmail.c:72:6: warning: parameter 'argc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 72 | main(argc, argv) | ^ 73 | char **argv; 74 | { splitmail.c:72:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 72 | main(argc, argv) | ^ | int splitmail.c:199:6: warning: call to undeclared function 'ShareThisHeader'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | if (ShareThisHeader(from, SubjectBuf, sizeof(SubjectBuf), &OrigID)) { | ^ splitmail.c:213:38: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | sprintf(id, "%d.%d.%d.%s", (int) getuid(), (int) getpid(), (int) time(0), getmyname()); | ^ splitmail.c:213:54: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | sprintf(id, "%d.%d.%d.%s", (int) getuid(), (int) getpid(), (int) time(0), getmyname()); | ^ splitmail.c:230:9: warning: call to undeclared function 'HandleOnePart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 230 | HandleOnePart(DoDeliver, deliverycmd, prefix, numparts, whichpart, SharedHeaders, SubjectBuf, id, MessageID, bigbuf, OrigID); | ^ splitmail.c:237:9: warning: call to undeclared function 'HandleOnePart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 237 | HandleOnePart(DoDeliver, deliverycmd, prefix, numparts, whichpart, SharedHeaders, SubjectBuf, id, MessageID, bigbuf, OrigID); | ^ splitmail.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | main(argc, argv) | ^ splitmail.c:243:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 243 | HandleOnePart(DoDeliver, deliverycmd, prefix, numparts, whichpart, SharedHeaders, SubjectBuf, id, MessageID, bigbuf, OrigID) | ^ | int splitmail.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] splitmail.c:332:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 332 | } | ^ splitmail.c:344:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 344 | ShareThisHeader(s, SubjectBuf, size, OrigID) | ^ | int splitmail.c:354:10: warning: call to undeclared function 'ULstrcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | if (!ULstrcmp(s, "message-id")) { | ^ splitmail.c:372:13: warning: call to undeclared function 'IllegalContentType'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | if (IllegalContentType(colon+1)) { | ^ splitmail.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | ShareThisHeader(s, SubjectBuf, size, OrigID) | ^ splitmail.c:386:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 386 | IllegalContentType(ctype) | ^ | int splitmail.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] splitmail.c:458:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | int ULstrcmp(s1, s2) | ^ 21 warnings generated. --- splitmail --- rm -f splitmail cc -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -o splitmail splitmail.o shared.o -fstack-protector-strong --- metamail.o --- metamail.c:202:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | char *Cleanse(s) /* no leading or trailing space, all lower case */ | ^ metamail.c:226:15: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | if (!ans) ExitWithError(nomem); | ^ metamail.c:219:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | char *UnquoteString(s) | ^ metamail.c:247:5: warning: call to undeclared function 'RestoreTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | RestoreTtyState(); | ^ metamail.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | cleanup(signum) | ^ metamail.c:200: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] 200 | sigtype cleanup(); | ^ metamail.c:277:17: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | if (!s) ExitWithError(nomem); | ^ metamail.c:296:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | if (!newpath) ExitWithError(nomem); | ^ metamail.c:286:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | void modpath(auxpath) | ^ metamail.c:303:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 303 | main(argc, argv) | ^ | int metamail.c:334:17: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | if (!s) ExitWithError(nomem); | ^ metamail.c:339:5: warning: call to undeclared function 'ProcessArguments'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 339 | ProcessArguments(argc, argv); /* calls ExitWithError on error */ | ^ metamail.c:348:15: warning: call to undeclared function 'HandleMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 348 | retcode = HandleMessage(NULL, 0); | ^ metamail.c:359:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 359 | if (!InputFP) ExitWithError("Can't read input file"); | ^ metamail.c:374:25: warning: call to undeclared function 'PauseForUser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 374 | if (MustPageOutput) PauseForUser(); | ^ metamail.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | main(argc, argv) | ^ metamail.c:383:15: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 383 | if (!tmp) ExitWithError(nomem); | ^ metamail.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | QueueNextFile(fname) | ^ metamail.c:395:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 395 | HandleMessage(SquirrelFile, nestingdepth) | ^ | int metamail.c:404:14: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 404 | if (!lc2strncmp(ContentType, "message/", 8) | ^ metamail.c:410:6: warning: call to undeclared function 'Read822Prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 410 | if (Read822Prefix(SquirrelFile?0:1, nestingdepth)) { | ^ metamail.c:414:5: warning: call to undeclared function 'PrepareMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 414 | PrepareMessage(); | ^ metamail.c:415:28: warning: call to undeclared function 'ProcessMailcapFiles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 415 | if (!FileWriteOnly && !ProcessMailcapFiles(SquirrelFile)) return(0); | ^ metamail.c:416:10: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 416 | if (!lc2strcmp(ContentType, "message") | ^ metamail.c:418:34: warning: call to undeclared function 'SaveSquirrelFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 418 | if (SquirrelFile) return(SaveSquirrelFile(SquirrelFile)); | ^ metamail.c:423:25: warning: passing arguments to 'FindParam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | boundary = FindParam("boundary"); | ^ metamail.c:425:10: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | if (!lc2strncmp(ContentType, "multipart", 9)) { | ^ metamail.c:433:34: warning: call to undeclared function 'SaveSquirrelFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 433 | if (SquirrelFile) return(SaveSquirrelFile(SquirrelFile)); | ^ metamail.c:448:13: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | MkTmpFileName(NewSquirrelFile); | ^ metamail.c:452:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 452 | if (!LineBuf) ExitWithError(nomem); | ^ metamail.c:492:34: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | ConsumeRestOfPart(NULL); | ^ metamail.c:500:30: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | ConsumeRestOfPart(NULL); | ^ metamail.c:521:28: warning: call to undeclared function 'TryBuiltIns'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 521 | if (!FileWriteOnly && !TryBuiltIns(SquirrelFile)) return(0); | ^ metamail.c:526:34: warning: passing arguments to 'FindParam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | suggestedname = FindParam("name"); | ^ metamail.c:528:13: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 528 | MkTmpFileName(SugBuf); | ^ metamail.c:554:25: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 554 | TranslateInputToOutput(InputFP, stdout, EncodingCode, "text"); | ^ metamail.c:575:37: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 575 | MkTmpFileName(Fname); | ^ metamail.c:611:42: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | ConsumeRestOfPart(NULL); | ^ metamail.c:656:30: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | ConsumeRestOfPart(NULL); | ^ metamail.c:659:22: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 659 | if (!fp) ExitWithError("Cannot open temporary file"); | ^ metamail.c:660:13: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 660 | TranslateInputToOutput(InputFP, fp, EncodingCode, ContentType); | ^ metamail.c:668:69: warning: call to undeclared function 'PauseForUser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 668 | if (!DefinitelyNotTty && MaybePageOutput && BoundaryCt > 0) PauseForUser(); | ^ metamail.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | HandleMessage(SquirrelFile, nestingdepth) | ^ metamail.c:674:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 674 | ProcessArguments(argc, argv) | ^ | int metamail.c:694:25: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 694 | if (!QuietCopy) ExitWithError(nomem); | ^ metamail.c:733:25: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 733 | if (!NoAskCopy) ExitWithError(nomem); | ^ metamail.c:781:24: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 781 | if (++i >= argc) usage(); | ^ metamail.c:783:25: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 783 | if (!ContentType) ExitWithError(nomem); | ^ metamail.c:787:21: warning: call to undeclared function 'StripTrailingSpace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 787 | StripTrailingSpace(ContentType); | ^ metamail.c:788:43: warning: passing arguments to 'ParseContentParameters' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | ParseContentParameters(ContentType); | ^ metamail.c:887:9: warning: call to undeclared function 'RunInNewWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 887 | RunInNewWindow(argv, argc, &SourceFileName); | ^ metamail.c:896:2: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 896 | usage(); | ^ metamail.c:900:2: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 900 | usage(); | ^ metamail.c:905:2: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 905 | usage(); | ^ metamail.c:911:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 911 | if (!InputFP) ExitWithError("Can't read input file"); | ^ metamail.c:945:9: warning: call to undeclared function 'RunInNewWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 945 | RunInNewWindow(argv, argc, &SourceFileName); | ^ metamail.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | ProcessArguments(argc, argv) | ^ metamail.c:953:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 953 | usage() { | ^ | int metamail.c:955:5: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 955 | ExitWithError(NULL); | ^ metamail.c:956:1: warning: non-void function does not return a value [-Wreturn-type] 956 | } | ^ metamail.c:958:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 958 | RunInNewWindow(argv, argc, SourceFileNamePtr) | ^ | int metamail.c:969:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 969 | if (!LineBuf) ExitWithError(nomem); | ^ metamail.c:971:9: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 971 | MkTmpFileName(TmpName); | ^ metamail.c:984:19: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 984 | if (!FullCmd) ExitWithError(nomem); | ^ metamail.c:994:5: warning: call to undeclared function 'CreateNewWindowPrefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 994 | CreateNewWindowPrefix(FullCmd); | ^ metamail.c:1017:5: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1017 | SetUpEnvironment(); | ^ metamail.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | RunInNewWindow(argv, argc, SourceFileNamePtr) | ^ metamail.c:1039:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1039 | ProcessMailcapFiles(SquirrelFile) | ^ | int metamail.c:1071:26: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1071 | if (!p || !path) ExitWithError(nomem); | ^ metamail.c:1080:24: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1080 | if (!pathcopy) ExitWithError(nomem); | ^ metamail.c:1087:14: warning: call to undeclared function 'ProcessMailcapFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1087 | if (!ProcessMailcapFile(path, SquirrelFile)) return(0); | ^ metamail.c:1039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | ProcessMailcapFiles(SquirrelFile) | ^ metamail.c:1095:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1095 | TryBuiltIns(SquirrelFile) | ^ | int metamail.c:1102:14: warning: call to undeclared function 'TryMailcapEntry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1102 | if (!TryMailcapEntry(SquirrelFile ? BuiltInsAlternative[i] : BuiltIns[i], SquirrelFile)) return(0); | ^ metamail.c:1095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | TryBuiltIns(SquirrelFile) | ^ metamail.c:1107:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1107 | ProcessMailcapFile(file, SquirrelFile) | ^ | int metamail.c:1114:11: warning: call to undeclared function 'IsDirectory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1114 | res = IsDirectory(file); | ^ metamail.c:1128:6: warning: call to undeclared function 'GetMailcapEntry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1128 | if (GetMailcapEntry(fp, &mc)) { | ^ metamail.c:1129:18: warning: call to undeclared function 'TryMailcapEntry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1129 | if (!TryMailcapEntry(mc, SquirrelFile)) { | ^ metamail.c:1107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1107 | ProcessMailcapFile(file, SquirrelFile) | ^ metamail.c:1146:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | char *ShortCommand(progname) | ^ metamail.c:1179:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1179 | TryMailcapEntry(mc, SquirrelFile) | ^ | int metamail.c:1183:5: warning: call to undeclared function 'StripTrailingSpace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1183 | StripTrailingSpace(mc.contenttype); | ^ metamail.c:1186:9: warning: call to undeclared function 'CtypeMatch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1186 | if (CtypeMatch(ContentType, mc.contenttype) && PassesTest(&mc)) { | ^ metamail.c:1186:52: warning: call to undeclared function 'PassesTest'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1186 | if (CtypeMatch(ContentType, mc.contenttype) && PassesTest(&mc)) { | ^ metamail.c:1188:20: warning: call to undeclared function 'SaveSquirrelFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1188 | return(SaveSquirrelFile(SquirrelFile)); | ^ metamail.c:1191:13: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1191 | MkTmpFileName(TmpFileName); | ^ metamail.c:1192:20: warning: call to undeclared function 'ExecuteMailcapEntry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1192 | return(ExecuteMailcapEntry(mc, TmpFileName, ContentType)); | ^ metamail.c:1179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | TryMailcapEntry(mc, SquirrelFile) | ^ metamail.c:1202:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1202 | SaveSquirrelFile(SquirrelFile) | ^ | int metamail.c:1220:5: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1220 | TranslateInputToOutput(InputFP, outfp, EncodingCode, ContentType); | ^ metamail.c:1222:9: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1222 | ExitWithError("fclose failed"); | ^ metamail.c:1202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | SaveSquirrelFile(SquirrelFile) | ^ metamail.c:1227:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1227 | ExecuteMailcapEntry(mc, TmpFileName, ThisContentType) | ^ | int metamail.c:1236:15: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1236 | if (!cmd) ExitWithError(nomem); | ^ metamail.c:1238:5: warning: call to undeclared function 'BuildCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1238 | BuildCommand(cmd, PrintingMode ? mc.printcommand : mc.command, TmpFileName, &UsedTmpFileName, &PartsWritten); | ^ metamail.c:1256:9: warning: call to undeclared function 'SaveTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1256 | SaveTtyState(); | ^ metamail.c:1258:10: warning: call to undeclared function 'NeedToAskBeforeExecuting'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1258 | if (!NeedToAskBeforeExecuting(ThisContentType) | ^ metamail.c:1259:13: warning: call to undeclared function 'OKToRun'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1259 | || OKToRun(ThisContentType, cmd, mc.label)) { | ^ metamail.c:1279:17: warning: call to undeclared function 'strcatquoting'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1279 | strcatquoting(cmd, CParams[j]); | ^ metamail.c:1285:13: warning: call to undeclared function 'CreateNewWindowPrefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1285 | CreateNewWindowPrefix(FullCmd); | ^ metamail.c:1297:27: warning: call to undeclared function 'WriteTmpFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1297 | isempty = WriteTmpFile(TmpFileName, ThisContentType); | ^ metamail.c:1310:21: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1310 | SetUpEnvironment(); | ^ metamail.c:1311:34: warning: call to undeclared function 'ExecuteCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1311 | resultcode = ExecuteCommand(TmpCmd, 1); | ^ metamail.c:1314:21: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1314 | SetUpEnvironment(); | ^ metamail.c:1315:34: warning: call to undeclared function 'ExecuteCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1315 | resultcode = ExecuteCommand(FullCmd, 1); | ^ metamail.c:1324:13: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1324 | SetUpEnvironment(); | ^ metamail.c:1325:20: warning: call to undeclared function 'ExecuteCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1325 | (void) ExecuteCommand(FullCmd, 0); | ^ metamail.c:1327:13: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1327 | TranslateInputToOutput(InputFP, tmpfp, EncodingCode, ThisContentType); | ^ metamail.c:1333:13: warning: call to undeclared function 'RestoreTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1333 | RestoreTtyState(); | ^ metamail.c:1334:72: warning: call to undeclared function 'PauseForUser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1334 | if (mc.copiousoutput && MaybePageOutput && BoundaryCt > 0) PauseForUser(); | ^ metamail.c:1340:52: warning: call to undeclared function 'PauseForUser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1340 | if (MaybePageOutput && BoundaryCt > 0) PauseForUser(); | ^ metamail.c:1346:13: warning: call to undeclared function 'RestoreTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1346 | RestoreTtyState(); | ^ metamail.c:1349:45: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | if (!PartsWritten) ConsumeRestOfPart(NULL); | ^ metamail.c:1368:9: warning: call to undeclared function 'RestoreTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1368 | RestoreTtyState(); | ^ metamail.c:1227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1227 | ExecuteMailcapEntry(mc, TmpFileName, ThisContentType) | ^ metamail.c:1374:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1374 | PassesTest(mc) | ^ | int metamail.c:1381:5: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1381 | MkTmpFileName(TmpFileName); | ^ metamail.c:1383:15: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1383 | if (!cmd) ExitWithError(nomem); | ^ metamail.c:1384:5: warning: call to undeclared function 'BuildCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1384 | BuildCommand(cmd, mc->testcommand, TmpFileName, NULL, NULL); | ^ metamail.c:1374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1374 | PassesTest(mc) | ^ metamail.c:1402:14: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1402 | if (!s2) ExitWithError(nomem); | ^ metamail.c:1396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1396 | GetCommand(s, t) | ^ metamail.c:1427:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1427 | GetMailcapEntry(fp, mc) | ^ | int metamail.c:1435:19: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1435 | if (!LineBuf) ExitWithError(nomem); | ^ metamail.c:1509:3: warning: call to undeclared function 'ExceptionalNewline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1509 | ExceptionalNewline(mc->contenttype, atoi(eq)); | ^ metamail.c:1427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1427 | GetMailcapEntry(fp, mc) | ^ metamail.c:1520:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1520 | ExitWithError(txt) | ^ | int metamail.c:1520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:1528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | FreshHeaderCopy(s) | ^ metamail.c:1547:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1547 | Read822Prefix(PrintHeads, nestingdepth) | ^ | int metamail.c:1595:27: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1595 | if (!ContentType && !lc2strncmp(s, "\ncontent-type:", 14)) { | ^ metamail.c:1614:17: warning: call to undeclared function 'StripTrailingSpace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1614 | StripTrailingSpace(ContentType); | ^ metamail.c:1615:39: warning: passing arguments to 'ParseContentParameters' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1615 | ParseContentParameters(ContentType); | ^ metamail.c:1616:33: warning: call to undeclared function 'maybephead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1616 | if (PrintHeads) maybephead(s+1); | ^ metamail.c:1619:33: warning: call to undeclared function 'maybephead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1619 | if (PrintHeads) maybephead(s+1); | ^ metamail.c:1621:33: warning: call to undeclared function 'maybephead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1621 | if (PrintHeads) maybephead(s+1); | ^ metamail.c:1624:33: warning: call to undeclared function 'maybephead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1624 | if (PrintHeads) maybephead(s+1); | ^ metamail.c:1627:32: warning: call to undeclared function 'maybephead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1627 | if(PrintHeads) maybephead(s+1); | ^ metamail.c:1645:21: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1645 | phead(s+1); | ^ metamail.c:1647:21: warning: call to undeclared function 'maybephead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1647 | maybephead(s+1); | ^ metamail.c:1547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1547 | Read822Prefix(PrintHeads, nestingdepth) | ^ metamail.c:1667:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1667 | PrepareMessage() { | ^ | int metamail.c:1674:9: warning: call to undeclared function 'StripTrailingSpace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1674 | StripTrailingSpace(ContentEncoding); | ^ metamail.c:1675:14: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1675 | if (!lc2strcmp(ContentEncoding, "base64")) { | ^ metamail.c:1679:21: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1679 | } else if (!lc2strncmp (ContentEncoding, "x-uue", 5)) { | ^ metamail.c:1698:5: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1698 | SetUpEnvironment(); | ^ metamail.c:1699:1: warning: non-void function does not return a value [-Wreturn-type] 1699 | } | ^ metamail.c:1701:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1701 | SetUpEnvironment() { | ^ | int metamail.c:1722:5: warning: call to undeclared function 'EliminateNastyChars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1722 | EliminateNastyChars(MailSummary); | ^ metamail.c:1790:1: warning: non-void function does not return a value [-Wreturn-type] 1790 | } | ^ metamail.c:1822:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1822 | OKToRun(ctype, progname, label) | ^ | int metamail.c:1822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:1848:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1848 | EliminateNastyChars(s) | ^ | int metamail.c:1848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:1860:1: warning: non-void function does not return a value [-Wreturn-type] 1860 | } | ^ metamail.c:1862:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1862 | StripTrailingSpace(s) | ^ | int metamail.c:1862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:1867:1: warning: non-void function does not return a value [-Wreturn-type] 1867 | } | ^ metamail.c:1904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1904 | findcolon(hdr) | ^ metamail.c:1914:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1914 | maybephead(hdr) | ^ | int metamail.c:1927:22: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1927 | || !lc2strncmp(hdr, KeyHeadList[numkeys], len)) { | ^ metamail.c:1928:17: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1928 | if (!KeyKeep) phead(hdr); | ^ metamail.c:1932:15: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1932 | if (KeyKeep) phead(hdr); | ^ metamail.c:1938:8: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1938 | || !lc2strncmp(">from", KeyHeadList[numkeys], 5)) { | ^ metamail.c:1939:17: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1939 | if (!KeyKeep) phead(hdr); | ^ metamail.c:1943:15: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1943 | if (KeyKeep) phead(hdr); | ^ metamail.c:1914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | maybephead(hdr) | ^ metamail.c:1945:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1945 | } | ^ metamail.c:1948:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1948 | phead(s) | ^ | int metamail.c:1961:16: warning: passing arguments to 'PrintHeader' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1961 | PrintHeader(s, 1); | ^ metamail.c:1948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1948 | phead(s) | ^ metamail.c:1964:1: warning: non-void function does not return a value [-Wreturn-type] 1964 | } | ^ metamail.c:2033:9: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2033 | if (lc2strcmp(charset, PrevCharset)) { | ^ metamail.c:2050:9: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2050 | MkTmpFileName(TmpFile); | ^ metamail.c:2070:17: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2070 | TranslateInputToOutput(fp, stdout, ecode, "text"); | ^ metamail.c:1969:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1969 | void PrintHeader(s, ShowLeadingWhitespace) | ^ metamail.c:196: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] 196 | void PrintHeader(); | ^ metamail.c:2082:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2082 | BuildCommand(Buf, controlstring, TmpFileName, UsedTmpFileName, PartsWritten) | ^ | int metamail.c:2121:45: warning: passing arguments to 'FindParam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2121 | boundary = FindParam("boundary"); | ^ metamail.c:2200:29: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2200 | MkTmpFileName(TmpFileNameBuf); | ^ metamail.c:2204:29: warning: call to undeclared function 'WriteTmpFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2204 | WriteTmpFile(thispart->fname, thispart->ctype); | ^ metamail.c:2223:46: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2223 | ConsumeRestOfPart(NULL); | ^ metamail.c:2264:34: warning: passing arguments to 'FindParam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2264 | p = FindParam(from); | ^ metamail.c:2270:21: warning: call to undeclared function 'strcpynoquotes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2270 | strcpynoquotes(to, p); | ^ metamail.c:2082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2082 | BuildCommand(Buf, controlstring, TmpFileName, UsedTmpFileName, PartsWritten) | ^ metamail.c:2292:1: warning: non-void function does not return a value [-Wreturn-type] 2292 | } | ^ metamail.c:2294:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2294 | strcpynoquotes(t,f) | ^ | int metamail.c:2294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:2303:1: warning: non-void function does not return a value [-Wreturn-type] 2303 | } | ^ metamail.c:2305:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2305 | WriteTmpFile(fname, ctype) | ^ | int metamail.c:2317:5: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2317 | TranslateInputToOutput(InputFP, fpout, EncodingCode, ctype); | ^ metamail.c:2305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2305 | WriteTmpFile(fname, ctype) | ^ metamail.c:2324:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2324 | TranslateInputToOutput(InputFP, OutputFP, Ecode, ctype) | ^ | int metamail.c:2333:13: warning: call to undeclared function 'from64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2333 | from64(InputFP, OutputFP, InMultipart ? Boundaries : NULL, &BoundaryCt, DoesNeedPortableNewlines(ctype)); | ^ metamail.c:2333:85: warning: call to undeclared function 'DoesNeedPortableNewlines'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2333 | from64(InputFP, OutputFP, InMultipart ? Boundaries : NULL, &BoundaryCt, DoesNeedPortableNewlines(ctype)); | ^ metamail.c:2336:13: warning: call to undeclared function 'fromqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2336 | fromqp(InputFP, OutputFP, InMultipart ? Boundaries : NULL, &BoundaryCt); | ^ metamail.c:2339:7: warning: call to undeclared function 'fromuue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2339 | fromuue(InputFP, OutputFP, InMultipart ? Boundaries: NULL, &BoundaryCt); | ^ metamail.c:2342:30: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2342 | ConsumeRestOfPart(OutputFP); | ^ metamail.c:2324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2324 | TranslateInputToOutput(InputFP, OutputFP, Ecode, ctype) | ^ metamail.c:2349:1: warning: non-void function does not return a value [-Wreturn-type] 2349 | } | ^ metamail.c:2351:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2351 | CreateNewWindowPrefix(Prefix) | ^ | int metamail.c:2351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:2386:1: warning: non-void function does not return a value [-Wreturn-type] 2386 | } | ^ metamail.c:2397:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2397 | SaveTtyState() { | ^ | int metamail.c:2409:1: warning: non-void function does not return a value [-Wreturn-type] 2409 | } | ^ metamail.c:2411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2411 | RestoreTtyState() { | ^ | int metamail.c:2425:1: warning: non-void function does not return a value [-Wreturn-type] 2425 | } | ^ metamail.c:2427:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2427 | NeedToAskBeforeExecuting(type) | ^ | int metamail.c:2433:13: warning: call to undeclared function 'CtypeMatch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2433 | if (CtypeMatch(type, nai->type)) return(0); | ^ metamail.c:2427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2427 | NeedToAskBeforeExecuting(type) | ^ metamail.c:2438:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2438 | NeedToBeQuiet(cmd) | ^ | int metamail.c:2443:14: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2443 | if (!lc2strcmp(nai->type, cmd)) return(1); | ^ metamail.c:2438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2438 | NeedToBeQuiet(cmd) | ^ metamail.c:2448:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2448 | CtypeMatch(ctype, pat) | ^ | int metamail.c:2454:10: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2454 | if (!lc2strcmp(ctype, pat)) { | ^ metamail.c:2466:15: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2466 | && (!lc2strncmp(ctype, pat, len)) | ^ metamail.c:2448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2448 | CtypeMatch(ctype, pat) | ^ metamail.c:2474:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2474 | ExecuteCommand(cmd, really) | ^ | int metamail.c:2474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:2499:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2499 | MkTmpFileName(name) | ^ | int metamail.c:2499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:2517:1: warning: non-void function does not return a value [-Wreturn-type] 2517 | } | ^ metamail.c:2562:17: warning: call to undeclared function 'PendingBoundary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2562 | && PendingBoundary(Buf, Boundaries, &BoundaryCt)) { | ^ metamail.c:2544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2544 | ConsumeRestOfPart(outfp) | ^ metamail.c:197: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] 197 | void ConsumeRestOfPart(); | ^ metamail.c:2570:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2570 | char *paramend(s) | ^ metamail.c:2592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2592 | ParseContentParameters(ct) | ^ metamail.c:198: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] 198 | void ParseContentParameters(); | ^ metamail.c:2634:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2634 | char *FindParam(s) | ^ metamail.c:118: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] 118 | char *FindParam(); | ^ metamail.c:2655:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2655 | strcatquoting(s1, s2) | ^ | int metamail.c:2655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:2668:1: warning: non-void function does not return a value [-Wreturn-type] 2668 | } | ^ metamail.c:2670:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2670 | PauseForUser() { | ^ | int metamail.c:2682:9: warning: call to undeclared function 'StartRawStdin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2682 | if (StartRawStdin() != -1) { | ^ metamail.c:2692:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2692 | } | ^ metamail.c:2694:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2694 | StartRawStdin() { | ^ | int metamail.c:2717:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2717 | int IsDirectory(fname) | ^ 239 warnings generated. --- metamail --- rm -f metamail cc -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -o metamail metamail.o putenv.o codes.o uue.o shared.o -fstack-protector-strong --- mailto.o --- mailto.c:56: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 previous declaration [-Wdeprecated-non-prototype] 56 | extern char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ mailto.c:142:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 142 | EightBitCharHelp() { | ^ | int mailto.c:179:1: warning: non-void function does not return a value [-Wreturn-type] 179 | } | ^ mailto.c:184:13: warning: call to undeclared function 'nomemabort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | if (!s) nomemabort(); | ^ mailto.c:203:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 203 | TildeHelp() { | ^ | int mailto.c:258:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | unlink(TmpName); | ^ mailto.c:260:1: warning: non-void function does not return a value [-Wreturn-type] 260 | } | ^ mailto.c:289:33: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 289 | struct passwd *p = getpwuid(getuid()); | ^ mailto.c:302:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 302 | InitTerminal() { | ^ | int mailto.c:314:17: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | if (term && tgetent(tbuf, term) != 1) { | ^ mailto.c:319:13: warning: call to undeclared function 'tgetstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | if (tgetstr("ks", &dum)) *dum = '\0'; else KS[0] = '\0'; | ^ mailto.c:334:23: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | termcolumns = tgetnum("co"); | ^ mailto.c:352:1: warning: non-void function does not return a value [-Wreturn-type] 352 | } | ^ mailto.c:354:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 354 | FinalizeTerminal() { | ^ | int mailto.c:355:5: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 355 | tfputs(standendbuf); | ^ mailto.c:361:1: warning: non-void function does not return a value [-Wreturn-type] 361 | } | ^ mailto.c:367:13: warning: call to undeclared function 'nomemabort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | if (!p) nomemabort(); | ^ mailto.c:379:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 379 | nomemabort() { | ^ | int mailto.c:381:5: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 381 | cleanexit(-1); | ^ mailto.c:382:1: warning: non-void function does not return a value [-Wreturn-type] 382 | } | ^ mailto.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | freshcopy(s) | ^ mailto.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | GetLineMalloced(prompt, def) | ^ mailto.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | EditString(prompt, s) | ^ mailto.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | AddCommasToAddressList(s) | ^ mailto.c:435:19: warning: expression result unused [-Wunused-value] 435 | if (!ans) nomemabort; | ^~~~~~~~~~ mailto.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | AddToList(List, entry, definitelynew) | ^ mailto.c:488:6: warning: parameter 'argc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 488 | main(argc, argv) | ^ 489 | char **argv; 490 | { mailto.c:488:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 488 | main(argc, argv) | ^ | int mailto.c:503:5: warning: call to undeclared function 'ProcessInitFiles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 503 | ProcessInitFiles(); | ^ mailto.c:504:5: warning: call to undeclared function 'InitSignals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 504 | InitSignals(); | ^ mailto.c:527:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | cleanexit(-1); | ^ mailto.c:546:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 546 | cleanexit(-1); | ^ mailto.c:556:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 556 | cleanexit(-1); | ^ mailto.c:561:21: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 561 | cleanexit(-1); | ^ mailto.c:582:5: warning: call to undeclared function 'ProcessMailcapFiles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 582 | ProcessMailcapFiles(); | ^ mailto.c:599:9: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 599 | cleanexit(-1); | ^ mailto.c:622:21: warning: call to undeclared function 'FputsQuotingLT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 622 | FputsQuotingLT(LineBuf+1, fpout, CurrentPart, EightBitMode, RightToLeftMode); | ^ mailto.c:632:25: warning: call to undeclared function 'TryClosingStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 632 | TryClosingStyle("indentright", fpout, CurrentPart); | ^ mailto.c:634:25: warning: call to undeclared function 'TryOpeningStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 634 | TryOpeningStyle("indent", fpout, CurrentPart, NULL); | ^ mailto.c:641:25: warning: call to undeclared function 'TryOpeningStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 641 | TryOpeningStyle("indentright", fpout, CurrentPart, NULL); | ^ mailto.c:643:25: warning: call to undeclared function 'TryClosingStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 643 | TryClosingStyle("indent", fpout, CurrentPart); | ^ mailto.c:675:21: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 675 | TempCloseStyles(fpout); | ^ mailto.c:686:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 686 | cleanexit(-1); | ^ mailto.c:688:21: warning: call to undeclared function 'ReopenStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 688 | ReopenStyles(fpout, CurrentPart); | ^ mailto.c:692:21: warning: call to undeclared function 'ToggleStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 692 | ToggleStyle("bold", fpout, CurrentPart, BoldOn, BoldOff); | ^ mailto.c:715:21: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 715 | TempCloseStyles(fpout); | ^ mailto.c:727:28: warning: call to undeclared function 'TranslateInputToEncodedOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 727 | (void) TranslateInputToEncodedOutput(fpin, fpout, ENC_NONE, ""); | ^ mailto.c:737:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 737 | cleanexit(-1); | ^ mailto.c:739:21: warning: call to undeclared function 'ReopenStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 739 | ReopenStyles(fpout, CurrentPart); | ^ mailto.c:743:21: warning: call to undeclared function 'EditCurrentMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 743 | EditCurrentMessage(0); | ^ mailto.c:778:33: warning: call to undeclared function 'EndStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 778 | EndStyle(fpout, "center"); | ^ mailto.c:780:33: warning: call to undeclared function 'EndStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 780 | EndStyle(fpout, "flushright"); | ^ mailto.c:782:33: warning: call to undeclared function 'EndStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 782 | EndStyle(fpout, "flushleft"); | ^ mailto.c:789:29: warning: call to undeclared function 'StartStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 789 | StartStyle(fpout, "center", NULL); | ^ mailto.c:791:29: warning: call to undeclared function 'StartStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 791 | StartStyle(fpout, "flushright", NULL); | ^ mailto.c:793:29: warning: call to undeclared function 'StartStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 793 | StartStyle(fpout, "flushleft", NULL); | ^ mailto.c:814:21: warning: call to undeclared function 'WriteOutMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 814 | WriteOutMessage(fptmp, ToList, Subject, CCList, FirstPart); | ^ mailto.c:815:21: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 815 | TempCloseStyles(fptmp); | ^ mailto.c:820:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 820 | cleanexit(-1); | ^ mailto.c:825:21: warning: call to undeclared function 'RestoreCurrentStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 825 | RestoreCurrentStyles(); | ^ mailto.c:829:21: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 829 | TempCloseStyles(fpout); | ^ mailto.c:831:26: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 831 | if (!WriteDeadLetter()) cleanexit(0); | ^ mailto.c:831:45: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 831 | if (!WriteDeadLetter()) cleanexit(0); | ^ mailto.c:846:36: warning: call to undeclared function 'TranslateInputToEncodedOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 846 | EightBitSeen = TranslateInputToEncodedOutput(fpin, fpout, ENC_NONE, ""); | ^ mailto.c:853:29: warning: call to undeclared function 'SwitchToEuropean'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 853 | SwitchToEuropean(); | ^ mailto.c:902:21: warning: call to undeclared function 'WriteOutMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 902 | WriteOutMessage(fptmp, ToList, Subject, CCList, FirstPart); | ^ mailto.c:934:21: warning: call to undeclared function 'StartStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 934 | StartStyle(fpout, "signature", NULL); | ^ mailto.c:941:29: warning: call to undeclared function 'SwitchToEuropean'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 941 | SwitchToEuropean(); | ^ mailto.c:945:21: warning: call to undeclared function 'EndStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 945 | EndStyle(fpout, "signature"); | ^ mailto.c:986:29: warning: call to undeclared function 'SwitchToEuropean'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 986 | SwitchToEuropean(); | ^ mailto.c:1001:21: warning: call to undeclared function 'ReopenStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1001 | ReopenStyles(fpout, CurrentPart); | ^ mailto.c:1009:13: warning: call to undeclared function 'FputsQuotingLT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1009 | FputsQuotingLT(LineBuf, fpout, CurrentPart, EightBitMode, RightToLeftMode); | ^ mailto.c:1012:5: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1012 | TempCloseStyles(fpout); | ^ mailto.c:1023:16: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1023 | (void) WriteDeadLetter(); | ^ mailto.c:1024:9: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1024 | cleanexit(-1); | ^ mailto.c:1026:5: warning: call to undeclared function 'WriteOutMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1026 | WriteOutMessage(fpout, ToList, Subject, CCList, FirstPart); | ^ mailto.c:1029:16: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1029 | (void) WriteDeadLetter(); | ^ mailto.c:1030:9: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1030 | cleanexit(-1); | ^ mailto.c:1032:5: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1032 | cleanexit(0); /* Never returns */ | ^ mailto.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 | main(argc, argv) | ^ mailto.c:1042:46: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1042 | sprintf(idbuf, "<%d_%d_%d_%d@%s>", (int) getuid(), (int) getpid(), (int) time(0), ++ctr, getmyname()); | ^ mailto.c:1042:62: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1042 | sprintf(idbuf, "<%d_%d_%d_%d@%s>", (int) getuid(), (int) getpid(), (int) time(0), ++ctr, getmyname()); | ^ mailto.c:1042:94: warning: call to undeclared function 'getmyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1042 | sprintf(idbuf, "<%d_%d_%d_%d@%s>", (int) getuid(), (int) getpid(), (int) time(0), ++ctr, getmyname()); | ^ mailto.c:1042:94: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 1042 | sprintf(idbuf, "<%d_%d_%d_%d@%s>", (int) getuid(), (int) getpid(), (int) time(0), ++ctr, getmyname()); | ~~ ^~~~~~~~~~~ | %d mailto.c:1047:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1047 | WriteOutMessage(fp, ToList, Subject, CCList, FirstPart) | ^ | int mailto.c:1056:9: warning: call to undeclared function 'EmitHeader'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1056 | EmitHeader(fp, "In-Reply-To", InReplyTo); | ^ mailto.c:1058:5: warning: call to undeclared function 'EmitHeaderWithAliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1058 | EmitHeaderWithAliases(fp, "To", ToList); | ^ mailto.c:1060:5: warning: call to undeclared function 'EmitHeader'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1060 | EmitHeader(fp, "Subject", Subject); | ^ mailto.c:1068:37: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1068 | struct passwd *p = getpwuid(getuid()); | ^ mailto.c:1085:24: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1085 | (int) getuid(), (int) getpid(), getmyname(), (int) time(0), ++ctr); | ^ mailto.c:1085:40: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1085 | (int) getuid(), (int) getpid(), getmyname(), (int) time(0), ++ctr); | ^ mailto.c:1085:50: warning: call to undeclared function 'getmyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1085 | (int) getuid(), (int) getpid(), getmyname(), (int) time(0), ++ctr); | ^ mailto.c:1085:50: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 1084 | sprintf(boundary, "PART.BOUNDARY.%d.%d.%s.%d.%d", | ~~ | %d 1085 | (int) getuid(), (int) getpid(), getmyname(), (int) time(0), ++ctr); | ^~~~~~~~~~~ mailto.c:1101:13: warning: call to undeclared function 'WriteContentTypeAndEncoding'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1101 | WriteContentTypeAndEncoding(fp, FirstPart); | ^ mailto.c:1106:17: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1106 | cleanexit(-1); | ^ mailto.c:1108:20: warning: call to undeclared function 'TranslateInputToEncodedOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1108 | (void) TranslateInputToEncodedOutput(fpin, fp, FirstPart->encoding_type_needed, FirstPart->content_type); | ^ mailto.c:1114:9: warning: call to undeclared function 'WriteContentTypeAndEncoding'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1114 | WriteContentTypeAndEncoding(fp, FirstPart); | ^ mailto.c:1119:13: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1119 | cleanexit(-1); | ^ mailto.c:1121:16: warning: call to undeclared function 'TranslateInputToEncodedOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1121 | (void) TranslateInputToEncodedOutput(fpin, fp, FirstPart->encoding_type_needed, FirstPart->content_type); | ^ mailto.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | WriteOutMessage(fp, ToList, Subject, CCList, FirstPart) | ^ mailto.c:1124:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1124 | } | ^ mailto.c:1126:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1126 | WriteContentTypeAndEncoding(fp, part) | ^ | int mailto.c:1143:13: warning: call to undeclared function 'WriteCtypeNicely'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1143 | WriteCtypeNicely(fp, part->content_type); | ^ mailto.c:1153:9: warning: call to undeclared function 'WriteCtypeNicely'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1153 | WriteCtypeNicely(fp, part->content_type); /* fixes some syntactic junk */ | ^ mailto.c:1126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1126 | WriteContentTypeAndEncoding(fp, part) | ^ mailto.c:1165:1: warning: non-void function does not return a value [-Wreturn-type] 1165 | } | ^ mailto.c:1167:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1167 | TranslateInputToEncodedOutput(InputFP, OutputFP, Ecode, ctype) | ^ | int mailto.c:1176:13: warning: call to undeclared function 'to64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1176 | to64(InputFP, OutputFP, DoesNeedPortableNewlines(ctype)); | ^ mailto.c:1176:37: warning: call to undeclared function 'DoesNeedPortableNewlines'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1176 | to64(InputFP, OutputFP, DoesNeedPortableNewlines(ctype)); | ^ mailto.c:1179:13: warning: call to undeclared function 'toqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1179 | toqp(InputFP, OutputFP); | ^ mailto.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | TranslateInputToEncodedOutput(InputFP, OutputFP, Ecode, ctype) | ^ mailto.c:1199:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1199 | TempCloseStyles(fp) | ^ | int mailto.c:1206:5: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1206 | tfputs(StopUnderline); | ^ mailto.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | TempCloseStyles(fp) | ^ mailto.c:1210:1: warning: non-void function does not return a value [-Wreturn-type] 1210 | } | ^ mailto.c:1212:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1212 | RestoreCurrentStyles() { | ^ | int mailto.c:1216:13: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1216 | tfputs(EnvStartStack[i]); | ^ mailto.c:1220:1: warning: non-void function does not return a value [-Wreturn-type] 1220 | } | ^ mailto.c:1222:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1222 | ReopenStyles(fp, part) | ^ | int mailto.c:1222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:1232:1: warning: non-void function does not return a value [-Wreturn-type] 1232 | } | ^ mailto.c:1234:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1234 | richtextreset() | ^ | int mailto.c:1237:1: warning: non-void function does not return a value [-Wreturn-type] 1237 | } | ^ mailto.c:1239:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1239 | AlreadyInStyle(s) | ^ | int mailto.c:1239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:1249:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1249 | StartStyle(fp, s, envstartstr) | ^ | int mailto.c:1249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:1263:1: warning: non-void function does not return a value [-Wreturn-type] 1263 | } | ^ mailto.c:1265:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1265 | EndStyle(fp, s) | ^ | int mailto.c:1265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:1287:1: warning: non-void function does not return a value [-Wreturn-type] 1287 | } | ^ mailto.c:1289:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1289 | ToggleStyle(name, fp, part, turnonstr, turnoffstr) | ^ | int mailto.c:1298:25: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1298 | if (turnoffstr) tfputs(turnoffstr); | ^ mailto.c:1304:24: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1304 | if (turnonstr) tfputs(turnonstr); | ^ mailto.c:1289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | ToggleStyle(name, fp, part, turnonstr, turnoffstr) | ^ mailto.c:1306:1: warning: non-void function does not return a value [-Wreturn-type] 1306 | } | ^ mailto.c:1308:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1308 | TryOpeningStyle(name, fp, part, envstartstr) | ^ | int mailto.c:1308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:1320:1: warning: non-void function does not return a value [-Wreturn-type] 1320 | } | ^ mailto.c:1322:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1322 | TryClosingStyle(name, fp, part) | ^ | int mailto.c:1322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:1333:1: warning: non-void function does not return a value [-Wreturn-type] 1333 | } | ^ mailto.c:1335:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1335 | FputsQuotingLT(s, fp, part, EightBitMode, RightToLeftMode) | ^ | int mailto.c:1388:25: warning: call to undeclared function 'SwitchToEuropean'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1388 | SwitchToEuropean(); | ^ mailto.c:1335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1335 | FputsQuotingLT(s, fp, part, EightBitMode, RightToLeftMode) | ^ mailto.c:1398:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1398 | } | ^ mailto.c:1400:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1400 | cleanexit(code) | ^ | int mailto.c:1403:5: warning: call to undeclared function 'finalize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1403 | finalize(); | ^ mailto.c:1400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | cleanexit(code) | ^ mailto.c:1407:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1407 | finalize() { | ^ | int mailto.c:1409:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1409 | unlink(FirstPart->filename); | ^ mailto.c:1413:1: warning: non-void function does not return a value [-Wreturn-type] 1413 | } | ^ mailto.c:1424:16: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1424 | (void) WriteDeadLetter(); | ^ mailto.c:1431:20: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1431 | (void) WriteDeadLetter(); | ^ mailto.c:1439:10: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1439 | kill(getpid(), signum); | ^ mailto.c:1416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | cleanup(signum) | ^ mailto.c:1443:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1443 | InitSignals() { | ^ | int mailto.c:1461:1: warning: non-void function does not return a value [-Wreturn-type] 1461 | } | ^ mailto.c:1463:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1463 | WriteDeadLetter() | ^ | int mailto.c:1508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1508 | GetCommand(s, t) | ^ mailto.c:1539:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1539 | char *Cleanse(s, dolc) /* no leading or trailing space, all lower case */ | ^ mailto.c:1557:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1557 | char *DeQuote(s) | ^ mailto.c:1659:13: warning: call to undeclared function 'ExceptionalNewline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1659 | ExceptionalNewline(mc->contenttype, atoi(eq)); | ^ mailto.c:1577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | GetMailcapEntry(fp) | ^ mailto.c:1669:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1669 | ProcessMailcapFiles() | ^ | int mailto.c:1682:19: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1682 | int uid = getuid(); | ^ mailto.c:1814:112: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1814 | if (mc->contenttype && index(mc->contenttype, '/') && !index(mc->contenttype, '*') && !lc2strcmp(mc->contenttype, lc)) { | ^ mailto.c:1840:36: warning: call to undeclared function 'WhichEncodingForFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1840 | mp->encoding_type_needed = WhichEncodingForFile(mp->filename, mp->content_type); | ^ mailto.c:1843:9: warning: call to undeclared function 'SetTextFlags'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1843 | SetTextFlags(mp); | ^ mailto.c:1860:5: warning: call to undeclared function 'BuildCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1860 | BuildCommand(CmdBuf, mc->composecommand ? mc->composecommand : mc->composetypedcommand, mp->filename); | ^ mailto.c:1868:9: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1868 | if (access(mp->filename, R_OK)) { | ^ mailto.c:1876:36: warning: call to undeclared function 'WhichEncodingForFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1876 | mp->encoding_type_needed = WhichEncodingForFile(mp->filename, mp->content_type); | ^ mailto.c:1956:17: warning: call to undeclared function 'from64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1956 | from64(fp, fpout, NULL, &bct, 0); | ^ mailto.c:1959:17: warning: call to undeclared function 'fromqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1959 | fromqp(fp, fpout, NULL, &bct); | ^ mailto.c:1969:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1969 | unlink(mp->filename); | ^ mailto.c:1972:5: warning: call to undeclared function 'SetTextFlags'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1972 | SetTextFlags(mp); | ^ mailto.c:1979:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1979 | SetTextFlags(mp) | ^ | int mailto.c:1982:10: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1982 | if (!lc2strncmp(mp->content_type, "text/", 5)) { | ^ mailto.c:1979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1979 | SetTextFlags(mp) | ^ mailto.c:1988:1: warning: non-void function does not return a value [-Wreturn-type] 1988 | } | ^ mailto.c:1990:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1990 | WhichEncodingForFile(fname, ctype) | ^ | int mailto.c:1990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2026:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2026 | BuildCommand(Buf, controlstring, TmpFileName) | ^ | int mailto.c:2026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2062:1: warning: non-void function does not return a value [-Wreturn-type] 2062 | } | ^ mailto.c:2064:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2064 | CtypeMatch(ctype, pat) | ^ | int mailto.c:2064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2085:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2085 | EditCurrentMessage(UseVisual) | ^ | int mailto.c:2115:14: warning: call to undeclared function 'ContainsEightBitChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2115 | ContainsEightBitChar(FirstPart->filename)) { | ^ mailto.c:2162:14: warning: call to undeclared function 'ContainsEightBitChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2162 | ContainsEightBitChar(mp->filename)) { | ^ mailto.c:2085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2085 | EditCurrentMessage(UseVisual) | ^ mailto.c:2172:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2172 | } | ^ mailto.c:2175:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2175 | ProcessInitFiles() { | ^ | int mailto.c:2181:5: warning: call to undeclared function 'ProcessOneMailRC'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2181 | ProcessOneMailRC("/usr/lib/Mail.rc", 0); | ^ mailto.c:2187:1: warning: non-void function does not return a value [-Wreturn-type] 2187 | } | ^ mailto.c:2190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2190 | NextAliasLine(LineBuf, LineAlloced, LineCount, fp, IsAndrew) | ^ mailto.c:2225:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2225 | ProcessOneMailRC(fname, IsAndrew) | ^ | int mailto.c:2244:13: warning: call to undeclared function 'HandleAliasCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2244 | HandleAliasCommand(LineBuf); | ^ mailto.c:2246:13: warning: call to undeclared function 'HandleSetCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2246 | HandleSetCommand(LineBuf+4, 1); | ^ mailto.c:2248:13: warning: call to undeclared function 'HandleSetCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2248 | HandleSetCommand(LineBuf+6, 0); | ^ mailto.c:2250:13: warning: call to undeclared function 'HandleAliasCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2250 | HandleAliasCommand(LineBuf+6); | ^ mailto.c:2225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2225 | ProcessOneMailRC(fname, IsAndrew) | ^ mailto.c:2257:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2257 | } | ^ mailto.c:2259:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2259 | HandleSetCommand(cmd, DoSet) | ^ | int mailto.c:2259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2296:1: warning: non-void function does not return a value [-Wreturn-type] 2296 | } | ^ mailto.c:2303:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2303 | HandleAliasCommand(aliasline) | ^ | int mailto.c:2303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2330:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2330 | } | ^ mailto.c:2332:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2332 | EmitHeader(fp, hdr, body) | ^ | int mailto.c:2339:5: warning: call to undeclared function 'HeaderFputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2339 | HeaderFputs(body, fp, hdr); | ^ mailto.c:2332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2332 | EmitHeader(fp, hdr, body) | ^ mailto.c:2342:1: warning: non-void function does not return a value [-Wreturn-type] 2342 | } | ^ mailto.c:2345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2345 | firstbad(s) | ^ mailto.c:2358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2358 | firstgood(s) | ^ mailto.c:2370:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2370 | HeaderFputs(s, fp, hdr) | ^ | int mailto.c:2394:17: warning: call to undeclared function 'PutQP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2394 | PutQP(*s, fp); | ^ mailto.c:2370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2370 | HeaderFputs(s, fp, hdr) | ^ mailto.c:2407:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2407 | } | ^ mailto.c:2411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2411 | PutQP(c, fp) | ^ | int mailto.c:2411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2418:1: warning: non-void function does not return a value [-Wreturn-type] 2418 | } | ^ mailto.c:2420:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2420 | EmitHeaderWithAliases(fp, hdr, names) | ^ | int mailto.c:2427:5: warning: call to undeclared function 'EmitAddresses'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2427 | EmitAddresses(fp, names, hdr); | ^ mailto.c:2420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2420 | EmitHeaderWithAliases(fp, hdr, names) | ^ mailto.c:2429:1: warning: non-void function does not return a value [-Wreturn-type] 2429 | } | ^ mailto.c:2431:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2431 | EmitAddresses(fp, names, hdr) | ^ | int mailto.c:2440:9: warning: call to undeclared function 'DeAlias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2440 | DeAlias(names, fp, hdr); | ^ mailto.c:2431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2431 | EmitAddresses(fp, names, hdr) | ^ mailto.c:2447:1: warning: non-void function does not return a value [-Wreturn-type] 2447 | } | ^ mailto.c:2449:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2449 | DeAlias(name, fp, hdr) | ^ | int mailto.c:2449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2472:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2472 | } | ^ mailto.c:2475:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2475 | WriteCtypeNicely(fp, ct) | ^ | int mailto.c:2504:13: warning: call to undeclared function 'fputsquoting'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2504 | fputsquoting(s, fp); | ^ mailto.c:2475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2475 | WriteCtypeNicely(fp, ct) | ^ mailto.c:2508:1: warning: non-void function does not return a value [-Wreturn-type] 2508 | } | ^ mailto.c:2510:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2510 | fputsquoting(s, fp) | ^ | int mailto.c:2510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2539:1: warning: non-void function does not return a value [-Wreturn-type] 2539 | } | ^ mailto.c:2579:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2579 | controlputc(c) | ^ | int mailto.c:2579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2583:1: warning: non-void function does not return a value [-Wreturn-type] 2583 | } | ^ mailto.c:2594:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2594 | tfputs(s) | ^ | int mailto.c:2597:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2597 | tputs(s, 1, controlputc); | ^ mailto.c:2594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2594 | tfputs(s) | ^ mailto.c:2598:1: warning: non-void function does not return a value [-Wreturn-type] 2598 | } | ^ mailto.c:2600:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2600 | ContainsEightBitChar(fname) | ^ | int mailto.c:2600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2620:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2620 | SwitchToEuropean() { | ^ | int mailto.c:2629:1: warning: non-void function does not return a value [-Wreturn-type] 2629 | } | ^ 251 warnings generated. --- mailto --- rm -f mailto cc -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -o mailto mailto.o codes.o shared.o -lncurses -fstack-protector-strong rm bin/metamail rm: bin/metamail: No such file or directory (cd bin; ln -s ../metamail/metamail metamail) rm bin/mmencode rm: bin/mmencode: No such file or directory (cd bin; ln -s ../metamail/mmencode mmencode) rm bin/mimencode rm: bin/mimencode: No such file or directory (cd bin; ln -s ../metamail/mmencode mimencode) rm man/mimencode.1 rm: man/mimencode.1: No such file or directory (cd man; ln -s ../man/mmencode.1 mimencode.1) rm bin/mailto rm: bin/mailto: No such file or directory (cd bin; ln -s ../metamail/mailto mailto) rm bin/splitmail rm: bin/splitmail: No such file or directory (cd bin; ln -s ../metamail/splitmail splitmail) (cd richmail ; make CONFIGDIR=../. CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. " CC="cc" LDLIBS="-fstack-protector-strong ") --- richtext.o --- --- richlex.o --- --- richset.o --- --- usascii.o --- --- iso2022.o --- --- richtoatk.o --- --- richtext.o --- rm -f richtext.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. richtext.c --- richlex.o --- rm -f richlex.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. richlex.c --- richset.o --- rm -f richset.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. richset.c --- usascii.o --- rm -f usascii.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. usascii.c --- iso2022.o --- rm -f iso2022.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. iso2022.c --- richtoatk.o --- rm -f richtoatk.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. richtoatk.c --- richset.o --- In file included from richset.c:38: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | extern richtextreset(); | ~~~~~~ ^ | int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); | ~~~~~~ ^ | int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | extern richtextencoding( /* int encoding */ ); | ~~~~~~ ^ | int In file included from richset.c:39: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | extern charsetinit ( /* struct charsetproc *charset, char *name */ ); | ~~~~~~ ^ | int --- usascii.o --- In file included from usascii.c:38: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | extern richtextreset(); | ~~~~~~ ^ | int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); | ~~~~~~ ^ | int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | extern richtextencoding( /* int encoding */ ); | ~~~~~~ ^ | int In file included from usascii.c:39: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | extern charsetinit ( /* struct charsetproc *charset, char *name */ ); | ~~~~~~ ^ | int ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | extern charsetnameinit ( /* char *name */ ); | ~~~~~~ ^ | int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | extern charsetpush ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | extern charsetpop ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, | ~~~~~~ ^ | int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int usascii.c:44:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | usascii_init (name) | ^ | int usascii.c:48:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | richtextencoding (RICH_ENC_US_ASCII); | ^ usascii.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | usascii_init (name) | ^ usascii.c:49:1: warning: non-void function does not return a value [-Wreturn-type] 49 | } | ^ usascii.c:58:10: 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] 58 | if (!strcmp(token,"us-ascii")) { | ^ usascii.c:58:10: note: include the header or explicitly provide a declaration for 'strcmp' usascii.c:60:17: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | charsetpop (&usascii_charset); | ^ usascii.c:62:18: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | charsetpush (&usascii_charset); | ^ usascii.c:63:23: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | richtextencoding (RICH_ENC_US_ASCII); | ^ usascii.c:54:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | int usascii_command (token,negated) | ^ usascii.c:74:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | int usascii_single (token) | ^ usascii.c:83:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | int usascii_width (ch) | ^ usascii.c:92:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | int usascii_fold (ch) | ^ usascii.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | usascii_render (ch,param) | ^ | int usascii.c:105:21: 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] 105 | (*RichtextPutc) ((int)ch,param); | ^ usascii.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 | usascii_render (ch,param) | ^ usascii.c:106:1: warning: non-void function does not return a value [-Wreturn-type] 106 | } | ^ usascii.c:111:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 111 | usascii_encoding (newenc) | ^ | int usascii.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] usascii.c:115:1: warning: non-void function does not return a value [-Wreturn-type] 115 | } | ^ 29 warnings generated. --- richset.o --- ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | extern charsetnameinit ( /* char *name */ ); | ~~~~~~ ^ | int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | extern charsetpush ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | extern charsetpop ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, | ~~~~~~ ^ | int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int richset.c:62:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 62 | charsetinit (charset,name) | ^ | int richset.c:71:3: 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] 71 | ((CharacterSets[temp] == charset ? name : NULL)); | ^ richset.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 | charsetinit (charset,name) | ^ In file included from richset.c:39: ./richset.h:92: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] 92 | extern charsetinit ( /* struct charsetproc *charset, char *name */ ); | ^ richset.c:74:1: warning: non-void function does not return a value [-Wreturn-type] 74 | } | ^ richset.c:80:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 80 | charsetnameinit (name) | ^ | int richset.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] In file included from richset.c:39: ./richset.h:98: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] 98 | extern charsetnameinit ( /* char *name */ ); | ^ richset.c:109:1: warning: non-void function does not return a value [-Wreturn-type] 109 | } | ^ richset.c:114:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 114 | charsetpush (charset) | ^ | int richset.c:122:45: 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] 122 | (*(CharSets[NumCharSets - 1] -> encoding)) (-1); /* Leave current */ | ^ richset.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 | charsetpush (charset) | ^ In file included from richset.c:39: ./richset.h:103: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] 103 | extern charsetpush ( /* struct charsetproc *charset */ ); | ^ richset.c:125:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 125 | } | ^ richset.c:132:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 132 | charsetpop (charset) | ^ | int richset.c:137:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | richtextencoding (CharEncStack[NumCharSets - 1]); | ^ richset.c:138:45: 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] 138 | (*(CharSets[NumCharSets - 1] -> encoding)) (RichtextCharEncoding); | ^ richset.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | charsetpop (charset) | ^ In file included from richset.c:39: ./richset.h:110: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] 110 | extern charsetpop ( /* struct charsetproc *charset */ ); | ^ richset.c:140:1: warning: non-void function does not return a value [-Wreturn-type] 140 | } | ^ richset.c:146:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | int charsettop (charset) | ^ In file included from richset.c:39: ./richset.h:116: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] 116 | extern int charsettop ( /* struct charsetproc *charset */ ); | ^ richset.c:160:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | charmember (member,ch) | ^ | int richset.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] In file included from richset.c:39: ./richset.h:122: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] 122 | extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); | ^ richset.c:166:1: warning: non-void function does not return a value [-Wreturn-type] 166 | } | ^ richset.c:171:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 171 | charmemberspec (member,ch,charset) | ^ | int richset.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] In file included from richset.c:39: ./richset.h:127: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] 127 | extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, | ^ richset.c:178:1: warning: non-void function does not return a value [-Wreturn-type] 178 | } | ^ richset.c:183:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 183 | charmemberctrl (member,ch) | ^ | int richset.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] In file included from richset.c:39: ./richset.h:133: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] 133 | extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); | ^ richset.c:189:1: warning: non-void function does not return a value [-Wreturn-type] 189 | } | ^ richset.c:202:46: 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] 202 | if ((*(CharacterSets[temp] -> command)) (token,negated)) | ^ richset.c:196:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | int charsetcommand (token,negated) | ^ In file included from richset.c:39: ./richset.h:145: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] 145 | extern int charsetcommand ( /* char *token, int negated */ ); | ^ richset.c:217:45: 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] 217 | if ((*(CharacterSets[temp] -> single)) (token)) | ^ richset.c:212:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | int charsetsingle (token) | ^ In file included from richset.c:39: ./richset.h:150: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] 150 | extern int charsetsingle ( /* char *token */ ); | ^ 50 warnings generated. --- richtoatk.o --- In file included from richtoatk.c:17: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | extern richtextreset(); | ~~~~~~ ^ | int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); | ~~~~~~ ^ | int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | extern richtextencoding( /* int encoding */ ); | ~~~~~~ ^ | int richtoatk.c:22:10: 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] 22 | if (!strcmp(t, "fixed")) return("typewriter"); | ^ richtoatk.c:22:10: note: include the header or explicitly provide a declaration for 'strcmp' richtoatk.c:19:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | char *translate(t) | ^ richtoatk.c:28:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | main() { | ^ | int richtoatk.c:35:27: warning: passing arguments to 'richtextlex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | while((c = richtextlex(stdin,tok + 1, 0, 0)) != (RCHAR)EOF) { | ^ richtoatk.c:60:25: warning: call to undeclared function 'ignoretoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | } else if (!ignoretoken(token)) { | ^ richtoatk.c:79:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 79 | ignoretoken(t) | ^ | int richtoatk.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] richtoatk.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | controlputc(c) | ^ | int richtoatk.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] richtoatk.c:92:1: warning: non-void function does not return a value [-Wreturn-type] 92 | } | ^ richtoatk.c:94:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 94 | controloutput(s, immediate) | ^ | int richtoatk.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] richtoatk.c:98:1: warning: non-void function does not return a value [-Wreturn-type] 98 | } | ^ 16 warnings generated. --- iso2022.o --- In file included from iso2022.c:44: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | extern richtextreset(); | ~~~~~~ ^ | int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); | ~~~~~~ ^ | int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | extern richtextencoding( /* int encoding */ ); | ~~~~~~ ^ | int In file included from iso2022.c:45: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | extern charsetinit ( /* struct charsetproc *charset, char *name */ ); | ~~~~~~ ^ | int ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | extern charsetnameinit ( /* char *name */ ); | ~~~~~~ ^ | int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | extern charsetpush ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | extern charsetpop ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, | ~~~~~~ ^ | int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int iso2022.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | iso2022_init (name) | ^ | int iso2022.c:88:10: 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] 88 | if (!strncmp (name,"iso-2022-jp",11)) | ^ iso2022.c:88:10: note: include the header or explicitly provide a declaration for 'strncmp' iso2022.c:89:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | richtextencoding (RICH_ENC_JP_ASCII); | ^ iso2022.c:91:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | richtextencoding (RICH_ENC_KR_ASCII); | ^ iso2022.c:92:2: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | controloutput("\033$)C",0); | ^ iso2022.c:94:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | richtextencoding (RICH_ENC_US_ASCII); | ^ iso2022.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 | iso2022_init (name) | ^ iso2022.c:95:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 95 | } | ^ iso2022.c:105:10: 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] 105 | if (!strcmp(token,"iso-2022-jp")) { | ^ iso2022.c:105:10: note: include the header or explicitly provide a declaration for 'strcmp' iso2022.c:108:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | controloutput("\033(B",0); | ^ iso2022.c:110:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | charsetpop(&iso2022_charset); | ^ iso2022.c:113:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | charsetpush(&iso2022_charset); | ^ iso2022.c:114:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | richtextencoding(RICH_ENC_US_ASCII); | ^ iso2022.c:115:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | controloutput("\033(B",0); | ^ iso2022.c:122:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | controloutput("\017",0); | ^ iso2022.c:123:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | charsetpop(&iso2022_charset); | ^ iso2022.c:126:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | charsetpush(&iso2022_charset); | ^ iso2022.c:127:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | richtextencoding(RICH_ENC_KR_ASCII); | ^ iso2022.c:128:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | controloutput("\033$)C\017",0); | ^ iso2022.c:134:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | controloutput("\033(B",0); | ^ iso2022.c:136:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | charsetpop(&iso2022_charset); | ^ iso2022.c:139:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | charsetpush(&iso2022_charset); | ^ iso2022.c:140:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | richtextencoding(RICH_ENC_JP_ASCII); | ^ iso2022.c:141:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | controloutput("\033(J",0); | ^ iso2022.c:148:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | controloutput("\033(B",0); | ^ iso2022.c:150:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | charsetpop(&iso2022_charset); | ^ iso2022.c:153:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | charsetpush(&iso2022_charset); | ^ iso2022.c:158:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | richtextencoding((SwToOther == '@' ? RICH_ENC_JIS_1978 : | ^ iso2022.c:160:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | controloutput("\033$",0); | ^ iso2022.c:161:6: warning: call to undeclared function 'controlputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | controlputc(SwToOther); | ^ iso2022.c:167:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | controloutput("\017",0); | ^ iso2022.c:168:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | charsetpop(&iso2022_charset); | ^ iso2022.c:171:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | charsetpush(&iso2022_charset); | ^ iso2022.c:172:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | richtextencoding(RICH_ENC_KSC_5601); | ^ iso2022.c:173:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | controloutput("\033$)C\016",0); | ^ iso2022.c:183:21: warning: passing arguments to 'charsettop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | if (!charsettop(&iso2022_charset)) | ^ iso2022.c:184:19: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | charsetpush(&iso2022_charset); | ^ iso2022.c:185:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | richtextencoding((swchar == 'J' ? RICH_ENC_JP_ASCII : | ^ iso2022.c:187:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 187 | controloutput("\033(",0); | ^ iso2022.c:188:6: warning: call to undeclared function 'controlputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | controlputc(swchar); | ^ iso2022.c:192:21: warning: passing arguments to 'charsettop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | if (!charsettop(&iso2022_charset)) | ^ iso2022.c:193:19: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | charsetpush(&iso2022_charset); | ^ iso2022.c:194:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | richtextencoding((swchar == '@' ? RICH_ENC_JIS_1978 : | ^ iso2022.c:196:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | controloutput("\033$",0); | ^ iso2022.c:197:6: warning: call to undeclared function 'controlputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | controlputc(swchar); | ^ iso2022.c:206:21: warning: passing arguments to 'charsettop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | if (!charsettop(&iso2022_charset)) | ^ iso2022.c:207:19: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | charsetpush(&iso2022_charset); | ^ iso2022.c:208:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | richtextencoding(RICH_ENC_KSC_5601); | ^ iso2022.c:209:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 209 | controloutput("\016",0); | ^ iso2022.c:213:21: warning: passing arguments to 'charsettop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | if (!charsettop(&iso2022_charset)) | ^ iso2022.c:214:19: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | charsetpush(&iso2022_charset); | ^ iso2022.c:215:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | richtextencoding(RICH_ENC_KR_ASCII); | ^ iso2022.c:216:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | controloutput("\017",0); | ^ iso2022.c:100:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | int iso2022_command (token,negated) | ^ iso2022.c:227:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | int iso2022_single (token) | ^ iso2022.c:238:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | int iso2022_width (ch) | ^ iso2022.c:247:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | int iso2022_fold (ch) | ^ iso2022.c:260:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 260 | iso2022_render (ch,param) | ^ | int iso2022.c:269:19: 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] 269 | (*RichtextPutc) (033,param); | ^ iso2022.c:270:19: 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] 270 | (*RichtextPutc) ('$',param); | ^ iso2022.c:271:19: 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] 271 | (*RichtextPutc) (SwToOther,param); | ^ iso2022.c:273:19: 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] 273 | (*RichtextPutc) (SO,param); | ^ iso2022.c:276: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] 276 | (*RichtextPutc) ((int)((ch & 0xFF00) >> 8),param); | ^ iso2022.c:277: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] 277 | (*RichtextPutc) ((int)(ch & 0xFF),param); | ^ iso2022.c:283:19: 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] 283 | (*RichtextPutc) (033,param); | ^ iso2022.c:284:19: 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] 284 | (*RichtextPutc) ('(',param); | ^ iso2022.c:285:19: 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] 285 | (*RichtextPutc) (SwToAscii,param); | ^ iso2022.c:287:19: 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] 287 | (*RichtextPutc) (SI,param); | ^ iso2022.c:290:18: 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] 290 | (*RichtextPutc) ((int)(ch & 0xFF),param); | ^ iso2022.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | iso2022_render (ch,param) | ^ iso2022.c:292:1: warning: non-void function does not return a value [-Wreturn-type] 292 | } | ^ iso2022.c:297:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 297 | iso2022_encoding (newenc) | ^ | int iso2022.c:301:26: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | case RICH_ENC_US_ASCII: controloutput("\033(B",0); break; | ^ iso2022.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | iso2022_encoding (newenc) | ^ iso2022.c:309:1: warning: non-void function does not return a value [-Wreturn-type] 309 | } | ^ iso2022.c:328:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | int iso2022_fputc (ch,file) | ^ iso2022.c:375:1: warning: non-void function does not return a value [-Wreturn-type] 375 | } | ^ 87 warnings generated. --- richlex.o --- In file included from richlex.c:47: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | extern richtextreset(); | ~~~~~~ ^ | int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); | ~~~~~~ ^ | int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | extern richtextencoding( /* int encoding */ ); | ~~~~~~ ^ | int In file included from richlex.c:48: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | extern charsetinit ( /* struct charsetproc *charset, char *name */ ); | ~~~~~~ ^ | int ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | extern charsetnameinit ( /* char *name */ ); | ~~~~~~ ^ | int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | extern charsetpush ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | extern charsetpop ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, | ~~~~~~ ^ | int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int richlex.c:54: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] 54 | extern int fgetc (); | ^ /usr/include/stdio.h:255:6: note: conflicting prototype is here 255 | int fgetc(FILE *); | ^ richlex.c:55: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] 55 | extern int fputc (); | ^ /usr/include/stdio.h:260:6: note: conflicting prototype is here 260 | int fputc(int, FILE *); | ^ richlex.c:109:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | richtextreset() | ^ | int richlex.c:121:1: warning: non-void function does not return a value [-Wreturn-type] 121 | } | ^ richlex.c:127:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | static void richtextpushback(c) | ^ richlex.c:136:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | static void richtextunget(c) | ^ richlex.c:148:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | static void richtextunget2(c1,c2) | ^ richlex.c:195:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 195 | static richtextsingle(TextEnriched) | ~~~~~~ ^ | int richlex.c:198:27: warning: passing arguments to 'charsetsingle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | return (charsetsingle (NextToken) || | ^ richlex.c:195:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | static richtextsingle(TextEnriched) | ^ richlex.c:256: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] 256 | c = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:268:12: 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] 268 | if ((c = RGET(file)) == EOF) { | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:272:8: 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] 272 | c2 = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:282:12: 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 | c2 = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:292:15: 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] 292 | if ((c = RGET(file)) == '/') { | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:294:14: 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] 294 | c = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:299:14: 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] 299 | c = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:304:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | c = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:360:10: 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] 360 | c = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:362:10: 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] 362 | newc = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:364:14: 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] 364 | newc = RGET(file); /* 4-byte ESC-$-)-? sequence */ | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:365:37: warning: data argument not used by format string [-Wformat-extra-args] 365 | sprintf(token,ISO2022_CHARSET,newc); | ~~~~~~~~~~~~~~~ ^ richlex.c:371:10: 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] 371 | newc = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:391:18: 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] 391 | if ((newc = RGET(file)) == EOF) { | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:403:15: 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] 403 | int c2 = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:225:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | RCHAR richtextlex(file,token,TextEnriched, nofill) | ^ In file included from richlex.c:47: ./richlex.h:118: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] 118 | extern RCHAR richtextlex( /* void *file,char *token,int TextEnriched */ ); | ^ richlex.c:420:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 420 | static richtextoutstr(str,outparam) | ~~~~~~ ^ | int richlex.c:425:2: 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] 425 | RPUT(*str,outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:420:8: 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 richtextoutstr(str,outparam) | ^ richlex.c:428:1: warning: non-void function does not return a value [-Wreturn-type] 428 | } | ^ richlex.c:434:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 434 | richtextcorrect(inparam,outparam,TextEnriched) | ^ | int richlex.c:442:6: 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] 442 | RPUT('<',outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:444:6: 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] 444 | RPUT('>',outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:446:6: 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] 446 | RPUT('<',outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:447:6: 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] 447 | RPUT('/',outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:449:6: 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] 449 | RPUT('>',outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:451:6: 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] 451 | RPUT(RICHCH2_FIRST(c),outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:452:6: 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] 452 | RPUT(RICHCH2_SECOND(c),outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:454:6: 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] 454 | RPUT(c,outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | richtextcorrect(inparam,outparam,TextEnriched) | ^ In file included from richlex.c:47: ./richlex.h:126: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] 126 | extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); | ^ richlex.c:457:1: warning: non-void function does not return a value [-Wreturn-type] 457 | } | ^ richlex.c:463:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 463 | richtextencoding(encoding) | ^ | int richlex.c:463: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 richlex.c:47: ./richlex.h:146: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] 146 | extern richtextencoding( /* int encoding */ ); | ^ richlex.c:483:1: warning: non-void function does not return a value [-Wreturn-type] 483 | } | ^ 57 warnings generated. --- richtoatk --- cc -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -o richtoatk richtoatk.o richlex.o richset.o usascii.o iso2022.o -fstack-protector-strong --- richtext.o --- In file included from richtext.c:21: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | extern richtextreset(); | ~~~~~~ ^ | int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); | ~~~~~~ ^ | int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | extern richtextencoding( /* int encoding */ ); | ~~~~~~ ^ | int In file included from richtext.c:22: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | extern charsetinit ( /* struct charsetproc *charset, char *name */ ); | ~~~~~~ ^ | int ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | extern charsetnameinit ( /* char *name */ ); | ~~~~~~ ^ | int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | extern charsetpush ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | extern charsetpop ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, | ~~~~~~ ^ | int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int richtext.c:25: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 previous declaration [-Wdeprecated-non-prototype] 25 | extern char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ richtext.c:84:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:84:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:84:34: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:84:56: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:84:65: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:84:85: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:84:107: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:84:127: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:84:140: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:126:10: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | kill(getpid(), signum); | ^ richtext.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | cleanup(signum) | ^ richtext.c:130:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 130 | static InitSignals() { | ~~~~~~ ^ | int richtext.c:149:1: warning: non-void function does not return a value [-Wreturn-type] 149 | } | ^ richtext.c:151:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 151 | static nomemabort() { | ~~~~~~ ^ | int richtext.c:160:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | static lc2strcmp(s1, s2) | ~~~~~~ ^ | int richtext.c:160:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] richtext.c:178:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 178 | main(argc, argv) | ^ | int richtext.c:182:8: warning: call to undeclared function 'richtext_main'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | exit(richtext_main(argc, argv)); | ^ richtext.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | main(argc, argv) | ^ richtext.c:187:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 187 | richtext_main(argc, argv) | ^ | int richtext.c:337:23: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | if (UsePager && (!isatty(0) || !isatty(1) || NotTtyEnv)) { | ^ richtext.c:345:17: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 345 | if (term && tgetent(tbuf, term) != 1) { | ^ richtext.c:350:13: warning: call to undeclared function 'tgetstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | if (tgetstr("ks", &dum)) *dum = '\0'; else KS[0] = '\0'; | ^ richtext.c:372:23: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | termcolumns = tgetnum("co"); | ^ richtext.c:412:20: warning: passing arguments to 'charsetnameinit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | charsetnameinit(charsetname); | ^ richtext.c:415:24: warning: passing arguments to 'richtextcorrect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | richtextcorrect(InputFP,stdout,TextEnriched); | ^ richtext.c:418:10: warning: passing arguments to 'FPUTS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | FPUTS(KS, stdout); | ^ richtext.c:420:27: warning: passing arguments to 'richtextlex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | while((c = richtextlex(InputFP,token,TextEnriched, nofill)) != (RCHAR)EOF) { | ^ richtext.c:426:25: warning: passing arguments to 'charsetcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | if (charsetcommand (tok,negated)) | ^ richtext.c:436:32: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | if (FakeTerminal) outputstr(BoldOff); | ^ richtext.c:437:10: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 437 | else controloutput(BoldOff, 0); | ^ richtext.c:442:43: warning: passing arguments to 'ResetTerminalCodes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | ResetTerminalCodes(FakeTerminal, standout, underline, | ^ richtext.c:486:39: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | if (!atstart) OUTC('\n'); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:501:32: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | if (FakeTerminal) outputstr(standendbuf); | ^ richtext.c:502:10: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 502 | else controloutput(standendbuf, 0); | ^ richtext.c:507:43: warning: passing arguments to 'ResetTerminalCodes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | ResetTerminalCodes(FakeTerminal, standout, underline, bold, | ^ richtext.c:523:4: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | OUTC('\n'); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:529:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | OUTC('<'); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:534:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | OUTC('\n'); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:542:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | OUTC('\n'); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:543:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | OUTC('\014'); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:564:38: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | if (negated) OUTC('\n'); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:565:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | OUTC('\n'); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:570:20: warning: passing arguments to 'richtextlex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | c = richtextlex(InputFP,token,TextEnriched, nofill); | ^ richtext.c:595:39: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | if (!atstart) OUTC('\n'); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:603:32: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | if (FakeTerminal) outputstr(StopUnderline); | ^ richtext.c:604:10: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 604 | else controloutput(StopUnderline,0); | ^ richtext.c:609:43: warning: passing arguments to 'ResetTerminalCodes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | ResetTerminalCodes(FakeTerminal, standout, underline, bold, | ^ richtext.c:620:5: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | OUTC(tempc); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:624:5: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | OUTC('<'); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:637:12: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | OUTC(token[i]); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:648:3: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | OUTC(c); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:650:17: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | OUTC(' '); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:654:13: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | OUTC(c); | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:659:9: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 659 | controloutput(standendbuf, 0); | ^ richtext.c:662:5: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | OUTC('\n'); /* for good measure */ | ^ richtext.c:86:26: note: expanded from macro 'OUTC' 86 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:663:10: warning: passing arguments to 'FPUTS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | FPUTS(KE, stdout); | ^ richtext.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 | richtext_main(argc, argv) | ^ richtext.c:674:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 674 | controlputc(c) | ^ | int richtext.c:677:20: warning: passing arguments to 'charmemberctrl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | charmemberctrl (&OutputBuf[PendingOutput],(RCHAR)c); | ^ richtext.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | controlputc(c) | ^ richtext.c:49: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] 49 | int controlputc(); | ^ richtext.c:680:1: warning: non-void function does not return a value [-Wreturn-type] 680 | } | ^ richtext.c:682:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 682 | static immediate_controlputc(c) | ~~~~~~ ^ | int richtext.c:685:21: 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] 685 | (*RichtextPutc) (c, stdout); | ^ richtext.c:682:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | static immediate_controlputc(c) | ^ richtext.c:686:1: warning: non-void function does not return a value [-Wreturn-type] 686 | } | ^ richtext.c:688:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 688 | controloutput(s, immediate) | ^ | int richtext.c:692:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 692 | tputs(s, 1, immediate ? immediate_controlputc : controlputc); | ^ richtext.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | controloutput(s, immediate) | ^ richtext.c:693:1: warning: non-void function does not return a value [-Wreturn-type] 693 | } | ^ richtext.c:695:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 695 | static folding_point (buf, pos) | ~~~~~~ ^ | int richtext.c:701: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] 701 | if (!charisctrl (buf[i]) && charmemberfold (buf[i])) | ^ ./richset.h:162:34: note: expanded from macro 'charmemberfold' 162 | ((*((member).charfold)) ((member).ch)) | ^ richtext.c:695:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | static folding_point (buf, pos) | ^ richtext.c:707:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 707 | static calc_column (buf, pos) | ~~~~~~ ^ | int richtext.c:715:17: 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] 715 | col += charmemberwidth (*s); | ^ ./richset.h:156:35: note: expanded from macro 'charmemberwidth' 156 | ((*((member).charwidth)) ((member).ch)) | ^ richtext.c:707:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | static calc_column (buf, pos) | ^ richtext.c:722:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 722 | static FlushOut() { | ~~~~~~ ^ | int richtext.c:752:20: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | charmember (&OutputBuf[PendingOutput],(RCHAR)'\n'); | ^ richtext.c:771:25: warning: passing arguments to 'fputsmovingright' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | fputsmovingright(OutputBuf, stdout); | ^ richtext.c:778:25: warning: passing arguments to 'fputsmovingright' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | fputsmovingright(s, stdout); | ^ richtext.c:787:25: warning: passing arguments to 'fputsmovingright' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | fputsmovingright(OutputBuf, stdout); | ^ richtext.c:791:25: warning: passing arguments to 'fputsmovingright' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | fputsmovingright(OutputBuf, stdout); | ^ richtext.c:804:24: warning: passing arguments to 'realoutputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | realoutputc(NewOutputBuf[j], 1); | ^ richtext.c:807:23: warning: passing arguments to 'ResetTerminalCodes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | ResetTerminalCodes(FakeTerminal, standout, underline, bold, | ^ richtext.c:810:1: warning: non-void function does not return a value [-Wreturn-type] 810 | } | ^ richtext.c:812:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 812 | static outputc(c) | ~~~~~~ ^ | int richtext.c:816:16: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | charmember (&member,c); | ^ richtext.c:817:16: warning: passing arguments to 'realoutputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | realoutputc(member, 0); | ^ richtext.c:812:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | static outputc(c) | ^ richtext.c:84: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] 84 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ^ richtext.c:818:1: warning: non-void function does not return a value [-Wreturn-type] 818 | } | ^ richtext.c:820:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 820 | static realoutputc(c, alreadyformatted) | ~~~~~~ ^ | int richtext.c:827:17: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | charmember (&OutputBuf[PendingOutput],(RCHAR)'\n'); | ^ richtext.c:833:21: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | charmember (&OutputBuf[PendingOutput],(RCHAR)'\n'); | ^ richtext.c:839:25: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | charmember (&OutputBuf[PendingOutput],(RCHAR)' '); | ^ richtext.c:850:29: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | charmember (&OutputBuf[PendingOutput],(RCHAR)'>'); | ^ richtext.c:855:29: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | charmember (&OutputBuf[PendingOutput],(RCHAR)'+'); | ^ richtext.c:860:29: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | charmember (&OutputBuf[PendingOutput],(RCHAR)' '); | ^ richtext.c:866:25: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | charmember (&OutputBuf[PendingOutput],(RCHAR)'_'); | ^ richtext.c:871: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] 871 | linepos += charmemberwidth (c); | ^ ./richset.h:156:35: note: expanded from macro 'charmemberwidth' 156 | ((*((member).charwidth)) ((member).ch)) | ^ richtext.c:820:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | static realoutputc(c, alreadyformatted) | ^ richtext.c:84: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] 84 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ^ richtext.c:890:1: warning: non-void function does not return a value [-Wreturn-type] 890 | } | ^ richtext.c:892:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 892 | static MakeWorkingMargins() { | ~~~~~~ ^ | int richtext.c:904:1: warning: non-void function does not return a value [-Wreturn-type] 904 | } | ^ richtext.c:906:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 906 | static Pause() | ~~~~~~ ^ | int richtext.c:915:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 915 | } | ^ richtext.c:920:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 920 | static fputsmovingright(s, fp) | ~~~~~~ ^ | int richtext.c:932:26: 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] 932 | (*RichtextPutc) ((int)(s -> ch), fp); | ^ richtext.c:934:7: 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] 934 | charmemberrender (*s, fp); | ^ ./richset.h:168:36: note: expanded from macro 'charmemberrender' 168 | ((*((member).charrender)) ((member).ch,param)) | ^ richtext.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 fputsmovingright(s, fp) | ^ richtext.c:84:65: warning: a function declaration without a prototype is 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 outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ^ richtext.c:938:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 938 | } | ^ richtext.c:942:38: warning: parameter 'modifiedbold' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 942 | BoldOn, BoldOff, modifiedbold) | ^ 943 | char *standoutbuf, *standendbuf, *StartUnderline, *StopUnderline, 944 | *BoldOn, *BoldOff; 945 | { richtext.c:941:70: warning: parameter 'modifiedunderline' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 941 | modifiedstandout, StartUnderline, StopUnderline, modifiedunderline, | ^ 942 | BoldOn, BoldOff, modifiedbold) 943 | char *standoutbuf, *standendbuf, *StartUnderline, *StopUnderline, 944 | *BoldOn, *BoldOff; 945 | { richtext.c:941:21: warning: parameter 'modifiedstandout' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 941 | modifiedstandout, StartUnderline, StopUnderline, modifiedunderline, | ^ 942 | BoldOn, BoldOff, modifiedbold) 943 | char *standoutbuf, *standendbuf, *StartUnderline, *StopUnderline, 944 | *BoldOn, *BoldOff; 945 | { richtext.c:940:62: warning: parameter 'bold' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 940 | static ResetTerminalCodes(FakeTerminal, standout, underline, bold, standoutbuf, standendbuf, | ^ 941 | modifiedstandout, StartUnderline, StopUnderline, modifiedunderline, 942 | BoldOn, BoldOff, modifiedbold) 943 | char *standoutbuf, *standendbuf, *StartUnderline, *StopUnderline, 944 | *BoldOn, *BoldOff; 945 | { richtext.c:940:51: warning: parameter 'underline' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 940 | static ResetTerminalCodes(FakeTerminal, standout, underline, bold, standoutbuf, standendbuf, | ^ 941 | modifiedstandout, StartUnderline, StopUnderline, modifiedunderline, 942 | BoldOn, BoldOff, modifiedbold) 943 | char *standoutbuf, *standendbuf, *StartUnderline, *StopUnderline, 944 | *BoldOn, *BoldOff; 945 | { richtext.c:940:41: warning: parameter 'standout' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 940 | static ResetTerminalCodes(FakeTerminal, standout, underline, bold, standoutbuf, standendbuf, | ^ 941 | modifiedstandout, StartUnderline, StopUnderline, modifiedunderline, 942 | BoldOn, BoldOff, modifiedbold) 943 | char *standoutbuf, *standendbuf, *StartUnderline, *StopUnderline, 944 | *BoldOn, *BoldOff; 945 | { richtext.c:940:27: warning: parameter 'FakeTerminal' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 940 | static ResetTerminalCodes(FakeTerminal, standout, underline, bold, standoutbuf, standendbuf, | ^ 941 | modifiedstandout, StartUnderline, StopUnderline, modifiedunderline, 942 | BoldOn, BoldOff, modifiedbold) 943 | char *standoutbuf, *standendbuf, *StartUnderline, *StopUnderline, 944 | *BoldOn, *BoldOff; 945 | { richtext.c:940:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 940 | static ResetTerminalCodes(FakeTerminal, standout, underline, bold, standoutbuf, standendbuf, | ~~~~~~ ^ | int richtext.c:953:61: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | if (modifiedstandout && standout == 1) outputstr(standoutbuf); | ^ richtext.c:958:53: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | if (modifiedbold && bold == 1) outputstr(BoldOn); | ^ richtext.c:963:63: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | if (modifiedunderline && underline == 1) outputstr(StartUnderline); | ^ richtext.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 ResetTerminalCodes(FakeTerminal, standout, underline, bold, standoutbuf, standendbuf, | ^ richtext.c:84:85: warning: a function declaration without a prototype is 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 outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ^ richtext.c:966:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 966 | } | ^ richtext.c:968:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 968 | static FinalizeTerminal() { | ~~~~~~ ^ | int richtext.c:969:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 969 | tputs(standendbuf, 1, immediate_controlputc); | ^ richtext.c:972:10: warning: passing arguments to 'FPUTS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | FPUTS(KE, stdout); | ^ richtext.c:973:1: warning: non-void function does not return a value [-Wreturn-type] 973 | } | ^ richtext.c:975:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 975 | static outputstr(s) | ~~~~~~ ^ | int richtext.c:975:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] richtext.c:84:127: warning: a function declaration without a prototype is 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 outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ^ richtext.c:979:1: warning: non-void function does not return a value [-Wreturn-type] 979 | } | ^ richtext.c:997:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 997 | static FPUTS(s,fp) | ~~~~~~ ^ | int richtext.c:1001: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] 1001 | while(*s) (*RichtextPutc)((int)(*s++),fp); | ^ richtext.c:997:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | static FPUTS(s,fp) | ^ richtext.c:84:140: warning: a function declaration without a prototype is 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 outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); | ^ richtext.c:1002:1: warning: non-void function does not return a value [-Wreturn-type] 1002 | } | ^ richtext.c:1005:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1005 | static lc2strncmp(s1, s2, len) | ~~~~~~ ^ | int richtext.c:1005:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 warnings generated. --- richtext --- cc -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -o richtext richtext.o richlex.o richset.o usascii.o iso2022.o -lncurses -fstack-protector-strong rm bin/richtext rm: bin/richtext: No such file or directory (cd bin; ln -s ../richmail/richtext richtext) rm bin/richtoatk rm: bin/richtoatk: No such file or directory (cd bin; ln -s ../richmail/richtoatk richtoatk) rm bin/shownonascii rm: bin/shownonascii: No such file or directory rm bin/mailto-hebrew rm: bin/mailto-hebrew: No such file or directory =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for metamail-2.7_16 ===> Generating temporary packing list (cd metamail ; make CONFIGDIR=../. CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. " CC="cc" LDLIBS="-fstack-protector-strong ") rm bin/metamail (cd bin; ln -s ../metamail/metamail metamail) rm bin/mmencode (cd bin; ln -s ../metamail/mmencode mmencode) rm bin/mimencode (cd bin; ln -s ../metamail/mmencode mimencode) rm man/mimencode.1 (cd man; ln -s ../man/mmencode.1 mimencode.1) rm bin/mailto (cd bin; ln -s ../metamail/mailto mailto) rm bin/splitmail (cd bin; ln -s ../metamail/splitmail splitmail) (cd richmail ; make CONFIGDIR=../. CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. " CC="cc" LDLIBS="-fstack-protector-strong ") rm bin/richtext (cd bin; ln -s ../richmail/richtext richtext) rm bin/richtoatk (cd bin; ln -s ../richmail/richtoatk richtoatk) rm bin/shownonascii rm: bin/shownonascii: No such file or directory *** Error code 1 (ignored) rm bin/mailto-hebrew rm: bin/mailto-hebrew: No such file or directory installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/audiocompose installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/audiosend installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/extcompose installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/getfilename installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/mailserver installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/mailto installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/metamail installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/metasend installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/mimencode installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/mmencode installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/patch-metamail installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/rcvAppleSingle installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/richtext installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/richtoatk installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showaudio installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showaudio.orig installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showexternal installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showexternal.orig installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showpartial installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showpartial.orig installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showpicture installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showpicture.orig installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/sndAppleSingle installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/splitmail installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/sun-audio-file installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/sun-message.csh installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/sun-to-mime installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/sun2mime installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/sun2mime.orig installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/audiocompose.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/audiosend.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/extcompose.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/getfilename.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/mailto-hebrew.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/mailto.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/metamail.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/metasend.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/mime.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/mimencode.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/mmencode.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/patch-metamail.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/richtext.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/showaudio.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/showexternal.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/shownonascii.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/showpartial.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/showpicture.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man1/splitmail.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/share/man/man4/mailcap.4 installing file /usr/local/etc/mailcap *** Error code 1 (ignored) cp mailcap /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/etc /bin/mv /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/etc/mailcap /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/etc/mailcap.sample ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-06-08T21:30:09+00:00' 'PKG_NOTE_ports_top_git_hash=9845af890dd7' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=f139e51116d4' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20250209' PKG_NO_VERSION_FOR_DEPS=1 NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for metamail-2.7_16 ===> Building metamail-2.7_16 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for metamail-2.7_16 build of mail/metamail | metamail-2.7_16 ended at 2025-06-08T16:30:13-05:00 build time: 00:00:05