=>> Building news/trn build started at Wed Jan 21 11:17:56 EST 2026 port directory: /usr/ports/news/trn package name: trn-3.6_1 building for: FreeBSD pkg.DaveG.ca 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 1403000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 603 Aug 27 2024 /usr/ports/news/trn/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: b68745b6b67c Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1403000 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE-p7 1403000 UNAME_r=14.3-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_3_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- -S --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PREFIX="/usr/local" LDFLAGS=" " XDG_DATA_HOME=/wrkdirs/usr/ports/news/trn/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/news/trn/work XDG_CACHE_HOME=/wrkdirs/usr/ports/news/trn/work/.cache HOME=/wrkdirs/usr/ports/news/trn/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/news/trn/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/news/trn/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/news/trn/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/news/trn/work XDG_CACHE_HOME=/wrkdirs/usr/ports/news/trn/work/.cache HOME=/wrkdirs/usr/ports/news/trn/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/news/trn/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/news/trn/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/trn" EXAMPLESDIR="share/examples/trn" DATADIR="share/trn" WWWDIR="www/trn" ETCDIR="etc/trn" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/trn DOCSDIR=/usr/local/share/doc/trn EXAMPLESDIR=/usr/local/share/examples/trn WWWDIR=/usr/local/www/trn ETCDIR=/usr/local/etc/trn --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The trn port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> trn-3.6_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> trn-3.6_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of trn-3.6_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The trn port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by trn-3.6_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The trn port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by trn-3.6_1 for building => SHA256 Checksum OK for trn-3.6.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The trn port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by trn-3.6_1 for building ===> Extracting for trn-3.6_1 => SHA256 Checksum OK for trn-3.6.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for trn-3.6_1 ===> Applying FreeBSD patches for trn-3.6_1 from /usr/ports/news/trn/files /usr/bin/sed -i.bak 's/$install/\\${DESTDIR}&/' /wrkdirs/usr/ports/news/trn/work/trn-3.6/Makefile.SH =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> trn-3.6_1 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> trn-3.6_1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of trn-3.6_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for trn-3.6_1 Fetching answers from config.sh... Doing variable substitutions on .SH files... Extracting Makefile (with variable substitutions) Extracting Pnews (with variable substitutions) Extracting Policy.sh (with variable substitutions) Extracting Rnmail (with variable substitutions) Extracting Speller (with variable substitutions) Extracting config.h (with variable substitutions) Extracting filexp (with variable substitutions) Extracting makedepend (with variable substitutions) Extracting makedir (with variable substitutions) Extracting mbox.saver (with variable substitutions) Extracting newsetup (with variable substitutions) Extracting newsgroups (with variable substitutions) Extracting newsnews (with variable substitutions) Extracting norm.saver (with variable substitutions) Done. =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for trn-3.6_1 --- addng.o --- --- art.o --- --- artio.o --- --- artsrch.o --- --- autosub.o --- --- backpage.o --- --- bits.o --- --- cache.o --- --- charsubst.o --- --- decode.o --- --- edit_dist.o --- --- final.o --- --- hash.o --- --- head.o --- --- help.o --- --- init.o --- --- intrp.o --- --- kfile.o --- --- last.o --- --- ng.o --- --- ngdata.o --- --- nghash.o --- --- ngsrch.o --- --- ngstuff.o --- --- nntp.o --- --- nntpauth.o --- --- nntpclient.o --- --- nntpinit.o --- --- nntplist.o --- --- only.o --- --- parsedate.o --- --- rcln.o --- --- rcstuff.o --- --- respond.o --- --- rt-mt.o --- --- rt-ov.o --- --- rt-page.o --- --- rt-process.o --- --- rt-select.o --- --- rt-util.o --- --- rt-wumpus.o --- --- rthread.o --- --- search.o --- --- sw.o --- --- term.o --- --- trn-artchk.o --- --- trn.o --- --- unship.o --- --- util.o --- --- util2.o --- --- uudecode.o --- --- addng.o --- cc -c -O addng.c --- art.o --- cc -c -O art.c --- artio.o --- cc -c -O artio.c --- artsrch.o --- cc -c -O artsrch.c --- autosub.o --- cc -c -O autosub.c --- backpage.o --- cc -c -O backpage.c --- bits.o --- cc -c -O bits.c --- cache.o --- cc -c -O cache.c --- charsubst.o --- cc -c -O charsubst.c --- decode.o --- cc -c -O decode.c --- edit_dist.o --- cc -c -O edit_dist.c --- final.o --- cc -c -O final.c --- hash.o --- cc -c -O hash.c --- head.o --- cc -c -O head.c --- help.o --- cc -c -O help.c --- init.o --- cc -c -O init.c --- intrp.o --- cc -c -O intrp.c --- kfile.o --- cc -c -O kfile.c --- last.o --- cc -c -O last.c --- ng.o --- cc -c -O ng.c --- ngdata.o --- cc -c -O ngdata.c --- nghash.o --- cc -c -O nghash.c --- ngsrch.o --- cc -c -O ngsrch.c --- ngstuff.o --- cc -c -O ngstuff.c --- nntp.o --- cc -c -O nntp.c --- nntpauth.o --- cc -c -O nntpauth.c --- nntpclient.o --- cc -c -O nntpclient.c --- nntpinit.o --- cc -c -O nntpinit.c --- nntplist.o --- cc -c -O nntplist.c --- only.o --- cc -c -O only.c --- parsedate.o --- yacc -d parsedate.y yacc: 6 shift/reduce conflicts. cc -O -c y.tab.c -o parsedate.o --- rcln.o --- cc -c -O rcln.c --- rcstuff.o --- cc -c -O rcstuff.c --- respond.o --- cc -c -O respond.c --- rt-mt.o --- cc -c -O rt-mt.c --- rt-ov.o --- cc -c -O rt-ov.c --- rt-page.o --- cc -c -O rt-page.c --- rt-process.o --- cc -c -O rt-process.c --- rt-select.o --- cc -c -O rt-select.c --- rt-util.o --- cc -c -O rt-util.c --- rthread.o --- cc -c -O rthread.c --- search.o --- cc -c -O search.c --- sw.o --- cc -c -O sw.c --- term.o --- cc -c -O term.c --- trn-artchk.o --- cc -c -O trn-artchk.c --- trn.o --- cc -c -O trn.c --- unship.o --- cc -c -O unship.c --- util.o --- cc -c -O util.c --- rt-wumpus.o --- cc -c -O rt-wumpus.c --- uudecode.o --- cc -c -O uudecode.c --- util2.o --- cc -c -O util2.c --- autosub.o --- autosub.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | auto_subscribe(ng) | ^ autosub.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | matchlist(patlist, s) | ^ autosub.c:62:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 62 | if(p = index(patlist, ',')) *p = '\0'; | ~~^~~~~~~~~~~~~~~~~~~~~ autosub.c:62:7: note: place parentheses around the assignment to silence this warning 62 | if(p = index(patlist, ',')) *p = '\0'; | ^ | ( ) autosub.c:62:7: note: use '==' to turn this assignment into an equality comparison 62 | if(p = index(patlist, ',')) *p = '\0'; | ^ | == 3 warnings generated. --- last.o --- In file included from last.c:18: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int last.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | last_init(tcbuf) | ^ 2 warnings generated. --- artio.o --- artio.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | artopen(artnum) | ^ 1 warning generated. --- nntpinit.o --- nntpinit.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | server_init(server) | ^ nntpinit.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 | get_tcp_socket(server) | ^ nntpinit.c:128:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 128 | struct servent *getservbyname(), *sp; | ^ /usr/include/netdb.h:244:17: note: conflicting prototype is here 244 | struct servent *getservbyname(const char *, const char *); | ^ nntpinit.c:129:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 129 | struct hostent *gethostbyname(), *hp; | ^ /usr/include/netdb.h:235:17: note: conflicting prototype is here 235 | struct hostent *gethostbyname(const char *); | ^ nntpinit.c:188:37: warning: call to undeclared function 'inet_ntoa'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | fprintf(stderr, "trying %s\n", inet_ntoa(sin.sin_addr)); | ^ nntpinit.c:188:37: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 188 | fprintf(stderr, "trying %s\n", inet_ntoa(sin.sin_addr)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~ | %d nntpinit.c:192:47: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 192 | fprintf(stderr, "connection to %s: ", inet_ntoa(sin.sin_addr)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~ | %d 7 warnings generated. --- addng.o --- In file included from addng.c:18: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int addng.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | newlist(munged,checkinlist) | ^ addng.c:74:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 74 | if (s = index(buf,' ')) { | ~~^~~~~~~~~~~~~~~~ addng.c:74:8: note: place parentheses around the assignment to silence this warning 74 | if (s = index(buf,' ')) { | ^ | ( ) addng.c:74:8: note: use '==' to turn this assignment into an equality comparison 74 | if (s = index(buf,' ')) { | ^ | == 3 warnings generated. --- backpage.o --- backpage.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 | vrdary(indx) | ^ backpage.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] 79 | vwtary(indx,newvalue) | ^ 2 warnings generated. --- nntpauth.o --- nntpauth.c:54:2: warning: call to undeclared function 'finalize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | finalize(1); | ^ nntpauth.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | nntp_handle_auth_err(strict) | ^ 2 warnings generated. --- help.o --- In file included from help.c:18: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int help.c:233:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 233 | if (cmd = print_lines("\ | ~~~~^~~~~~~~~~~~~~~~ 234 | Newsgroup Selection commands:\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | ",STANDOUT) ) | ~~~~~~~~~~~ help.c:233:13: note: place parentheses around the assignment to silence this warning 233 | if (cmd = print_lines("\ | ^ | ( 234 | Newsgroup Selection commands:\n\ 235 | ",STANDOUT) ) | ) help.c:233:13: note: use '==' to turn this assignment into an equality comparison 233 | if (cmd = print_lines("\ | ^ | == help.c:296:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 296 | if (cmd = get_anything()) | ~~~~^~~~~~~~~~~~~~~~ help.c:296:13: note: place parentheses around the assignment to silence this warning 296 | if (cmd = get_anything()) | ^ | ( ) help.c:296:13: note: use '==' to turn this assignment into an equality comparison 296 | if (cmd = get_anything()) | ^ | == 3 warnings generated. --- only.o --- only.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | setngtodo(pat) | ^ only.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | inlist(ngnam) | ^ 2 warnings generated. --- charsubst.o --- charsubst.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | putsubstchar(c, limit, outputok) | ^ charsubst.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | strcharsubst(inb, outb) | ^ charsubst.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | Latin1toASCII(iso, asc, t) | ^ 3 warnings generated. --- ngsrch.o --- In file included from ngsrch.c:21: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int ngsrch.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | ng_search(patbuf,get_cmd) | ^ ngsrch.c:102:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 102 | else | ^ ngsrch.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | ng_comp(compex,pattern,RE,fold) | ^ 4 warnings generated. --- edit_dist.o --- edit_dist.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | view_costs(ins, del, ch, swap) | ^ edit_dist.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 | set_costs(ins, del, ch, swap) | ^ edit_dist.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | edit_distn(from, from_len, to, to_len) | ^ 3 warnings generated. --- util2.o --- util2.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | instr(big, little, case_matters) | ^ util2.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 | export(nam,val) | ^ util2.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | envix(nam) | ^ 3 warnings generated. --- nntplist.o --- nntplist.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | main(argc, argv) | ^ nntplist.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | finalize(num) | ^ nntplist.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | nntp_handle_timeout(strict) | ^ nntplist.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | safemalloc(size) | ^ nntplist.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | saferealloc(where,size) | ^ 5 warnings generated. --- init.o --- In file included from init.c:22: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int init.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | initialize(argc,argv) | ^ 2 warnings generated. --- ngdata.o --- In file included from ngdata.c:19: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int ngdata.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | grow_ng(newlast) | ^ ngdata.c:192:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | clear(); | ^ ./term.h:180:17: note: expanded from macro 'clear' 180 | #define clear() tputs(CL,LINES,putchr) FLUSH | ^ ngdata.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | getngsize(num) | ^ 4 warnings generated. --- nntpclient.o --- nntpclient.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | nntp_connect(verbose) | ^ nntpclient.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] 94 | nntp_command(buf) | ^ nntpclient.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | nntp_check(strict) | ^ nntpclient.c:147:51: warning: passing arguments to 'instr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | if (atoi(ser_line) == NNTP_TMPERR_VAL && instr(ser_line,"timeout",FALSE)) { | ^ nntpclient.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | nntp_gets(buf, len) | ^ nntpclient.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | nntp_close(send_quit) | ^ 6 warnings generated. --- nntplist --- cc nntplist.o util2.o nntpinit.o nntpclient.o nntpauth.o -o nntplist -lncurses -lm --- hash.o --- hash.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | hashcreate(size, cmpfunc) | ^ hash.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | hashdestroy(tbl) | ^ hash.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] 82 | hashstore(tbl, key, keylen, data) | ^ hash.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | hashdelete(tbl, key, keylen) | ^ hash.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | hashfetch(tbl, key, keylen) | ^ hash.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | hashstorelast(data) | ^ hash.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | hashwalk(tbl, nodefunc, extra) | ^ hash.c:180: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] 180 | (*nodefunc)(&hp->he_data, extra); | ^ hash.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | hashfind(tbl, key, keylen) | ^ hash.c:205:48: 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] 205 | if (hp->he_keylen == keylen && !(*tbl->ht_cmp)(key, keylen, hp->he_data)) | ^ hash.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | hash(key, keylen) | ^ hash.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | default_cmp(key, keylen, data) | ^ hash.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | hefree(hp) /* free a hash entry */ | ^ 13 warnings generated. --- nghash.o --- In file included from nghash.c:20: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int nghash.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | findact(outbuf, nam, len, suggestion) | ^ nghash.c:264:12: warning: call to undeclared function 'get_near_miss'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | ret = get_near_miss(); | ^ nghash.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | check_distance(data, ngnum) | ^ nghash.c:288:13: warning: call to undeclared function 'edit_distn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 288 | value = edit_distn(ngname, strlen(ngname), data->dat_ptr, len); | ^ 5 warnings generated. --- final.o --- final.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | finalize(status) | ^ final.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | int_catcher(dummy) | ^ final.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | sig_catcher(signo) | ^ final.c:202:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 202 | ELSE | ^ ./common.h:345:15: note: expanded from macro 'ELSE' 345 | # define ELSE else | ^ final.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | stop_catcher(signo) | ^ final.c:231:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | clear(); | ^ ./term.h:180:17: note: expanded from macro 'clear' 180 | #define clear() tputs(CL,LINES,putchr) FLUSH | ^ 6 warnings generated. --- util.o --- util.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | doshell(shl,s) | ^ util.c:84:17: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | while ((w = wait(&status)) != pid) | ^ util.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | safemalloc(size) | ^ util.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | saferealloc(where,size) | ^ util.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | safecpy(to,from,len) | ^ util.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | safecat(to,from,len) | ^ util.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | cpytill(to,from,delim) | ^ util.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | get_a_line(buffer,buffer_length,realloc_ok,fp) | ^ util.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | savestr(str) | ^ util.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | makedir(dirname,nametype) | ^ util.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | notincl(feature) | ^ util.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 | getval(nam,def) | ^ util.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | growstr(strptr,curlen,newlen) | ^ util.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | setdef(buffer,dflt) | ^ util.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | safelink(old, new) | ^ 15 warnings generated. --- rt-ov.o --- In file included from rt-ov.c:10: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int rt-ov.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | ov_data(first, last, cheating) | ^ rt-ov.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | ov_parse(line, artnum) | ^ rt-ov.c:254:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 254 | else | ^ 4 warnings generated. --- nntp.o --- In file included from nntp.c:12: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int nntp.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | nntp_list(type, arg, len) | ^ nntp.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | nntp_group(group, num) | ^ nntp.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | nntp_stat(artnum) | ^ nntp.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | nntp_stat_id(msgid) | ^ nntp.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | nntp_header(artnum) | ^ nntp.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | nntp_body(artnum) | ^ nntp.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | nntp_copybody(s, limit, pos) | ^ nntp.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | nntp_finishbody(bmode) | ^ nntp.c:234:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 234 | carriage_return(); | ^ ./term.h:193:27: note: expanded from macro 'carriage_return' 193 | #define carriage_return() tputs(CR,1,putchr) FLUSH | ^ nntp.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | nntp_seekart(pos) | ^ nntp.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | nntp_readart(s, limit) | ^ nntp.c:296:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 296 | nntp_command("XDATE" + (CompliantServer? 0 : 1)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c:296:26: note: use array indexing to silence this warning 296 | nntp_command("XDATE" + (CompliantServer? 0 : 1)); | ^ | & [ ] nntp.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | nntp_newgroups(t) | ^ nntp.c:353:31: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 353 | nntp_command("XLISTGROUP" + (CompliantServer? 0 : 1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c:353:31: note: use array indexing to silence this warning 353 | nntp_command("XLISTGROUP" + (CompliantServer? 0 : 1)); | ^ | & [ ] nntp.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | nntp_handle_timeout(strict) | ^ nntp.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | nntp_read(buf, n) | ^ 17 warnings generated. --- head.o --- head.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | set_line_type(bufptr,colon) | ^ head.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | start_header(artnum) | ^ head.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | parseline(art_buf,newhide,oldhide) | ^ head.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | parseheader(artnum) | ^ head.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | fetchlines(artnum,which_line) | ^ head.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | prefetchlines(artnum,which_line,copy) | ^ 6 warnings generated. --- artsrch.o --- artsrch.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | art_search(patbuf,patbufsiz,get_cmd) | ^ artsrch.c:217:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 217 | else | ^ artsrch.c:285:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 285 | else | ^ artsrch.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | wanted(compex, artnum, scope) | ^ 4 warnings generated. --- trn-artchk.o --- trn-artchk.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | main(argc, argv) | ^ trn-artchk.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | nntp_handle_timeout(strict) | ^ trn-artchk.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | finalize(num) | ^ trn-artchk.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | safemalloc(size) | ^ trn-artchk.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | saferealloc(where,size) | ^ 5 warnings generated. --- uudecode.o --- uudecode.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | uudecode(in) | ^ uudecode.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | decode_line(buff) | ^ uudecode.c:322:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 322 | else | ^ uudecode.c:333:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 333 | } else if (first) { | ^ uudecode.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | gettable(in) | ^ uudecode.c:441:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 441 | while (c = *cpt) { | ~~^~~~~~ uudecode.c:441:11: note: place parentheses around the assignment to silence this warning 441 | while (c = *cpt) { | ^ | ( ) uudecode.c:441:11: note: use '==' to turn this assignment into an equality comparison 441 | while (c = *cpt) { | ^ | == 6 warnings generated. --- trn-artchk --- --- rcln.o --- rcln.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | catch_up(ngx, leave_count) | ^ rcln.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 | addartnum(artnum,ngnam) | ^ rcln.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | set_toread(ngnum) | ^ rcln.c:363:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 363 | else if (newmax = atol(s)) | ~~~~~~~^~~~~~~~~ rcln.c:363:18: note: place parentheses around the assignment to silence this warning 363 | else if (newmax = atol(s)) | ^ | ( ) --- kfile.o --- In file included from kfile.c:27: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int kfile.c:68:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | standout(); | ^ ./term.h:189:20: note: expanded from macro 'standout' 189 | #define standout() tputs(SO,1,putchr) FLUSH | ^ kfile.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | mention(str) | ^ kfile.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | do_kfile(kfp,entering) | ^ --- rcln.o --- rcln.c:363:18: note: use '==' to turn this assignment into an equality comparison 363 | else if (newmax = atol(s)) | ^ | == rcln.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 | checkexpired(ngnum,a1st) | ^ 5 warnings generated. --- kfile.o --- kfile.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | kill_unwanted(starting,message,entering) | ^ kfile.c:270:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | clear(); | ^ ./term.h:180:17: note: expanded from macro 'clear' 180 | #define clear() tputs(CL,LINES,putchr) FLUSH | ^ kfile.c:295:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 295 | ELSE | ^ ./common.h:345:15: note: expanded from macro 'ELSE' 345 | # define ELSE else | ^ kfile.c:311:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | static void write_thread_commands(data, extra) | ^ kfile.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | rewrite_kfile(thru) | ^ kfile.c:360:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 360 | else if (newkfp = fopen(buf,"w")) { | ~~~~~~~^~~~~~~~~~~~~~~~ kfile.c:360:21: note: place parentheses around the assignment to silence this warning 360 | else if (newkfp = fopen(buf,"w")) { | ^ | ( ) kfile.c:360:21: note: use '==' to turn this assignment into an equality comparison 360 | else if (newkfp = fopen(buf,"w")) { | ^ | == kfile.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | open_kfile(local) | ^ kfile.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | kf_append(cmd) | ^ 12 warnings generated. --- trn-artchk --- cc trn-artchk.o util2.o nntpinit.o nntpclient.o nntpauth.o -o trn-artchk -lncurses -lm --- unship.o --- unship.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | unship(in) | ^ unship.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | decode_line(s) | ^ unship.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 | err(n) | ^ 3 warnings generated. --- ngstuff.o --- In file included from ngstuff.c:32: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int ngstuff.c:164:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 164 | for (s = tmpbuf; c = index(s,','); s = ++c) { | ~~^~~~~~~~~~~~~~ ngstuff.c:164:24: note: place parentheses around the assignment to silence this warning 164 | for (s = tmpbuf; c = index(s,','); s = ++c) { | ^ | ( ) ngstuff.c:164:24: note: use '==' to turn this assignment into an equality comparison 164 | for (s = tmpbuf; c = index(s,','); s = ++c) { | ^ | == ngstuff.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | perform(cmdlst,toplevel) | ^ ngstuff.c:360:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 360 | for (; ch = *cmdlst; cmdlst++) { | ~~~^~~~~~~~~ ngstuff.c:360:15: note: place parentheses around the assignment to silence this warning 360 | for (; ch = *cmdlst; cmdlst++) { | ^ | ( ) ngstuff.c:360:15: note: use '==' to turn this assignment into an equality comparison 360 | for (; ch = *cmdlst; cmdlst++) { | ^ | == 4 warnings generated. --- trn.o --- In file included from trn.c:41: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int trn.c:71:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 71 | void | ^ trn.c:71:1: note: change return type to 'int' 71 | void | ^~~~ | int trn.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) | ^ trn.c:468:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 468 | printf(hforhelp); | ^~~~~~~~ trn.c:468:11: note: treat the string as an argument to avoid this 468 | printf(hforhelp); | ^ | "%s", trn.c:530:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 530 | ELSE | ^ ./common.h:345:15: note: expanded from macro 'ELSE' 345 | # define ELSE else | ^ trn.c:603:3: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 603 | carriage_return(); | ^ ./term.h:193:27: note: expanded from macro 'carriage_return' 193 | #define carriage_return() tputs(CR,1,putchr) FLUSH | ^ trn.c:623:60: warning: data argument not used by format string [-Wformat-extra-args] 623 | printf("\nTrn version:%s.\nConfigured for ",patchlevel,rnid); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ trn.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | set_ngname(what) | ^ trn.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | getngdir(ngnam) | ^ 9 warnings generated. --- parsedate.o --- parsedate.y:94: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 previous declaration [-Wdeprecated-non-prototype] 94 | extern struct tm *localtime(); | ^ /usr/include/time.h:127:12: note: conflicting prototype is here 127 | struct tm *localtime(const time_t *); | ^ parsedate.y:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | date_error(s) | ^ parsedate.y:96: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] 96 | static void date_error(); | ^ parsedate.y:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | ToSeconds(Hours, Minutes, Seconds, Meridian) | ^ parsedate.y:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | Convert(Month, Day, Year, Hours, Minutes, Seconds, Meridian, dst) | ^ parsedate.y:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | DSTcorrect(Start, Future) | ^ parsedate.y:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | RelativeMonth(Start, RelMonth) | ^ parsedate.y:592:30: 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] 592 | if (c == tp->name[0] && strcmp(p, tp->name) == 0) { | ^ parsedate.y:592:30: note: include the header or explicitly provide a declaration for 'strcmp' parsedate.y:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | LookupWord(buff, length) | ^ parsedate.y:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | parsedate(p) | ^ 10 warnings generated. rm -f y.tab.c --- search.o --- search.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | init_compex(compex) | ^ search.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | free_compex(compex) | ^ search.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | getbracket(compex,n) | ^ search.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | case_fold(which) | ^ search.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | compile(compex, strp, RE, fold) | ^ search.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | grow_eb(compex, epp, alt) | ^ search.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | execute(compex, addr) | ^ search.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | advance(compex, lp, ep) | ^ search.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | backref(compex, i, lp) | ^ search.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | cclass(set, c, af) | ^ 10 warnings generated. --- rt-wumpus.o --- rt-wumpus.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | find_depth(article, depth) | ^ rt-wumpus.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | cache_tree(ap, depth, cp) | ^ rt-wumpus.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] 243 | tree_puts(orig_line, header_line, use_underline) | ^ rt-wumpus.c:278:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 278 | standout(); | ^ ./term.h:189:20: note: expanded from macro 'standout' 189 | #define standout() tputs(SO,1,putchr) FLUSH | ^ rt-wumpus.c:315:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 315 | maybe_eol(); | ^ ./term.h:184:53: note: expanded from macro 'maybe_eol' 184 | #define maybe_eol() if(erase_screen&&can_home_clear)tputs(CE,1,putchr) FLUSH | ^ rt-wumpus.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | finish_tree(last_line) | ^ rt-wumpus.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | entire_tree(ap) | ^ rt-wumpus.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | display_tree(article, cp) | ^ rt-wumpus.c:524:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 524 | standout(); | ^ ./term.h:189:20: note: expanded from macro 'standout' 189 | #define standout() tputs(SO,1,putchr) FLUSH | ^ rt-wumpus.c:529:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 529 | standout(); | ^ ./term.h:189:20: note: expanded from macro 'standout' 189 | #define standout() tputs(SO,1,putchr) FLUSH | ^ rt-wumpus.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | letter(ap) | ^ 11 warnings generated. --- sw.o --- In file included from sw.c:24: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int sw.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | sw_init(argc,argv,tcbufptr) | ^ sw.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 | sw_file(tcbufptr,bleat) | ^ sw.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | sw_list(swlist) | ^ sw.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | decode_switch(s) | ^ sw.c:310:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 310 | else | ^ sw.c:551:34: warning: call to undeclared function 'ov_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 551 | try_ov = ((mode == 'i' || ov_init())? 1 : -1); | ^ sw.c:555:34: warning: call to undeclared function 'mt_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 555 | try_mt = ((mode == 'i' || mt_init())? 1 : -1); | ^ 8 warnings generated. --- bits.o --- In file included from bits.c:28: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int bits.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | onemore(ap) | ^ bits.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | oneless(ap) | ^ bits.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | onemissing(ap) | ^ bits.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | set_read(ap) | ^ bits.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | delay_unmark(ap) | ^ bits.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | check_first(min) | ^ bits.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | chase_xrefs(until_key) | ^ bits.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | chase_xref(artnum,markread) /* The Xref-line-using version */ | ^ 9 warnings generated. --- rt-process.o --- In file included from rt-process.c:11: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int rt-process.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | allocate_article(artnum) | ^ rt-process.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | fix_msgid(msgid) | ^ rt-process.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] 69 | msgid_cmp(key, keylen, data) | ^ rt-process.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | valid_article(article) | ^ rt-process.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | get_article(msgid) | ^ rt-process.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | thread_article(article) | ^ rt-process.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | valid_message_id(start, end) | ^ rt-process.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | unlink_child(child) | ^ rt-process.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | link_child(child) | ^ rt-process.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | merge_threads(s1, s2) | ^ 11 warnings generated. --- rt-util.o --- rt-util.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | extract_name(name) | ^ rt-util.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | compress_name(name, max) | ^ rt-util.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | compress_address(name, max) | ^ rt-util.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | compress_from(ap, size) | ^ rt-util.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | get_subject_start(str) | ^ rt-util.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | compress_subj(ap, max) | ^ rt-util.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | setspin(mode) | ^ rt-util.c:573:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 573 | backspace(); | ^ ./term.h:179:21: note: expanded from macro 'backspace' 179 | #define backspace() tputs(BC,0,putchr) FLUSH | ^ rt-util.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | spin(count) | ^ rt-util.c:599:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 599 | backspace(); | ^ ./term.h:179:21: note: expanded from macro 'backspace' 179 | #define backspace() tputs(BC,0,putchr) FLUSH | ^ 10 warnings generated. --- respond.o --- In file included from respond.c:26: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int respond.c:293:19: warning: passing arguments to 'cut_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | if (cut_line(art_buf)) { | ^ respond.c:660:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 660 | ELSE | ^ ./common.h:345:15: note: expanded from macro 'ELSE' 345 | # define ELSE else | ^ respond.c:709:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 709 | ELSE | ^ ./common.h:345:15: note: expanded from macro 'ELSE' 345 | # define ELSE else | ^ respond.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | invoke(cmd,dir) | ^ respond.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | cut_line(str) | ^ respond.c:37: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] 37 | bool cut_line(); | ^ 7 warnings generated. --- rt-mt.o --- In file included from rt-mt.c:11: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int rt-mt.c:133:12: warning: passing arguments to 'lp_bmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | lp_bmap(&total.first, 4); | ^ rt-mt.c:134:12: warning: passing arguments to 'wp_bmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | wp_bmap(&total.root, 5); | ^ rt-mt.c:225:19: warning: passing arguments to 'read_item' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | if (!read_item((char**)&author_cnts, (MEM_SIZE)total.author*sizeof (WORD))) | ^ rt-mt.c:229:19: warning: passing arguments to 'read_item' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if (!read_item(&strings, (MEM_SIZE)total.string1)) | ^ rt-mt.c:272:19: warning: passing arguments to 'read_item' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | if (!read_item((char**)&subject_cnts, | ^ rt-mt.c:328:9: warning: passing arguments to 'wp_bmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | wp_bmap(&p_root.articles, 3); /* converts subject_cnt too */ | ^ rt-mt.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | the_subject(num) | ^ rt-mt.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | the_author(num) | ^ rt-mt.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | the_article(relative_offset, num) | ^ rt-mt.c:432:9: warning: passing arguments to 'lp_bmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | lp_bmap(&p_article.num, 2); | ^ rt-mt.c:433:9: warning: passing arguments to 'wp_bmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | wp_bmap(&p_article.subject, 8); | ^ rt-mt.c:496:19: warning: passing arguments to 'read_item' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | if (!read_item(&strings, (MEM_SIZE)total.string2) | ^ rt-mt.c:497:19: warning: passing arguments to 'read_item' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | || !read_item((char**)&ids, | ^ rt-mt.c:501:12: warning: passing arguments to 'wp_bmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | wp_bmap(ids, total.article + total.domain + 1); | ^ rt-mt.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | read_item(dest, len) | ^ In file included from rt-mt.c:23: ./rt-mt.h:76: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] 76 | static int read_item(); | ^ rt-mt.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | safefree(pp) | ^ rt-mt.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | mybytemap(map) | ^ rt-mt.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | wp_bmap(buf, len) | ^ In file included from rt-mt.c:23: ./rt-mt.h:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void wp_bmap(), lp_bmap(); | ^ rt-mt.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | lp_bmap(buf, len) | ^ In file included from rt-mt.c:23: ./rt-mt.h:79:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void wp_bmap(), lp_bmap(); | ^ 23 warnings generated. --- rcstuff.o --- In file included from rcstuff.c:24: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int rcstuff.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | parse_rcline(ngnum) | ^ rcstuff.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | abandon_ng(ngnum) | ^ rcstuff.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | get_ng(what,flags) | ^ rcstuff.c:297:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 297 | dingaling(); | ^ ./term.h:194:21: note: expanded from macro 'dingaling' 194 | #define dingaling() tputs(VB,1,putchr) FLUSH | ^ rcstuff.c:303:10: warning: call to undeclared function 'find_close_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | if (find_close_match()) | ^ rcstuff.c:317:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | dingaling(); | ^ ./term.h:194:21: note: expanded from macro 'dingaling' 194 | #define dingaling() tputs(VB,1,putchr) FLUSH | ^ rcstuff.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | add_newsgroup(ngn, c) | ^ rcstuff.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | relocate_newsgroup(ngx,newng) | ^ rcstuff.c:712:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 712 | if (cmd = print_lines(tmpbuf,NOMARKING)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcstuff.c:712:10: note: place parentheses around the assignment to silence this warning 712 | if (cmd = print_lines(tmpbuf,NOMARKING)) { | ^ | ( ) rcstuff.c:712:10: note: use '==' to turn this assignment into an equality comparison 712 | if (cmd = print_lines(tmpbuf,NOMARKING)) { | ^ | == rcstuff.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | find_ng(ngnam) | ^ rcstuff.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | sethash(thisng) | ^ rcstuff.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | rcline_cmp(key, keylen, data) | ^ rcstuff.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | del_rc_line(data, ngnum) | ^ rcstuff.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | ins_rc_line(data, ngnum) | ^ rcstuff.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | grow_rc_arrays(newsize) | ^ 16 warnings generated. --- rt-select.o --- In file included from rt-select.c:10: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int rt-select.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | sel_go_line(line) | ^ rt-select.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | sel_do_mouse(button,x,y) | ^ rt-select.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 | do_selector(cmd) | ^ rt-select.c:226:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | carriage_return(); | ^ ./term.h:193:27: note: expanded from macro 'carriage_return' 193 | #define carriage_return() tputs(CR,1,putchr) FLUSH | ^ rt-select.c:244:5: warning: call to undeclared function 'interp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | interp(buf, sizeof buf, mailcall); | ^ rt-select.c:250:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 250 | clear_rest(); | ^ ./term.h:183:22: note: expanded from macro 'clear_rest' 183 | #define clear_rest() tputs(CD,LINES,putchr) FLUSH | ^ rt-select.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | sel_command(ch) | ^ rt-select.c:600:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 600 | erase_eol(); /* erase the prompt */ | ^ ./term.h:181:21: note: expanded from macro 'erase_eol' 181 | #define erase_eol() tputs(CE,1,putchr) FLUSH | ^ 9 warnings generated. --- rt-page.o --- In file included from rt-page.c:13: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int rt-page.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 | set_sel_mode(ch) | ^ rt-page.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 | set_sel_sort(ch) | ^ rt-page.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | set_selector(smode, ssort) | ^ rt-page.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | init_pages(fill_last_page) | ^ rt-page.c:470:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 470 | maybe_eol(); | ^ ./term.h:184:53: note: expanded from macro 'maybe_eol' 184 | #define maybe_eol() if(erase_screen&&can_home_clear)tputs(CE,1,putchr) FLUSH | ^ rt-page.c:473:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 473 | clear(); | ^ ./term.h:180:17: note: expanded from macro 'clear' 180 | #define clear() tputs(CL,LINES,putchr) FLUSH | ^ rt-page.c:630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | output_sel(sel) | ^ rt-page.c:642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | count_subject_lines(subj, selptr) | ^ rt-page.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | count_thread_lines(subj, selptr) | ^ rt-page.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | display_article(ap, ch, sel) | ^ rt-page.c:709:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 709 | maybe_eol(); | ^ ./term.h:184:53: note: expanded from macro 'maybe_eol' 184 | #define maybe_eol() if(erase_screen&&can_home_clear)tputs(CE,1,putchr) FLUSH | ^ rt-page.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | display_subject(subj, ch, sel) | ^ rt-page.c:740:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 740 | maybe_eol(); | ^ ./term.h:184:53: note: expanded from macro 'maybe_eol' 184 | #define maybe_eol() if(erase_screen&&can_home_clear)tputs(CE,1,putchr) FLUSH | ^ 14 warnings generated. --- ng.o --- In file included from ng.c:18: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int ng.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | do_newsgroup(start_command) | ^ ng.c:173:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 173 | if (hideline = getval("HIDELINE",Nullch)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ng.c:173:18: note: place parentheses around the assignment to silence this warning 173 | if (hideline = getval("HIDELINE",Nullch)) | ^ | ( ) ng.c:173:18: note: use '==' to turn this assignment into an equality comparison 173 | if (hideline = getval("HIDELINE",Nullch)) | ^ | == ng.c:175:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 175 | if (pagestop = getval("PAGESTOP",Nullch)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ng.c:175:18: note: place parentheses around the assignment to silence this warning 175 | if (pagestop = getval("PAGESTOP",Nullch)) | ^ | ( ) ng.c:175:18: note: use '==' to turn this assignment into an equality comparison 175 | if (pagestop = getval("PAGESTOP",Nullch)) | ^ | == ng.c:242:3: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 242 | clear(); /* clear the screen */ | ^ ./term.h:180:17: note: expanded from macro 'clear' 180 | #define clear() tputs(CL,LINES,putchr) FLUSH | ^ ng.c:299:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 299 | clear(); /* clear screen */ | ^ ./term.h:180:17: note: expanded from macro 'clear' 180 | #define clear() tputs(CL,LINES,putchr) FLUSH | ^ ng.c:357:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | clear_rest(); | ^ ./term.h:183:22: note: expanded from macro 'clear_rest' 183 | #define clear_rest() tputs(CD,LINES,putchr) FLUSH | ^ ng.c:690:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 690 | carriage_return(); | ^ ./term.h:193:27: note: expanded from macro 'carriage_return' 193 | #define carriage_return() tputs(CR,1,putchr) FLUSH | ^ ng.c:1013:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1013 | if (cmd = print_lines(tmpbuf,NOMARKING)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ng.c:1013:11: note: place parentheses around the assignment to silence this warning 1013 | if (cmd = print_lines(tmpbuf,NOMARKING)) { | ^ | ( ) ng.c:1013:11: note: use '==' to turn this assignment into an equality comparison 1013 | if (cmd = print_lines(tmpbuf,NOMARKING)) { | ^ | == ng.c:1248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1248 | setmail(force) | ^ ng.c:1385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | ask_memorize(ch) | ^ 11 warnings generated. --- intrp.o --- In file included from intrp.c:24: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int intrp.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | intrp_init(tcbuf) | ^ intrp.c:77:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 77 | struct passwd *getpwnam(); | ^ /usr/include/pwd.h:149:16: note: conflicting prototype is here 149 | struct passwd *getpwnam(const char *); | ^ intrp.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | filexp(s) | ^ intrp.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | skipinterp(pattern,stoppers) | ^ intrp.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | dointerp(dest,destsize,pattern,stoppers) | ^ intrp.c:544:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 544 | if (s = index(scrbuf,'-')) | ~~^~~~~~~~~~~~~~~~~~~ intrp.c:544:13: note: place parentheses around the assignment to silence this warning 544 | if (s = index(scrbuf,'-')) | ^ | ( ) intrp.c:544:13: note: use '==' to turn this assignment into an equality comparison 544 | if (s = index(scrbuf,'-')) | ^ | == intrp.c:598:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 598 | if (s = compile(&cond_compex,scrbuf,TRUE,TRUE)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intrp.c:598:13: note: place parentheses around the assignment to silence this warning 598 | if (s = compile(&cond_compex,scrbuf,TRUE,TRUE)) { | ^ | ( ) intrp.c:598:13: note: use '==' to turn this assignment into an equality comparison 598 | if (s = compile(&cond_compex,scrbuf,TRUE,TRUE)) { | ^ | == intrp.c:626:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 626 | FILE *pipefp, *popen(); | ^ /usr/include/stdio.h:327:7: note: conflicting prototype is here 327 | FILE *popen(const char *, const char *); | ^ intrp.c:932:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 932 | if (h = instr(s,"- (nf", TRUE)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ intrp.c:932:13: note: place parentheses around the assignment to silence this warning 932 | if (h = instr(s,"- (nf", TRUE)) | ^ | ( ) intrp.c:932:13: note: use '==' to turn this assignment into an equality comparison 932 | if (h = instr(s,"- (nf", TRUE)) | ^ | == intrp.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | interp(dest,destsize,pattern) | ^ intrp.c:1251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | refscpy(dest,destsize,src) | ^ intrp.c:1309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1309 | getrealname(uid) | ^ 13 warnings generated. --- cache.o --- In file included from cache.c:24: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int cache.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | grow_cache(newlast) | ^ cache.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | cache_article(ap) | ^ cache.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | check_for_near_subj(ap) | ^ cache.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | change_join_subject_len(len) | ^ cache.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | check_poster(ap) | ^ cache.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | uncache_article(ap, remove_empties) | ^ cache.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 | fetchcache(artnum,which_line,fill_cache) | ^ cache.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | get_cached_line(ap, which_line, no_truncs) | ^ cache.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | set_subj_line(ap, subj, size) | ^ cache.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | set_cached_line(ap, which_line, s) | ^ cache.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | subject_cmp(key, keylen, data) | ^ cache.c:685:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 685 | else | ^ cache.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | art_data(first, last, cheating, all_articles) | ^ cache.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | cache_range(first,last) | ^ cache.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | clear_article(ap) | ^ 16 warnings generated. --- art.o --- In file included from art.c:18: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int art.c:138:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | char *ctime(); | ^ /usr/include/time.h:121:7: note: conflicting prototype is here 121 | char *ctime(const time_t *); | ^ art.c:358:23: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 358 | if (can_home_clear) erase_eol(); | ^ ./term.h:181:21: note: expanded from macro 'erase_eol' 181 | #define erase_eol() tputs(CE,1,putchr) FLUSH | ^ art.c:428:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 428 | else | ^ art.c:495:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 495 | else | ^ art.c:622:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 622 | standout(); /* enter standout mode */ | ^ ./term.h:189:20: note: expanded from macro 'standout' 189 | #define standout() tputs(SO,1,putchr) FLUSH | ^ art.c:748:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 748 | carriage_return(); | ^ ./term.h:193:27: note: expanded from macro 'carriage_return' 193 | #define carriage_return() tputs(CR,1,putchr) FLUSH | ^ art.c:1135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | nontext(s) | ^ art.c:1152:9: warning: call to undeclared function 'notplain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1152 | if (notplain(s)) | ^ art.c:1135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | nontext(s) | ^ art.c:1160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | notplain(s) | ^ art.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | nonprint(s) | ^ art.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 warnings generated. --- term.o --- term.c:67: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 previous declaration [-Wdeprecated-non-prototype] 67 | void mac_init(); | ^ ./term.h:209:6: note: conflicting prototype is here 209 | void mac_init _((char*)); | ^ term.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | term_set(tcbuf) | ^ term.c:171:14: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | status = tgetent(tcbuf,s? s : "dumb"); /* get termcap entry */ | ^ term.c:181:9: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | s = Tgetstr("pc"); /* get pad character */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:183:10: warning: call to undeclared function 'tgetflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | if (!tgetflag("bs")) { /* is backspace not used? */ | ^ term.c:184:7: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | BC = Tgetstr("bc"); /* find out what is */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:186:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | BC = Tgetstr("le"); | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:189:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | UP = Tgetstr("up"); /* move up a line */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:195:7: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | CL = Tgetstr("cl"); /* get clear string */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:196:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | CE = Tgetstr("ce"); /* clear to end of line string */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:197:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | TI = Tgetstr("ti"); /* initialize display */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:198:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | TE = Tgetstr("te"); /* reset display */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:199:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | KS = Tgetstr("ks"); /* enter `keypad transmit' mode */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:200:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | KE = Tgetstr("ke"); /* exit `keypad transmit' mode */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:201:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | HO = Tgetstr("ho"); /* home cursor */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:202:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | IL = Tgetstr("al"); /* insert (add) line */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:203:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | CM = Tgetstr("cm"); /* cursor motion */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:207:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | CD = Tgetstr("cd"); /* clear to end of display */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:214:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | SO = Tgetstr("so"); /* begin standout */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:215:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | SE = Tgetstr("se"); /* end standout */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:216:15: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | if ((SG = tgetnum("sg"))<0) | ^ term.c:218:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | US = Tgetstr("us"); /* start underline */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:219:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | UE = Tgetstr("ue"); /* end underline */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:225:7: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | UC = Tgetstr("uc"); /* underline a character */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:245:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | VB = Tgetstr("vb"); | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:248:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | CR = Tgetstr("cr"); | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | set_macro(seq,def) | ^ term.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | arrow_macros(tmpbuf) | ^ term.c:315:17: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | strcpy(lbuf,Tgetstr("ku")); /* up */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:320:17: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | strcpy(lbuf,Tgetstr("kd")); /* down */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:325:17: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | strcpy(lbuf,Tgetstr("kl")); /* left */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:330:17: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | strcpy(lbuf,Tgetstr("kr")); /* right */ | ^ term.c:44:40: note: expanded from macro 'Tgetstr' 44 | #define Tgetstr(key) ((tmpstr = tgetstr(key,&tmpaddr)) ? tmpstr : nullstr) | ^ term.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | mac_init(tcbuf) | ^ term.c:67: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] 67 | void mac_init(); | ^ term.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | mac_line(line,tmpbuf,tbsize) | ^ term.c:446:13: warning: passing arguments to 'show_keymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | show_keymap(topmap,prebuf); | ^ term.c:463:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 463 | if (kt = curmap->km_type[i]) { | ~~~^~~~~~~~~~~~~~~~~~~~ term.c:463:9: note: place parentheses around the assignment to silence this warning 463 | if (kt = curmap->km_type[i]) { | ^ | ( ) term.c:463:9: note: use '==' to turn this assignment into an equality comparison 463 | if (kt = curmap->km_type[i]) { | ^ | == term.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | show_keymap(curmap,prefix) | ^ term.c:69: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] 69 | void show_keymap(); | ^ term.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | putchr(ch) | ^ term.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | finish_command(donewline) | ^ term.c:671:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 671 | backspace(); | ^ ./term.h:179:21: note: expanded from macro 'backspace' 179 | #define backspace() tputs(BC,0,putchr) FLUSH | ^ term.c:727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | save_typeahead(buf, len) | ^ term.c:744:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 744 | dingaling(); | ^ ./term.h:194:21: note: expanded from macro 'dingaling' 194 | #define dingaling() tputs(VB,1,putchr) FLUSH | ^ term.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | read_tty(addr,size) | ^ term.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | pushchar(c) | ^ term.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | underprint(s) | ^ term.c:818:3: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 818 | backspace();/* back up over it */ | ^ ./term.h:179:21: note: expanded from macro 'backspace' 179 | #define backspace() tputs(BC,0,putchr) FLUSH | ^ term.c:826:3: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 826 | backspace();/* back up over it */ | ^ ./term.h:179:21: note: expanded from macro 'backspace' 179 | #define backspace() tputs(BC,0,putchr) FLUSH | ^ term.c:833:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 833 | underline(); /* start underlining */ | ^ ./term.h:186:21: note: expanded from macro 'underline' 186 | #define underline() tputs(US,1,putchr) FLUSH | ^ term.c:855:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 855 | un_standout(); | ^ ./term.h:190:23: note: expanded from macro 'un_standout' 190 | #define un_standout() tputs(SE,1,putchr) FLUSH | ^ term.c:866:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 866 | un_underline(); | ^ ./term.h:187:24: note: expanded from macro 'un_underline' 187 | #define un_underline() tputs(UE,1,putchr) FLUSH | ^ term.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | getcmd(whatbuf) | ^ term.c:944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | pushstring(str,bits) | ^ term.c:965:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 965 | standout(); | ^ ./term.h:189:20: note: expanded from macro 'standout' 189 | #define standout() tputs(SO,1,putchr) FLUSH | ^ term.c:1026:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1026 | standout(); | ^ ./term.h:189:20: note: expanded from macro 'standout' 189 | #define standout() tputs(SO,1,putchr) FLUSH | ^ term.c:1054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | in_char(prompt, newmode, dflt) | ^ term.c:1077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | in_answer(prompt, newmode) | ^ term.c:1102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | print_lines(what_to_print,hilite) | ^ term.c:1124:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1124 | standout(); | ^ ./term.h:189:20: note: expanded from macro 'standout' 189 | #define standout() tputs(SO,1,putchr) FLUSH | ^ term.c:1131:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1131 | underline(); | ^ ./term.h:186:21: note: expanded from macro 'underline' 186 | #define underline() tputs(US,1,putchr) FLUSH | ^ term.c:1154:3: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1154 | un_standout(); | ^ ./term.h:190:23: note: expanded from macro 'un_standout' 190 | #define un_standout() tputs(SE,1,putchr) FLUSH | ^ term.c:1171:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1171 | clear(); | ^ ./term.h:180:17: note: expanded from macro 'clear' 180 | #define clear() tputs(CL,LINES,putchr) FLUSH | ^ term.c:1177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | pad(num) | ^ term.c:1197:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1197 | backspace(); | ^ ./term.h:179:21: note: expanded from macro 'backspace' 179 | #define backspace() tputs(BC,0,putchr) FLUSH | ^ term.c:1202:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1202 | backspace(); | ^ ./term.h:179:21: note: expanded from macro 'backspace' 179 | #define backspace() tputs(BC,0,putchr) FLUSH | ^ term.c:1212:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1212 | backspace(); /* do the old backspace, */ | ^ ./term.h:179:21: note: expanded from macro 'backspace' 179 | #define backspace() tputs(BC,0,putchr) FLUSH | ^ term.c:1243:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1243 | tputs(tgoto(CM, 0, 0), 1, putchr); /* go to home via CM */ | ^ term.c:1243:13: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | tputs(tgoto(CM, 0, 0), 1, putchr); /* go to home via CM */ | ^ term.c:1247:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1247 | tputs(HO, 1, putchr); /* home via HO */ | ^ term.c:1252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1252 | goto_line(from,to) /* assumes caller is already at beginning of line */ | ^ term.c:1261:13: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | str = tgoto(CM,0,to); | ^ term.c:1277:3: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1277 | tputs(UP,1,putchr); | ^ term.c:1285:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1285 | tputs(str,1,putchr); | ^ term.c:1296:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1296 | else if (outspeed >= B4800)/* 16 lines at 4800 */ | ^ term.c:1315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | winch_catcher(dummy) | ^ 76 warnings generated. --- rthread.o --- In file included from rthread.c:11: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 29 | void main _((int,char**)); | ^ ./trn.h:29:1: note: change return type to 'int' 29 | void main _((int,char**)); | ^~~~ | int rthread.c:76:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 76 | else if (firstart > lastart) { | ^ rthread.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | kill_tmp_arts(data, extra) | ^ rthread.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | first_art(sp) | ^ rthread.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | last_art(sp) | ^ rthread.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | inc_art(sel_flag, rereading) | ^ rthread.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | dec_art(sel_flag, rereading) | ^ rthread.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | bump_art(ap) | ^ rthread.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | next_art(ap) | ^ rthread.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | prev_art(ap) | ^ rthread.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | next_subj(sp, subj_mask) | ^ rthread.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | prev_subj(sp, subj_mask) | ^ rthread.c:566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | select_article(ap, auto_flags) | ^ rthread.c:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | select_arts_subject(ap, auto_flags) | ^ rthread.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | select_subject(subj, auto_flags) | ^ rthread.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | select_arts_thread(ap, auto_flags) | ^ rthread.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | select_thread(thread, auto_flags) | ^ rthread.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | select_subthread(ap, auto_flags) | ^ rthread.c:722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | deselect_article(ap) | ^ rthread.c:743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | deselect_arts_subject(ap) | ^ rthread.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | deselect_subject(subj) | ^ rthread.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | deselect_arts_thread(ap) | ^ rthread.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | deselect_thread(thread) | ^ rthread.c:825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | kill_arts_subject(ap, auto_flags) | ^ rthread.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | kill_subject(subj, auto_flags) | ^ rthread.c:863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | kill_arts_thread(ap, auto_flags) | ^ rthread.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | kill_thread(thread, auto_flags) | ^ rthread.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | kill_subthread(ap, auto_flags) | ^ rthread.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | unkill_subject(subj) | ^ rthread.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | unkill_thread(thread) | ^ rthread.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | unkill_subthread(ap) | ^ rthread.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | clear_subject(subj) | ^ rthread.c:1016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | clear_thread(thread) | ^ rthread.c:1031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | clear_subthread(ap) | ^ rthread.c:1052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | subj_art(sp) | ^ rthread.c:1127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | find_parent(keep_going) | ^ rthread.c:1150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | find_leaf(keep_going) | ^ rthread.c:1186:24: warning: passing arguments to 'first_sib' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | if (tb = first_sib(ta, ascent)) { | ^ rthread.c:1186:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1186 | if (tb = first_sib(ta, ascent)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~ rthread.c:1186:13: note: place parentheses around the assignment to silence this warning 1186 | if (tb = first_sib(ta, ascent)) { | ^ | ( ) rthread.c:1186:13: note: use '==' to turn this assignment into an equality comparison 1186 | if (tb = first_sib(ta, ascent)) { | ^ | == rthread.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | first_sib(ta, depth) | ^ rthread.c:1169:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1169 | static ARTICLE *first_sib(), *last_sib(); | ^ rthread.c:1243:19: warning: passing arguments to 'last_sib' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | if (tb = last_sib(ta, ascent, tb)) { | ^ rthread.c:1243:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1243 | if (tb = last_sib(ta, ascent, tb)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ rthread.c:1243:9: note: place parentheses around the assignment to silence this warning 1243 | if (tb = last_sib(ta, ascent, tb)) { | ^ | ( ) rthread.c:1243:9: note: use '==' to turn this assignment into an equality comparison 1243 | if (tb = last_sib(ta, ascent, tb)) { | ^ | == rthread.c:1261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | last_sib(ta, depth, limit) | ^ rthread.c:1169:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1169 | static ARTICLE *first_sib(), *last_sib(); | ^ rthread.c:1291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | count_subjects(cmode) | ^ rthread.c:1359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1359 | subjorder_subject(spp1, spp2) | ^ rthread.c:1367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | subjorder_date(spp1, spp2) | ^ rthread.c:1375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | subjorder_count(spp1, spp2) | ^ rthread.c:1386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | threadorder_subject(spp1, spp2) | ^ rthread.c:1398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | threadorder_date(spp1, spp2) | ^ rthread.c:1423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1423 | threadorder_count(spp1, spp2) | ^ rthread.c:1500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | artorder_date(art1, art2) | ^ rthread.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 | artorder_subject(art1, art2) | ^ rthread.c:1519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | artorder_author(art1, art2) | ^ rthread.c:1530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1530 | artorder_number(art1, art2) | ^ rthread.c:1538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1538 | artorder_groups(art1, art2) | ^ 57 warnings generated. --- trn --- cc addng.o art.o artio.o artsrch.o autosub.o backpage.o bits.o cache.o charsubst.o decode.o edit_dist.o final.o hash.o head.o help.o init.o intrp.o kfile.o last.o ng.o ngdata.o nghash.o ngsrch.o ngstuff.o only.o rcln.o rcstuff.o respond.o rthread.o rt-mt.o rt-ov.o rt-process.o rt-page.o rt-select.o rt-util.o rt-wumpus.o search.o sw.o term.o trn.o util.o util2.o unship.o uudecode.o parsedate.o nntpinit.o nntpclient.o nntpauth.o nntp.o -lncurses -lm -o trn --- all --- touch all =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> trn-3.6_1 depends on executable: munpack - not found ===> Installing existing package /packages/All/mpack-1.6_4.pkg [pkg.DaveG.ca] Installing mpack-1.6_4... [pkg.DaveG.ca] Extracting mpack-1.6_4: .... done ===> trn-3.6_1 depends on executable: munpack - found ===> Returning to build of trn-3.6_1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for trn-3.6_1 ===> Generating temporary packing list export PATH || exit 1 (cd `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/bin`; mv trn trn.old) mv: rename trn to trn.old: No such file or directory *** Error code 1 (ignored) (cd `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/bin`; rm trn.old) rm: trn.old: No such file or directory *** Error code 1 (ignored) if test `pwd` != `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/bin`; then cp trn newsetup newsgroups Pnews Rnmail trn-artchk nntplist `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/bin`; (cd `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/bin`; chmod o+x trn newsetup newsgroups Pnews Rnmail trn-artchk nntplist; strip trn trn-artchk nntplist); fi if test /usr/local/lib/trn/filexp = Rnfilexp; then cp ./filexp `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/bin/Rnfilexp`; fi ./makedir `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/lib/trn` chmod o+r `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/lib/trn` if test `pwd` != `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/lib/trn`; then cp ./INIT norm.saver mbox.saver makedir Pnews.header Speller filexp `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/lib/trn`; fi if test ! -f `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/lib/trn/newsnews`; then cp newsnews `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/lib/trn`; fi (cd `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/lib/trn`; chmod o+x norm.saver mbox.saver makedir Pnews.header Speller filexp; chmod o+r INIT newsnews) if test "X/wrkdirs/usr/ports/news/trn/work/stage/usr/local/share/man/man1" != "X" -a "X`pwd`" != X`./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/share/man/man1`; then for page in trn.1 Pnews.1 Rnmail.1 newsetup.1 newsgroups.1; do dest=/wrkdirs/usr/ports/news/trn/work/stage/usr/local/share/man/man1/`basename $page .1`.1; rm -f $dest; cp ./$page $dest; chmod 444 $dest; done; fi ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-01-21T16:17:56+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=b68745b6b67c' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for trn-3.6_1 ===> Building trn-3.6_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for trn-3.6_1 build of news/trn | trn-3.6_1 ended at Wed Jan 21 11:18:00 EST 2026 build time: 00:00:05