=>> Building editors/beav build started at Wed Jan 21 15:34:37 EST 2026 port directory: /usr/ports/editors/beav package name: beav-1.40.18_4 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 1020 Aug 27 2024 /usr/ports/editors/beav/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: d6a45e9f5edf Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1403000 Job Id: 02 ---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/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_3_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for beav-1.40.18_4: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/editors/beav/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/beav/work XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/beav/work/.cache HOME=/wrkdirs/usr/ports/editors/beav/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/editors/beav/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/beav/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/editors/beav/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/beav/work XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/beav/work/.cache HOME=/wrkdirs/usr/ports/editors/beav/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/editors/beav/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/beav/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/beav" EXAMPLESDIR="share/examples/beav" DATADIR="share/beav" WWWDIR="www/beav" ETCDIR="etc/beav" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/beav DOCSDIR=/usr/local/share/doc/beav EXAMPLESDIR=/usr/local/share/examples/beav WWWDIR=/usr/local/www/beav ETCDIR=/usr/local/etc/beav --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 beav 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 ===> beav-1.40.18_4 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 ===> beav-1.40.18_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of beav-1.40.18_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The beav 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 beav-1.40.18_4 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The beav 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 beav-1.40.18_4 for building => SHA256 Checksum OK for beav_1.40.orig.tar.gz. => SHA256 Checksum OK for beav_1.40-18.diff.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 beav 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 beav-1.40.18_4 for building ===> Extracting for beav-1.40.18_4 => SHA256 Checksum OK for beav_1.40.orig.tar.gz. => SHA256 Checksum OK for beav_1.40-18.diff.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 beav-1.40.18_4 ===> Applying distribution patches for beav-1.40.18_4 ===> Applying FreeBSD patches for beav-1.40.18_4 from /usr/ports/editors/beav/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> beav-1.40.18_4 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. ===> beav-1.40.18_4 depends on file: /usr/local/bin/ccache - found ===> Returning to build of beav-1.40.18_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for beav-1.40.18_4 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for beav-1.40.18_4 --- basic.o --- --- ebcdic.o --- --- fileio.o --- --- region.o --- --- text.o --- --- wangpc.o --- --- buffer.o --- --- echo.o --- --- language.o --- --- main.o --- --- search.o --- --- tty.o --- --- window.o --- --- cinfo.o --- --- extend.o --- --- kbd.o --- --- spawn.o --- --- ttyio.o --- --- termio.o --- --- tcap.o --- --- word.o --- --- display.o --- --- file.o --- --- line.o --- --- random.o --- --- symbol.o --- --- ttykbd.o --- --- format.o --- --- wangpc.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c wangpc.c -o wangpc.o --- basic.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c basic.c -o basic.o --- ebcdic.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c ebcdic.c -o ebcdic.o --- fileio.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c fileio.c -o fileio.o --- region.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c region.c -o region.o --- text.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c text.c -o text.o --- buffer.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c buffer.c -o buffer.o --- echo.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c echo.c -o echo.o --- language.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c language.c -o language.o --- main.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c main.c -o main.o --- search.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c search.c -o search.o --- tty.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c tty.c -o tty.o --- window.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c window.c -o window.o --- cinfo.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c cinfo.c -o cinfo.o --- extend.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c extend.c -o extend.o --- kbd.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c kbd.c -o kbd.o --- spawn.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c spawn.c -o spawn.o --- ttyio.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c ttyio.c -o ttyio.o --- termio.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c termio.c -o termio.o --- tcap.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c tcap.c -o tcap.o --- word.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c word.c -o word.o --- display.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c display.c -o display.o --- file.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c file.c -o file.o --- line.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c line.c -o line.o --- random.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c random.c -o random.o --- symbol.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c symbol.c -o symbol.o --- region.o --- region.c:34:24: warning: passing arguments to 'getregion' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | if ((s = getregion (®ion)) != TRUE) | ^ region.c:37:2: warning: call to undeclared function 'bclear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | bclear (&sav_buf); | ^ region.c:41:13: warning: call to undeclared function 'ldelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | error = ldelete (region.r_size, TRUE); | ^ region.c:42:5: warning: call to undeclared function 'lchange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | lchange (WFHARD); | ^ --- format.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c format.c -o format.o --- region.o --- region.c:45:2: warning: call to undeclared function 'showsavebuf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | showsavebuf (); | ^ region.c:46:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | writ_echo (okmsg); | ^ region.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 | killregion (f, n, k) | ^ region.c:67:24: warning: passing arguments to 'getregion' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | if ((s = getregion (®ion)) != TRUE) | ^ region.c:70:2: warning: call to undeclared function 'bclear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | bclear (&sav_buf); | ^ region.c:76:11: warning: call to undeclared function 'b_append_c'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | if ((s = b_append_c (&sav_buf, (uchar) lgetc (linep, loffs))) != TRUE) | ^ region.c:90:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | writ_echo (buf); | ^ region.c:92:10: warning: call to undeclared function 'ttkeyready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | if (ttkeyready ()) | ^ region.c:94:3: warning: call to undeclared function 'wind_on_dot_all'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | wind_on_dot_all (); | ^ region.c:95:7: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | if (ttgetc () == '*') | ^ region.c:102:2: warning: call to undeclared function 'showsavebuf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | showsavebuf (); | ^ region.c:106:2: warning: call to undeclared function 'listbuffers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | listbuffers (); | ^ region.c:107:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | writ_echo (okmsg); | ^ region.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | copyregion (f, n, k) | ^ region.c:129:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | writ_echo (MSG_no_mark); | ^ region.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 | getregion (rp) | ^ region.c:12: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] 12 | bool getregion (); | ^ region.c:162:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | if ((s = ereply (MSG_sv_in_b, bufn, NBUFN, NULL)) != TRUE) | ^ region.c:167:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | writ_echo (MSG_sav_slf); | ^ region.c:177:5: warning: call to undeclared function '_usebuffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | _usebuffer (bufn); | ^ region.c:180:5: warning: call to undeclared function 'yank'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | yank (f, n, k); | ^ region.c:182:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | writ_echo (okmsg); | ^ region.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | save_region (f, n, k) | ^ 27 warnings generated. --- fileio.o --- fileio.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 | ffropen (fn) | ^ fileio.c:124:3: warning: call to undeclared function 'err_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | err_echo (MSG_cnt_wr); | ^ fileio.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | ffwopen (fn, mode) | ^ fileio.c:179:2: warning: call to undeclared function 'err_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | err_echo (MSG_wr_io_er); | ^ fileio.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 | ffputline (buf, nbuf) | ^ fileio.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | ffgetline (buf, nbuf, rbuf) | ^ fileio.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 | ffseek (posn) | ^ fileio.c:257:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | source = fname; | ^ ~~~~~ fileio.c:277:13: warning: passing 'unsigned char[4096]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 277 | strcat (backname, MSG_bak); | ^~~~~~~~ /usr/include/string.h:79:31: note: passing argument to parameter here 79 | char *strcat(char * __restrict, const char * __restrict); | ^ fileio.c:279:14: warning: passing 'unsigned char[80]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 279 | sprintf (buf, MSG_backup, fname, backname); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ fileio.c:280:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 280 | writ_echo (buf); | ^ fileio.c:281:13: warning: passing 'unsigned char[4096]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 281 | unlink (backname); | ^~~~~~~~ /usr/include/unistd.h:370:25: note: passing argument to parameter here 370 | int unlink(const char *); | ^ fileio.c:285:24: warning: passing 'unsigned char[4096]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 285 | if (rename (fname, backname) > 0) | ^~~~~~~~ /usr/include/stdio.h:280:39: note: passing argument to parameter here 280 | int rename(const char *, const char *); | ^ fileio.c:288:11: warning: passing 'unsigned char[80]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 288 | sprintf (buf, MSG_back_er, fname, backname); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ fileio.c:289:2: warning: call to undeclared function 'err_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 289 | err_echo (buf); | ^ fileio.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 | fbackupfile (fname) | ^ fileio.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | adjustcase (fn) | ^ 17 warnings generated. --- ebcdic.o --- ebcdic.c:62:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | writ_echo (buf); | ^ ebcdic.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | to_ebcdic (ch) | ^ 2 warnings generated. --- ttykbd.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO -c ttykbd.c -o ttykbd.o --- spawn.o --- spawn.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 | spawncli (f, n, k) | ^ 1 warning generated. --- kbd.o --- kbd.c:34:9: warning: call to undeclared function 'getkbd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | c = getkbd (); | ^ kbd.c:37:14: warning: call to undeclared function 'getctl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | c = KMETA | getctl (); | ^ kbd.c:44:14: warning: call to undeclared function 'getctl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | c = KCTRL | getctl (); | ^ kbd.c:65:9: warning: call to undeclared function 'getkbd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | c = getkbd (); | ^ kbd.c:112:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 112 | sprintf (&cp[strlen (cp)], MSG_fn); | ^~~~~~ kbd.c:112:29: note: treat the string as an argument to avoid this 112 | sprintf (&cp[strlen (cp)], MSG_fn); | ^ | "%s", kbd.c:119:23: warning: passing arguments to 'keystrings' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | if ((np = keystrings (k)) != NULL) | ^ kbd.c:122:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 122 | sprintf (&cp[strlen (cp)], MSG_esc); | ^~~~~~~ kbd.c:122:30: note: treat the string as an argument to avoid this 122 | sprintf (&cp[strlen (cp)], MSG_esc); | ^ | "%s", kbd.c:134:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 134 | sprintf (&cp[strlen (cp)], MSG_ctl_x); | ^~~~~~~~~ kbd.c:134:29: note: treat the string as an argument to avoid this 134 | sprintf (&cp[strlen (cp)], MSG_ctl_x); | ^ | "%s", kbd.c:141:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 141 | sprintf (&cp[strlen (cp)], MSG_esc); | ^~~~~~~ kbd.c:141:29: note: treat the string as an argument to avoid this 141 | sprintf (&cp[strlen (cp)], MSG_esc); | ^ | "%s", kbd.c:162:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 162 | sprintf (&cp[strlen (cp)], MSG_ctl); | ^~~~~~~ kbd.c:162:30: note: treat the string as an argument to avoid this 162 | sprintf (&cp[strlen (cp)], MSG_ctl); | ^ | "%s", kbd.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 | keyname (cp, k) | ^ 11 warnings generated. --- word.o --- word.c:29:19: warning: passing arguments to 'forwunit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | return (forwunit (f, -n, KRANDOM)); | ^ word.c:34:8: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | ret = move_ptr (curwp, -(long) R_B_PER_U (curwp), TRUE, TRUE, TRUE); | ^ word.c:36:5: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | wind_on_dot (curwp); | ^ word.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | backunit (f, n, k) | ^ --- termio.o --- termio.c:273:9: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 273 | ttputc (c) | ^ 274 | { termio.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | ttputc (c) | ^ 2 warnings generated. --- word.o --- word.c:58:2: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | move_ptr (curwp, (long) R_B_PER_U (curwp), TRUE, TRUE, TRUE); | ^ word.c:60:5: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | wind_on_dot (curwp); | ^ word.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | forwunit (f, n, k) | ^ word.c:13: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] 13 | char forwunit (); | ^ word.c:79:2: warning: call to undeclared function 'bclear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | bclear (&sav_buf); | ^ word.c:83:2: warning: call to undeclared function 'ldelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | ldelete ((A32) (R_B_PER_U (curwp)), TRUE); | ^ word.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 | delfunit (f, n, k) | ^ word.c:111:2: warning: call to undeclared function 'bclear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | bclear (&sav_buf); | ^ word.c:116:6: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | if (move_ptr (curwp, -((long) size), TRUE, TRUE, TRUE)) | ^ word.c:117:6: warning: call to undeclared function 'ldelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | ldelete ((A32) size, TRUE); | ^ word.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 | delbunit (f, n, k) | ^ 15 warnings generated. --- basic.o --- basic.c:42:19: warning: passing arguments to 'forwchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | return (forwchar (f, -n, KRANDOM)); | ^ basic.c:48:20: warning: passing arguments to 'move_ptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (!move_ptr (curwp, -(long) R_B_PER_U (curwp), | ^ basic.c:56:18: warning: passing arguments to 'wind_on_dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | wind_on_dot (curwp); | ^ basic.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 | backchar (f, n, k) | ^ basic.c:86:20: warning: passing arguments to 'move_ptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | if (!move_ptr (curwp, (long) R_B_PER_U (curwp), | ^ basic.c:94:18: warning: passing arguments to 'wind_on_dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | wind_on_dot (curwp); | ^ basic.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 | forwchar (f, n, k) | ^ basic.c:13: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] 13 | bool forwchar (); | ^ basic.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | move_ptr (wp, len, dot, fix, rel) | ^ basic.c:12: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] 12 | bool move_ptr (); | ^ basic.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | wind_on_dot (wp) | ^ basic.c:14: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] 14 | bool wind_on_dot (); | ^ basic.c:320:19: warning: passing arguments to 'backline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | return (backline (f, -n, KRANDOM)); | ^ basic.c:324:2: warning: call to undeclared function 'next_pat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 324 | next_pat (); | ^ basic.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | forwline (f, n, k) | ^ basic.c:354:2: warning: call to undeclared function 'next_pat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | next_pat (); | ^ basic.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | backline (f, n, k) | ^ basic.c:15: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] 15 | bool backline (); | ^ basic.c:382:2: warning: call to undeclared function 'next_pat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 382 | next_pat (); | ^ basic.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 | forwpage (f, n, k) | ^ basic.c:419:2: warning: call to undeclared function 'next_pat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 419 | next_pat (); | ^ basic.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | backpage (f, n, k) | ^ basic.c:451:2: warning: call to undeclared function 'pickone'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 451 | pickone (); | ^ basic.c:458:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 458 | writ_echo (MSG_mark_set); | ^ basic.c:479:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 479 | writ_echo (MSG_no_mark); | ^ basic.c:511:11: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 511 | if ((s = ereply (MSG_go_b_n, buf, sizeof (buf), 0) != TRUE)) | ^ basic.c:533:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 533 | writ_echo (ERR_bas_1); | ^ basic.c:541:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 541 | writ_echo (MSG_bad_num); | ^ basic.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | gotoline (f, n, k) | ^ 29 warnings generated. --- tcap.o --- In file included from tcap.c:7: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from tcap.c:7: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from tcap.c:7: --- main.o --- main.c: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 previous declaration [-Wdeprecated-non-prototype] 96 | extern char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ main.c:119:5: warning: call to undeclared function 'init_fmt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | init_fmt (); /* initialize format arrays */ | ^ main.c:121:5: warning: call to undeclared function 'ttopen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | ttopen (); /* set default screen size */ | ^ --- tcap.o --- ./def.h:541: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 declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from tcap.c:7: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ --- main.o --- main.c:122:5: warning: call to undeclared function 'ttinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | ttinit (); /* set terminal raw mode */ | ^ main.c:123:5: warning: call to undeclared function 'vtinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | vtinit (); /* Virtual terminal. */ | ^ main.c:124:5: warning: call to undeclared function 'keymapinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | keymapinit (); /* Symbols, bindings. */ | ^ main.c:144:5: warning: call to undeclared function 'check_extend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | check_extend (NULL); /* check for extended keys */ | ^ --- tcap.o --- tcap.c:26:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 26 | extern char *tgoto (); | ^ /usr/include/term.h:844:31: note: conflicting prototype is here 844 | extern NCURSES_EXPORT(char *) tgoto (const char *, int, int); | ^ tcap.c:29:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 29 | extern int ttputc (); | ^ ./prototyp.h:200:12: note: conflicting prototype is here 200 | extern int ttputc (int c); | ^ tcap.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | putpad (str) | ^ tcap.c:30: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] 30 | void putpad (); | ^ tcap.c:61: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] 61 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ tcap.c:62: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] 62 | char *t, *p, *tgetstr (); | ^ /usr/include/term.h:843:31: note: conflicting prototype is here 843 | extern NCURSES_EXPORT(char *) tgetstr (const char *, char **); | ^ tcap.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | tcapmove (row, col) | ^ tcap.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 | tcaprev (state) /* change reverse video status */ | ^ tcap.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | putnpad (str, n) | ^ 13 warnings generated. --- main.o --- main.c:149:9: warning: passing arguments to 'edinit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | edinit (bname); | ^ main.c:150:2: warning: call to undeclared function 'eerase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | eerase (); | ^ main.c:151:2: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | update (); | ^ main.c:162:6: warning: call to undeclared function 'makename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | makename (bname, argv[n]); | ^ main.c:163:13: warning: passing arguments to 'edinit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | edinit (bname); /* Buffers, windows. */ | ^ main.c:164:6: warning: call to undeclared function 'eerase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | eerase (); | ^ main.c:165:6: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | update (); | ^ main.c:166:6: warning: call to undeclared function 'readin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 166 | readin (argv[n--], 0L, MAXPOS); | ^ main.c:170:3: warning: call to undeclared function 'load_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | load_file (argv[n], 0L, MAXPOS); | ^ main.c:175:13: warning: passing arguments to 'edinit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | edinit (bname); | ^ main.c:176:6: warning: call to undeclared function 'eerase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | eerase (); | ^ main.c:177:6: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | update (); | ^ main.c:183:5: warning: call to undeclared function 'save_buf_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | save_buf_init (); /* initialize save buffer */ | ^ main.c:186:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | writ_echo ("Welcome to BEAV. Esc-? for help, Ctrl-C to quit."); | ^ main.c:189:5: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | update (); | ^ main.c:190:9: warning: call to undeclared function 'getkey'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | c = getkey (); | ^ main.c:193:2: warning: call to undeclared function 'eerase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | eerase (); | ^ main.c:228:12: warning: passing arguments to 'ctrlg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | ctrlg (FALSE, 0, KRANDOM); | ^ main.c:238:13: warning: passing arguments to 'execute' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | execute (c, f, n); /* Do it. */ | ^ main.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 | main (argc, argv) | ^ main.c:262:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | writ_echo (MSG_no_mod); | ^ main.c:267:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | writ_echo (MSG_no_s_chg); | ^ main.c:273:6: warning: call to undeclared function 'ttbeep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | ttbeep (); | ^ main.c:277:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | status = (*sp->s_funcp) (f, n, c); | ^ main.c:284:3: warning: call to undeclared function 'ttbeep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | ttbeep (); | ^ main.c:285:3: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | writ_echo (MSG_auto_fl); | ^ main.c:292:2: warning: call to undeclared function 'bad_key'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | bad_key (c); | ^ main.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 | execute (c, f, n) | ^ main.c:41: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] 41 | bool execute (); | ^ main.c:313:16: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | bp = bfind (bname, TRUE); /* Text buffer. */ | ^ main.c:314:22: warning: passing arguments to 'bcreate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | blistp = bcreate (MSG_null);/* Special list buffer. */ | ^ main.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | edinit (bname) | ^ main.c:42: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] 42 | void edinit (); | ^ main.c:349:10: warning: comparison of array 'bp->b_fname' not equal to a null pointer is always true [-Wtautological-pointer-compare] 349 | if (bp->b_fname != NULL) | ~~~~^~~~~~~ ~~~~ main.c:352:6: warning: call to undeclared function 'filesave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 352 | filesave (); | ^ main.c:353:6: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | update (); | ^ main.c:356:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 356 | writ_echo (okmsg); | ^ main.c:359:2: warning: call to undeclared function 'listbuffers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 359 | listbuffers (); | ^ main.c:360:5: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | update (); | ^ main.c:372:10: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | quit (f, n, k); | ^ main.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 | flushnquit (f, n, k) | ^ main.c:390:5: warning: call to undeclared function 'anycb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | || anycb () == FALSE /* All buffers clean. */ | ^ main.c:391:10: warning: call to undeclared function 'eyesno'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 391 | || (s = eyesno (MSG_quit)) == TRUE) /* User says it's OK. */ | ^ main.c:394:2: warning: call to undeclared function 'vttidy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 394 | vttidy (); | ^ main.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | quit (f, n, k) | ^ main.c:44: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] 44 | char quit (); | ^ main.c:416:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 416 | writ_echo (MSG_not_now); | ^ main.c:420:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 420 | writ_echo (MSG_st_mac); | ^ main.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | ctlxlp (f, n, k) | ^ main.c:439:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 439 | writ_echo (MSG_not_now); | ^ main.c:443:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | writ_echo (MSG_end_mac); | ^ main.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 | ctlxrp (f, n, k) | ^ main.c:469:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 469 | writ_echo (MSG_not_now); | ^ main.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 | ctlxe (f, n, k) | ^ main.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | ctrlg (f, n, k) | ^ main.c:45: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] 45 | char ctrlg (); | ^ main.c:537:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 537 | sprintf (buf, cp); | ^~ main.c:537:19: note: treat the string as an argument to avoid this 537 | sprintf (buf, cp); | ^ | "%s", main.c:538:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 538 | writ_echo (buf); | ^ main.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | showversion (f, n, k) | ^ main.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | _lowercase (s) | ^ main.c:46: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] 46 | void _lowercase (); | ^ main.c:566:10: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 566 | if ((ereply (MSG_num_mod, buf, sizeof (buf), NULL)) == TRUE) | ^ 69 warnings generated. --- extend.o --- extend.c:57:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | writ_echo (MSG_not_now); | ^ extend.c:61:14: warning: call to undeclared function 'eread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | if ((s = eread (MSG_func, xname, NXNAME, EFAUTO, NULL)) != TRUE) | ^ extend.c:63:25: warning: passing arguments to 'symlookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if ((sp = symlookup (xname)) == NULL) | ^ extend.c:65:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | writ_echo (MSG_unk_func); | ^ extend.c:72:5: warning: call to undeclared function 'eputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | eputc (' '); | ^ extend.c:78:5: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | ttflush (); | ^ extend.c:79:9: warning: call to undeclared function 'getkey'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | c = getkey (); /* Read key. */ | ^ extend.c:80:5: warning: call to undeclared function 'keyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | keyname (xname, c); /* Display keyname. */ | ^ extend.c:81:5: warning: call to undeclared function 'eputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | eputs (xname); | ^ extend.c:108:14: warning: call to undeclared function 'eread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | if ((s = eread (MSG_cmd_t_ex, xname, NXNAME, EFNEW | EFAUTO, NULL)) != TRUE) | ^ extend.c:110:25: warning: passing arguments to 'symlookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | if ((sp = symlookup (xname)) != NULL) | ^ extend.c:111:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | return ((*sp->s_funcp) (f, n, KRANDOM)); | ^ extend.c:112:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | writ_echo (MSG_unk_ext); | ^ extend.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 | extend (f, n, k) | ^ extend.c:132:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | writ_echo (MSG_d_b); | ^ extend.c:134:9: warning: call to undeclared function 'getkey'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | c = getkey (); | ^ extend.c:135:5: warning: call to undeclared function 'keyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | keyname (b, c); | ^ extend.c:169:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | if (0 < strcmp (&lp1->l_text[HFUNCCOL], &lp2->l_text[HFUNCCOL])) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ extend.c:169:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | if (0 < strcmp (&lp1->l_text[HFUNCCOL], &lp2->l_text[HFUNCCOL])) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:85:39: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ extend.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 | sort_buf (b_ptr, cnt) | ^ extend.c:221:14: warning: call to undeclared function 'bclear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 221 | if ((s = bclear (blistp)) != TRUE) /* Clear it out. */ | ^ extend.c:227:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | writ_echo (MSG_bld_wall); | ^ extend.c:228:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 228 | sprintf (buf, MSG_wall_head); | ^~~~~~~~~~~~~ extend.c:228:19: note: treat the string as an argument to avoid this 228 | sprintf (buf, MSG_wall_head); | ^ | "%s", extend.c:229:9: warning: call to undeclared function 'addline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 229 | if (addline (buf) == FALSE) | ^ extend.c:249:6: warning: call to undeclared function 'keyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | keyname (&buf[HKEY], key); | ^ extend.c:287:5: warning: call to undeclared function 'popblist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 287 | popblist (); | ^ extend.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | wallchart (f, n, k) | ^ extend.c:318: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] 318 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ extend.c:327:16: warning: passing arguments to 'flook' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | fname = flook (sfname, TRUE); | ^ extend.c:340:16: warning: passing arguments to 'flook' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | fname = flook (rc_name, TRUE); | ^ extend.c:347:20: warning: passing arguments to 'flook' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | fname = flook (rc_name, TRUE); | ^ extend.c:401:27: warning: passing arguments to 'symlookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | if ((sp = symlookup (keybind)) != NULL) | ^ extend.c:402:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | (*sp->s_funcp) (TRUE, keyval, KRANDOM); | ^ extend.c:408:4: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 408 | writ_echo (temp_b); | ^ extend.c:413:27: warning: passing arguments to 'symlookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | if ((sp = symlookup (funcname))) | ^ extend.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | check_extend (sfname) | ^ extend.c:445: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] 445 | char *getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ extend.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | flook (fname, hflag) | ^ extend.c:27:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | char *flook (); | ^ extend.c:518:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 518 | if ((s = ereply (MSG_bnd_file, fname, NFILEN, NULL)) != TRUE) | ^ extend.c:521:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 521 | writ_echo (okmsg); | ^ extend.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | find_keyval (name) | ^ 42 warnings generated. --- echo.o --- echo.c:32:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | writ_echo (MSG_null); /* clear the echo line */ | ^ echo.c:54:13: warning: passing arguments to 'ereply' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | s = ereply (MSG_y_n, buf, sizeof (buf), sp); | ^ echo.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 | eyesno (sp) | ^ echo.c:85:19: warning: passing arguments to 'eread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | return (eread (fp, buf, nbuf, EFNEW | EFCR, arg)); | ^ echo.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 | ereply (fp, buf, nbuf, arg) | ^ echo.c:11: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] 11 | char ereply (); | ^ echo.c:131:2: warning: call to undeclared function 'ttcolor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | ttcolor (CTEXT); | ^ echo.c:132:2: warning: call to undeclared function 'ttmove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | ttmove (nrow - 1, 0); | ^ echo.c:136:8: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | eputc (' '); | ^ echo.c:137:13: warning: passing arguments to 'eformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | eformat (fp, ap); | ^ echo.c:138:5: warning: call to undeclared function 'tteeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | tteeol (); | ^ echo.c:139:5: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | ttflush (); | ^ echo.c:142:6: warning: call to undeclared function 'getkey'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | c = getkey (); | ^ echo.c:163:12: warning: call to undeclared function 'getxtra'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | bxtra = getxtra (sp1, sp2, cpos); | ^ echo.c:178:9: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | eputc (c); | ^ echo.c:205:14: warning: call to undeclared function 'ctrlg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | (void) ctrlg (FALSE, 0, KRANDOM); | ^ echo.c:217:3: warning: call to undeclared function 'ttputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | ttputc (0x0D); | ^ echo.c:224:12: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | eputc (0x07); | ^ echo.c:225:13: warning: call to undeclared function 'ctrlg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | (void) ctrlg (FALSE, 0, KRANDOM); | ^ echo.c:233:3: warning: call to undeclared function 'ttputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | ttputc ('\b'); | ^ echo.c:252:3: warning: call to undeclared function 'ttputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | ttputc ('\b'); | ^ echo.c:273:9: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | eputc (c); | ^ echo.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | eread (fp, buf, nbuf, flag, ap) | ^ echo.c:12: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] 12 | char eread (); | ^ echo.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | getxtra (sp1, sp2, cpos) | ^ echo.c:335:12: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | eputc (c); | ^ echo.c:344:9: warning: passing arguments to 'eputi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | eputi (*(int *) ap, 10); | ^ echo.c:349:9: warning: passing arguments to 'eputi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | eputi (*(int *) ap, 16); | ^ echo.c:354:9: warning: passing arguments to 'eputi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | eputi (*(int *) ap, 8); | ^ echo.c:359:9: warning: passing arguments to 'eputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | eputs (ap); | ^ echo.c:364:9: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | eputc (c); | ^ echo.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | eformat (fp, ap) | ^ echo.c:13: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] 13 | void eformat (); | ^ echo.c:391:11: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | eputc (convert[i % r]); | ^ echo.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | eputi (i, r) | ^ echo.c:14: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] 14 | void eputi (); | ^ echo.c:405:8: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | eputc (c); | ^ echo.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | eputs (s) | ^ echo.c:15: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] 15 | void eputs (); | ^ echo.c:428:2: warning: call to undeclared function 'ttputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 428 | ttputc (c); | ^ echo.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 | eputc (c) | ^ echo.c:16: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] 16 | void eputc (); | ^ echo.c:445:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 445 | writ_echo (ch); | ^ echo.c:446:5: warning: call to undeclared function 'ttbeep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 446 | ttbeep (); | ^ echo.c:447:12: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 447 | while (ttgetc () != CTL_G); | ^ echo.c:450:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 450 | ttflush (); | ^ echo.c:447:31: warning: while loop has empty body [-Wempty-body] 447 | while (ttgetc () != CTL_G); | ^ echo.c:447:31: note: put the semicolon on a separate line to silence this warning echo.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | err_echo (buf) | ^ 48 warnings generated. --- ttykbd.o --- ttykbd.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | ungetkey (k) | ^ ttykbd.c:358:6: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 358 | c = ttgetc (); | ^ ttykbd.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | keystrings (key) | ^ 3 warnings generated. --- window.o --- window.c:26:5: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | move_ptr (curwp, l_val, FALSE, TRUE, FALSE); | ^ window.c:91:22: warning: passing arguments to 'mvupwind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | return (mvupwind (f, -n, KRANDOM)); | ^ window.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | mvdnwind (f, n, k) | ^ window.c:110:5: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | move_ptr (curwp, l_val, FALSE, TRUE, TRUE); /* move window */ | ^ window.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 | mvupwind (f, n, k) | ^ window.c:7: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] 7 | bool mvupwind (); | ^ window.c:301:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | writ_echo (buf); | ^ window.c:307:2: warning: call to undeclared function 'err_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | err_echo (MSG_cnt_al_w); | ^ window.c:331:5: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | wind_on_dot (curwp); /* put window on the dot */ | ^ window.c:356:21: warning: passing arguments to 'shrinkwind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | return (shrinkwind (f, -n, KRANDOM)); | ^ window.c:360:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | writ_echo (MSG_one_w); | ^ window.c:373:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 373 | writ_echo (MSG_imp_chg); | ^ window.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 | enlargewind (f, n, k) | ^ window.c:421:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 421 | writ_echo (MSG_one_w); | ^ window.c:434:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | writ_echo (MSG_imp_chg); | ^ window.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | shrinkwind (f, n, k) | ^ window.c:8: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] 8 | bool shrinkwind (); | ^ window.c:520:11: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 520 | if ((s = ereply (buf, buf, sizeof (buf), 0) != TRUE)) | ^ window.c:529:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 529 | writ_echo (MSG_bad_num); | ^ window.c:533:5: warning: call to undeclared function 'ttmove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 533 | ttmove (0, 0); | ^ window.c:534:5: warning: call to undeclared function 'tteeop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 534 | tteeop (); | ^ window.c:556:3: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 556 | wind_on_dot (wp); | ^ window.c:567:6: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 567 | wind_on_dot (wp); | ^ window.c:572:5: warning: call to undeclared function 'vtfree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 572 | vtfree (); | ^ window.c:574:5: warning: call to undeclared function 'vtinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 574 | vtinit (); | ^ window.c:575:5: warning: call to undeclared function 'eerase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 575 | eerase (); /* clean up prompt line */ | ^ window.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | screen_rows (f, n, k) | ^ 27 warnings generated. --- tty.o --- tty.c:53:14: warning: passing arguments to 'tcapmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | tcapmove (0, 0); | ^ tty.c:102:11: warning: passing arguments to 'tcapmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | tcapmove (row, col); | ^ tty.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 | ttmove (row, col) | ^ tty.c:9: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] 9 | void ttmove (); | ^ tty.c:215:5: warning: call to undeclared function 'ttputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 215 | ttputc (BEL); | ^ tty.c:216:5: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | ttflush (); | ^ tty.c:233:5: warning: call to undeclared function 'ttputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | ttputc ((n % 10) + '0'); | ^ tty.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 | asciiparm (n) | ^ tty.c:13: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] 13 | void asciiparm (); | ^ tty.c:266:10: warning: passing arguments to 'tcaprev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | tcaprev (FALSE); | ^ tty.c:268:10: warning: passing arguments to 'tcaprev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | tcaprev (TRUE); | ^ tty.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | ttcolor (color) | ^ tty.c:15: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] 15 | void ttcolor (); | ^ 13 warnings generated. --- search.o --- search.c:106:2: warning: call to undeclared function 'eerase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | eerase (); /* clear message line */ | ^ search.c:111:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | writ_echo (MSG_not_fnd); | ^ search.c:122:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | writ_echo (buf); | ^ search.c:146:2: warning: call to undeclared function 'eerase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | eerase (); /* clear message line */ | ^ search.c:151:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | writ_echo (MSG_not_fnd); | ^ search.c:161:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | writ_echo (buf); | ^ search.c:184:2: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | move_ptr (curwp, dot_pos + 1, TRUE, FALSE, FALSE); | ^ search.c:188:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | writ_echo (MSG_not_fnd); | ^ search.c:197:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | writ_echo (buf); | ^ search.c:204:2: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | move_ptr (curwp, dot_pos - 1, TRUE, FALSE, FALSE); | ^ search.c:208:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | writ_echo (MSG_not_fnd); | ^ search.c:217:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | writ_echo (buf); | ^ search.c:221:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 221 | writ_echo (MSG_no_srch); | ^ search.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | queryrepl (f, n, k) | ^ search.c:291:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | writ_echo (buf); | ^ search.c:293:2: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 293 | update (); | ^ search.c:294:10: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | switch (ttgetc ()) | ^ search.c:302:10: warning: call to undeclared function 'lrepl_str'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 302 | if (lrepl_str (plen, rplc_pat, rplc_mask) == FALSE) | ^ search.c:305:6: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 305 | move_ptr (curwp, (long) rlen, TRUE, FALSE, TRUE); | ^ search.c:322:6: warning: call to undeclared function 'ctrlg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 322 | ctrlg (FALSE, 0, KRANDOM); | ^ search.c:347:6: warning: call to undeclared function 'ttbeep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 347 | ttbeep (); | ^ search.c:353:5: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | move_ptr (curwp, abs_dot_p, TRUE, TRUE, FALSE); | ^ search.c:356:2: warning: call to undeclared function 'swapmark'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 356 | swapmark (); | ^ search.c:365:5: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 365 | update (); | ^ search.c:368:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 368 | writ_echo (MSG_no_rpl); | ^ search.c:372:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | writ_echo (MSG_1_rpl); | ^ search.c:378:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 378 | writ_echo (buf); | ^ search.c:417:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 417 | writ_echo (buf); | ^ search.c:419:10: warning: call to undeclared function 'ttkeyready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 419 | if (ttkeyready ()) | ^ search.c:421:7: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 421 | if (ttgetc () == CTL_G) | ^ search.c:432:8: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 432 | if (!move_ptr (curwp, 1L, TRUE, FALSE, TRUE) || | ^ search.c:443:3: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | move_ptr (curwp, -(long) pat_cnt + 1, TRUE, FALSE, TRUE); | ^ search.c:444:3: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 444 | wind_on_dot (curwp); | ^ search.c:449:12: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 449 | while (move_ptr (curwp, 1L, TRUE, FALSE, TRUE)); | ^ search.c:485:6: warning: call to undeclared function 'ttkeyready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 485 | if (ttkeyready ()) | ^ search.c:487:10: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 487 | if (ttgetc () == CTL_G) | ^ search.c:494:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 494 | writ_echo (buf); | ^ search.c:504:8: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 504 | if (!move_ptr (curwp, 1L, TRUE, FALSE, TRUE) || | ^ search.c:516:3: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 516 | move_ptr (curwp, -(long) pat_cnt + 1, TRUE, FALSE, TRUE); | ^ search.c:517:3: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 517 | wind_on_dot (curwp); | ^ search.c:522:12: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 522 | while (move_ptr (curwp, -1L, TRUE, FALSE, TRUE)); | ^ search.c:627:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 627 | writ_echo (disp_buf); | ^ search.c:645:2: warning: call to undeclared function 'ttmove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 645 | ttmove (nrow - 1, curs_pos1); | ^ search.c:646:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 646 | ttflush (); | ^ search.c:648:8: warning: call to undeclared function 'getkey'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 648 | cod = getkey (); | ^ search.c:708:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 708 | printf (ERR_rdpat); | ^~~~~~~~~ search.c:708:15: note: treat the string as an argument to avoid this 708 | printf (ERR_rdpat); | ^ | "%s", search.c:725:9: warning: call to undeclared function 'execute'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 725 | stat = execute (cod, FALSE, 1); | ^ search.c:782:3: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 782 | move_ptr (curwp, 255L, TRUE, TRUE, FALSE); /* last position */ | ^ search.c:838:3: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 838 | move_ptr (curwp, (long) srch_pat->l_used, TRUE, TRUE, FALSE); | ^ search.c:841:2: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 841 | wind_on_dot (curwp); | ^ search.c:848:2: warning: call to undeclared function 'bin_to_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 848 | bin_to_text (&cur_pat->l_text[curwp->w_loff], | ^ search.c:943:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 943 | writ_echo (MSG_only_2); | ^ search.c:960:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 960 | writ_echo (buf); | ^ search.c:962:10: warning: call to undeclared function 'ttkeyready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 962 | if (ttkeyready ()) | ^ search.c:964:7: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 964 | if (ttgetc () == CTL_G) | ^ search.c:971:10: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 971 | move1 = move_ptr (wp1, 1L, TRUE, FALSE, TRUE); | ^ search.c:980:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 980 | writ_echo (term_str); | ^ search.c:981:5: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 981 | wind_on_dot (wp1); | ^ 58 warnings generated. --- symbol.o --- symbol.c:397:17: warning: call to undeclared function 'symhash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | sp = symbol[symhash (cp)]; | ^ symbol.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 | symlookup (cp) | ^ In file included from symbol.c:9: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ symbol.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 | symhash (cp) | ^ symbol.c:446:9: warning: passing arguments to 'keyadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | keyadd (kp->k_key, kp->k_funcp, kp->k_name, kp->k_modify); | ^ symbol.c:447:12: warning: passing arguments to 'keydup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | keydup (KCTLX | KCTRL | 'G', MSG_abort); | ^ symbol.c:448:12: warning: passing arguments to 'keydup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | keydup (KMETA | KCTRL | 'G', MSG_abort); | ^ symbol.c:449:12: warning: passing arguments to 'keydup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | keydup (0x7F, MSG_back_del_char); | ^ symbol.c:450:12: warning: passing arguments to 'keydup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | keydup (KMETA | 'Q', MSG_quote); | ^ symbol.c:451:12: warning: passing arguments to 'keydup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | keydup (KMETA | 0x7F, MSG_back_del_unit); | ^ symbol.c:464:5: warning: call to undeclared function 'ttykeymapinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 464 | ttykeymapinit (); | ^ symbol.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | keyadd (new, funcp, name, modify) | ^ symbol.c:11: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] 11 | void keyadd (); | ^ symbol.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | keydup (new, name) | ^ symbol.c:12: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] 12 | void keydup (); | ^ 15 warnings generated. --- line.o --- line.c:55:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 55 | printf (ERR_no_alloc); | ^~~~~~~~~~~~ line.c:55:10: note: treat the string as an argument to avoid this 55 | printf (ERR_no_alloc); | ^ | "%s", line.c:62:2: warning: call to undeclared function 'err_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | err_echo (buf); | ^ line.c:65:2: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | update (); | ^ line.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | lalloc (size) | ^ In file included from line.c:22: ./def.h:541: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] 541 | extern LINE *lalloc (); | ^ line.c:94:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 94 | printf (ERR_db_dalloc); | ^~~~~~~~~~~~~ line.c:94:10: note: treat the string as an argument to avoid this 94 | printf (ERR_db_dalloc); | ^ | "%s", line.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | lfree (lp) | ^ line.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | lchange (flag) | ^ line.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | l_break_in_two (lp, lo, extra) | ^ line.c:250:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 250 | writ_echo (ERR_lock); | ^ line.c:299:2: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 299 | move_ptr (curwp, (A32) n, TRUE, TRUE, TRUE); | ^ line.c:327:14: warning: passing arguments to 'l_fix_up' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | l_fix_up (lp1); /* re-adjust file offsets */ | ^ line.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | linsert (n, c) | ^ line.c:356:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 356 | writ_echo (ERR_lock_del); | ^ line.c:369:11: warning: passing arguments to 'l_fix_up' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | l_fix_up (dotp); /* re-adjust file offsets */ | ^ line.c:396:7: warning: call to undeclared function 'b_append_c'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 396 | if (b_append_c (&sav_buf, *cp1) == FALSE) | ^ line.c:436:3: warning: call to undeclared function 'b_append_l'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 436 | b_append_l (&sav_buf, lp); | ^ line.c:444:14: warning: passing arguments to 'l_fix_up' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | l_fix_up (lp_prev); /* re-adjust file offsets */ | ^ line.c:465:7: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 465 | move_ptr (wp, temp - n_bytes, TRUE, TRUE, FALSE); | ^ line.c:485:4: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 485 | move_ptr (wp, temp - n_bytes, TRUE, TRUE, FALSE); | ^ line.c:501:3: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 501 | wind_on_dot (wp); | ^ line.c:509:2: warning: call to undeclared function 'listbuffers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 509 | listbuffers (); | ^ line.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | ldelete (n_bytes, kflag) | ^ line.c:525:2: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 525 | move_ptr (curwp, 1L, TRUE, FALSE, TRUE); | ^ line.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | lreplace (n, c) | ^ line.c:563:5: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 563 | move_ptr (curwp, dot_pos, TRUE, FALSE, FALSE); | ^ line.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | lrepl_str (plen, rstr, mstr) | ^ line.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 | l_fix_up (line) | ^ line.c:24: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] 24 | void l_fix_up (); | ^ 29 warnings generated. --- buffer.o --- buffer.c:63:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | if ((s = ereply (MSG_use_b, bufn, NBUFN, 0)) != TRUE) | ^ buffer.c:65:24: warning: passing arguments to '_usebuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | return (_usebuffer (bufn)); | ^ buffer.c:76:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | if ((s = ereply (MSG_use_b, bufn, NBUFN, 0)) != TRUE) | ^ buffer.c:78:5: warning: call to undeclared function 'splitwind'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | splitwind (); | ^ buffer.c:79:24: warning: passing arguments to '_usebuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | return (_usebuffer (bufn)); | ^ buffer.c:94:26: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | else if ((bp = bfind (bufn, TRUE)) == NULL) | ^ buffer.c:101:2: warning: call to undeclared function 'dispsize1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | dispsize1 (); | ^ buffer.c:102:2: warning: call to undeclared function 'hexmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | hexmode (); | ^ buffer.c:128:2: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | wind_on_dot (curwp); | ^ buffer.c:131:6: warning: call to undeclared function 'hexmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | hexmode (); | ^ buffer.c:148:5: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | wind_on_dot (curwp); | ^ buffer.c:151:2: warning: call to undeclared function 'hexmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | hexmode (); | ^ buffer.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | _usebuffer (bufn) | ^ buffer.c:19:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | bool _usebuffer (); | ^ buffer.c:169:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | if ((s = ereply (MSG_kill_b, bufn, NBUFN, 0)) != TRUE) | ^ buffer.c:171:26: warning: passing arguments to '_killbuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | if ((s = _killbuffer (bufn))) | ^ buffer.c:172:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | writ_echo (okmsg); /* verbose-ness (jam) */ | ^ buffer.c:183:22: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | if (((bp = bfind (bufn, FALSE)) == NULL) || | ^ buffer.c:186:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | writ_echo (MSG_not_fnd); | ^ buffer.c:191:22: warning: passing arguments to 'killablebufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | if (killablebufs (bp)) /* can't kill '?' if no other buffers */ | ^ buffer.c:193:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | writ_echo (MSG_no_del_m); | ^ buffer.c:199:35: warning: passing arguments to 'onebuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | if (curbp == blistp && onebuf (bp)) /* Hack ! */ | ^ buffer.c:202:2: warning: call to undeclared function 'onlywind'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | onlywind (); | ^ buffer.c:203:2: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | update (); | ^ buffer.c:208:11: warning: call to undeclared function 'eyesno'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | if ((s = eyesno (MSG_buf_disp)) != TRUE) | ^ buffer.c:212:2: warning: call to undeclared function 'onlywind'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | onlywind (); | ^ buffer.c:220:21: warning: passing arguments to 'bclear' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | if ((s = bclear (bp)) != TRUE) /* Blow text away. */ | ^ buffer.c:250:2: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 250 | update (); | ^ buffer.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | _killbuffer (bufn) | ^ buffer.c:18:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | char _killbuffer (); | ^ buffer.c:287:2: warning: call to undeclared function 'splitwind'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 287 | splitwind (); | ^ buffer.c:380:21: warning: passing arguments to 'bclear' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | if ((s = bclear (blistp)) != TRUE) | ^ buffer.c:385:17: warning: passing arguments to 'addline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | if (addline (MSG_l_buf_h) == FALSE | ^ buffer.c:386:13: warning: passing arguments to 'addline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | || addline (MSG_l_buf_h1) == FALSE) | ^ buffer.c:431:14: warning: passing arguments to 'addline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | if (addline (line) == FALSE) | ^ buffer.c:419:20: warning: array index 4109 is past the end of the array (that has type 'char[128]') [-Warray-bounds] 419 | while (cp1 < &line[1 + 1 + 1 + 1 + 6 + 1 + NBUFN + 1]) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buffer.c:377:5: note: array 'line' declared here 377 | char line[128]; | ^ buffer.c:456:22: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | if ((lp = lalloc (allocsize)) == NULL) | ^ buffer.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | addline (text) | ^ buffer.c:14: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] 14 | bool addline (); | ^ buffer.c:522:41: warning: passing arguments to 'bcreate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | if (cflag != FALSE && (bp = bcreate (bname)) != NULL) | ^ buffer.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | bfind (bname, cflag) | ^ In file included from buffer.c:7: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ buffer.c:549:2: warning: call to undeclared function 'err_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 549 | err_echo (MSG_cnt_al_b); | ^ buffer.c:552:22: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | if ((lp = lalloc (0)) == NULL) | ^ buffer.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | bcreate (bname) | ^ In file included from buffer.c:7: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ buffer.c:595:10: warning: call to undeclared function 'eyesno'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 595 | && (s = eyesno (MSG_no_chg)) != TRUE) | ^ buffer.c:599:2: warning: call to undeclared function 'lfree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 599 | lfree (lp); | ^ buffer.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | bclear (bp) | ^ buffer.c:13: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] 13 | bool bclear (); | ^ buffer.c:665:9: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 665 | if (ereply (MSG_yank_b, bufn, NBUFN, 0) != TRUE) | ^ buffer.c:667:25: warning: passing arguments to '_yankbuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | return (_yankbuffer (bufn)); | ^ buffer.c:682:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 682 | writ_echo (MSG_no_buf); | ^ buffer.c:687:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 687 | writ_echo (MSG_no_s_yank); | ^ buffer.c:696:10: warning: call to undeclared function 'linsert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 696 | if (linsert (1, lp->l_text[s]) == FALSE) | ^ buffer.c:708:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 708 | writ_echo (buf); | ^ buffer.c:710:10: warning: call to undeclared function 'ttkeyready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 710 | if (ttkeyready ()) | ^ buffer.c:712:3: warning: call to undeclared function 'l_fix_up'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 712 | l_fix_up (lp->l_bp); | ^ buffer.c:713:3: warning: call to undeclared function 'wind_on_dot_all'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 713 | wind_on_dot_all (); | ^ buffer.c:714:7: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 714 | if (ttgetc () == CTL_G) /* was it an abort key? */ | ^ buffer.c:719:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 719 | writ_echo (okmsg); | ^ buffer.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | _yankbuffer (bufn) | ^ buffer.c:11: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] 11 | bool _yankbuffer (); | ^ buffer.c:732:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 732 | if ((s = ereply (MSG_buf_nam, bname, NBUFN, 0)) == ABORT) | ^ buffer.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 | killablebufs (bp) | ^ buffer.c:10: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] 10 | bool killablebufs (); | ^ buffer.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | onebuf (bp) | ^ buffer.c:9: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] 9 | bool onebuf (); | ^ buffer.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | funky_name (bname, n) | ^ buffer.c:817:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 817 | writ_echo (MSG_bad_l); | ^ buffer.c:829:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 829 | writ_echo (MSG_bad_l); | ^ buffer.c:833:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 833 | if ((s = ereply (MSG_pick, buf, 2, name)) != TRUE) | ^ buffer.c:845:2: warning: call to undeclared function 'filesave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 845 | filesave (); | ^ buffer.c:852:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 852 | writ_echo (MSG_null); | ^ buffer.c:865:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 865 | writ_echo (MSG_siz_chg); | ^ buffer.c:870:6: warning: call to undeclared function 'insert_toggle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 870 | insert_toggle (); | ^ buffer.c:872:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 872 | writ_echo (MSG_no_siz_chg); | ^ buffer.c:881:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | b_append_l (buf_p, lp) | ^ buffer.c:910:19: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | if ((lp = lalloc (KBLOCK)) == NULL) | ^ buffer.c:900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | b_append_c (buf_p, ch) | ^ 80 warnings generated. --- file.o --- file.c:57:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | if ((s = ereply (MSG_rd_file, fname, NFILEN, NULL)) != TRUE) | ^ file.c:59:22: warning: passing arguments to 'parse_f_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | if (parse_f_name (fname, &start, &end)) | ^ file.c:61:2: warning: call to undeclared function 'adjustcase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | adjustcase (fname); | ^ file.c:62:17: warning: passing arguments to 'readin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | return (readin (fname, start, end)); | ^ file.c:78:14: warning: call to undeclared function '_usebuffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | if ((s = _usebuffer (trash)) == 0) /* temp buffer */ | ^ file.c:80:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | if ((s = ereply (MSG_ins_file, fname, NFILEN, NULL)) != TRUE) | ^ file.c:83:22: warning: passing arguments to 'parse_f_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | if (parse_f_name (fname, &start, &end)) | ^ file.c:85:2: warning: call to undeclared function 'adjustcase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | adjustcase (fname); | ^ file.c:86:18: warning: passing arguments to 'readin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | if ((s = readin (fname, start, end)) == 0) | ^ file.c:88:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | writ_echo (MSG_not_fnd); | ^ file.c:90:6: warning: call to undeclared function '_killbuffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | _killbuffer (trash); | ^ file.c:95:6: warning: call to undeclared function '_killbuffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | _killbuffer (trash); | ^ file.c:98:11: warning: call to undeclared function '_yankbuffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | if ((s = _yankbuffer (trash)) == 0) | ^ file.c:100:6: warning: call to undeclared function '_killbuffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | _killbuffer (trash); | ^ file.c:103:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | writ_echo (okmsg); | ^ file.c:108:2: warning: call to undeclared function '_killbuffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | _killbuffer (trash); | ^ file.c:111:14: warning: call to undeclared function '_killbuffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | if ((s = _killbuffer (trash)) == 0) | ^ file.c:113:5: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | wind_on_dot (curwp); | ^ file.c:135:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | if ((s = ereply (MSG_visit, fname, NFILEN, NULL)) != TRUE) | ^ file.c:137:23: warning: passing arguments to 'parse_f_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | if (!parse_f_name (fname, &start, &end)) | ^ file.c:140:5: warning: call to undeclared function 'splitwind'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | splitwind (); | ^ file.c:141:23: warning: passing arguments to 'load_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | return (load_file (fname, start, end)); | ^ file.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | file_visit (f, n, k) | ^ file.c:153:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | if ((s = ereply (MSG_view, fname, NFILEN, NULL)) != TRUE) | ^ file.c:156:23: warning: passing arguments to 'parse_f_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | if (!parse_f_name (fname, &start, &end)) | ^ file.c:159:19: warning: passing arguments to 'load_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | s = load_file (fname, start, end); | ^ file.c:173:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | if ((s = ereply (MSG_visit, fname, NFILEN, NULL)) != TRUE) | ^ file.c:175:23: warning: passing arguments to 'parse_f_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | if (!parse_f_name (fname, &start, &end)) | ^ file.c:178:23: warning: passing arguments to 'load_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | return (load_file (fname, start, end)); | ^ file.c:195:5: warning: call to undeclared function 'adjustcase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | adjustcase (fname); | ^ file.c:202:3: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | writ_echo (MSG_buf_ex); | ^ file.c:249:3: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | writ_echo (MSG_old_buf); | ^ file.c:255:14: warning: passing arguments to 'makename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | makename (bname, fname); /* New buffer name. */ | ^ file.c:256:24: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | while ((bp = bfind (bname, FALSE)) != NULL) | ^ file.c:260:6: warning: call to undeclared function 'funky_name'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 260 | funky_name (bname, append++); | ^ file.c:264:6: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | s = ereply (MSG_buf_nam, bname, NBUFN, NULL); | ^ file.c:270:15: warning: passing arguments to 'makename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | makename (bname, fname); | ^ file.c:274:35: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | if (bp == NULL && (bp = bfind (bname, TRUE)) == NULL) | ^ file.c:276:2: warning: call to undeclared function 'err_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 276 | err_echo (MSG_cnt_cr); | ^ file.c:292:20: warning: passing arguments to 'readin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | return (readin (fname, start, end)); /* Read it in. */ | ^ file.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | load_file (fname, start, end) /* jam */ | ^ file.c:10: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] 10 | char load_file (); | ^ file.c:325:14: warning: call to undeclared function 'bclear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 325 | if ((s = bclear (bp)) != TRUE) /* Might be old. */ | ^ file.c:341:14: warning: call to undeclared function 'ffropen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | if ((s = ffropen (fname)) == FIOERR || s == FIOFNF) /* jam */ | ^ file.c:345:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 345 | writ_echo (buf); | ^ file.c:346:19: warning: passing arguments to 'ffseek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | temp = ffseek (start); | ^ file.c:360:23: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | if ((lp1 = lalloc (req_chars)) == NULL) | ^ file.c:368:14: warning: call to undeclared function 'ffgetline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 368 | while ((s = ffgetline (lp1->l_text, lp1->l_size, &lp1->l_used)) == FIOSUC) | ^ file.c:387:24: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | if ((lp1 = lalloc (req_chars)) == NULL) | ^ file.c:400:7: warning: call to undeclared function 'ttkeyready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 400 | if (ttkeyready ()) | ^ file.c:402:7: warning: call to undeclared function 'wind_on_dot_all'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 402 | wind_on_dot_all (); | ^ file.c:403:11: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 403 | if (ttgetc () == CTL_G) /* was it an abort key? */ | ^ file.c:412:5: warning: call to undeclared function 'ffclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | ffclose (); /* Ignore errors. */ | ^ file.c:423:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 423 | sprintf (buf, MSG_no_mem_rd); | ^~~~~~~~~~~~~ file.c:423:16: note: treat the string as an argument to avoid this 423 | sprintf (buf, MSG_no_mem_rd); | ^ | "%s", file.c:424:2: warning: call to undeclared function 'err_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 424 | err_echo (buf); | ^ file.c:447:2: warning: call to undeclared function 'listbuffers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 447 | listbuffers (); | ^ file.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | readin (fname, start, end) | ^ file.c:11: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] 11 | char readin (); | ^ file.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 | makename (bname, fname) | ^ file.c:12: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] 12 | void makename (); | ^ file.c:507:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 507 | if ((s = ereply (MSG_wr_file, fname, NFILEN, NULL)) != TRUE) | ^ file.c:509:23: warning: passing arguments to 'parse_f_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | if (!parse_f_name (fname, &start, &end)) | ^ file.c:512:5: warning: call to undeclared function 'adjustcase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 512 | adjustcase (fname); | ^ file.c:513:23: warning: passing arguments to 'writeout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | if ((s = writeout (fname, start, end, S_IREAD | S_IWRITE)) == TRUE) | ^ file.c:552:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 552 | writ_echo (MSG_no_fn); | ^ file.c:563:6: warning: call to undeclared function 'fbackupfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 563 | s = fbackupfile (curbp->b_fname); | ^ file.c:567:14: warning: call to undeclared function 'eyesno'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 567 | && (s = eyesno (MSG_bk_err)) != TRUE) | ^ file.c:572:23: warning: passing arguments to 'writeout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | if ((s = writeout (curbp->b_fname, 0L, MAXPOS, st.st_mode)) == TRUE) | ^ file.c:612:14: warning: call to undeclared function 'ffwopen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 612 | if ((s = ffwopen (fn, mode)) != FIOSUC) /* Open writes message. */ | ^ file.c:614:19: warning: passing arguments to 'ffseek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | temp = ffseek (start); | ^ file.c:619:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 619 | writ_echo (buf); | ^ file.c:623:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 623 | writ_echo (buf); | ^ file.c:627:2: warning: call to undeclared function 'wallchart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 627 | wallchart (0, 0, 0); | ^ file.c:648:11: warning: call to undeclared function 'ffputline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 648 | if ((s = ffputline (&lp->l_text[0], num_chars)) != FIOSUC) | ^ file.c:661:10: warning: call to undeclared function 'ttkeyready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 661 | if (ttkeyready ()) | ^ file.c:663:3: warning: call to undeclared function 'wind_on_dot_all'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 663 | wind_on_dot_all (); | ^ file.c:664:7: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 664 | if (ttgetc () == CTL_G) /* was it an abort key? */ | ^ file.c:675:6: warning: call to undeclared function 'ffclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 675 | s = ffclose (); | ^ file.c:684:2: warning: call to undeclared function 'ffclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 684 | ffclose (); /* if a write error. */ | ^ file.c:688:2: warning: call to undeclared function 'listbuffers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 688 | listbuffers (); | ^ file.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | writeout (fn, start, end, mode) | ^ file.c:13: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] 13 | bool writeout (); | ^ file.c:711:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 711 | if ((s = ereply (MSG_fil_nam, fname, NFILEN, NULL)) == ABORT) | ^ file.c:713:23: warning: passing arguments to 'parse_f_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | if (!parse_f_name (fname, &start, &end)) | ^ file.c:716:5: warning: call to undeclared function 'adjustcase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 716 | adjustcase (fname); | ^ file.c:719:5: warning: call to undeclared function 'l_fix_up'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 719 | l_fix_up (curbp->b_linep->l_fp); /* adjust file offsets from first line */ | ^ file.c:781:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 781 | writ_echo (buf); | ^ file.c:788:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 788 | writ_echo (ERR_addr_neg); | ^ file.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | parse_f_name (fn, start, end) | ^ file.c:14: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] 14 | bool parse_f_name (); | ^ 90 warnings generated. --- random.o --- random.c:124:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | writ_echo (buf); | ^ random.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | showcpos (f, n, k) | ^ random.c:151:10: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | if (!move_ptr (curwp, (long) -b_per_u, TRUE, TRUE, TRUE)) | ^ random.c:155:2: warning: call to undeclared function 'ttbeep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | ttbeep (); | ^ random.c:169:2: warning: call to undeclared function 'ttbeep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | ttbeep (); | ^ random.c:187:5: warning: call to undeclared function 'lchange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 187 | lchange (WFHARD); | ^ random.c:207:6: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | c = ttgetc (); | ^ random.c:212:3: warning: call to undeclared function 'ctrlg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | ctrlg (FALSE, 0, KRANDOM); | ^ random.c:226:13: warning: call to undeclared function 'linsert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | return (linsert (n, (uchar) c)); | ^ random.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 | quote (f, n, k) | ^ random.c:283:2: warning: call to undeclared function 'ttbeep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 283 | ttbeep (); | ^ random.c:288:2: warning: call to undeclared function 'ttbeep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 288 | ttbeep (); | ^ random.c:304:6: warning: call to undeclared function 'to_ebcdic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 304 | c = to_ebcdic ((uchar) c); /* convert ASCII to EBCDIC */ | ^ random.c:307:6: warning: call to undeclared function 'linsert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | linsert (n, (uchar) c); | ^ random.c:309:6: warning: call to undeclared function 'lreplace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | lreplace (n, (uchar) c); | ^ random.c:327:14: warning: passing arguments to 'bad_key' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | bad_key (k); | ^ random.c:341:2: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | move_ptr (curwp, dot_shf, TRUE, FALSE, TRUE); | ^ random.c:360:2: warning: call to undeclared function 'forwchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | forwchar (0, 1, KRANDOM); /* advance the cursor */ | ^ random.c:366:14: warning: passing arguments to 'bad_key' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | bad_key (k); | ^ random.c:403:14: warning: passing arguments to 'bad_key' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | bad_key (k); | ^ random.c:409:14: warning: passing arguments to 'bad_key' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | bad_key (k); | ^ random.c:414:14: warning: passing arguments to 'bad_key' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | bad_key (k); | ^ random.c:419:14: warning: passing arguments to 'bad_key' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | bad_key (k); | ^ random.c:474:10: warning: call to undeclared function 'fill_buf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 474 | bytes = fill_buf (curwp, l_ptr, d_offs, edt_buf, b_per_u); | ^ random.c:487:22: warning: passing arguments to 'dec_chr_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | if (!dec_chr_ok (text_buf, max_dec_8, (char) c, u_offs)) | ^ random.c:489:11: warning: passing arguments to 'bad_key' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | bad_key (k); | ^ random.c:497:14: warning: call to undeclared function 'get_int'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 497 | l_val = get_int (edt_buf); /* do intel swap */ | ^ random.c:499:22: warning: passing arguments to 'dec_chr_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | if (!dec_chr_ok (text_buf, max_dec_16, (char) c, u_offs)) | ^ random.c:501:11: warning: passing arguments to 'bad_key' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | bad_key (k); | ^ random.c:510:23: warning: passing arguments to 'get_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | l_val = get_long (edt_buf); /* do intel swap */ | ^ random.c:512:22: warning: passing arguments to 'dec_chr_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | if (!dec_chr_ok (text_buf, max_dec_32, (char) c, u_offs)) | ^ random.c:514:11: warning: passing arguments to 'bad_key' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | bad_key (k); | ^ random.c:519:23: warning: passing arguments to 'get_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | l_val = get_long ((char *) &l_val); /* do intel swap */ | ^ random.c:523:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 523 | writ_echo (ERR_rnd_2); | ^ random.c:548:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 548 | writ_echo (MSG_edit_float); | ^ random.c:570:25: warning: passing arguments to 'get_double' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | d_val = get_double (edt_buf); /* do intel swap */ | ^ random.c:586:11: warning: passing arguments to 'bad_key' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | bad_key (k); | ^ random.c:594:11: warning: passing arguments to 'bad_key' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | bad_key (k); | ^ random.c:599:25: warning: passing arguments to 'get_double' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | d_val = get_double ((char *) &d_val); /* do intel swap */ | ^ random.c:619:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 619 | writ_echo (ERR_rnd_3); | ^ random.c:625:19: warning: call to undeclared function 'get_curcol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 625 | if (cur_col > get_curcol (curwp)) | ^ random.c:626:2: warning: call to undeclared function 'lchange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 626 | lchange (WFHARD); | ^ random.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | selfinsert (f, n, k) | ^ random.c:640:5: warning: call to undeclared function 'lchange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 640 | lchange (WFEDIT); | ^ random.c:641:5: warning: call to undeclared function 'linsert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 641 | linsert ((R_B_PER_U (curwp) * n), 0); | ^ random.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | insertunit (f, n, k) | ^ random.c:687:2: warning: call to undeclared function 'lchange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 687 | lchange (WFHARD); | ^ random.c:688:2: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 688 | move_ptr (curwp, buf_size, TRUE, FALSE, FALSE); /* move dot to end */ | ^ random.c:689:9: warning: call to undeclared function 'linsert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 689 | stat = linsert (insert_val, 0); | ^ random.c:701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | dec_chr_ok (char_buf, max_str, chr, pos) | ^ random.c:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | char dec_chr_ok (); | ^ random.c:737:5: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 737 | wind_on_dot (curwp); | ^ random.c:739:5: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 739 | update (); | ^ random.c:811:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 811 | writ_echo (ERR_rnd_4); | ^ random.c:840:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 840 | writ_echo (ERR_rnd_5); | ^ random.c:871:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 871 | writ_echo (ERR_rnd_6); | ^ random.c:900:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 900 | writ_echo (ERR_rnd_7); | ^ random.c:965:5: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 965 | move_ptr (curwp, 0L, TRUE, TRUE, TRUE); | ^ random.c:966:5: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 966 | wind_on_dot (curwp); | ^ random.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | dispshift (f, n, k) | ^ random.c:987:18: warning: passing arguments to 'backdel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | return (backdel (f, -n, KRANDOM)); | ^ random.c:996:3: warning: call to undeclared function 'bclear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 996 | bclear (&sav_buf); | ^ random.c:999:6: warning: call to undeclared function 'ldelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 999 | s = ldelete ((A32) n, f); | ^ random.c:981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | forwdel (f, n, k) | ^ random.c:1028:11: warning: call to undeclared function 'backchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1028 | if ((s = backchar (f, n * R_CHR_PER_U (curwp), KRANDOM)) == TRUE) | ^ random.c:1030:10: warning: call to undeclared function 'ldelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1030 | s = ldelete ((A32) n, f); | ^ random.c:1035:7: warning: call to undeclared function 'bclear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1035 | bclear (&sav_buf); | ^ random.c:1013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | backdel (f, n, k) | ^ random.c:12: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] 12 | char backdel (); | ^ random.c:1082:5: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1082 | move_ptr (curwp, 0L, TRUE, TRUE, TRUE); | ^ random.c:1083:5: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1083 | wind_on_dot (curwp); | ^ random.c:1085:5: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1085 | update (); | ^ random.c:1127:5: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1127 | move_ptr (curwp, 0L, TRUE, TRUE, TRUE); | ^ random.c:1128:5: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1128 | wind_on_dot (curwp); | ^ random.c:1130:5: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1130 | update (); | ^ random.c:1176:5: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1176 | move_ptr (curwp, 0L, TRUE, TRUE, TRUE); | ^ random.c:1177:5: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1177 | wind_on_dot (curwp); | ^ random.c:1179:5: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1179 | update (); | ^ random.c:1209:5: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1209 | move_ptr (curwp, 0L, TRUE, TRUE, TRUE); | ^ random.c:1210:5: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1210 | wind_on_dot (curwp); | ^ random.c:1212:5: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1212 | update (); | ^ random.c:1234:5: warning: call to undeclared function 'update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1234 | update (); | ^ random.c:1222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | dispswapbyte (f, n, k) | ^ random.c:1261:2: warning: call to undeclared function 'save_buf_home'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1261 | save_buf_home (); | ^ random.c:1262:14: warning: call to undeclared function 'get_save_char'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1262 | while ((c = get_save_char ()) != (D16) - 1) | ^ random.c:1264:10: warning: call to undeclared function 'linsert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1264 | if (linsert (1, (uchar) c) == FALSE) | ^ random.c:1270:3: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1270 | writ_echo (buf); | ^ random.c:1272:7: warning: call to undeclared function 'ttkeyready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1272 | if (ttkeyready ()) | ^ random.c:1275:11: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1275 | if (ttgetc () == CTL_G) | ^ random.c:1285:2: warning: call to undeclared function 'listbuffers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1285 | listbuffers (); | ^ random.c:1249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1249 | yank (f, n, k) | ^ random.c:1318:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1318 | writ_echo (buf); | ^ random.c:1331:5: warning: call to undeclared function 'ttbeep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1331 | ttbeep (); | ^ random.c:1332:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1332 | sprintf (buf, MSG_bad_key); | ^~~~~~~~~~~ random.c:1332:19: note: treat the string as an argument to avoid this 1332 | sprintf (buf, MSG_bad_key); | ^ | "%s", random.c:1333:5: warning: call to undeclared function 'keyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1333 | keyname (&buf[strlen (buf)], key); | ^ random.c:1335:5: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1335 | writ_echo (buf); | ^ random.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | bad_key (key) | ^ random.c:14: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] 14 | void bad_key (); | ^ random.c:1359:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1359 | writ_echo (MSG_w_not_empty); | ^ random.c:1367:2: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1367 | writ_echo (MSG_w_not_empty); | ^ random.c:1377:2: warning: call to undeclared function 'nextwind'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1377 | nextwind (); | ^ random.c:1387:6: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1387 | if (move_ptr (curwp, 1L, TRUE, FALSE, TRUE) == FALSE) | ^ random.c:1393:3: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1393 | writ_echo (MSG_ok); | ^ random.c:1402:6: warning: call to undeclared function 'linsert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1402 | if (linsert (1, byt) == FALSE) | ^ random.c:1413:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1413 | writ_echo (buf); | ^ random.c:1415:10: warning: call to undeclared function 'ttkeyready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1415 | if (ttkeyready ()) | ^ random.c:1418:7: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1418 | if (ttgetc () == CTL_G) | ^ random.c:1344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | n_way_combine (f, n, k) | ^ random.c:1444:5: warning: call to undeclared function 'nextwind'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1444 | nextwind (); | ^ random.c:1452:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1452 | writ_echo (MSG_w_not_empty); | ^ random.c:1457:2: warning: call to undeclared function 'lchange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1457 | lchange (WFHARD); | ^ random.c:1483:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1483 | writ_echo (MSG_ok); | ^ random.c:1486:6: warning: call to undeclared function 'linsert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1486 | if (linsert (1, byt) == FALSE) | ^ random.c:1495:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1495 | writ_echo (buf); | ^ random.c:1497:10: warning: call to undeclared function 'ttkeyready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1497 | if (ttkeyready ()) | ^ random.c:1500:7: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1500 | if (ttgetc () == CTL_G) | ^ random.c:1504:6: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1504 | if (move_ptr (src_wp, 1L, TRUE, FALSE, TRUE) == FALSE) | ^ random.c:1507:6: warning: call to undeclared function 'writ_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1507 | writ_echo (MSG_ok); | ^ random.c:1431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | n_way_split (f, n, k) | ^ random.c:1521:2: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1521 | wind_on_dot (curwp); | ^ random.c:1522:2: warning: call to undeclared function 'nextwind'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1522 | nextwind (); | ^ 121 warnings generated. --- display.o --- display.c:173:2: warning: call to undeclared function 'err_echo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | err_echo (MSG_cnt_al_w); | ^ display.c:214:5: warning: call to undeclared function 'ttcolor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 214 | ttcolor (CTEXT); | ^ display.c:215:5: warning: call to undeclared function 'ttnowindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 215 | ttnowindow (); /* No scroll window. */ | ^ display.c:216:5: warning: call to undeclared function 'ttmove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | ttmove (nrow - 1, 0); /* Echo line. */ | ^ display.c:217:5: warning: call to undeclared function 'tteeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | tteeol (); | ^ display.c:218:5: warning: call to undeclared function 'tttidy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | tttidy (); | ^ display.c:219:5: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 219 | ttflush (); | ^ display.c:220:5: warning: call to undeclared function 'ttclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | ttclose (); | ^ display.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | vtmove (row, col) | ^ display.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | vtputc (c) | ^ display.c:325:28: warning: passing arguments to 'fill_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | chrs_in_lin = fill_buf (wp, cur_line, lin_offset, w_buf, chrs_per_row); | ^ display.c:360:12: warning: passing arguments to 'writ_echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | writ_echo (ERR_disp_1); | ^ display.c:366:17: warning: passing arguments to 'bin_to_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | bin_to_text (w_buf, vp->v_text, chrs_in_lin, wp->w_fmt_ptr); | ^ display.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 | vtputd (wp, row) | ^ display.c:441:22: warning: passing arguments to 'get_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | temp_int = get_int (&bin_buf[i]); | ^ display.c:451:24: warning: passing arguments to 'get_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | temp_long = get_long (&bin_buf[i]); | ^ display.c:473:22: warning: passing arguments to 'get_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | temp_int = get_int (&bin_buf[i]); | ^ display.c:482:24: warning: passing arguments to 'get_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | temp_long = get_long (&bin_buf[i]); | ^ display.c:499:22: warning: passing arguments to 'get_float' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | temp_d = get_float (&bin_buf[i]); | ^ display.c:521:23: warning: passing arguments to 'get_double' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | temp_d = get_double (&bin_buf[i]); | ^ display.c:547:22: warning: passing arguments to 'get_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | temp_int = get_int (&bin_buf[i]); | ^ display.c:557:24: warning: passing arguments to 'get_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | temp_long = get_long (&bin_buf[i]); | ^ display.c:587:22: warning: passing arguments to 'get_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | temp_int = get_int (&bin_buf[i]); | ^ display.c:606:24: warning: passing arguments to 'get_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | temp_long = get_long (&bin_buf[i]); | ^ display.c:623:12: warning: passing arguments to 'writ_echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | writ_echo (ERR_disp_2); | ^ display.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | bin_to_text (bin_buf, txt_buf, len, fmt_ptr) | ^ display.c:24: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] 24 | void bin_to_text (); | ^ display.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 | get_int (w_buf) | ^ display.c:21:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | D16 get_int (); | ^ display.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | get_long (w_buf) | ^ display.c:20:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | D32 get_long (); | ^ display.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | get_float (w_buf) | ^ display.c:19:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | F32 get_float (); | ^ display.c:739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | get_double (w_buf) | ^ display.c:18:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | D64 get_double (); | ^ display.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | fill_buf (wp, lin, lin_off, w_buff, cnt) | ^ display.c:25: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] 25 | uint fill_buf (); | ^ display.c:857:6: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 857 | move_ptr (wp, 0L, TRUE, TRUE, TRUE); /* insure dot is aligned */ | ^ display.c:858:6: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 858 | wind_on_dot (wp); /* move window to new dot position */ | ^ display.c:863:6: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 863 | move_ptr (wp, 0L, FALSE, TRUE, TRUE); /* window on row boundary */ | ^ display.c:867:3: warning: call to undeclared function 'wind_on_dot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 867 | wind_on_dot (wp); /* position window on dot */ | ^ display.c:869:21: warning: passing arguments to 'get_currow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | i = get_currow (wp);/* Redo this one line, mabey. */ | ^ display.c:910:12: warning: passing arguments to 'modeline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | modeline (wp); | ^ display.c:922:2: warning: call to undeclared function 'ttmove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 922 | ttmove (0, 0); | ^ display.c:923:2: warning: call to undeclared function 'tteeop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 923 | tteeop (); | ^ display.c:937:9: warning: passing arguments to 'uline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | uline (i, vscreen[i], &blanks); | ^ display.c:938:9: warning: passing arguments to 'ucopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | ucopy (vscreen[i], pscreen[i]); | ^ display.c:943:21: warning: passing arguments to 'get_currow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | ttmove (get_currow (curwp), get_curcol (curwp)); | ^ display.c:943:41: warning: passing arguments to 'get_curcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | ttmove (get_currow (curwp), get_curcol (curwp)); | ^ display.c:944:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 944 | ttflush (); | ^ display.c:959:9: warning: passing arguments to 'uline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | uline (i, vp1, vp2); | ^ display.c:960:9: warning: passing arguments to 'ucopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | ucopy (vp1, vp2); | ^ display.c:964:5: warning: call to undeclared function 'ttmove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 964 | ttmove (get_currow (curwp), get_curcol (curwp)); | ^ display.c:964:24: warning: passing arguments to 'get_currow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | ttmove (get_currow (curwp), get_curcol (curwp)); | ^ display.c:964:44: warning: passing arguments to 'get_curcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | ttmove (get_currow (curwp), get_curcol (curwp)); | ^ display.c:965:5: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 965 | ttflush (); | ^ display.c:984:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 984 | printf (ERR_disp_3); | ^~~~~~~~~~ display.c:984:10: note: treat the string as an argument to avoid this 984 | printf (ERR_disp_3); | ^ | "%s", display.c:986:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 986 | printf (ERR_disp_4); | ^~~~~~~~~~ display.c:986:10: note: treat the string as an argument to avoid this 986 | printf (ERR_disp_4); | ^ | "%s", display.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | get_currow (wp) | ^ display.c:26: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] 26 | uint get_currow (); | ^ display.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | get_curcol (wp) | ^ display.c:27: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] 27 | uint get_curcol (); | ^ display.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | ucopy (vvp, pvp) | ^ display.c:33: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] 33 | void ucopy (); | ^ display.c:1076:2: warning: call to undeclared function 'ttmove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1076 | ttmove (row, 0); /* full redraw. */ | ^ display.c:1077:2: warning: call to undeclared function 'ttcolor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1077 | ttcolor (vvp->v_color); | ^ display.c:1082:6: warning: call to undeclared function 'ttputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1082 | ttputc (*cp1++); | ^ display.c:1116:5: warning: call to undeclared function 'ttmove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1116 | ttmove (row, (int) (cp1 - &vvp->v_text[0])); | ^ display.c:1117:5: warning: call to undeclared function 'ttcolor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1117 | ttcolor (vvp->v_color); | ^ display.c:1120:2: warning: call to undeclared function 'ttputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1120 | ttputc (*cp1++); | ^ display.c:1124:2: warning: call to undeclared function 'tteeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1124 | tteeol (); | ^ display.c:1062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | uline (row, vvp, pvp) | ^ display.c:32: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] 32 | void uline (); | ^ display.c:1291:12: warning: passing arguments to 'writ_echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | writ_echo (ERR_disp_5); | ^ display.c:1312:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1312 | sprintf (posn_buf, MSG_siz_8); | ^~~~~~~~~ display.c:1312:25: note: treat the string as an argument to avoid this 1312 | sprintf (posn_buf, MSG_siz_8); | ^ | "%s", display.c:1315:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1315 | sprintf (posn_buf, MSG_siz_16); | ^~~~~~~~~~ display.c:1315:25: note: treat the string as an argument to avoid this 1315 | sprintf (posn_buf, MSG_siz_16); | ^ | "%s", display.c:1318:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1318 | sprintf (posn_buf, MSG_siz_32); | ^~~~~~~~~~ display.c:1318:25: note: treat the string as an argument to avoid this 1318 | sprintf (posn_buf, MSG_siz_32); | ^ | "%s", display.c:1321:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1321 | sprintf (posn_buf, MSG_siz_64); | ^~~~~~~~~~ display.c:1321:25: note: treat the string as an argument to avoid this 1321 | sprintf (posn_buf, MSG_siz_64); | ^ | "%s", display.c:1325:16: warning: passing arguments to 'writ_echo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | writ_echo (ERR_disp_6); | ^ display.c:1331:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1331 | sprintf (posn_buf, MSG_siz_null); | ^~~~~~~~~~~~ display.c:1331:21: note: treat the string as an argument to avoid this 1331 | sprintf (posn_buf, MSG_siz_null); | ^ | "%s", display.c:1138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | modeline (wp) | ^ display.c:23: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] 23 | void modeline (); | ^ display.c:1398:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1398 | ttflush (); | ^ display.c:1365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | writ_echo (buf) | ^ display.c:22: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] 22 | void writ_echo (); | ^ display.c:1434:14: warning: call to undeclared function 'ereply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1434 | if ((s = ereply (MSG_prn_to, fname, NFILEN, NULL)) == ABORT) | ^ display.c:1436:5: warning: call to undeclared function 'adjustcase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1436 | adjustcase (fname); | ^ display.c:1437:14: warning: call to undeclared function 'ffwopen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1437 | if ((s = ffwopen (fname, S_IREAD | S_IWRITE)) != FIOSUC) /* Open writes message. */ | ^ display.c:1444:2: warning: call to undeclared function 'swapmark'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1444 | swapmark (); /* make mark first */ | ^ display.c:1449:6: warning: call to undeclared function 'ttkeyready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1449 | if (ttkeyready ()) | ^ display.c:1451:10: warning: call to undeclared function 'ttgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1451 | if (ttgetc () == CTL_G) /* quit if abort was hit */ | ^ display.c:1456:2: warning: call to undeclared function 'move_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1456 | move_ptr (curwp, DOT_POS (curwp), FALSE, TRUE, FALSE); | ^ display.c:1464:15: warning: call to undeclared function 'ffputline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1464 | if ((s = ffputline (vscreen[vtrow]->v_text, i)) != FIOSUC) | ^ display.c:1471:2: warning: call to undeclared function 'forwline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1471 | forwline (0, 1, KRANDOM); /* advance to next line */ | ^ display.c:1473:5: warning: call to undeclared function 'ffclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1473 | ffclose (); | ^ 95 warnings generated. --- beav --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX -DBSD -DNOPROTO basic.o ebcdic.o fileio.o region.o text.o wangpc.o buffer.o echo.o language.o main.o search.o tty.o window.o cinfo.o extend.o kbd.o spawn.o ttyio.o termio.o tcap.o word.o display.o file.o line.o random.o symbol.o ttykbd.o format.o -lncurses -o beav =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for beav-1.40.18_4 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/editors/beav/work/beav-140/beav /wrkdirs/usr/ports/editors/beav/work/stage/usr/local/bin/beav install -m 444 /wrkdirs/usr/ports/editors/beav/work/beav-140/beav.1 /wrkdirs/usr/ports/editors/beav/work/stage/usr/local/share/man/man1/ install -m 0644 /wrkdirs/usr/ports/editors/beav/work/beav-140/beav140.txt /wrkdirs/usr/ports/editors/beav/work/stage/usr/local/share/doc/beav/beav.txt ====> 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-21T20:34:37+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=d6a45e9f5edf' '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 beav-1.40.18_4 ===> Building beav-1.40.18_4 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for beav-1.40.18_4 build of editors/beav | beav-1.40.18_4 ended at Wed Jan 21 15:34:43 EST 2026 build time: 00:00:06