=>> Building japanese/ng-canna build started at Fri Feb 20 23:18:54 EST 2026 port directory: /usr/ports/japanese/ng-canna package name: ja-ng-canna-1.4.4_2 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 233 Aug 27 2024 /usr/ports/japanese/ng-canna/Makefile Ports top last git commit: eac71dbf758c Ports top unclean checkout: no Port dir last git commit: e79fe1aabc5b Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 09 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 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_15_0_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_15_0_x64-HEAD-ALL/09/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for ja-ng-canna-1.4.4_2: 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/japanese/ng-canna/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/ng-canna/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/ng-canna/work/.cache HOME=/wrkdirs/usr/ports/japanese/ng-canna/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/ng-canna/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/ng-canna/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/japanese/ng-canna/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/ng-canna/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/ng-canna/work/.cache HOME=/wrkdirs/usr/ports/japanese/ng-canna/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/ng-canna/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/ng-canna/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 -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -lncurses -L/usr/local/lib -lcanna " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -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=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ja/ng" EXAMPLESDIR="share/examples/ng" DATADIR="share/ng" WWWDIR="www/ng" ETCDIR="etc/ng" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ng DOCSDIR=/usr/local/share/doc/ja/ng EXAMPLESDIR=/usr/local/share/examples/ng WWWDIR=/usr/local/www/ng ETCDIR=/usr/local/etc/ng --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 ng 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 ===> ja-ng-canna-1.4.4_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> ja-ng-canna-1.4.4_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ja-ng-canna-1.4.4_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ng 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 ja-ng-canna-1.4.4_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ng 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 ja-ng-canna-1.4.4_2 for building => SHA256 Checksum OK for ng-1.4.4.tar.gz. => SHA256 Checksum OK for ng-1.4.4-replace_bug.patch. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ng 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 ja-ng-canna-1.4.4_2 for building ===> Extracting for ja-ng-canna-1.4.4_2 ===> NOTICE: The ng 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 ja-ng-canna-1.4.4_2 for building => SHA256 Checksum OK for ng-1.4.4.tar.gz. => SHA256 Checksum OK for ng-1.4.4-replace_bug.patch. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ja-ng-canna-1.4.4_2 ===> Applying distribution patches for ja-ng-canna-1.4.4_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-ng-canna-1.4.4_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> ja-ng-canna-1.4.4_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of ja-ng-canna-1.4.4_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-ng-canna-1.4.4_2 depends on shared library: libcanna.so - not found ===> Installing existing package /packages/All/ja-canna-lib-3.7p3_9.pkg [pkg.DaveG.ca] Installing ja-canna-lib-3.7p3_9... [pkg.DaveG.ca] Extracting ja-canna-lib-3.7p3_9: .......... done ===> ja-ng-canna-1.4.4_2 depends on shared library: libcanna.so - found (/usr/local/lib/libcanna.so) ===> Returning to build of ja-ng-canna-1.4.4_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ja-ng-canna-1.4.4_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ja-ng-canna-1.4.4_2 --- ttydef.h --- --- sysdef.h --- --- chrdef.h --- --- cinfo.c --- --- spawn.c --- --- ttyio.c --- --- tty.c --- --- ttykbd.c --- --- fileio.c --- --- canna.c --- --- ttydef.h --- rm -f ttydef.h --- sysdef.h --- rm -f sysdef.h --- chrdef.h --- rm -f chrdef.h --- cinfo.c --- rm -f cinfo.c --- spawn.c --- rm -f spawn.c --- ttyio.c --- rm -f ttyio.c --- ttydef.h --- ln sys/default/ttydef.h . --- tty.c --- rm -f tty.c --- sysdef.h --- ln sys/sysv/sysdef.h . --- ttykbd.c --- rm -f ttykbd.c --- chrdef.h --- ln sys/default/chrdef.h . --- canna.c --- rm -f canna.c --- fileio.c --- rm -f fileio.c --- ttyio.c --- ln sys/sysv/ttyio.c . --- cinfo.c --- ln sys/default/cinfo.c . --- spawn.c --- ln sys/sysv/spawn.c . --- tty.c --- ln sys/default/tty.c . --- ttykbd.c --- ln sys/default/ttykbd.c . --- fileio.c --- ln sys/sysv/fileio.c . --- canna.c --- ln sys/default/canna.c . --- basic.o --- --- dir.o --- --- dired.o --- --- shell.o --- --- version.o --- --- window.o --- --- kinsoku.o --- --- jump.o --- --- ttyio.o --- --- buffer.o --- --- cmode.o --- --- file.o --- --- line.o --- --- paragraph.o --- --- random.o --- --- region.o --- --- undo.o --- --- word.o --- --- complt.o --- --- display.o --- --- keymap.o --- --- modes.o --- --- echo.o --- --- extend.o --- --- help.o --- --- kanji.o --- --- kbd.o --- --- macro.o --- --- main.o --- --- search.o --- --- match.o --- --- re_search.o --- --- regex.o --- --- skg.o --- --- main.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c main.c -o main.o --- basic.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c basic.c -o basic.o --- dir.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c dir.c -o dir.o --- dired.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c dired.c -o dired.o --- shell.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c shell.c -o shell.o --- version.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c version.c -o version.o --- window.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c window.c -o window.o --- kinsoku.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c kinsoku.c -o kinsoku.o --- jump.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c jump.c -o jump.o --- ttyio.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c ttyio.c -o ttyio.o --- buffer.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c buffer.c -o buffer.o --- cmode.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c cmode.c -o cmode.o --- file.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c file.c -o file.o --- line.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c line.c -o line.o --- paragraph.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c paragraph.c -o paragraph.o --- random.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c random.c -o random.o --- region.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c region.c -o region.o --- undo.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c undo.c -o undo.o --- word.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c word.c -o word.o --- complt.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c complt.c -o complt.o --- display.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c display.c -o display.o --- keymap.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c keymap.c -o keymap.o --- modes.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c modes.c -o modes.o --- echo.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c echo.c -o echo.o --- extend.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c extend.c -o extend.o --- help.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c help.c -o help.o --- kanji.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c kanji.c -o kanji.o --- kbd.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c kbd.c -o kbd.o --- macro.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c macro.c -o macro.o --- canna.o --- --- fileio.o --- --- ttykbd.o --- --- tty.o --- --- spawn.o --- --- cinfo.o --- --- skg.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c skg.c -o skg.o --- regex.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c regex.c -o regex.o --- match.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c match.c -o match.o --- search.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c search.c -o search.o --- re_search.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c re_search.c -o re_search.o --- fileio.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c fileio.c -o fileio.o --- ttykbd.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c ttykbd.c -o ttykbd.o --- canna.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c canna.c -o canna.o --- spawn.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c spawn.c -o spawn.o --- cinfo.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c cinfo.c -o cinfo.o --- tty.o --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -c tty.c -o tty.o --- shell.o --- In file included from shell.c:16: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from shell.c:17: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from shell.c:17: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from shell.c:17: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ shell.c:21:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 21 | shellcmnd(f, n) | ^ 22 | { shell.c:21:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 21 | shellcmnd(f, n) | ^ 22 | { shell.c:21:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 21 | shellcmnd(f, n) | ^ | int shell.c:36:18: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | if ((bp = bfind("*Shell Command Output*", TRUE)) == NULL) return FALSE; | ^ shell.c:37:19: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | if ((wp = popbuf(bp)) == NULL) return FALSE; | ^ shell.c:43:28: warning: passing arguments to 'call_process' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | if ((result = call_process(buf, NULL)) == NULL) | ^ shell.c:49:17: warning: passing arguments to 'gotobob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | (VOID) gotobob(0, 1); | ^ shell.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | shellcmnd(f, n) | ^ 12 warnings generated. --- dir.o --- In file included from dir.c:44: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from dir.c:45: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from dir.c:45: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from dir.c:45: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ dir.c:84: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] 84 | extern char* strncpy(); | ^ dir.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | storecwd(bp) | ^ dir.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | rchdir(newdir) | ^ dir.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | vchdir(newdir) | ^ dir.c:306:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 306 | changedir(f, n) | ^ 307 | { dir.c:306:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 306 | changedir(f, n) | ^ 307 | { dir.c:306:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 306 | changedir(f, n) | ^ | int dir.c:321:25: warning: passing arguments to 'adjustname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | strcpy(bufc, adjustname(bufc)); | ^ dir.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 | changedir(f, n) | ^ dir.c:489:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 489 | showcwdir(f, n) | ^ 490 | { dir.c:489:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 489 | showcwdir(f, n) | ^ 490 | { dir.c:489:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 489 | showcwdir(f, n) | ^ | int dir.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 warnings generated. --- cinfo.o --- In file included from cinfo.c:18: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from cinfo.c:19: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from cinfo.c:19: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from cinfo.c:19: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ cinfo.c:140:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | char *keyname(cp, k) | ^ In file included from cinfo.c:19: ./def.h:409: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] 409 | extern char *keyname(); | ^ 6 warnings generated. --- version.o --- In file included from version.c:42: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from version.c:45: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from version.c:45: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from version.c:45: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ version.c:97:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 97 | showversion(f, n) | ^ | int version.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] version.c:254:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 254 | showngversion(f, n) | ^ | int version.c:261:17: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | if ((bp = bfind("*Ng Version*", TRUE)) == NULL) return FALSE; | ^ version.c:447:18: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | if ((wp = popbuf(bp)) == NULL) return FALSE; | ^ version.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 | showngversion(f, n) | ^ version.c:458:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 458 | printversion() | ^ | int version.c:478:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 478 | printoptions() | ^ | int 12 warnings generated. --- main.o --- In file included from main.c:31: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from main.c:32: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from main.c:32: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from main.c:32: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ main.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | main(argc, argv) | ^ | int main.c:133:2: warning: call to undeclared function 'ttykeymapinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | ttykeymapinit(ngrcfile); /* Symbols, bindings. */ | ^ main.c:147:23: warning: passing arguments to 'startupfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | if ((cp = startupfile(ngrcfile, (char *)NULL)) != NULL) | ^ main.c:172:18: warning: passing arguments to 'adjustname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | cp = adjustname(*++argv); | ^ main.c:181:16: warning: passing arguments to 'gotoline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | gotoline(1,line); | ^ main.c:188:26: warning: passing arguments to 'findbuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | if ((tmpbp = findbuffer(cp)) == NULL) break; /* 91.02.17 by N.Yuasa */ | ^ main.c:200:15: warning: passing arguments to 'gotoline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | gotoline(1,line); | ^ main.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | main(argc, argv) | ^ main.c:255:12: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | bp = bfind("*scratch*", TRUE); /* Text buffer. */ | ^ main.c:282:9: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 282 | quit(f, n) | ^ 283 | { main.c:282:6: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 282 | quit(f, n) | ^ 283 | { main.c:282:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 282 | quit(f, n) | ^ | int main.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] main.c:308:10: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 308 | ctrlg(f, n) | ^ 309 | { main.c:308:7: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 308 | ctrlg(f, n) | ^ 309 | { main.c:308:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 308 | ctrlg(f, n) | ^ | int main.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] 21 warnings generated. --- macro.o --- In file included from macro.c:11: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from macro.c:14: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from macro.c:14: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from macro.c:14: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ macro.c:21:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 21 | definemacro(f, n) | ^ | int macro.c:40:29: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | if((maclhead = lp1 = lalloc(0)) == NULL) return FALSE; | ^ macro.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | definemacro(f, n) | ^ macro.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | finishmacro(f, n) | ^ | int macro.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] macro.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | executemacro(f, n) | ^ | int macro.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] macro.c:67:33: warning: array index 256 is past the end of the array (that has type 'union (unnamed union at ./macro.h:22:8)[256]') [-Warray-bounds] 67 | (macrocount >= MAXMACRO && macro[MAXMACRO].m_funct != finishmacro)) | ^ ~~~~~~~~ ./macro.h:22:8: note: array 'macro' declared here 22 | EXTERN union { | ^ 12 warnings generated. --- spawn.o --- In file included from spawn.c:22: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from spawn.c:23: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from spawn.c:23: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from spawn.c:23: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ spawn.c:44:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | spawncli(f, n) | ^ 45 | { spawn.c:44:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | spawncli(f, n) | ^ 45 | { spawn.c:44:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | spawncli(f, n) | ^ | int spawn.c:46:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 46 | extern char *strrchr(); | ^ spawn.c:63:2: warning: call to undeclared function 'ttykeymaptidy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | ttykeymaptidy(); | ^ spawn.c:147:16: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | while ((wpid=wait(&status))>=0 && wpid!=pid) | ^ spawn.c:164:2: warning: call to undeclared function 'refresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | refresh(FFRAND, 0); /* May be resized. */ | ^ spawn.c:169:2: warning: call to undeclared function 'ttykeypadstart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | ttykeypadstart(); | ^ spawn.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 | spawncli(f, n) | ^ spawn.c:197:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 197 | extern char *mktemp(); | ^ /usr/include/stdlib.h:217:7: note: conflicting prototype is here 217 | char *mktemp(char *); | ^ spawn.c:202:12: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | if ((in = open(input ? input : "/dev/null", 0)) < 0) | ^ spawn.c:204:13: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | if ((out = creat(tmp, S_IREAD | S_IWRITE)) < 0) { | ^ spawn.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | call_process(command, input) | ^ 17 warnings generated. --- jump.o --- In file included from jump.c:30: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from jump.c:33: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from jump.c:33: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from jump.c:33: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ In file included from jump.c:41: ./regex_j.h:281: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] 281 | extern char *re_comp (); | ^ /usr/include/unistd.h:560:7: note: conflicting prototype is here 560 | char *re_comp(const char *); | ^ In file included from jump.c:41: ./regex_j.h:282: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] 282 | extern int re_exec (); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ jump.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | set_regexp( pat ) | ^ | int jump.c:99:34: warning: passing arguments to 're_compile_pattern' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | message = re_compile_pattern (pat, strlen(pat), &re_buff); | ^ jump.c:100:20: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] 100 | if (message != '\0') { | ^~~~ | (void *)0 jump.c:106:24: warning: passing arguments to 're_compile_fastmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | re_compile_fastmap (&re_buff); | ^ jump.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | set_regexp( pat ) | ^ jump.c:110:27: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | parse_error_message( clp, col, namebuf, ip, parse_end ) | ^ 111 | LINE *clp; 112 | char *namebuf; 113 | int *ip, *parse_end; 114 | { jump.c:110:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | parse_error_message( clp, col, namebuf, ip, parse_end ) | ^ | int jump.c:123:19: warning: passing arguments to 're_search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | i = re_search (&re_buff, ltext(clp), llength(clp), | ^ jump.c:140:26: warning: passing arguments to 'grab_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | filename = grab_filename( buf ); | ^ jump.c:147:26: warning: passing arguments to 'grab_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | filename = grab_filename( buf ); | ^ jump.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | parse_error_message( clp, col, namebuf, ip, parse_end ) | ^ jump.c:160:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | jumptoerror(f,n) | ^ 161 | { jump.c:160:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | jumptoerror(f,n) | ^ 161 | { jump.c:160:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | jumptoerror(f,n) | ^ | int jump.c:167: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 previous declaration [-Wdeprecated-non-prototype] 167 | extern int access(); | ^ /usr/include/unistd.h:329:6: note: conflicting prototype is here 329 | int access(const char *, int); | ^ jump.c:192:18: warning: passing arguments to 'filevisit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | if (!filevisit(FFRAND,0)) return FALSE; | ^ jump.c:194:18: warning: passing arguments to 'poptofile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | if (!poptofile(FFRAND,0)) return FALSE; | ^ jump.c:196:11: warning: passing arguments to 'gotoline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | gotoline( FFARG, lineno ); | ^ jump.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | jumptoerror(f,n) | ^ jump.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | grab_filename( buf ) | ^ jump.c:80: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] 80 | static char *grab_filename(); | ^ jump.c:264:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 264 | compile(f, n) | ^ 265 | { jump.c:264:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 264 | compile(f, n) | ^ 265 | { jump.c:264:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 264 | compile(f, n) | ^ | int jump.c:280:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | if ((bp = bfind("*compilation*", TRUE)) == NULL) return FALSE; | ^ jump.c:281:21: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | if ((wp = popbuf(bp)) == NULL) return FALSE; | ^ jump.c:288:31: warning: passing arguments to 'call_process' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | if ((result = call_process(compile_command, NULL)) == NULL) | ^ jump.c:292:19: warning: passing arguments to 'gotobob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | (VOID) gotobob(0, 1); | ^ jump.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | compile(f, n) | ^ jump.c:310:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 310 | nexterror(f, n) | ^ 311 | { jump.c:310:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 310 | nexterror(f, n) | ^ 311 | { jump.c:310:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 310 | nexterror(f, n) | ^ | int jump.c:319:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | if ((bp = bfind("*compilation*", TRUE)) == NULL) return FALSE; | ^ jump.c:320:21: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | if ((wp = popbuf(bp)) == NULL) return FALSE; | ^ jump.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 | nexterror(f, n) | ^ 41 warnings generated. --- canna.o --- In file included from canna.c:18: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from canna.c:21: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from canna.c:21: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from canna.c:21: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ canna.c:132:24: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 132 | char *kb=kouhobuf, *gl=ks.gline.line; | ^ ~~~~~~~~~~~~~ canna.c:138:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 138 | while(*kb++ = *gl++) ; | ~~~~~~^~~~~~~ canna.c:138:16: note: place parentheses around the assignment to silence this warning 138 | while(*kb++ = *gl++) ; | ^ | ( ) canna.c:138:16: note: use '==' to turn this assignment into an equality comparison 138 | while(*kb++ = *gl++) ; | ^ | == canna.c:56:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | int henkan( c ) | ^ canna.c:151:34: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 151 | jrKanjiControl(0, KC_SETWIDTH, (char *) ncol-2); | ^~~~~~~~~~~~~ canna.c:159:13: warning: assigning to 'unsigned char *' from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 159 | ksv.buffer = kakutei; | ^ ~~~~~~~ 9 warnings generated. --- match.o --- In file included from match.c:30: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from match.c:31: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from match.c:31: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from match.c:31: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ match.c:59:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 59 | showmatch(f, n) | ^ 60 | { match.c:59:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 59 | showmatch(f, n) | ^ 60 | { match.c:59:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 59 | showmatch(f, n) | ^ | int match.c:68:23: warning: passing arguments to 'getmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | if( !getmatch(curwp->w_dotp, curwp->w_doto - 1, &clp, &cbo, -1)) | ^ match.c:71:23: warning: passing arguments to 'displaymatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | displaymatch(clp,cbo); | ^ match.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | showmatch(f, n) | ^ match.c:81:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | gotomatch(f,n) | ^ 82 | { match.c:81:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | gotomatch(f,n) | ^ 82 | { match.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | gotomatch(f,n) | ^ | int match.c:90:15: warning: passing arguments to 'getmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | if( !getmatch(curwp->w_dotp, curwp->w_doto, &clp, &cbo, dir)){ | ^ match.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | gotomatch(f,n) | ^ match.c:103:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | blinkmatch( clp, cbo ) | ^ | int match.c:110:18: warning: passing arguments to 'getmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | if( !getmatch(clp,cbo,&mlp,&mbo,-1) ) | ^ match.c:112:17: warning: passing arguments to 'displaymatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | displaymatch(mlp,mbo); | ^ match.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 | blinkmatch( clp, cbo ) | ^ match.c:117:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 116 | static | ~~~~~~ | int 117 | getmatch( clp, cbo, mlp, mbo, dir ) | ^ match.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] match.c:35:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | static int getmatch(); /* Nov 91. Added by bsh */ | ^ match.c:203:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | static VOID displaymatch(clp, cbo) | ^ match.c:34:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | static VOID displaymatch(); | ^ 24 warnings generated. --- canna.o --- --- match.o --- --- keymap.o --- In file included from keymap.c:35: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from keymap.c:36: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from keymap.c:36: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from keymap.c:36: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ keymap.c:399:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 399 | extern int showversion(); /* Show version numbers, etc. */ | ^ keymap.c:433:12: note: conflicting prototype is here 433 | extern int showversion _PF(); /* Show ng version breifry */ | ^ keymap.c:401:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 401 | extern int showngversion(); /* Show Ng version, etc. */ | ^ keymap.c:434:12: note: conflicting prototype is here 434 | extern int showngversion _PF(); /* Show ng version verbose */ | ^ keymap.c:1272:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | char *map_name(map) | ^ In file included from keymap.c:37: ./kbd.h:68: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] 68 | extern char *map_name(); | ^ keymap.c:1283:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1283 | MAPS *name_mode(name) | ^ In file included from keymap.c:37: ./kbd.h:69:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | extern MAPS *name_mode(); | ^ keymap.c:1294:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1294 | KEYMAP *name_map(name) | ^ In file included from keymap.c:37: ./kbd.h:67: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] 67 | extern KEYMAP *name_map(); | ^ keymap.c:1737:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1737 | name_fent(fname, flag) | ^ | int keymap.c:1737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] keymap.c:1765:4: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1765 | PF name_function(fname) | ^ In file included from keymap.c:37: ./kbd.h:64:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | extern PF name_function(); | ^ keymap.c:1815:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1815 | char *function_name(fpoint) | ^ In file included from keymap.c:37: ./kbd.h:65: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] 65 | extern char *function_name(); | ^ 18 warnings generated. --- ttyio.o --- In file included from ttyio.c:45: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from ttyio.c:46: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from ttyio.c:46: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from ttyio.c:46: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ ttyio.c:107:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 107 | ttopen() | ^ | int ttyio.c:113:3: warning: non-void function 'ttopen' should return a value [-Wreturn-mismatch] 113 | return; | ^ ttyio.c:175:11: warning: call to undeclared function 'getvalue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | || (nrow=getvalue(cp, "li")) <= 0 | ^ ttyio.c:193:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 193 | } | ^ ttyio.c:203:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 203 | getvalue(cp, name) | ^ | int ttyio.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ttyio.c:222:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 222 | ttclose() | ^ | int ttyio.c:225:3: warning: non-void function 'ttclose' should return a value [-Wreturn-mismatch] 225 | return; | ^ ttyio.c:238:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 238 | } | ^ ttyio.c:245:8: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 245 | ttputc(c) | ^ 246 | { ttyio.c:245:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 245 | ttputc(c) | ^ | int ttyio.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ttyio.c:250:1: warning: non-void function does not return a value [-Wreturn-type] 250 | } | ^ ttyio.c:255:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 255 | ttflush() | ^ | int ttyio.c:261:1: warning: non-void function does not return a value [-Wreturn-type] 261 | } | ^ ttyio.c:277:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 277 | ttgetc() | ^ | int ttyio.c:301:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 301 | ttungetc(c) | ^ | int ttyio.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ttyio.c:305:1: warning: non-void function does not return a value [-Wreturn-type] 305 | } | ^ ttyio.c:315:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 315 | typeahead() | ^ | int ttyio.c:337:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 337 | panic(s) | ^ | int ttyio.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ttyio.c:349:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 349 | setttysize() | ^ | int ttyio.c:361:12: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | if ((nrow=tgetnum ("li")) <= 0 | ^ ttyio.c:370:1: warning: non-void function does not return a value [-Wreturn-type] 370 | } | ^ ttyio.c:380:2: warning: call to undeclared function 'refresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 380 | refresh(FFRAND, 0); /* Very easy way... */ | ^ ttyio.c:382:2: warning: call to undeclared function 'canna_width'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 382 | canna_width(); | ^ ttyio.c:405:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 405 | ttwait() | ^ | int 32 warnings generated. --- modes.o --- In file included from modes.c:18: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from modes.c:19: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from modes.c:19: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from modes.c:19: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ modes.c:32:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 32 | VOID upmodes(); | ^ ./def.h:520:13: note: conflicting prototype is here 520 | extern VOID upmodes pro((BUFFER *)); | ^ modes.c:34:22: warning: passing arguments to 'name_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | if((m = name_mode(mode)) == NULL) { | ^ modes.c:26:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | static int changemode(f, n, mode) | ^ modes.c:65:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 65 | indentmode(f, n) | ^ 66 | { modes.c:65:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 65 | indentmode(f, n) | ^ 66 | { modes.c:65:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 65 | indentmode(f, n) | ^ | int modes.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] modes.c:70:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | fillmode(f, n) | ^ 71 | { modes.c:70:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | fillmode(f, n) | ^ 71 | { modes.c:70:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | fillmode(f, n) | ^ | int modes.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] modes.c:87:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | blinkparen(f, n) | ^ 88 | { modes.c:87:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | blinkparen(f, n) | ^ 88 | { modes.c:87:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | blinkparen(f, n) | ^ | int modes.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] modes.c:105:10: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | cmode(f, n) | ^ 106 | { modes.c:105:7: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | cmode(f, n) | ^ 106 | { modes.c:105:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | cmode(f, n) | ^ | int modes.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] modes.c:112:14: warning: passing arguments to 'set_tabwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | set_tabwidth(-1, cmode_tab); | ^ modes.c:118:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 118 | overwrite(f, n) | ^ | int modes.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] modes.c:129:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 129 | set_default_mode(f, n) | ^ | int modes.c:138:22: warning: passing arguments to 'name_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | if((m = name_mode(mode)) == NULL) { | ^ modes.c:168:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 168 | else defb_flag |= BFAUTOFILL; | ^ modes.c:172:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 172 | else defb_flag |= BFOVERWRITE; | ^ modes.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 | set_default_mode(f, n) | ^ 31 warnings generated. --- region.o --- In file included from region.c:21: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from region.c:22: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from region.c:22: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from region.c:22: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ region.c:33:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | killregion(f, n) | ^ 34 | { region.c:33:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | killregion(f, n) | ^ 34 | { region.c:33:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | killregion(f, n) | ^ | int region.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] region.c:67:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | copyregion(f, n) | ^ 68 | { region.c:67:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | copyregion(f, n) | ^ 68 | { region.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | copyregion(f, n) | ^ | int region.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] region.c:107:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 107 | copybuffer(f, n) | ^ 108 | { region.c:107:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 107 | copybuffer(f, n) | ^ 108 | { region.c:107:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 107 | copybuffer(f, n) | ^ | int region.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] region.c:157:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 157 | lowerregion(f, n) | ^ 158 | { region.c:157:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 157 | lowerregion(f, n) | ^ 158 | { region.c:157:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 157 | lowerregion(f, n) | ^ | int region.c:177:9: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | lchange(WFHARD); | ^ region.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 | lowerregion(f, n) | ^ region.c:202:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | upperregion(f, n) | ^ 203 | { region.c:202:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | upperregion(f, n) | ^ 203 | { region.c:202:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | upperregion(f, n) | ^ | int region.c:223:9: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | lchange(WFHARD); | ^ region.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | upperregion(f, n) | ^ region.c:253:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 253 | getregion(rp) register REGION *rp; { | ^ | int region.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] region.c:307:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 307 | setsize(rp, size) register REGION *rp; register RSIZE size; { | ^ | int region.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] region.c:337:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 337 | prefixregion(f, n) | ^ 338 | { region.c:337:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 337 | prefixregion(f, n) | ^ 338 | { region.c:337:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 337 | prefixregion(f, n) | ^ | int region.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] region.c:396:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 396 | setprefix(f, n) | ^ 397 | { region.c:396:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 396 | setprefix(f, n) | ^ 397 | { region.c:396:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 396 | setprefix(f, n) | ^ | int region.c:396: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 warnings generated. --- ttykbd.o --- In file included from ttykbd.c:15: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from ttykbd.c:16: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from ttykbd.c:16: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from ttykbd.c:16: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ ttykbd.c:35: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] 35 | extern int ttputc(); | ^ ./def.h:498:12: note: conflicting prototype is here 498 | extern int ttputc pro((int)); | ^ ttykbd.c:38:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 38 | ttykeymapinit(ngrcfile) | ^ | int --- kinsoku.o --- In file included from kinsoku.c:21: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from kinsoku.c:24: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from kinsoku.c:24: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ --- undo.o --- In file included from undo.c:36: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from undo.c:37: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from undo.c:37: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ --- ttykbd.o --- ttykbd.c:50:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 50 | if (cp = gettermtype()) { | ~~~^~~~~~~~~~~~~~~ ttykbd.c:50:9: note: place parentheses around the assignment to silence this warning 50 | if (cp = gettermtype()) { | ^ | ( ) ttykbd.c:50:9: note: use '==' to turn this assignment into an equality comparison 50 | if (cp = gettermtype()) { | ^ | == ttykbd.c:52:25: warning: passing arguments to 'startupfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | if (((cp = startupfile(ngrcfile, cp)) != NULL) | ^ ttykbd.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] --- kinsoku.o --- /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from kinsoku.c:24: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ kinsoku.c:70:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | kc_list_char(f, n) | ^ 71 | { kinsoku.c:70:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | kc_list_char(f, n) | ^ 71 | { kinsoku.c:70:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | kc_list_char(f, n) | ^ | int --- undo.o --- /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from undo.c:37: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ undo.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | ublock_open(bp) | ^ undo.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | ublock_close(bp) | ^ undo.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | undo_clean(bp) | ^ --- ttykbd.o --- 38 | ttykeymapinit(ngrcfile) | ^ ttykbd.c:60:1: warning: non-void function does not return a value [-Wreturn-type] 60 | } | ^ ttykbd.c:65:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 65 | ttykeypadstart() | ^ | int ttykbd.c:70:3: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | putpad(KS, 1); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ ttykbd.c:72:1: warning: non-void function does not return a value [-Wreturn-type] 72 | } | ^ ttykbd.c:77:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 77 | ttykeymaptidy() | ^ | int --- kinsoku.o --- kinsoku.c:82:17: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if ((bp = bfind("*Kinsoku Chars*", TRUE)) == NULL) return FALSE; | ^ kinsoku.c:150:18: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | if ((wp = popbuf(bp)) == NULL) return FALSE; | ^ kinsoku.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | kc_list_char(f, n) | ^ kinsoku.c:164:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 164 | kc_add_bol(f, n) | ^ 165 | { --- undo.o --- undo.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 | ublock_clear(upp) | ^ undo.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | undo_balloc(undo, size) | ^ undo.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | undo_bgrow(undo, size) | ^ undo.c:208:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 208 | do_undo(f, n) | ^ 209 | { undo.c:208:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 208 | do_undo(f, n) | ^ 209 | { --- ttykbd.o --- ttykbd.c:83:3: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | putpad(KE, 1); /* turn off keypad */ | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ ttykbd.c:85:1: warning: non-void function does not return a value [-Wreturn-type] 85 | } | ^ 16 warnings generated. --- kinsoku.o --- kinsoku.c:164:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 164 | kc_add_bol(f, n) | ^ 165 | { kinsoku.c:164:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 164 | kc_add_bol(f, n) | ^ | int kinsoku.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kinsoku.c:198:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 198 | kc_del_bol(f, n) | ^ 199 | { kinsoku.c:198:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 198 | kc_del_bol(f, n) | ^ 199 | { --- undo.o --- undo.c:315:10: warning: passing arguments to 'twiddle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | twiddle(FFRAND, 1); | ^ undo.c:339:10: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | lchange(WFEDIT); | ^ undo.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | do_undo(f, n) | ^ 15 warnings generated. --- kinsoku.o --- kinsoku.c:198:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 198 | kc_del_bol(f, n) | ^ | int kinsoku.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] kinsoku.c:232:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 232 | kc_add_eol(f, n) | ^ 233 | { kinsoku.c:232:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 232 | kc_add_eol(f, n) | ^ 233 | { kinsoku.c:232:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 232 | kc_add_eol(f, n) | ^ | int kinsoku.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kinsoku.c:266:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 266 | kc_del_eol(f, n) | ^ 267 | { kinsoku.c:266:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 266 | kc_del_eol(f, n) | ^ 267 | { kinsoku.c:266:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 266 | kc_del_eol(f, n) | ^ | int kinsoku.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kinsoku.c:362:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 362 | isbolkchar(c1, c2) | ^ | int kinsoku.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kinsoku.c:385:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 385 | iseolkchar(c1, c2) | ^ | int kinsoku.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 warnings generated. --- undo.o --- --- ttykbd.o --- --- kinsoku.o --- --- complt.o --- In file included from complt.c:29: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from complt.c:31: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from complt.c:31: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from complt.c:31: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ complt.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | complete (buf, flags) | ^ In file included from complt.c:33: ./complt.h:15:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | extern int complete (); | ^ complt.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | complete_message (matchnum) | ^ In file included from complt.c:33: ./complt.h:16:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern char *complete_message (); | ^ complt.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | complete_funcname (name) | ^ complt.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | complete_buffername (name) | ^ complt.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | complete_filename (name) | ^ complt.c:239:26: warning: passing arguments to 'fffiles' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | if ((fnnum = fffiles (name, &filenames)) == -1) | ^ complt.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | complete_list_names (buf, flags) | ^ complt.c:293:21: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | if ((bp = bfind ("*Completions*", TRUE)) == NULL) | ^ complt.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 | complete_list_funcnames (name, bp) | ^ complt.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | complete_list_buffernames (name, bp) | ^ complt.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | complete_list_filenames (name, bp) | ^ complt.c:494:28: warning: passing arguments to 'file_name_part' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | dnlen = file_name_part (name) - name; | ^ complt.c:496:26: warning: passing arguments to 'fffiles' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | if ((fnnum = fffiles (name, &filenames)) == -1) | ^ complt.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | estrlen(str) | ^ 20 warnings generated. --- window.o --- In file included from window.c:16: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from window.c:17: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from window.c:17: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from window.c:17: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ window.c:30:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | reposition(f, n) | ^ 31 | { window.c:30:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | reposition(f, n) | ^ 31 | { window.c:30:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | reposition(f, n) | ^ | int window.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] window.c:58:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | refresh(f, n) | ^ 59 | { window.c:58:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | refresh(f, n) | ^ 59 | { window.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | refresh(f, n) | ^ | int window.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] window.c:93:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | nextwind(f, n) | ^ 94 | { window.c:93:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | nextwind(f, n) | ^ 94 | { window.c:93:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | nextwind(f, n) | ^ | int window.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] window.c:143:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 143 | onlywind(f, n) | ^ 144 | { window.c:143:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 143 | onlywind(f, n) | ^ 144 | { window.c:143:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 143 | onlywind(f, n) | ^ | int window.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] window.c:191:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 191 | splitwind(f, n) | ^ 192 | { window.c:191:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 191 | splitwind(f, n) | ^ 192 | { window.c:191:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 191 | splitwind(f, n) | ^ | int window.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] window.c:287:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 287 | enlargewind(f, n) | ^ 288 | { window.c:287:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 287 | enlargewind(f, n) | ^ 288 | { window.c:287:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 287 | enlargewind(f, n) | ^ | int window.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] window.c:345:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 345 | shrinkwind(f, n) | ^ 346 | { window.c:345:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 345 | shrinkwind(f, n) | ^ 346 | { window.c:345:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 345 | shrinkwind(f, n) | ^ | int window.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] window.c:407:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 407 | delwind(f, n) | ^ 408 | { window.c:407:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 407 | delwind(f, n) | ^ 408 | { window.c:407:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 407 | delwind(f, n) | ^ | int window.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 warnings generated. --- help.o --- In file included from help.c:8: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from help.c:9: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from help.c:9: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from help.c:9: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ help.c:17: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] 17 | extern int rescan(); | ^ ./def.h:595:12: note: conflicting prototype is here 595 | extern int rescan pro((int, int)); | ^ help.c:30:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | desckey(f, n) | ^ 31 | { help.c:30:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | desckey(f, n) | ^ 31 | { help.c:30:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | desckey(f, n) | ^ | int help.c:55:19: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | pep = keyname(pep, key.k_chars[key.k_count++] = c = getkey(FALSE)); | ^ help.c:56:24: warning: passing arguments to 'doscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if((funct = doscan(curmap, c)) != prefix) break; | ^ help.c:63:20: warning: passing arguments to 'doscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | funct = doscan(curmap, TOLOWER(key.k_chars[key.k_count-1])); | ^ help.c:76:20: warning: passing arguments to 'doscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | funct = doscan(curmap, key.k_chars[i]); | ^ help.c:89:33: warning: passing arguments to 'function_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | else if((pep = function_name(funct)) != NULL) | ^ help.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | desckey(f, n) | ^ help.c:105:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | wallchart(f, n) | ^ 106 | { help.c:105:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | wallchart(f, n) | ^ 106 | { help.c:105:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | wallchart(f, n) | ^ | int help.c:111:17: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | if ((bp = bfind("*help*", TRUE)) == NULL) return FALSE; | ^ help.c:121:11: warning: passing arguments to 'showall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | (showall(buf, curbp->b_modes[m]->p_map) == FALSE) || | ^ help.c:125:14: warning: passing arguments to 'showall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | (showall(buf, map_table[0].p_map) == FALSE)) return FALSE; | ^ help.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | wallchart(f, n) | ^ help.c:144:15: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | cp = keyname(ind, last); | ^ help.c:147:19: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | cp = keyname(cp + 4, ele->k_base - 1); | ^ help.c:150:34: warning: passing arguments to 'function_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | (VOID) strcpy(cp, function_name(map->map_default)); | ^ help.c:157:47: warning: passing arguments to 'function_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | if(functp != prefix) cp2 = function_name(functp); | ^ help.c:158:26: warning: passing arguments to 'map_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | else cp2 = map_name(ele->k_prefmap); | ^ help.c:160:16: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | cp = keyname(ind, i); | ^ help.c:174:15: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | cp = keyname(ind, i); | ^ help.c:129:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | static int showall(ind, map) | ^ help.c:20:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static int showall(); | ^ help.c:184:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 184 | help_help(f, n) | ^ | int help.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] help.c:190:22: warning: passing arguments to 'name_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | if((kp = name_map("help")) == NULL) return FALSE; | ^ help.c:196:16: warning: passing arguments to 'doscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | funct = doscan(kp, getkey(FALSE)); | ^ help.c:208:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 208 | apropos_command(f, n) | ^ | int help.c:219:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | if ((bp = bfind("*help*", TRUE)) == NULL) return FALSE; | ^ help.c:233:11: warning: passing arguments to 'findbind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | findbind(fnp->n_funct, buf, map_table[0].p_map); | ^ help.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | apropos_command(f, n) | ^ help.c:255:18: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | cp = keyname(ind, last); | ^ help.c:258:17: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | (VOID) keyname(cp + 4, ele->k_base - 1); | ^ help.c:266:20: warning: passing arguments to 'map_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | cp = map_name(ele->k_prefmap); | ^ help.c:274:17: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | (VOID) keyname(ind, i); | ^ help.c:284:18: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | cp = keyname(ind, i); | ^ help.c:242:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | static VOID findbind(funct, ind, map) | ^ help.c:21:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | static VOID findbind(); | ^ 45 warnings generated. --- word.o --- In file included from word.c:21: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from word.c:22: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from word.c:22: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from word.c:22: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ word.c:34:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | backword(f, n) | ^ 35 | { word.c:34:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | backword(f, n) | ^ 35 | { word.c:34:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | backword(f, n) | ^ | int word.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] word.c:63:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 63 | forwword(f, n) | ^ 64 | { word.c:63:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 63 | forwword(f, n) | ^ 64 | { word.c:63:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 63 | forwword(f, n) | ^ | int word.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] word.c:91:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 91 | upperword(f, n) | ^ 92 | { word.c:91:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 91 | upperword(f, n) | ^ 92 | { word.c:91:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 91 | upperword(f, n) | ^ | int word.c:121:12: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | lchange(WFHARD); | ^ word.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | upperword(f, n) | ^ word.c:136:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 136 | lowerword(f, n) | ^ 137 | { word.c:136:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 136 | lowerword(f, n) | ^ 137 | { word.c:136:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 136 | lowerword(f, n) | ^ | int word.c:166:12: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | lchange(WFHARD); | ^ word.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | lowerword(f, n) | ^ word.c:183:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 183 | capword(f, n) | ^ 184 | { word.c:183:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 183 | capword(f, n) | ^ 184 | { word.c:183:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 183 | capword(f, n) | ^ | int word.c:214:12: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | lchange(WFHARD); | ^ word.c:227:13: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | lchange(WFHARD); | ^ word.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | capword(f, n) | ^ word.c:241:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 241 | delfword(f, n) | ^ 242 | { word.c:241:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 241 | delfword(f, n) | ^ 242 | { word.c:241:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 241 | delfword(f, n) | ^ | int word.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] word.c:313:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 313 | delbword(f, n) | ^ 314 | { word.c:313:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 313 | delbword(f, n) | ^ 314 | { word.c:313:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 313 | delbword(f, n) | ^ | int word.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] word.c:377:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 377 | inword() { | ^ | int 37 warnings generated. --- dired.o --- In file included from dired.c:21: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from dired.c:22: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from dired.c:22: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from dired.c:22: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ dired.c:28:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 28 | extern char* strncpy(); | ^ dired.c:32:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 32 | dired(f, n) | ^ | int dired.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dired.c:51:20: warning: passing arguments to 'dired_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | if((bp = dired_(dirname)) == NULL) return FALSE; | ^ dired.c:91:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 91 | d_otherwindow(f, n) | ^ | int dired.c:110:20: warning: passing arguments to 'dired_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | if((bp = dired_(dirname)) == NULL) return FALSE; | ^ dired.c:114:20: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | if((wp = popbuf(bp)) == NULL) return FALSE; | ^ dired.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | d_otherwindow(f, n) | ^ dired.c:121:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 121 | d_del(f, n) | ^ | int dired.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dired.c:137:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 137 | d_undel(f, n) | ^ | int dired.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dired.c:153:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 153 | d_undelbak(f, n) | ^ | int dired.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] dired.c:169:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 169 | d_flag(f, n) | ^ | int dired.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dired.c:197:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 196 | static | ~~~~~~ | int 197 | d_fileopen(f, n, popup) | ^ dired.c:207:26: warning: passing arguments to 'dired_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | if ((bp = (s ? dired_(fname) : findbuffer(fname))) == NULL) { | ^ dired.c:207:46: warning: passing arguments to 'findbuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | if ((bp = (s ? dired_(fname) : findbuffer(fname))) == NULL) { | ^ dired.c:217:23: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | if ((wp = popbuf(bp)) == NULL) { | ^ dired.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | d_fileopen(f, n, popup) | ^ dired.c:247:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 247 | d_findfile(f, n) | ^ | int dired.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dired.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | d_viewfile(f, n) | ^ dired.c:270:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 270 | d_ffotherwindow(f, n) | ^ | int dired.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dired.c:277:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 277 | d_expunge(f, n) | ^ | int dired.c:312:11: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | lfree(lp); | ^ dired.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | d_expunge(f, n) | ^ dired.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | filename(path) | ^ dired.c:343:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 343 | d_copy(f, n) | ^ | int dired.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dired.c:387:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 387 | d_rename(f, n) | ^ | int dired.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dired.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | d_execute(f, n) | ^ 39 warnings generated. --- fileio.o --- In file included from fileio.c:17: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from fileio.c:18: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from fileio.c:18: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from fileio.c:18: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ fileio.c:38:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 38 | ffropen(fn) char *fn; { | ^ | int fileio.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] fileio.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | ffwopen(fn) char *fn; { | ^ | int fileio.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fileio.c:61:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | ffclose() { | ^ | int fileio.c:73:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 73 | ffputbuf(bp) | ^ | int fileio.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] fileio.c:96:6: warning: call to undeclared function 'kputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | kputc(*cp, ffp, kfio); | ^ fileio.c:124:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 124 | ffgetline(buf, nbuf, nbytes) | ^ | int fileio.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] fileio.c:155:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | fbackupfile(fn) char *fn; { | ^ | int fileio.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] fileio.c:181:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 181 | fgetfilemode(fn) | ^ | int fileio.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fileio.c:193:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 193 | fsetfilemode(fn, mode) | ^ | int fileio.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fileio.c:198:1: warning: non-void function does not return a value [-Wreturn-type] 198 | } | ^ fileio.c:210:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 210 | fchkreadonly(fn) | ^ | int fileio.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fileio.c:251:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 251 | struct passwd *pwent, *getpwnam(); | ^ /usr/include/pwd.h:147:16: note: conflicting prototype is here 147 | struct passwd *getpwnam(const char *); | ^ fileio.c:246:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | char *adjustname(fn) | ^ fileio.c:22: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] 22 | char *adjustname(); | ^ fileio.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | startupfile(ngrcfile, suffix) | ^ fileio.c:420:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 420 | copy(frname, toname) | ^ | int fileio.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fileio.c:450: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] 450 | FILE *popen(); | ^ /usr/include/stdio.h:334:7: note: conflicting prototype is here 334 | FILE *popen(const char *, const char *); | ^ fileio.c:459:24: warning: passing arguments to 'findbuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | if((bp = findbuffer(dirname)) == NULL) { | ^ fileio.c:490:35: warning: passing arguments to 'name_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | if((bp->b_modes[0] = name_mode("dired")) == NULL) { | ^ fileio.c:443:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | BUFFER *dired_(dirname) | ^ fileio.c:499:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 499 | d_makename(lp, fn) | ^ | int fileio.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fileio.c:616:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 616 | ffisdir(dn) | ^ | int fileio.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fileio.c:650:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 650 | fffiles(name, buf) | ^ | int fileio.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fileio.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 | file_name_part (s) | ^ fileio.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | copy_dir_name (d, s) | ^ 41 warnings generated. --- re_search.o --- In file included from re_search.c:82: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from re_search.c:85: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from re_search.c:85: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from re_search.c:85: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ re_search.c:144:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 144 | re_forwsearch(f, n) { | ^ re_search.c:144:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 144 | re_forwsearch(f, n) { | ^ re_search.c:144:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 144 | re_forwsearch(f, n) { | ^ | int re_search.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] re_search.c:165:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 165 | re_backsearch(f, n) { | ^ re_search.c:165:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 165 | re_backsearch(f, n) { | ^ re_search.c:165:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 165 | re_backsearch(f, n) { | ^ | int re_search.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] re_search.c:190:19: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 190 | re_searchagain(f, n) { | ^ re_search.c:190:16: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 190 | re_searchagain(f, n) { | ^ re_search.c:190:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 190 | re_searchagain(f, n) { | ^ | int re_search.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from re_search.c:215: ./regex_j.h:281: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] 281 | extern char *re_comp (); | ^ /usr/include/unistd.h:560:7: note: conflicting prototype is here 560 | char *re_comp(const char *); | ^ In file included from re_search.c:215: ./regex_j.h:282: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] 282 | extern int re_exec (); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ re_search.c:234:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 234 | re_queryrepl(f, n) { | ^ re_search.c:234:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 234 | re_queryrepl(f, n) { | ^ re_search.c:234:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 234 | re_queryrepl(f, n) { | ^ | int re_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] re_search.c:340:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 340 | re_doreplace(plen, st, f) | ^ | int re_search.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] re_search.c:430:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 430 | re_forwsrch() { | ^ | int re_search.c:457:20: warning: passing arguments to 're_search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | i = re_search (&re_buff, ltext(clp), llength(clp), tbo, ntries, ®s); | ^ re_search.c:484:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 484 | re_backsrch() { | ^ | int re_search.c:510:20: warning: passing arguments to 're_search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | i = re_search (&re_buff, ltext(clp), llength(clp), tbo, -ntries, ®s); | ^ re_search.c:538:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 538 | re_readpattern(prompt) char *prompt; { | ^ | int re_search.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] re_search.c:553:24: warning: assigning to 'char *' from 'unsigned char[256]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 553 | re_buff.translate = upcase; | ^ ~~~~~~ re_search.c:555:26: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] 555 | re_buff.translate = '\0'; | ^~~~ re_search.c:556:33: warning: passing arguments to 're_compile_pattern' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | message = re_compile_pattern (re_pat, strlen(re_pat), &re_buff); | ^ re_search.c:557:19: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] 557 | if (message != '\0') { | ^~~~ | (void *)0 re_search.c:562:23: warning: passing arguments to 're_compile_fastmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | re_compile_fastmap (&re_buff); | ^ re_search.c:575:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 575 | setcasefold(f, n) { | ^ re_search.c:575:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 575 | setcasefold(f, n) { | ^ re_search.c:575:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 575 | setcasefold(f, n) { | ^ | int re_search.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] re_search.c:599:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 599 | delmatchlines(f, n) { | ^ re_search.c:599:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 599 | delmatchlines(f, n) { | ^ re_search.c:599:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 599 | delmatchlines(f, n) { | ^ | int re_search.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] re_search.c:614:21: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 614 | delnonmatchlines(f, n) { | ^ re_search.c:614:18: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 614 | delnonmatchlines(f, n) { | ^ re_search.c:614:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 614 | delnonmatchlines(f, n) { | ^ | int re_search.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] re_search.c:629:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 629 | killmatches(cond) | ^ | int re_search.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] re_search.c:651:20: warning: passing arguments to 're_search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | i = re_search (&re_buff, ltext(clp), llength(clp), 0, llength(clp), | ^ re_search.c:690:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 690 | cntmatchlines(f, n) { | ^ re_search.c:690:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 690 | cntmatchlines(f, n) { | ^ re_search.c:690:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 690 | cntmatchlines(f, n) { | ^ | int re_search.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] re_search.c:705:21: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 705 | cntnonmatchlines(f, n) { | ^ re_search.c:705:18: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 705 | cntnonmatchlines(f, n) { | ^ re_search.c:705:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 705 | cntnonmatchlines(f, n) { | ^ | int re_search.c:705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] re_search.c:720:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 720 | countmatches(cond) | ^ | int re_search.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] re_search.c:735:20: warning: passing arguments to 're_search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | i = re_search (&re_buff, ltext(clp), llength(clp), 0, llength(clp), | ^ 61 warnings generated. --- paragraph.o --- In file included from paragraph.c:27: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from paragraph.c:28: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from paragraph.c:28: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from paragraph.c:28: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ paragraph.c:55:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | gotobop(f, n) | ^ 56 | { paragraph.c:55:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | gotobop(f, n) | ^ 56 | { paragraph.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | gotobop(f, n) | ^ | int paragraph.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] paragraph.c:101:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | gotoeop(f, n) | ^ 102 | { paragraph.c:101:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | gotoeop(f, n) | ^ 102 | { paragraph.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | gotoeop(f, n) | ^ | int paragraph.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] paragraph.c:151:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 151 | fillpara(f, n) | ^ 152 | { paragraph.c:151:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 151 | fillpara(f, n) | ^ 152 | { paragraph.c:151:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 151 | fillpara(f, n) | ^ | int paragraph.c:253:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 253 | if (eolflag=(curwp->w_doto == llength(curwp->w_dotp))) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ paragraph.c:253:14: note: place parentheses around the assignment to silence this warning 253 | if (eolflag=(curwp->w_doto == llength(curwp->w_dotp))) { | ^ | ( ) paragraph.c:253:14: note: use '==' to turn this assignment into an equality comparison 253 | if (eolflag=(curwp->w_doto == llength(curwp->w_dotp))) { | ^ | == paragraph.c:264:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 264 | if (eolflag=((curwp->w_doto + 1) == | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 265 | llength(curwp->w_dotp))) { | ~~~~~~~~~~~~~~~~~~~~~~~ paragraph.c:264:15: note: place parentheses around the assignment to silence this warning 264 | if (eolflag=((curwp->w_doto + 1) == | ^ | ( 265 | llength(curwp->w_dotp))) { | | ) paragraph.c:264:15: note: use '==' to turn this assignment into an equality comparison 264 | if (eolflag=((curwp->w_doto + 1) == | ^ | == paragraph.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | fillpara(f, n) | ^ paragraph.c:515:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 515 | killpara(f, n) | ^ 516 | { paragraph.c:515:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 515 | killpara(f, n) | ^ 516 | { paragraph.c:515:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 515 | killpara(f, n) | ^ | int paragraph.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] paragraph.c:564:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 564 | fillword(f, n) | ^ 565 | { paragraph.c:564:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 564 | fillword(f, n) | ^ 565 | { paragraph.c:564:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 564 | fillword(f, n) | ^ | int paragraph.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] paragraph.c:765:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 765 | setfillcol(f, n) { | ^ paragraph.c:765:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 765 | setfillcol(f, n) { | ^ paragraph.c:765:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 765 | setfillcol(f, n) { | ^ | int paragraph.c:765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] paragraph.c:781:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 781 | setfillprefix(f, n) { | ^ paragraph.c:781:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 781 | setfillprefix(f, n) { | ^ paragraph.c:781:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 781 | setfillprefix(f, n) { | ^ | int paragraph.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 warnings generated. --- tty.o --- In file included from tty.c:36: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from tty.c:37: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from tty.c:37: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from tty.c:37: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ tty.c:55: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 previous declaration [-Wdeprecated-non-prototype] 55 | int ttputc(); | ^ ./def.h:498:12: note: conflicting prototype is here 498 | extern int ttputc pro((int)); | ^ tty.c:102:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 102 | ttinit() { | ^ | int tty.c:111:6: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | if((tgetent(tcbuf, tv_stype)) != 1) { | ^ tty.c:118:13: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | t = tgetstr("pc", &p); | ^ tty.c:121:7: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | LI = tgetnum("li"); | ^ tty.c:122:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | CD = tgetstr("cd", &p); | ^ tty.c:123:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | CM = tgetstr("cm", &p); | ^ tty.c:124:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | CE = tgetstr("ce", &p); | ^ tty.c:125:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | UP = tgetstr("up", &p); | ^ tty.c:126:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | BC = tgetstr("bc", &p); | ^ tty.c:127:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | IM = tgetstr("im", &p); | ^ tty.c:128:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | IC = tgetstr("ic", &p); | ^ tty.c:129:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | EI = tgetstr("ei", &p); | ^ tty.c:130:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | DC = tgetstr("dc", &p); | ^ tty.c:131:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | AL = tgetstr("al", &p); | ^ tty.c:132:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | DL = tgetstr("dl", &p); | ^ tty.c:133:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | pAL= tgetstr("AL", &p); /* parameterized insert and del. line */ | ^ tty.c:134:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | pDL= tgetstr("DL", &p); | ^ tty.c:135:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | TI = tgetstr("ti", &p); | ^ tty.c:136:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | TE = tgetstr("te", &p); | ^ tty.c:137:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | SO = tgetstr("so", &p); | ^ tty.c:138:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | SE = tgetstr("se", &p); | ^ tty.c:139:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | CS = tgetstr("cs", &p); /* set scrolling region */ | ^ tty.c:140:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | SF = tgetstr("sf", &p); | ^ tty.c:142:15: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | SF = tgetstr("do", &p); | ^ tty.c:144:15: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | SF = tgetstr("nl", &p); | ^ tty.c:148:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | SR = tgetstr("sr", &p); | ^ tty.c:151:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | KS = tgetstr("ks", &p); /* keypad start, keypad end */ | ^ tty.c:152:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | KE = tgetstr("ke", &p); | ^ tty.c:171:16: warning: call to undeclared function 'charcost'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | else tceeol = charcost(CE); | ^ tty.c:190:17: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | if (TI && *TI) putpad(TI, 1); /* init the term */ | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:191:1: warning: non-void function does not return a value [-Wreturn-type] 191 | } | ^ tty.c:201:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 201 | tttidy() { | ^ | int tty.c:202:17: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | if (TE && *TE) putpad(TE, 1); /* set the term back to normal mode */ | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:203:14: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | putpad(tgoto(CM, 0, ttrow), 1); /* not nrow */ | ^ tty.c:203:2: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | putpad(tgoto(CM, 0, ttrow), 1); /* not nrow */ | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:204:17: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | if (CE && *CE) putpad(CE, 1); /* erase one line */ | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:206:2: warning: call to undeclared function 'ttykeymaptidy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | ttykeymaptidy(); | ^ tty.c:208:1: warning: non-void function does not return a value [-Wreturn-type] 208 | } | ^ tty.c:217:13: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | ttmove(row, col) { | ^ tty.c:217:8: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | ttmove(row, col) { | ^ tty.c:217:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | ttmove(row, col) { | ^ | int tty.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] tty.c:219:14: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | putpad(tgoto(CM, col, row), 1); | ^ tty.c:219:2: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | putpad(tgoto(CM, col, row), 1); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:223:1: warning: non-void function does not return a value [-Wreturn-type] 223 | } | ^ tty.c:228:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 228 | tteeol() { | ^ | int tty.c:229:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if(CE) putpad(CE, 1); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:235:1: warning: non-void function does not return a value [-Wreturn-type] 235 | } | ^ tty.c:240:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 240 | tteeop() { | ^ | int tty.c:241:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | if(CD) putpad(CD, nrow - ttrow); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:257:1: warning: non-void function does not return a value [-Wreturn-type] 257 | } | ^ tty.c:262:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 262 | ttbeep() { | ^ | int tty.c:265:1: warning: non-void function does not return a value [-Wreturn-type] 265 | } | ^ tty.c:275:18: warning: parameter 'nchunk' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 275 | ttinsl(row, bot, nchunk) { | ^ tty.c:275:13: warning: parameter 'bot' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 275 | ttinsl(row, bot, nchunk) { | ^ tty.c:275:8: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 275 | ttinsl(row, bot, nchunk) { | ^ tty.c:275:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 275 | ttinsl(row, bot, nchunk) { | ^ | int tty.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] tty.c:281:3: warning: non-void function 'ttinsl' should return a value [-Wreturn-mismatch] 281 | return; | ^ tty.c:285:3: warning: call to undeclared function 'ttwindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | ttwindow(row,bot); | ^ tty.c:287:20: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | while (nchunk--) putpad(SR, nl); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:289:3: warning: non-void function 'ttinsl' should return a value [-Wreturn-mismatch] 289 | return; | ^ tty.c:293:24: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | if (pDL) putpad(tgoto(pDL, 0, nchunk), nl); | ^ tty.c:293:12: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | if (pDL) putpad(tgoto(pDL, 0, nchunk), nl); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:295:5: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | putpad(DL, nl); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:298:24: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | if (pAL) putpad(tgoto(pAL, 0, nchunk), nl); | ^ tty.c:298:12: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | if (pAL) putpad(tgoto(pAL, 0, nchunk), nl); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:300:5: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | putpad(AL, nl); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:304:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 304 | } | ^ tty.c:314:18: warning: parameter 'nchunk' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 314 | ttdell(row, bot, nchunk) | ^ 315 | { tty.c:314:13: warning: parameter 'bot' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 314 | ttdell(row, bot, nchunk) | ^ 315 | { tty.c:314:8: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 314 | ttdell(row, bot, nchunk) | ^ 315 | { tty.c:314:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 314 | ttdell(row, bot, nchunk) | ^ | int tty.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] tty.c:321:3: warning: non-void function 'ttdell' should return a value [-Wreturn-mismatch] 321 | return; | ^ tty.c:325:3: warning: call to undeclared function 'ttwindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 325 | ttwindow(row, bot); | ^ tty.c:327:20: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | while (nchunk--) putpad(SF, nl); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:333:24: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | if (pDL) putpad(tgoto(pDL, 0, nchunk), nl); | ^ tty.c:333:12: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | if (pDL) putpad(tgoto(pDL, 0, nchunk), nl); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:335:5: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | putpad(DL, nl); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:338:24: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | if (pAL) putpad(tgoto(pAL, 0, nchunk), nl); | ^ tty.c:338:12: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | if (pAL) putpad(tgoto(pAL, 0, nchunk), nl); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:340:5: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | putpad(AL, nl); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:344:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 344 | } | ^ tty.c:358:15: warning: parameter 'bot' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 358 | ttwindow(top, bot) | ^ 359 | { tty.c:358:10: warning: parameter 'top' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 358 | ttwindow(top, bot) | ^ 359 | { tty.c:358:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 358 | ttwindow(top, bot) | ^ | int tty.c:361:15: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | putpad(tgoto(CS, bot, top), nrow - ttrow); | ^ tty.c:361:3: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | putpad(tgoto(CS, bot, top), nrow - ttrow); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | ttwindow(top, bot) | ^ tty.c:367:1: warning: non-void function does not return a value [-Wreturn-type] 367 | } | ^ tty.c:379:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 379 | ttnowindow() | ^ | int tty.c:382:14: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | putpad(tgoto(CS, (nrow > LI ? nrow : LI) - 1, 0), nrow - ttrow); | ^ tty.c:382:2: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | putpad(tgoto(CS, (nrow > LI ? nrow : LI) - 1, 0), nrow - ttrow); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:388:1: warning: non-void function does not return a value [-Wreturn-type] 388 | } | ^ tty.c:399:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 399 | ttcolor(color) register int color; { | ^ | int tty.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] tty.c:402:3: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | putpad(SE, 1); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:404:3: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | putpad(SO, 1); | ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' 54 | #define putpad(str, num) tputs(str, num, ttputc) | ^ tty.c:408:1: warning: non-void function does not return a value [-Wreturn-type] 408 | } | ^ tty.c:419:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 419 | ttresize() { | ^ | int tty.c:420:2: warning: call to undeclared function 'setttysize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 420 | setttysize(); /* found in "ttyio.c", */ | ^ tty.c:430:1: warning: non-void function does not return a value [-Wreturn-type] 430 | } | ^ tty.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | fakec(c) | ^ tty.c:447:1: warning: non-void function does not return a value [-Wreturn-type] 447 | } | ^ tty.c:450:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 450 | charcost (s) char *s; { | ^ | int tty.c:453:7: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | tputs(s, nrow, fakec); | ^ tty.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | charcost (s) char *s; { | ^ 113 warnings generated. --- extend.o --- In file included from extend.c:15: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from extend.c:16: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from extend.c:16: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from extend.c:16: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ extend.c:44:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | insert(f, n) | ^ | int extend.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] extend.c:107:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | static int remap(curmap, c, funct, pref_map) | ^ extend.c:264:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | static KEYMAP *realocmap(curmap) | ^ extend.c:294:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | static VOID fixmap(curmap, mp, mt) | ^ extend.c:337:12: warning: passing arguments to 'doscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | if(doscan(curmap, c=CHARMASK(maclcur->l_text[s])) != prefix) { | ^ extend.c:344:19: warning: passing arguments to 'doscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | (VOID) doscan(curmap, c=maclcur->l_text[s]); | ^ extend.c:357:16: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | pep = keyname(pep, c = getkey(FALSE)); | ^ extend.c:358:12: warning: passing arguments to 'doscan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | if(doscan(curmap,c) != prefix) break; | ^ extend.c:370:33: warning: passing arguments to 'name_function' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | if (((funct = name_function(prompt)) == prefix) ? | ^ extend.c:371:28: warning: passing arguments to 'name_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | (pref_map = name_map(prompt)) == NULL : funct==NULL) { | ^ extend.c:315:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | static int dobind(curmap, p, unbind) | ^ extend.c:419:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 419 | bindtokey(f, n) | ^ 420 | { extend.c:419:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 419 | bindtokey(f, n) | ^ 420 | { extend.c:419:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 419 | bindtokey(f, n) | ^ | int extend.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] extend.c:428:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 428 | localbind(f, n) | ^ 429 | { extend.c:428:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 428 | localbind(f, n) | ^ 429 | { extend.c:428:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 428 | localbind(f, n) | ^ | int extend.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] extend.c:438:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 438 | define_key(f, n) | ^ 439 | { extend.c:438:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 438 | define_key(f, n) | ^ 439 | { extend.c:438:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 438 | define_key(f, n) | ^ | int extend.c:445:23: warning: passing arguments to 'name_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | if((mp = name_mode(&buf[16])) == NULL) { | ^ extend.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 | define_key(f, n) | ^ extend.c:453:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 453 | unbindtokey(f, n) | ^ | int extend.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] extend.c:459:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 459 | localunbind(f, n) | ^ | int extend.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] extend.c:473:11: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 473 | extend(f, n) | ^ 474 | { extend.c:473:8: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 473 | extend(f, n) | ^ 474 | { extend.c:473:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 473 | extend(f, n) | ^ | int extend.c:482:27: warning: passing arguments to 'name_function' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | if((funct = name_function(xname)) != NULL) { | ^ extend.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | extend(f, n) | ^ extend.c:518:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 518 | evalexpr(f, n) | ^ 519 | { extend.c:518:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 518 | evalexpr(f, n) | ^ 519 | { extend.c:518:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 518 | evalexpr(f, n) | ^ | int extend.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] extend.c:532:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 532 | evalbuffer(f, n) | ^ 533 | { extend.c:532:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 532 | evalbuffer(f, n) | ^ 533 | { extend.c:532:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 532 | evalbuffer(f, n) | ^ | int extend.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] extend.c:552:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 552 | evalfile(f, n) | ^ 553 | { extend.c:552:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 552 | evalfile(f, n) | ^ 553 | { extend.c:552:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 552 | evalfile(f, n) | ^ | int extend.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] extend.c:573:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 573 | load(fname) char *fname; { | ^ | int extend.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] extend.c:578:25: warning: passing arguments to 'adjustname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | if ((fname = adjustname(fname)) == NULL) | ^ extend.c:612:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 612 | excline(line) | ^ | int extend.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] extend.c:659:24: warning: passing arguments to 'name_function' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | if((fp = name_function(funcp)) == NULL) { | ^ extend.c:674:17: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | if((np = lalloc(0))==FALSE) return FALSE; | ^ extend.c:682: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] 682 | if((lp = lalloc((int)(line-argp)+BINDEXT))==NULL) { | ^ extend.c:696: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] 696 | if((lp = lalloc((int)(line-argp)+BINDEXT))==NULL) { | ^ extend.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | skipwhite(s) | ^ extend.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | parsetoken(s) | ^ 61 warnings generated. --- kbd.o --- In file included from kbd.c:35: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from kbd.c:36: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from kbd.c:36: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from kbd.c:36: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ kbd.c:72:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 72 | do_meta(f, n) | ^ 73 | { kbd.c:72:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 72 | do_meta(f, n) | ^ 73 | { kbd.c:72:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 72 | do_meta(f, n) | ^ | int kbd.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] kbd.c:92:10: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | bsmap(f, n) | ^ 93 | { kbd.c:92:7: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | bsmap(f, n) | ^ 93 | { kbd.c:92:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | bsmap(f, n) | ^ | int kbd.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kbd.c:109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | VOID ungetkey(c) | ^ kbd.c:120:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 120 | else if(pushedc==CCHR('?')) pushedc=CCHR('H'); | ^ kbd.c:125:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | int getkey(flag) | ^ kbd.c:152:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 152 | else if(c==CCHR('?')) c=CCHR('H'); | ^ kbd.c:163:23: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | promptp = keyname(promptp, c); | ^ kbd.c:179:4: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | PF doscan(map, c) | ^ In file included from kbd.c:37: ./kbd.h:63:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | extern PF doscan(); | ^ kbd.c:196:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 196 | doin() | ^ | int kbd.c:224:15: warning: passing arguments to 'henkan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | return henkan(d); | ^ kbd.c:252:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 252 | rescan(f, n) | ^ | int kbd.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kbd.c:315:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 315 | universal_argument(f, n) | ^ | int kbd.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kbd.c:351:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 351 | digit_argument(f, n) | ^ | int kbd.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kbd.c:386:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 386 | negative_argument(f, n) | ^ | int kbd.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kbd.c:431:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 431 | selfinsert(f, n) | ^ | int kbd.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kbd.c:499:19: warning: passing arguments to 'lallocx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | if((lp = lallocx(maclcur->l_used + n)) == NULL) | ^ kbd.c:516:22: warning: passing arguments to 'lallocx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | if((lp = lallocx(n)) == NULL) return FALSE; | ^ kbd.c:566:13: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | lchange(WFEDIT); | ^ kbd.c:625:9: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | lchange(WFEDIT); | ^ kbd.c:653:10: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 653 | quote(f, n) | ^ 654 | { kbd.c:653:7: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 653 | quote(f, n) | ^ 654 | { kbd.c:653:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 653 | quote(f, n) | ^ | int kbd.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 warnings generated. --- file.o --- In file included from file.c:23: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from file.c:24: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from file.c:24: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from file.c:24: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ file.c:31:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 31 | VOID upmodes(); | ^ ./def.h:520:13: note: conflicting prototype is here 520 | extern VOID upmodes pro((BUFFER *)); | ^ file.c:39:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 39 | fileinsert(f, n) | ^ 40 | { file.c:39:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 39 | fileinsert(f, n) | ^ 40 | { file.c:39:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 39 | fileinsert(f, n) | ^ | int file.c:61:30: warning: passing arguments to 'adjustname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | return insertfile(adjustname(fname), (char *) NULL); | ^ file.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | fileinsert(f, n) | ^ file.c:70:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | static | ~~~~~~ | int 70 | fileopen(f, n, readonly, popup, prompt) | ^ file.c:110:19: warning: passing arguments to 'adjustname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | adjf = adjustname(fname); | ^ file.c:118:22: warning: passing arguments to 'findbuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | if ((bp = findbuffer(adjf)) == NULL) { | ^ file.c:125:20: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | if ((wp = popbuf(bp)) == NULL) { | ^ file.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | fileopen(f, n, readonly, popup, prompt) | ^ file.c:189:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 189 | filevisit(f, n) | ^ 190 | { file.c:189:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 189 | filevisit(f, n) | ^ 190 | { file.c:189:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 189 | filevisit(f, n) | ^ | int file.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] file.c:200:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 200 | poptofile(f, n) | ^ 201 | { file.c:200:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 200 | poptofile(f, n) | ^ 201 | { file.c:200:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 200 | poptofile(f, n) | ^ | int file.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] file.c:216:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 216 | filereadonly(f, n) | ^ 217 | { file.c:216:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 216 | filereadonly(f, n) | ^ 217 | { file.c:216:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 216 | filereadonly(f, n) | ^ | int file.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] file.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | filealternate(f, n) | ^ file.c:268:10: warning: passing arguments to 'makename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | makename(bname, fname); /* New buffer name. */ | ^ file.c:270:13: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | while(bfind(bname, FALSE) != NULL) { | ^ file.c:272:21: warning: passing arguments to 'itos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | (VOID) strcpy(itos(cp, ++count)+1, ">"); | ^ file.c:274:14: 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 | return bfind(bname, TRUE); | ^ file.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | findbuffer(fname) | ^ file.c:29:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | BUFFER *findbuffer(); | ^ file.c:281:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | static char *itos(bufp, num) | ^ file.c:32: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] 32 | static char *itos(); | ^ file.c:299:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 299 | readin(fname) char *fname; { | ^ | int file.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] file.c:354:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 354 | insertfile(fname, newname) char fname[], newname[]; { | ^ | int file.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] file.c:404:18: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | if ((lp1=lalloc(leng > nbytes ? leng : nbytes)) == NULL) { | ^ file.c:479: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] 479 | if((lp1=lalloc( | ^ file.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | makename(bname, fname) char bname[]; char fname[]; { | ^ file.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 makename(); | ^ file.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | makepath(dname, fname, len) | ^ file.c:653:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 653 | filewrite(f, n) | ^ 654 | { file.c:653:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 653 | filewrite(f, n) | ^ 654 | { file.c:653:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 653 | filewrite(f, n) | ^ | int file.c:670:23: warning: passing arguments to 'adjustname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | adjfname = adjustname(fname); | ^ file.c:689:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | while((bp = bfind(bname, FALSE)) != NULL) { | ^ file.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | filewrite(f, n) | ^ file.c:720:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 720 | filesave(f, n) | ^ 721 | { file.c:720:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 720 | filesave(f, n) | ^ 721 | { file.c:720:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 720 | filesave(f, n) | ^ | int file.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] file.c:734:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 734 | buffsave(bp) BUFFER *bp; { | ^ | int file.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] file.c:768:16: warning: passing arguments to 'fsetfilemode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | fsetfilemode(bp->b_fname, m); | ^ file.c:790:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 790 | makebkfile(f, n) | ^ 791 | { file.c:790:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 790 | makebkfile(f, n) | ^ 791 | { file.c:790:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 790 | makebkfile(f, n) | ^ | int file.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] file.c:806:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 806 | writeout(bp, fn) register BUFFER *bp; char *fn; { | ^ | int file.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] file.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | upmodes(bp) register BUFFER *bp; { | ^ file.c:31: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] 31 | VOID upmodes(); | ^ 66 warnings generated. --- basic.o --- In file included from basic.c:23: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from basic.c:24: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from basic.c:24: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from basic.c:24: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ basic.c:32:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 32 | gotobol(f, n) | ^ 33 | { basic.c:32:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 32 | gotobol(f, n) | ^ 33 | { basic.c:32:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 32 | gotobol(f, n) | ^ | int basic.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] basic.c:50:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | backchar(f, n) | ^ 51 | register int n; 52 | { basic.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | backchar(f, n) | ^ | int basic.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] basic.c:104:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | gotoeol(f, n) | ^ 105 | { basic.c:104:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | gotoeol(f, n) | ^ 105 | { basic.c:104:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | gotoeol(f, n) | ^ | int basic.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] basic.c:123:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 123 | forwchar(f, n) | ^ 124 | register int n; 125 | { basic.c:123:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 123 | forwchar(f, n) | ^ | int basic.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] basic.c:171:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 171 | gotobob(f, n) | ^ 172 | { basic.c:171:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 171 | gotobob(f, n) | ^ 172 | { basic.c:171:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 171 | gotobob(f, n) | ^ | int basic.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] basic.c:185:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 185 | gotoeob(f, n) | ^ 186 | { basic.c:185:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 185 | gotoeob(f, n) | ^ 186 | { basic.c:185:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 185 | gotoeob(f, n) | ^ | int basic.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] basic.c:201:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 201 | nextline(f, n) | ^ 202 | { basic.c:201:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 201 | nextline(f, n) | ^ 202 | { basic.c:201:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 201 | nextline(f, n) | ^ | int basic.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] basic.c:228:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 228 | forwline(f, n) | ^ 229 | { basic.c:228:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 228 | forwline(f, n) | ^ 229 | { basic.c:228:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 228 | forwline(f, n) | ^ | int basic.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] basic.c:308:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 308 | backline(f, n) | ^ 309 | { basic.c:308:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 308 | backline(f, n) | ^ 309 | { basic.c:308:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 308 | backline(f, n) | ^ | int basic.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] basic.c:350:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 350 | getgoal(dlp) register LINE *dlp; { | ^ | int basic.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] basic.c:411:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 411 | forwpage(f, n) | ^ 412 | register int n; 413 | { basic.c:411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 411 | forwpage(f, n) | ^ | int basic.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] basic.c:459:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 459 | backpage(f, n) | ^ 460 | register int n; 461 | { basic.c:459:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 459 | backpage(f, n) | ^ | int basic.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] basic.c:527:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 527 | pagenext(f, n) | ^ 528 | { basic.c:527:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 527 | pagenext(f, n) | ^ 528 | { basic.c:527:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 527 | pagenext(f, n) | ^ | int basic.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] basic.c:559:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 559 | setmark(f, n) | ^ 560 | { basic.c:559:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 559 | setmark(f, n) | ^ 560 | { basic.c:559:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 559 | setmark(f, n) | ^ | int basic.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] basic.c:574:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 574 | swapmark(f, n) | ^ 575 | { basic.c:574:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 574 | swapmark(f, n) | ^ 575 | { basic.c:574:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 574 | swapmark(f, n) | ^ | int basic.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] basic.c:602:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 602 | gotoline(f, n) | ^ 603 | register int n; 604 | { basic.c:602:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 602 | gotoline(f, n) | ^ | int basic.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 warnings generated. --- random.o --- In file included from random.c:37: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from random.c:38: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from random.c:38: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from random.c:38: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ random.c:53:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | showcpos(f, n) | ^ 54 | { random.c:53:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | showcpos(f, n) | ^ 54 | { random.c:53:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | showcpos(f, n) | ^ | int random.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] random.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 96 | getcolpos() { | ^ | int random.c:134:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 134 | else kan2nd=1; | ^ random.c:155:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | twiddle(f, n) | ^ 156 | { random.c:155:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | twiddle(f, n) | ^ 156 | { random.c:155:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | twiddle(f, n) | ^ | int random.c:237:9: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | lchange(WFEDIT); | ^ random.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 | twiddle(f, n) | ^ random.c:249:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 249 | openline(f, n) | ^ 250 | { random.c:249:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 249 | openline(f, n) | ^ 250 | { random.c:249:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 249 | openline(f, n) | ^ | int random.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] random.c:285:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 285 | newline(f, n) | ^ 286 | { random.c:285:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 285 | newline(f, n) | ^ 286 | { random.c:285:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 285 | newline(f, n) | ^ | int random.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] random.c:327:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 327 | deblank(f, n) | ^ 328 | { random.c:327:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 327 | deblank(f, n) | ^ 328 | { random.c:327:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 327 | deblank(f, n) | ^ | int random.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] random.c:357:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 357 | justone(f, n) { | ^ random.c:357:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 357 | justone(f, n) { | ^ random.c:357:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 357 | justone(f, n) { | ^ | int random.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] random.c:371:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | delwhite(f, n) | ^ 372 | { random.c:371:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | delwhite(f, n) | ^ 372 | { random.c:371:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | delwhite(f, n) | ^ | int random.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] random.c:411:11: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 411 | indent(f, n) | ^ 412 | { random.c:411:8: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 411 | indent(f, n) | ^ 412 | { random.c:411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 411 | indent(f, n) | ^ | int random.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] random.c:464:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 464 | forwdel(f, n) | ^ 465 | { random.c:464:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 464 | forwdel(f, n) | ^ 465 | { random.c:464:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 464 | forwdel(f, n) | ^ | int random.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] random.c:491:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 491 | backdel(f, n) | ^ 492 | { random.c:491:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 491 | backdel(f, n) | ^ 492 | { random.c:491:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 491 | backdel(f, n) | ^ | int random.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] random.c:530:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 530 | killline(f, n) { | ^ random.c:530:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 530 | killline(f, n) { | ^ random.c:530:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 530 | killline(f, n) { | ^ | int random.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] random.c:590:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 590 | killoneline(f, n) { | ^ random.c:590:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 590 | killoneline(f, n) { | ^ random.c:590:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 590 | killoneline(f, n) { | ^ | int random.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] random.c:654:9: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 654 | yank(f, n) | ^ 655 | { random.c:654:6: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 654 | yank(f, n) | ^ 655 | { random.c:654:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 654 | yank(f, n) | ^ | int random.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] random.c:792:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 792 | zaptochar(f,n) | ^ 793 | { random.c:792:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 792 | zaptochar(f,n) | ^ 793 | { random.c:792:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 792 | zaptochar(f,n) | ^ | int random.c:792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] random.c:891:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 891 | pagelines(f, n) | ^ 892 | { random.c:891:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 891 | pagelines(f, n) | ^ 892 | { random.c:891:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 891 | pagelines(f, n) | ^ | int random.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] random.c:931:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 931 | regionlines(f, n) | ^ 932 | { random.c:931:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 931 | regionlines(f, n) | ^ 932 | { random.c:931:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 931 | regionlines(f, n) | ^ | int random.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] random.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | windowpos(wp) | ^ 72 warnings generated. --- line.o --- In file included from line.c:66: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from line.c:67: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from line.c:67: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from line.c:67: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ line.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | lalloc(used) register int used; { | ^ In file included from line.c:67: ./def.h:391: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] 391 | extern LINE *lalloc(); | ^ line.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | lallocx(used) | ^ In file included from line.c:67: ./def.h:392: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] 392 | extern LINE *lallocx(); | ^ line.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | lfree(lp) register LINE *lp; { | ^ line.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | lchange(flag) register int flag; { | ^ In file included from line.c:67: ./def.h:412:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 412 | extern VOID lchange(); | ^ line.c:223:12: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 223 | linsert(n, c) | ^ 224 | int n; 225 | { line.c:223:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 223 | linsert(n, c) | ^ | int line.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] line.c:354:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 354 | lnewline() | ^ | int line.c:457:12: warning: parameter 'kflag' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 457 | ldelete(n, kflag) RSIZE n; { | ^ line.c:457:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 457 | ldelete(n, kflag) RSIZE n; { | ^ | int line.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] line.c:639:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 639 | ldelnewline() { | ^ | int line.c:711:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 711 | lreplace(plen, st, f) | ^ | int line.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] line.c:843:12: warning: parameter 'dir' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 843 | kinsert(c, dir) { | ^ line.c:843:9: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 843 | kinsert(c, dir) { | ^ line.c:843:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 843 | kinsert(c, dir) { | ^ | int line.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] line.c:859:7: warning: parameter 'back' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 859 | kgrow(back) { | ^ line.c:859:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 859 | kgrow(back) { | ^ | int line.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] line.c:889:9: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 889 | kremove(n) { | ^ line.c:889:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 889 | kremove(n) { | ^ | int line.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] line.c:944:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | int get_lineno(bp, blp) | ^ 32 warnings generated. --- cmode.o --- In file included from cmode.c:30: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from cmode.c:33: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from cmode.c:33: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from cmode.c:33: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ cmode.c:90:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | cm_use_c_mode(f, n) | ^ 91 | { cmode.c:90:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | cm_use_c_mode(f, n) | ^ 91 | { cmode.c:90:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | cm_use_c_mode(f, n) | ^ | int cmode.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cmode.c:112:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 112 | cm_brace(f, n) | ^ 113 | { cmode.c:112:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 112 | cm_brace(f, n) | ^ 113 | { cmode.c:112:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 112 | cm_brace(f, n) | ^ | int cmode.c:114:23: warning: passing arguments to 'do_cm_brace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | return do_cm_brace(f,n,0); | ^ cmode.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 | cm_brace(f, n) | ^ cmode.c:122:19: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | cm_brace_blink(f, n) | ^ 123 | { cmode.c:122:16: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | cm_brace_blink(f, n) | ^ 123 | { cmode.c:122:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | cm_brace_blink(f, n) | ^ | int cmode.c:124:23: warning: passing arguments to 'do_cm_brace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | return do_cm_brace(f,n,1); | ^ cmode.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | cm_brace_blink(f, n) | ^ cmode.c:128:19: warning: parameter 'blink' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 128 | do_cm_brace(f, n, blink) | ^ 129 | { cmode.c:128:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 128 | do_cm_brace(f, n, blink) | ^ 129 | { cmode.c:128:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 128 | do_cm_brace(f, n, blink) | ^ 129 | { cmode.c:146:16: warning: passing arguments to 'blinkmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | blinkmatch( curwp->w_dotp, curwp->w_doto-1 ); | ^ cmode.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | do_cm_brace(f, n, blink) | ^ cmode.c:82:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static int do_cm_brace(); /* Nov 1991. bsh */ | ^ cmode.c:156:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 156 | cm_semi(f, n) | ^ 157 | { cmode.c:156:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 156 | cm_semi(f, n) | ^ 157 | { cmode.c:156:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 156 | cm_semi(f, n) | ^ | int cmode.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] cmode.c:177:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 177 | cm_term(f, n) | ^ 178 | { cmode.c:177:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 177 | cm_term(f, n) | ^ 178 | { cmode.c:177:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 177 | cm_term(f, n) | ^ | int cmode.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] cmode.c:214:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 214 | cm_indent(f, n) | ^ 215 | { cmode.c:214:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 214 | cm_indent(f, n) | ^ 215 | { cmode.c:214:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 214 | cm_indent(f, n) | ^ | int cmode.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cmode.c:246:23: warning: passing arguments to 'adjust_spc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | return (adjust_spc(i)); | ^ cmode.c:254:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 254 | cm_lfindent(f, n) | ^ 255 | { cmode.c:254:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 254 | cm_lfindent(f, n) | ^ 255 | { cmode.c:254:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 254 | cm_lfindent(f, n) | ^ | int cmode.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] cmode.c:285:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 285 | static calc_indent() | ~~~~~~ ^ | int cmode.c:425:26: warning: passing arguments to 'count_column' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | return (count_column(lp, bo)); | ^ cmode.c:477:15: warning: passing arguments to 'check_bal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | s = check_bal(&bal2); | ^ cmode.c:504:22: warning: passing arguments to 'count_column' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | return (count_column(tlp, tbo)+1); | ^ cmode.c:601:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 601 | static adjust_spc(nicol) | ~~~~~~ ^ | int cmode.c:601:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cmode.c:77:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | static int adjust_spc(); | ^ cmode.c:664:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 664 | static check_bal(balc) | ~~~~~~ ^ | int cmode.c:664:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cmode.c:78:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static int check_bal(); | ^ cmode.c:694:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 694 | static count_column(lp, bo) | ~~~~~~ ^ | int cmode.c:694:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cmode.c:79:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static int count_column(); | ^ cmode.c:726:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 726 | cm_set_indent(f, n) | ^ 727 | { cmode.c:726:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 726 | cm_set_indent(f, n) | ^ 727 | { cmode.c:726:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 726 | cm_set_indent(f, n) | ^ | int cmode.c:729:16: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | if (getnum("c-indent-level", &n) == FALSE) | ^ cmode.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | cm_set_indent(f, n) | ^ cmode.c:740:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 740 | cm_set_imagin(f, n) | ^ 741 | { cmode.c:740:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 740 | cm_set_imagin(f, n) | ^ 741 | { cmode.c:740:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 740 | cm_set_imagin(f, n) | ^ | int cmode.c:743:13: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | if (getnum("c-brace_imaginary-offset", &n) == FALSE) | ^ cmode.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | cm_set_imagin(f, n) | ^ cmode.c:755:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 755 | cm_set_brace(f, n) | ^ 756 | { cmode.c:755:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 755 | cm_set_brace(f, n) | ^ 756 | { cmode.c:755:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 755 | cm_set_brace(f, n) | ^ | int cmode.c:758:13: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | if (getnum("c-brace-offset", &n) == FALSE) | ^ cmode.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | cm_set_brace(f, n) | ^ cmode.c:770:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 770 | cm_set_arg(f, n) | ^ 771 | { cmode.c:770:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 770 | cm_set_arg(f, n) | ^ 771 | { cmode.c:770:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 770 | cm_set_arg(f, n) | ^ | int cmode.c:773:13: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | if (getnum("c-argdecl-indent", &n) == FALSE) | ^ cmode.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | cm_set_arg(f, n) | ^ cmode.c:785:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 785 | cm_set_label(f, n) | ^ 786 | { cmode.c:785:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 785 | cm_set_label(f, n) | ^ 786 | { cmode.c:785:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 785 | cm_set_label(f, n) | ^ | int cmode.c:788:13: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | if (getnum("c-label-offset", &n) == FALSE) | ^ cmode.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | cm_set_label(f, n) | ^ cmode.c:800:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 800 | cm_set_cstat(f, n) | ^ 801 | { cmode.c:800:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 800 | cm_set_cstat(f, n) | ^ 801 | { cmode.c:800:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 800 | cm_set_cstat(f, n) | ^ | int cmode.c:803:13: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | if (getnum("c-continued-statement-offset", &n) == FALSE) | ^ cmode.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | cm_set_cstat(f, n) | ^ cmode.c:815:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 815 | cm_set_cbrace(f, n) | ^ 816 | { cmode.c:815:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 815 | cm_set_cbrace(f, n) | ^ 816 | { cmode.c:815:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 815 | cm_set_cbrace(f, n) | ^ | int cmode.c:818:13: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | if (getnum("c-continued-brace-offset", &n) == FALSE) | ^ cmode.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | cm_set_cbrace(f, n) | ^ cmode.c:832:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 832 | cm_set_newl(f, n) | ^ 833 | { cmode.c:832:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 832 | cm_set_newl(f, n) | ^ 833 | { cmode.c:832:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 832 | cm_set_newl(f, n) | ^ | int cmode.c:832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cmode.c:858:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 858 | cm_set_tab(f, n) | ^ 859 | { cmode.c:858:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 858 | cm_set_tab(f, n) | ^ 859 | { cmode.c:858:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 858 | cm_set_tab(f, n) | ^ | int cmode.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cmode.c:882:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 882 | cm_list_var(f, n) | ^ 883 | { cmode.c:882:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 882 | cm_list_var(f, n) | ^ 883 | { cmode.c:882:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 882 | cm_list_var(f, n) | ^ | int cmode.c:888:17: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | if ((bp = bfind("*C Mode Variables*", TRUE)) == NULL) return FALSE; | ^ cmode.c:915:18: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | if ((wp = popbuf(bp)) == NULL) return FALSE; | ^ cmode.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | cm_list_var(f, n) | ^ cmode.c:929:20: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 929 | cm_indentregion(f, n) | ^ 930 | { cmode.c:929:17: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 929 | cm_indentregion(f, n) | ^ 930 | { cmode.c:929:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 929 | cm_indentregion(f, n) | ^ | int cmode.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 warnings generated. --- buffer.o --- In file included from buffer.c:35: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from buffer.c:36: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from buffer.c:36: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from buffer.c:36: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ buffer.c:57:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | usebuffer(f, n) | ^ 58 | { buffer.c:57:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | usebuffer(f, n) | ^ 58 | { buffer.c:57:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | usebuffer(f, n) | ^ | int buffer.c:65:32: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | && ((curbp->b_altb = bfind("*scratch*", TRUE)) == NULL)) | ^ buffer.c:73:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | else if ((bp=bfind(bufn, TRUE)) == NULL) return FALSE; | ^ buffer.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 | usebuffer(f, n) | ^ buffer.c:84:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | poptobuffer(f, n) | ^ 85 | { buffer.c:84:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | poptobuffer(f, n) | ^ 85 | { buffer.c:84:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | poptobuffer(f, n) | ^ | int buffer.c:94:32: 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 | && ((curbp->b_altb = bfind("*scratch*", TRUE)) == NULL)) | ^ buffer.c:102:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | else if ((bp=bfind(bufn, TRUE)) == NULL) return FALSE; | ^ buffer.c:105:18: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | if ((wp = popbuf(bp)) == NULL) return FALSE; | ^ buffer.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 | poptobuffer(f, n) | ^ buffer.c:119:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 119 | killbuffer(f, n) | ^ 120 | { buffer.c:119:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 119 | killbuffer(f, n) | ^ 120 | { buffer.c:119:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 119 | killbuffer(f, n) | ^ | int buffer.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:131:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | else if ((bp=bfind(bufn, FALSE)) == NULL) return FALSE; | ^ buffer.c:146:19: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | if (bp == bfind("*scratch*",FALSE)) | ^ buffer.c:149:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | if ((bp1 = bfind("*scratch*",TRUE)) == NULL) | ^ buffer.c:200:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 200 | savebuffers(f, n) | ^ 201 | { buffer.c:200:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 200 | savebuffers(f, n) | ^ 201 | { buffer.c:200:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 200 | savebuffers(f, n) | ^ | int buffer.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:214:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 214 | listbuffers(f, n) | ^ 215 | { buffer.c:214:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 214 | listbuffers(f, n) | ^ 215 | { buffer.c:214:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 214 | listbuffers(f, n) | ^ | int buffer.c:221:43: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | if ((bp=makelist()) == NULL || (wp=popbuf(bp)) == NULL) | ^ buffer.c:226:28: warning: passing arguments to 'name_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | bp->b_modes[0] = name_mode("Buffer Menu"); | ^ buffer.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | listbuffers(f, n) | ^ buffer.c:259:18: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | if ((blp = bfind("*Buffer List*", TRUE)) == NULL) return NULL; | ^ buffer.c:312:14: warning: passing arguments to 'itor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | (VOID) itor(b, 6, nbytes); /* 6 digit buffer size. */ | ^ buffer.c:340:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | static RSIZE itor(buf, width, num) | ^ buffer.c:46: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] 46 | static RSIZE itor(); | ^ buffer.c:365:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 365 | addline(bp, text) register BUFFER *bp; char *text; { | ^ | int buffer.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:371:16: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | if ((lp=lalloc(ntext)) == NULL) | ^ buffer.c:395:7: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 395 | anycb(f) { | ^ buffer.c:395:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 395 | anycb(f) { | ^ | int buffer.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:399:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 399 | VOID upmodes(); | ^ ./def.h:520:13: note: conflicting prototype is here 520 | extern VOID upmodes pro((BUFFER *)); | ^ buffer.c:428:14: warning: parameter 'cflag' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 428 | bfind(bname, cflag) register char *bname; { | ^ buffer.c:465:18: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | if ((lp = lalloc(0)) == NULL) { | ^ buffer.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | bfind(bname, cflag) register char *bname; { | ^ In file included from buffer.c:36: ./def.h:388: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] 388 | extern BUFFER *bfind(); | ^ buffer.c:524:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 524 | bclear(bp) register BUFFER *bp; { | ^ | int buffer.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:534:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | lfree(lp); | ^ buffer.c:546:20: warning: parameter 'flags' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 546 | showbuffer(bp, wp, flags) register BUFFER *bp; register WINDOW *wp; { | ^ buffer.c:546:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 546 | showbuffer(bp, wp, flags) register BUFFER *bp; register WINDOW *wp; { | ^ | int buffer.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] buffer.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | popbuf(bp) register BUFFER *bp; { | ^ In file included from buffer.c:36: ./def.h:389: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] 389 | extern WINDOW *popbuf(); | ^ buffer.c:610:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 610 | bufferinsert(f, n) | ^ 611 | { buffer.c:610:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 610 | bufferinsert(f, n) | ^ 611 | { buffer.c:610:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 610 | bufferinsert(f, n) | ^ | int buffer.c:610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:681:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 681 | notmodified(f, n) | ^ 682 | { buffer.c:681:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 681 | notmodified(f, n) | ^ 682 | { buffer.c:681:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 681 | notmodified(f, n) | ^ | int buffer.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:701:19: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 701 | togglereadonly(f, n) | ^ 702 | { buffer.c:701:16: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 701 | togglereadonly(f, n) | ^ 702 | { buffer.c:701:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 701 | togglereadonly(f, n) | ^ | int buffer.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] buffer.c:732:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 732 | popbuftop(bp) | ^ | int buffer.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:760:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 760 | getnum(prompt, num) | ^ | int buffer.c:760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:775:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 775 | set_default_tabwidth(f, n) | ^ | int buffer.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:789:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 789 | set_tabwidth(f, n) | ^ | int buffer.c:804:13: warning: passing arguments to 'refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | refresh(0, 0); | ^ buffer.c:789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | set_tabwidth(f, n) | ^ buffer.c:808:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 808 | set_cmode_tabwidth(f, n) | ^ | int buffer.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | b_makename(lp, buf, len) | ^ buffer.c:850:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 850 | b_thiswin(f, n) | ^ | int buffer.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:875:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 874 | static | ~~~~~~ | int 875 | b_delundel(ch) | ^ buffer.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:896:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 896 | b_del(f, n) | ^ | int buffer.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:903:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 903 | b_undel(f, n) | ^ | int buffer.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] buffer.c:910:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 910 | b_expunge(f, n) | ^ | int buffer.c:927:9: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | lfree(lp); | ^ buffer.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | b_expunge(f, n) | ^ 92 warnings generated. --- search.o --- In file included from search.c:29: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from search.c:30: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from search.c:30: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from search.c:30: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ search.c:106:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | forwsearch(f, n) | ^ 107 | { search.c:106:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | forwsearch(f, n) | ^ 107 | { search.c:106:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | forwsearch(f, n) | ^ | int search.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] search.c:128:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 128 | backsearch(f, n) | ^ 129 | { search.c:128:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 128 | backsearch(f, n) | ^ 129 | { search.c:128:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 128 | backsearch(f, n) | ^ | int search.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] search.c:149:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 149 | searchagain(f, n) | ^ 150 | { search.c:149:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 149 | searchagain(f, n) | ^ 150 | { search.c:149:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 149 | searchagain(f, n) | ^ | int search.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] search.c:174:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 174 | forwisearch(f, n) | ^ 175 | { search.c:174:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 174 | forwisearch(f, n) | ^ 175 | { search.c:174:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 174 | forwisearch(f, n) | ^ | int search.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] search.c:184:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 184 | backisearch(f, n) | ^ 185 | { search.c:184:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 184 | backisearch(f, n) | ^ 185 | { search.c:184:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 184 | backisearch(f, n) | ^ | int search.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] search.c:202:9: warning: parameter 'dir' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | isearch(dir) { | ^ search.c:202:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | isearch(dir) { | ^ | int search.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] search.c:209:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 209 | VOID ungetkey(); | ^ ./def.h:492:13: note: conflicting prototype is here 492 | extern VOID ungetkey pro((int)); | ^ search.c:228:10: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | is_cpush(SRCH_BEGIN); | ^ search.c:230:11: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | is_prompt(dir, TRUE, success); | ^ search.c:250:19: warning: passing arguments to 'is_fail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | while (is_fail(is_peek())) | ^ search.c:251:13: warning: passing arguments to 'is_undo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | is_undo(&pptr, &dir); | ^ search.c:253:14: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | is_prompt(dir, pptr < 0, success); | ^ search.c:269:13: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | is_cpush(SRCH_FORW); | ^ search.c:277:15: warning: passing arguments to 'is_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | if (is_find(SRCH_FORW) != FALSE) is_cpush(SRCH_MARK); | ^ search.c:277:45: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | if (is_find(SRCH_FORW) != FALSE) is_cpush(SRCH_MARK); | ^ search.c:283:13: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | is_prompt(dir, pptr < 0, success); | ^ search.c:290:13: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | is_cpush(SRCH_BACK); | ^ search.c:298:15: warning: passing arguments to 'is_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | if (is_find(SRCH_BACK) != FALSE) is_cpush(SRCH_MARK); | ^ search.c:298:45: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | if (is_find(SRCH_BACK) != FALSE) is_cpush(SRCH_MARK); | ^ search.c:304:13: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | is_prompt(dir, pptr < 0, success); | ^ search.c:309:11: warning: passing arguments to 'is_undo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | is_undo(&pptr, &dir); | ^ search.c:310:16: warning: passing arguments to 'is_fail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | if (!is_fail(is_peek())) success = TRUE; | ^ search.c:311:13: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | is_prompt(dir, pptr < 0, success); | ^ search.c:335:30: warning: passing arguments to 'is_addword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | if( (chunklen = is_addword(pptr,dir)) == 0 ){ | ^ search.c:343:14: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | is_cpush(SRCH_CHUNK(chunklen,1)); | ^ search.c:345:17: warning: passing arguments to 'is_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | if (is_find(dir)) | ^ search.c:346:15: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | is_cpush(SRCH_CHUNK(chunklen,0)); | ^ search.c:350:15: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | is_cpush(SRCH_CHUNK(chunklen,1)); | ^ search.c:354:13: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | is_prompt(dir, FALSE, success); | ^ search.c:367:13: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | is_prompt(dir, FALSE, success); | ^ search.c:395:16: warning: passing arguments to 'is_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | if (is_find(dir) != FALSE) | ^ search.c:396:14: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | is_cpush(c); | ^ search.c:400:14: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | is_cpush(SRCH_ACCM); | ^ search.c:403:13: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | is_cpush(SRCH_ACCM); | ^ search.c:404:13: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | is_prompt(dir, FALSE, success); | ^ search.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | is_cpush(cmd) register int cmd; { | ^ search.c:62:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | static VOID is_cpush(); | ^ search.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | is_undo(pptr, dir) register int *pptr; register int *dir; { | ^ search.c:66:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static VOID is_undo(); | ^ search.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | is_find(dir) register int dir; { | ^ search.c:67:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static int is_find(); | ^ search.c:561:22: warning: parameter 'success' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 561 | is_prompt(dir, flag, success) { | ^ search.c:561:16: warning: parameter 'flag' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 561 | is_prompt(dir, flag, success) { | ^ search.c:561:11: warning: parameter 'dir' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 561 | is_prompt(dir, flag, success) { | ^ search.c:564:11: warning: passing arguments to 'is_dspl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | is_dspl("I-search", flag); | ^ search.c:566:11: warning: passing arguments to 'is_dspl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | is_dspl("Failing I-search", flag); | ^ search.c:569:11: warning: passing arguments to 'is_dspl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | is_dspl("I-search backward", flag); | ^ search.c:571:11: warning: passing arguments to 'is_dspl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | is_dspl("Failing I-search backward", flag); | ^ search.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | is_prompt(dir, flag, success) { | ^ search.c:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | static VOID is_prompt(); | ^ search.c:581:17: warning: parameter 'flag' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 581 | is_dspl(prompt, flag) char *prompt; { | ^ search.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | is_dspl(prompt, flag) char *prompt; { | ^ search.c:69:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | static VOID is_dspl(); | ^ search.c:591:9: warning: parameter 'code' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 591 | is_fail(code) | ^ 592 | { search.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | is_fail(code) | ^ search.c:75:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | static int is_fail(); | ^ search.c:599:17: warning: parameter 'dir' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 599 | is_addword(pptr,dir) | ^ 600 | { search.c:599:12: warning: parameter 'pptr' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 599 | is_addword(pptr,dir) | ^ 600 | { search.c:628:17: warning: passing arguments to 'eq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | else if( !eq(c,CHARMASK(pat[i])) ) | ^ search.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | is_addword(pptr,dir) | ^ search.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static int is_addword(); | ^ search.c:684:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 684 | queryrepl(f, n) | ^ 685 | { search.c:684:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 684 | queryrepl(f, n) | ^ 685 | { search.c:684:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 684 | queryrepl(f, n) | ^ | int search.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] search.c:787:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 787 | forwsrch() { | ^ | int search.c:815:9: warning: passing arguments to 'eq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | if (eq(c, pat[0]) != FALSE) { | ^ search.c:828:11: warning: passing arguments to 'eq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | if (eq(c, *pp++) == FALSE) | ^ search.c:848:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 848 | backsrch() { | ^ | int search.c:883:9: warning: passing arguments to 'eq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | if (eq(c, *epp) != FALSE) { | ^ search.c:898:11: warning: passing arguments to 'eq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | if (eq(c, *--pp) == FALSE) | ^ search.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | eq(bc, pc) | ^ search.c:70:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static int eq(); | ^ search.c:940:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 940 | readpattern(prompt) char *prompt; { | ^ | int search.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 warnings generated. --- skg.o --- In file included from skg.c:25: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from skg.c:27: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from skg.c:27: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from skg.c:27: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ skg.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | clear_string( cstr ) | ^ skg.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | clear_list( clist ) | ^ skg.c:101:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | static int compare_string( s1 , s2 ) | ^ skg.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 | get_scanf( k1, k2 , f , s1 , s2 , dflg ) | ^ skg.c:237:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 237 | skginput(f , n) | ^ 238 | { skg.c:237:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 237 | skginput(f , n) | ^ 238 | { skg.c:237:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 237 | skginput(f , n) | ^ | int skg.c:263:23: warning: passing arguments to 'skg_input_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | if ( skg_input_string(&flg,&mode,istr) == 1 ) | ^ skg.c:275:21: warning: passing arguments to 'skg_text_insert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | skg_text_insert( istr , mode ); | ^ skg.c:283:28: warning: passing arguments to 'skg_convert_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | if (skg_convert_string(mode,istr,dstr) == 0) | ^ skg.c:285:18: warning: passing arguments to 'skg_text_insert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | skg_text_insert( dstr, A_MODE ); | ^ skg.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | skginput(f , n) | ^ skg.c:337:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 337 | strcat( dstr , "" ); | ^~~~~~~~ skg.c:339:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 339 | strcat( dstr , "" ); | ^~~~~~~~ skg.c:300:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | int convert_to_hiragana( keystr , dstr ) | ^ skg.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 | skg_text_insert( insert_str , mode ) | ^ skg.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | static VOID skg_text_insert(); | ^ skg.c:430:23: warning: passing arguments to 'skg_display_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | skg_display_prompt(istr, *mode ); /* Display SKG-Prompt on MiniBuffer */ | ^ skg.c:512:20: warning: passing arguments to 'skg_display_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | skg_display_prompt(istr,*mode ); | ^ skg.c:421:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | int skg_input_string( flg, mode, istr ) | ^ skg.c:64:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | static int skg_input_string(); | ^ skg.c:521:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | char *next_target( target ,dstr ) | ^ skg.c:534:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | char *prev_target( target ,dstr ) | ^ skg.c:563:22: warning: passing arguments to 'search_dictionary' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | search_dictionary( mode , istr , dictionary_list ,rstr ); | ^ skg.c:569:19: warning: passing arguments to 'target_display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | target_display(dstr , rstr ); | ^ skg.c:588:20: warning: passing arguments to 'target_display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | target_display(dstr , rstr ); | ^ skg.c:593:20: warning: passing arguments to 'target_display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | target_display(dstr , rstr ); | ^ skg.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | skg_convert_string(mode , istr , dstr ) | ^ skg.c:66:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static int skg_convert_string(); | ^ skg.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | target_display(dstr , rstr ) | ^ skg.c:69:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | static VOID target_display(); | ^ skg.c:638:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 638 | ewprintf("Skg[]:%s",bufstr ); | ^~~~~~~~ skg.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | skg_display_prompt( istr , mode ) | ^ skg.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static VOID skg_display_prompt(); | ^ skg.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | dic_next_target( tlist, target ,dstr ) | ^ skg.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | makedic( tlist, trest , rlength , result ) | ^ skg.c:733:20: warning: passing arguments to 'setup_keystring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | setup_keystring( mode,istr ); | ^ skg.c:744:26: warning: passing arguments to 'compare_keystring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | if(compare_keystring(istr , tmpstr,tmprstr,mode)) | ^ skg.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | search_dictionary( mode, istr, dlist, rstr ) | ^ skg.c:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | static VOID search_dictionary(); | ^ skg.c:866:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 866 | strcat( dickeystr[i].hiragana , "" ); | ^~~~~~~~ skg.c:868:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 868 | strcat( dickeystr[i].hiragana , "" ); | ^~~~~~~~ skg.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | setup_keystring( mode , keystr ) | ^ skg.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static VOID setup_keystring(); | ^ skg.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | convert_to_n_hiragana( keystr , dstr ,length) | ^ skg.c:941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | compare_keystring( istr, tmpstr,tmprstr,mode ) | ^ skg.c:71:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static int compare_keystring(); | ^ skg.c:977:22: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 977 | skg_set_romanname(f, n) | ^ 978 | { skg.c:977:19: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 977 | skg_set_romanname(f, n) | ^ 978 | { skg.c:977:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 977 | skg_set_romanname(f, n) | ^ | int skg.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] skg.c:998:20: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 998 | skg_set_dicname(f, n) | ^ 999 | { skg.c:998:17: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 998 | skg_set_dicname(f, n) | ^ 999 | { skg.c:998:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 998 | skg_set_dicname(f, n) | ^ | int skg.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 warnings generated. --- kanji.o --- In file included from kanji.c:27: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from kanji.c:30: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from kanji.c:30: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from kanji.c:30: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ kanji.c:130:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 130 | k_rot_fio(f, n) | ^ 131 | { kanji.c:130:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 130 | k_rot_fio(f, n) | ^ 131 | { kanji.c:130:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 130 | k_rot_fio(f, n) | ^ | int kanji.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:152:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 152 | k_set_fio(f, n) | ^ 153 | { kanji.c:152:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 152 | k_set_fio(f, n) | ^ 153 | { kanji.c:152:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 152 | k_set_fio(f, n) | ^ | int kanji.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:176:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | k_rot_buffio(f, n) | ^ 177 | { kanji.c:176:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | k_rot_buffio(f, n) | ^ 177 | { kanji.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | k_rot_buffio(f, n) | ^ | int kanji.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:199:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 199 | k_set_buffio(f, n) | ^ 200 | { kanji.c:199:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 199 | k_set_buffio(f, n) | ^ 200 | { kanji.c:199:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 199 | k_set_buffio(f, n) | ^ | int kanji.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:224:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 224 | k_set_expect(f, n) | ^ 225 | { kanji.c:224:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 224 | k_set_expect(f, n) | ^ 225 | { kanji.c:224:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 224 | k_set_expect(f, n) | ^ | int kanji.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:248:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 248 | k_rot_input(f, n) | ^ 249 | { kanji.c:248:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 248 | k_rot_input(f, n) | ^ 249 | { kanji.c:248:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 248 | k_rot_input(f, n) | ^ | int kanji.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:269:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 269 | k_set_input(f, n) | ^ 270 | { kanji.c:269:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 269 | k_set_input(f, n) | ^ 270 | { kanji.c:269:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 269 | k_set_input(f, n) | ^ | int kanji.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:295:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 295 | k_rot_display(f, n) | ^ 296 | { kanji.c:295:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 295 | k_rot_display(f, n) | ^ 296 | { kanji.c:295:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 295 | k_rot_display(f, n) | ^ | int kanji.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:316:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 316 | k_set_display(f, n) | ^ 317 | { kanji.c:316:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 316 | k_set_display(f, n) | ^ 317 | { kanji.c:316:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 316 | k_set_display(f, n) | ^ | int kanji.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] kanji.c:341:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 341 | k_list_code(f, n) | ^ 342 | { kanji.c:341:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 341 | k_list_code(f, n) | ^ 342 | { kanji.c:341:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 341 | k_list_code(f, n) | ^ | int kanji.c:347:17: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | if ((bp = bfind("*Kanji Codes*", TRUE)) == NULL) return FALSE; | ^ kanji.c:398:18: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | if ((wp = popbuf(bp)) == NULL) return FALSE; | ^ kanji.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 | k_list_code(f, n) | ^ kanji.c:412:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 412 | k_show_code(f, n) | ^ 413 | { kanji.c:412:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 412 | k_show_code(f, n) | ^ 413 | { kanji.c:412:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 412 | k_show_code(f, n) | ^ | int kanji.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:451:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 451 | k_set_tokfio(f, n) | ^ 452 | { kanji.c:451:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 451 | k_set_tokfio(f, n) | ^ 452 | { kanji.c:451:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 451 | k_set_tokfio(f, n) | ^ | int kanji.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:474:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 474 | k_set_toafio(f, n) | ^ 475 | { kanji.c:474:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 474 | k_set_toafio(f, n) | ^ 475 | { kanji.c:474:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 474 | k_set_toafio(f, n) | ^ | int kanji.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] kanji.c:498:20: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 498 | k_set_tokanafio(f, n) | ^ 499 | { kanji.c:498:17: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 498 | k_set_tokanafio(f, n) | ^ 499 | { kanji.c:498:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 498 | k_set_tokanafio(f, n) | ^ | int kanji.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:521:24: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 521 | k_set_tokanadisplay(f, n) | ^ 522 | { kanji.c:521:21: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 521 | k_set_tokanadisplay(f, n) | ^ 522 | { kanji.c:521:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 521 | k_set_tokanadisplay(f, n) | ^ | int kanji.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:545:21: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 545 | k_set_tokdisplay(f, n) | ^ 546 | { kanji.c:545:18: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 545 | k_set_tokdisplay(f, n) | ^ 546 | { kanji.c:545:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 545 | k_set_tokdisplay(f, n) | ^ | int kanji.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:568:21: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 568 | k_set_toadisplay(f, n) | ^ 569 | { kanji.c:568:18: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 568 | k_set_toadisplay(f, n) | ^ 569 | { kanji.c:568:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 568 | k_set_toadisplay(f, n) | ^ | int kanji.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:588:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 588 | kcodenumber(code, num) | ^ | int kanji.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] kanji.c:624:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 624 | kanalastchar(lastch) | ^ | int kanji.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:658:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 658 | klastchar(lastch, kselect) | ^ | int kanji.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | ksetbufcode(bp) | ^ kanji.c:700:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 700 | kdispbufcode(bp) | ^ | int kanji.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:729:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 729 | kgetkey() | ^ | int kanji.c:752:26: warning: '/*' within block comment [-Wcomment] 752 | #ifdef notdef /* HANKANA /* 92.11.21 by S.Sasaki */ | ^ kanji.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | kttputc(c) | ^ kanji.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 | kdselectcode(next_is_k) | ^ kanji.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | kputc(c, fp, kfio) | ^ kanji.c:1230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | kfselectcode(fp, next_is_k) | ^ kanji.c:1270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | ksetfincode(bp) | ^ kanji.c:1288:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1288 | kcodeconv(buf, len, bp) | ^ | int kanji.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:1320:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1320 | kcodecount(buf, len) | ^ | int kanji.c:1320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:1346:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1346 | kcodecheck(p, len) | ^ | int kanji.c:1346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:1414:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1414 | bufjtoe(j, len) | ^ | int kanji.c:1414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:1503:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1503 | bufstoe(p, len) | ^ | int kanji.c:1503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:1560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | bufetos(p, len) | ^ kanji.c:1587:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1587 | bufjtoe_c(j, len) | ^ | int kanji.c:1587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:1633:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1633 | bufstoe_c(p, len) | ^ | int kanji.c:1633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:1662:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1662 | iskanji() | ^ | int kanji.c:1672:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1672 | iskword(c1, c2) | ^ | int kanji.c:1672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] kanji.c:1682:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1682 | getcategory() | ^ | int kanji.c:1696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1696 | initcategory(dir) | ^ kanji.c:1709:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1709 | incategory() | ^ | int kanji.c:1733:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1733 | charcategory(c1, c2) | ^ | int kanji.c:1733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 warnings generated. --- display.o --- In file included from display.c:39: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from display.c:40: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from display.c:40: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from display.c:40: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ display.c:127:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 127 | VOID vtputc(); | ^ ./def.h:523:13: note: conflicting prototype is here 523 | extern VOID vtputc pro((int)); | ^ display.c:212:13: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 212 | vtmove(row, col) { | ^ display.c:212:8: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 212 | vtmove(row, col) { | ^ display.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 | vtmove(row, col) { | ^ display.c:126: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] 126 | VOID vtmove(); | ^ display.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | vtputc(c) register int c; { | ^ display.c:127: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] 127 | VOID vtputc(); | ^ display.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | vtmarkyen(fillchar) | ^ display.c:128: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] 128 | VOID vtmarkyen(); | ^ display.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | rowcol2offset(lp, row, col) | ^ display.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | skipline(lp, lines) | ^ display.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | countlines(lp) | ^ display.c:836:11: warning: passing arguments to 'modeline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | modeline(wp); | ^ display.c:840:12: warning: passing arguments to 'moderatio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | moderatio(wp); | ^ display.c:879:11: warning: passing arguments to 'uline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | uline(i, vscreen[i], &blanks); | ^ display.c:880:11: warning: passing arguments to 'ucopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | ucopy(vscreen[i], pscreen[i]); | ^ display.c:885:2: warning: call to undeclared function 'ttykeypadstart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 885 | ttykeypadstart(); | ^ display.c:892:10: warning: passing arguments to 'hash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | hash(vscreen[i]); | ^ display.c:893:10: warning: passing arguments to 'hash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | hash(pscreen[i]); | ^ display.c:902:11: warning: passing arguments to 'uline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | uline(offs, vp1, vp2); | ^ display.c:903:11: warning: passing arguments to 'ucopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | ucopy(vp1, vp2); | ^ display.c:918:11: warning: passing arguments to 'uline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | uline(size-1, vp1, vp2); | ^ display.c:919:11: warning: passing arguments to 'ucopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | ucopy(vp1, vp2); | ^ display.c:924:11: warning: passing arguments to 'setscores' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | setscores(offs, size); /* Do hard update. */ | ^ display.c:925:11: warning: passing arguments to 'traceback' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | traceback(offs, size, size, size); | ^ display.c:927:11: warning: passing arguments to 'ucopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | ucopy(vscreen[offs+i], pscreen[offs+i]); | ^ display.c:937:11: 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, vp1, vp2); | ^ display.c:938:11: 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(vp1, vp2); | ^ display.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | ucopy(vvp, pvp) register VIDEO *vvp; register VIDEO *pvp; { | ^ display.c:131: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] 131 | VOID ucopy(); | ^ display.c:976:12: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 976 | VOID uline(row, vvp, pvp) VIDEO *vvp; VIDEO *pvp; { | ^ display.c:976:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | VOID uline(row, vvp, pvp) VIDEO *vvp; VIDEO *pvp; { | ^ display.c:132: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] 132 | VOID uline(); | ^ display.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | modeline(wp) register WINDOW *wp; { | ^ display.c:133: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] 133 | VOID modeline(); | ^ display.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | moderatio(wp) register WINDOW *wp; { | ^ display.c:135: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] 135 | VOID moderatio(); | ^ display.c:1368:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1368 | vtputs(s) register char *s; { | ^ | int display.c:1368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] display.c:1389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | hash(vp) register VIDEO *vp; { | ^ display.c:137: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] 137 | VOID hash(); | ^ display.c:1437:17: warning: parameter 'size' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1437 | setscores(offs, size) { | ^ display.c:1437:11: warning: parameter 'offs' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1437 | setscores(offs, size) { | ^ display.c:1437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | setscores(offs, size) { | ^ display.c:138: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] 138 | VOID setscores(); | ^ display.c:1523:31: warning: parameter 'j' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1523 | VOID traceback(offs, size, i, j) { | ^ display.c:1523:28: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1523 | VOID traceback(offs, size, i, j) { | ^ display.c:1523:22: warning: parameter 'size' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1523 | VOID traceback(offs, size, i, j) { | ^ display.c:1523:16: warning: parameter 'offs' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1523 | VOID traceback(offs, size, i, j) { | ^ display.c:1523:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1523 | VOID traceback(offs, size, i, j) { | ^ display.c:139: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] 139 | VOID traceback(); | ^ 55 warnings generated. --- regex.o --- In file included from regex.c:11: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from regex.c:14: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from regex.c:14: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from regex.c:14: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ In file included from regex.c:17: ./kanji_.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | kpart(pLim, pChr) | ^ ./kanji_.c:42:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | int jstrlen(s) | ^ ./kanji_.c:57:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | char * jnthchar(s, n) | ^ ./kanji_.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | jindex(s, c) | ^ ./kanji_.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 | jrindex(s, c) | ^ ./kanji_.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | jstrlower(s) | ^ In file included from regex.c:18: In file included from ./regex_j.c:208: ./regex_j.h:281: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] 281 | extern char *re_comp (); | ^ /usr/include/unistd.h:560:7: note: conflicting prototype is here 560 | char *re_comp(const char *); | ^ In file included from regex.c:18: In file included from ./regex_j.c:208: ./regex_j.h:282: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] 282 | extern int re_exec (); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ In file included from regex.c:18: ./regex_j.c:258:16: warning: parameter 'syntax' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 258 | re_set_syntax (syntax) | ^ 259 | { ./regex_j.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | re_set_syntax (syntax) | ^ ./regex_j.c:455:14: warning: passing arguments to 'store_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | store_jump (fixup_jump, jump, b); | ^ ./regex_j.c:560:19: warning: passing arguments to 'store_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | store_jump (b, maybe_finalize_jump, laststart - 3); | ^ ./regex_j.c:563:16: warning: passing arguments to 'insert_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | insert_jump (on_failure_jump, laststart, b + 3, b); | ^ ./regex_j.c:570:20: warning: passing arguments to 'insert_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | insert_jump (dummy_failure_jump, laststart, laststart + 6, b); | ^ ./regex_j.c:737:14: warning: passing arguments to 'store_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | store_jump (fixup_jump, jump, b); | ^ ./regex_j.c:756:20: warning: passing arguments to 'insert_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | insert_jump (on_failure_jump, begalt, b + 6, b); | ^ ./regex_j.c:760:14: warning: passing arguments to 'store_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | store_jump (fixup_jump, jump, b); | ^ ./regex_j.c:885:16: warning: passing arguments to 'store_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | store_jump (fixup_jump, jump, b); | ^ ./regex_j.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | re_compile_pattern (pattern, size, bufp) | ^ In file included from regex.c:18: In file included from ./regex_j.c:208: ./regex_j.h:274: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] 274 | extern char *re_compile_pattern (); | ^ In file included from regex.c:18: ./regex_j.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | store_jump (from, opcode, to) | ^ ./regex_j.c:352:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 352 | static void store_jump (), insert_jump (); | ^ ./regex_j.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | insert_jump (op, from, to, current_end) | ^ ./regex_j.c:352:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 352 | static void store_jump (), insert_jump (); | ^ ./regex_j.c:993:15: warning: 6 enumeration values not handled in switch: 'unused', 'charset_list', 'charset_fromto'... [-Wswitch] 993 | switch ((enum regexpcode) *p++) | ^~~~~~~~~~~~~~~~~~~~~~ ./regex_j.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | re_compile_fastmap (bufp) | ^ In file included from regex.c:18: In file included from ./regex_j.c:208: ./regex_j.h:276:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 276 | extern void re_compile_fastmap (); | ^ In file included from regex.c:18: ./regex_j.c:1238:22: warning: passing arguments to 're_search_2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | return re_search_2 (pbufp, 0, 0, string, size, startpos, range, regs, size); | ^ ./regex_j.c:1232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | re_search (pbufp, string, size, startpos, range, regs) | ^ In file included from regex.c:18: In file included from ./regex_j.c:208: ./regex_j.h:277:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 277 | extern int re_search (), re_search_2 (); | ^ In file included from regex.c:18: ./regex_j.c:1366:24: warning: passing arguments to 're_match_2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | val = re_match_2 (pbufp, (unsigned char *)string1, size1, (unsigned char *)string2, size2, startpos, regs, mstop); | ^ ./regex_j.c:1254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1254 | re_search_2 (pbufp, string1, size1, string2, size2, startpos, range, regs, mstop) | ^ In file included from regex.c:18: In file included from ./regex_j.c:208: ./regex_j.h:277:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 277 | extern int re_search (), re_search_2 (); | ^ In file included from regex.c:18: ./regex_j.c:1620:34: warning: passing arguments to 'bcmp_translate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | if (translate ? bcmp_translate (d, d2, mcnt, translate) : bcmp (d, d2, mcnt)) | ^ ./regex_j.c:1572:15: warning: 9 enumeration values not handled in switch: 'unused', 'charset_list', 'charset_fromto'... [-Wswitch] 1572 | switch ((enum regexpcode) *p++) | ^~~~~~~~~~~~~~~~~~~~~~ ./regex_j.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | re_match_2 (pbufp, string1, size1, string2, size2, pos, regs, mstop) | ^ In file included from regex.c:18: In file included from ./regex_j.c:208: ./regex_j.h:278:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 278 | extern int re_match (), re_match_2 (); | ^ In file included from regex.c:18: ./regex_j.c:2055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2055 | bcmp_translate (s1, s2, len, translate) | ^ ./regex_j.c:1407:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1407 | static int bcmp_translate(); | ^ 43 warnings generated. --- echo.o --- In file included from echo.c:43: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] 129 | /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ | ^ In file included from echo.c:44: In file included from ./def.h:46: ./sysdef.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ In file included from echo.c:44: In file included from ./def.h:46: ./sysdef.h:65:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 65 | char *getcwd(); | ^ /usr/include/unistd.h:345:7: note: conflicting prototype is here 345 | char *getcwd(char *, size_t); | ^ In file included from echo.c:44: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] 36 | /* #define MOVE_STANDOUT /* don't move in standout mode */ | ^ echo.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | eargset(earg) | ^ echo.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | edefset(earg) | ^ echo.c:126:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | eyorn(sp) char *sp; { | ^ | int echo.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] echo.c:150:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 150 | eyesno(sp) char *sp; { | ^ | int echo.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] echo.c:206:15: warning: passing arguments to 'veread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | i = veread(fp, buf, nbuf, EFNEW|EFCR, &pvar) ; | ^ echo.c:247:15: warning: passing arguments to 'veread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | i = veread(fp, buf, nbuf, flag, &pvar); | ^ echo.c:389:10: warning: passing arguments to 'mb_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | mb_init(nbuf, fp, ap); | ^ echo.c:410:15: warning: passing arguments to 'mb_henkan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | if (mb_henkan(c)) | ^ echo.c:471:11: warning: passing arguments to 'mb_backww' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | mb_backww(nargs); | ^ echo.c:474:10: warning: passing arguments to 'mb_forww' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | mb_forww(nargs); | ^ echo.c:480:9: warning: passing arguments to 'mb_delw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | mb_delw(nargs); | ^ echo.c:483:8: warning: passing arguments to 'mb_upw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | mb_upw(nargs); | ^ echo.c:486:10: warning: passing arguments to 'mb_downw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | mb_downw(nargs); | ^ echo.c:516:33: warning: passing arguments to 'veread_complete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | cmp_msg_len = veread_complete(buf, nbuf, c, flag); | ^ echo.c:518:13: warning: passing arguments to 'mb_insert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | mb_insert(1, (char) c); | ^ echo.c:523:15: warning: passing arguments to 'mb_get_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | mb_get_buffer(buf, nbuf); | ^ echo.c:526:23: warning: passing arguments to 'complete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | matchnum = complete(buf, flag); | ^ echo.c:530:35: warning: passing arguments to 'veread_complete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | cmp_msg_len = veread_complete(buf, nbuf, (int)CCHR('I'), flag); | ^ echo.c:543: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] 543 | if((lp = lalloc(mb_bufsize())) == NULL) | ^ echo.c:562:11: warning: passing arguments to 'mb_backwc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | mb_backwc(nargs); | ^ echo.c:565:9: warning: passing arguments to 'mb_delc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | mb_delc(nargs); | ^ echo.c:571:10: warning: passing arguments to 'mb_forwc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | mb_forwc(nargs); | ^ echo.c:575:11: warning: passing arguments to 'mb_erasec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | mb_erasec(nargs); | ^ echo.c:584:9: warning: passing arguments to 'refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | refresh(FFRAND, 0); | ^ echo.c:605:10: warning: passing arguments to 'mb_trans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | mb_trans(nargs); | ^ echo.c:608:10: warning: passing arguments to 'mb_killw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | mb_killw(nargs); | ^ echo.c:614:9: warning: passing arguments to 'mb_yank' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | mb_yank(nargs); | ^ echo.c:617:15: warning: passing arguments to 'mb_matchparen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | mb_matchparen(nargs, '(', ')'); | ^ echo.c:620:15: warning: passing arguments to 'mb_matchparen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | mb_matchparen(nargs, '[', ']'); | ^ echo.c:623:15: warning: passing arguments to 'mb_matchparen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | mb_matchparen(nargs, '{', '}'); | ^ echo.c:636:15: warning: passing arguments to 'mb_insert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | if (mb_insert(nargs, (char) c) < 0) | ^ echo.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | veread(fp, buf, nbuf, flag, ap) | ^ echo.c:59:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static int veread(); | ^ echo.c:656:15: warning: passing arguments to 'mb2_insert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | mb2_insert(1, ' '); | ^ echo.c:657:18: warning: passing arguments to 'mb_get_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | mb_get_buffer(buf, nbuf); | ^ echo.c:658:17: warning: passing arguments to 'complete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | if (complete(buf, flag) == COMPLT_NO_MATCH){ | ^ echo.c:659:17: warning: passing arguments to 'mb2_erasec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | mb2_erasec(1); | ^ echo.c:661:20: warning: passing arguments to 'mb_appenddiff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | mb_appenddiff(buf); | ^ echo.c:665:16: warning: passing arguments to 'mb_get_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | mb_get_buffer(buf, nbuf); | ^ echo.c:666:22: warning: passing arguments to 'complete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | matchnum = complete(buf, flag); | ^ echo.c:667:16: warning: passing arguments to 'mb_appenddiff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | mb_appenddiff(buf); | ^ echo.c:673:40: warning: passing arguments to 'complete_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | mb_insertcmplmsg(complete_message(matchnum)); | ^ echo.c:673:23: warning: passing arguments to 'mb_insertcmplmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | mb_insertcmplmsg(complete_message(matchnum)); | ^ echo.c:681:40: warning: passing arguments to 'complete_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | mb_insertcmplmsg(complete_message(matchnum)); | ^ echo.c:681:23: warning: passing arguments to 'mb_insertcmplmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | mb_insertcmplmsg(complete_message(matchnum)); | ^ echo.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | veread_complete(buf, nbuf, c, flag) | ^ echo.c:349:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 349 | static int veread_complete(); | ^ echo.c:745:19: warning: passing arguments to 'sformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | prompt = sformat(fp, ap); | ^ echo.c:783:15: warning: passing arguments to 'mb_insertstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | mb_insertstr(prompt); | ^ echo.c:788:17: warning: passing arguments to 'mb_insertstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | mb_insertstr(edef_text); | ^ echo.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | mb_init(nbuf, fp, ap) | ^ echo.c:277:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 277 | static int mb_init(); | ^ echo.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | mb_get_buffer(buf, nbuf) | ^ echo.c:278:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 278 | static int mb_get_buffer(); | ^ echo.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | mb_pointoverwrite(ch) | ^ echo.c:281:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 281 | static int mb_pointoverwrite(); | ^ echo.c:881:15: warning: passing arguments to 'mb2_gotochar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | mb2_gotochar(i); | ^ echo.c:883:16: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | mb_fixlines(0, Line.next, 0, &col, &pt); | ^ echo.c:885:16: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | mb_fixlines(ocol, lp, opt, &col, &pt); | ^ echo.c:889:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | mb_refresh(col, pt); | ^ echo.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | mb_gotochar(i) | ^ echo.c:286:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 286 | static int mb_gotochar(); | ^ echo.c:897:12: warning: passing arguments to 'mb_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | mb_move(i-_mb_point); | ^ echo.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | mb2_gotochar(i) | ^ echo.c:287:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 287 | static int mb2_gotochar(); | ^ echo.c:931:17: warning: passing arguments to 'mb2_insert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | mb2_insert(n, c); | ^ echo.c:932:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | mb_fixlines(ocol, lp, opt, &col, &pt); | ^ echo.c:933:17: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | mb_refresh(col, pt); | ^ echo.c:940:17: warning: passing arguments to 'mb2_insert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | mb2_insert(1, k1); | ^ echo.c:941:17: warning: passing arguments to 'mb2_insert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | mb2_insert(1, c); | ^ echo.c:943:16: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | mb_fixlines(ocol, lp, opt, &col, &pt); | ^ echo.c:944:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | mb_refresh(col, pt); | ^ echo.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | mb_insert(n, c) | ^ echo.c:288:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 288 | static int mb_insert(); | ^ echo.c:958:15: warning: passing arguments to 'mb_putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | mb_putchar(c); | ^ echo.c:951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | mb2_insert(n, c) | ^ echo.c:289:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 289 | static int mb2_insert(); | ^ echo.c:974:15: warning: passing arguments to 'mb_putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | mb_putchar(*(s++)); | ^ echo.c:975:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | if (mb_fixlines(ocol, lp, opt, &col, &pt) == 0) | ^ echo.c:976:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | mb_refresh(ocol, opt); | ^ echo.c:978:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | mb_refresh(col, pt); | ^ echo.c:962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | mb_insertstr(s) | ^ echo.c:290:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 290 | static int mb_insertstr(); | ^ echo.c:982:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 982 | static _mb_cmpl_msg_len = 0; | ~~~~~~ ^ | int echo.c:990:20: warning: passing arguments to 'mb2_insertcmplmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | mb2_insertcmplmsg(s); | ^ echo.c:991:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | mb_fixlines(_mb_ccol, CLine, _mb_point, &col, &pt); | ^ echo.c:992:13: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | mb_refresh(_mb_ccol, _mb_point); | ^ echo.c:985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | mb_insertcmplmsg(s) | ^ echo.c:291:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 291 | static VOID mb_insertcmplmsg(); | ^ echo.c:1003:15: warning: passing arguments to 'mb_putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | mb_putchar(*(s++)); | ^ echo.c:995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | mb2_insertcmplmsg(s) | ^ echo.c:292:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 292 | static int mb2_insertcmplmsg(); | ^ echo.c:1019:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | mb_fixlines(_mb_ccol, CLine, _mb_point, &col, &pt); | ^ echo.c:1023:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | mb_refresh(col, pt); | ^ echo.c:1037:17: warning: passing arguments to 'mb2_appenddiff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | mb2_appenddiff(buf); | ^ echo.c:1038:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | if (mb_fixlines(ocol, lp, opt, &col, &pt) == 0) | ^ echo.c:1039:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | mb_refresh(ocol, opt); | ^ echo.c:1028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | mb_appenddiff(buf) | ^ echo.c:294:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 294 | static int mb_appenddiff(); | ^ echo.c:1054:15: warning: passing arguments to 'mb_putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | mb_putchar(*(p1++)); | ^ echo.c:1045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | mb2_appenddiff(buf) | ^ echo.c:295:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 295 | static int mb2_appenddiff(); | ^ echo.c:1065:15: warning: passing arguments to 'mb2_delc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | if (mb2_delc(n) < 0) | ^ echo.c:1067:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | mb_fixlines(_mb_ccol, CLine, _mb_point, &col, &pt); | ^ echo.c:1068:13: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | mb_refresh(col, pt); | ^ echo.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | mb_delc(n) | ^ echo.c:296:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 296 | static int mb_delc(); | ^ echo.c:1080:11: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | chsize(&_mb_buf[_mb_gapend], &v, &m); | ^ echo.c:1072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | mb2_delc(n) | ^ echo.c:297:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 297 | static int mb2_delc(); | ^ echo.c:1094:13: warning: passing arguments to 'mb2_erasec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | mb2_erasec(n); | ^ echo.c:1095:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | mb_fixlines(0, Line.next, 0, &col, &pt); | ^ echo.c:1097:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | mb_refresh(_mb_ccol, _mb_point); | ^ echo.c:1087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | mb_erasec(n) | ^ echo.c:298:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 298 | static int mb_erasec(); | ^ echo.c:1111:19: warning: passing arguments to 'mb2_backwc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | if (mb2_backwc(1) < 0) | ^ echo.c:1103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | mb2_erasec(n) | ^ echo.c:299:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 299 | static int mb2_erasec(); | ^ echo.c:1130:16: warning: passing arguments to 'mb2_forwc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1130 | mb2_forwc(1); | ^ echo.c:1134:17: warning: passing arguments to 'mb2_backwc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | mb2_backwc(1); | ^ echo.c:1137:17: warning: passing arguments to 'mb2_backwc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | mb2_backwc(1); | ^ echo.c:1141:17: warning: passing arguments to 'mb2_backwc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | mb2_backwc(1); | ^ echo.c:1146:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | mb_fixlines(0, Line.next, 0, &col, &pt); | ^ echo.c:1148:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1148 | mb_refresh(_mb_ccol, _mb_point); | ^ echo.c:1150:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | mb_refresh(col, pt); | ^ echo.c:1119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | mb_killw(n) | ^ echo.c:300:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 300 | static int mb_killw(); | ^ echo.c:1171:8: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | chsize(&_mb_buf[_mb_gapend], &v, &m); | ^ echo.c:1182:13: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | chsize(&_mb_buf[_mb_gapend], &v, &m); | ^ echo.c:1196:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | mb_fixlines(_mb_ccol, CLine, _mb_point, &col, &pt); | ^ echo.c:1197:13: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | mb_refresh(col, pt); | ^ echo.c:1154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | mb_delw(n) | ^ echo.c:301:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 301 | static int mb_delw(); | ^ echo.c:1208:21: warning: passing arguments to 'mb_backwc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1208 | return mb_backwc(-n); | ^ echo.c:1212:12: warning: passing arguments to 'mb2_forwc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | mb2_forwc(n); | ^ echo.c:1213:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | if (mb_fixlines(ocol, lp, opt, &col, &pt) == 0) | ^ echo.c:1216:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | mb_refresh(col, pt); | ^ echo.c:1201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | mb_forwc(n) | ^ echo.c:302:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 302 | static int mb_forwc(); | ^ echo.c:1229:13: warning: passing arguments to 'mb2_backwc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | mb2_backwc(n); | ^ echo.c:1230:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | mb_fixlines(0, Line.next, 0, &col, &pt); | ^ echo.c:1234:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | mb_refresh(col, pt); | ^ echo.c:1220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | mb_backwc(n) | ^ echo.c:303:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 303 | static int mb_backwc(); | ^ echo.c:1246:11: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | chsize(&_mb_buf[_mb_gapend], &v, &m); | ^ echo.c:1247:12: warning: passing arguments to 'mb_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | mb_move(m); | ^ echo.c:1238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | mb2_forwc(n) | ^ echo.c:304:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 304 | static int mb2_forwc(); | ^ echo.c:1260:12: warning: passing arguments to 'chsize2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | chsize2(&_mb_buf[_mb_point-1], &v, &m); | ^ echo.c:1261:12: warning: passing arguments to 'mb_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | mb_move(-m); | ^ echo.c:1252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1252 | mb2_backwc(n) | ^ echo.c:305:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 305 | static int mb2_backwc(); | ^ echo.c:1273:21: warning: passing arguments to 'mb_backww' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | return mb_backww(-n); | ^ echo.c:1289:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | if (mb_fixlines(ocol, lp, opt, &col, &pt) == 0) | ^ echo.c:1292:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1292 | mb_refresh(col, pt); | ^ echo.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | mb_forww(n) | ^ echo.c:306:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 306 | static int mb_forww(); | ^ echo.c:1319:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1319 | mb_fixlines(0, Line.next, 0, &col, &pt); | ^ echo.c:1323:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | mb_refresh(col, pt); | ^ echo.c:1296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1296 | mb_backww(n) | ^ echo.c:307:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 307 | static int mb_backww(); | ^ echo.c:1360:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | if (mb_fixlines(ocol, lp, opt, &col, &pt) == 0) | ^ echo.c:1361:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1361 | mb_refresh(ocol, opt); | ^ echo.c:1337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | mb_upw(n) | ^ echo.c:310:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 310 | static int mb_upw(); | ^ echo.c:1390:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | if (mb_fixlines(ocol, lp, opt, &col, &pt) == 0) | ^ echo.c:1391:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | mb_refresh(ocol, opt); | ^ echo.c:1367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | mb_downw(n) | ^ echo.c:311:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 311 | static int mb_downw(); | ^ echo.c:1419:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1419 | mb_fixlines(0, Line.next, 0, &col, &pt); | ^ echo.c:1436:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1436 | if (mb_fixlines(_mb_ccol, CLine, _mb_point, &col, &pt) == 0) | ^ echo.c:1439:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1439 | mb_refresh(col, pt); | ^ echo.c:1461:17: warning: passing arguments to 'mb_putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | mb_putchar(ch); | ^ echo.c:1464:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | mb_fixlines(ocol, lp, opt, &col, &pt); | ^ echo.c:1466:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1466 | mb_refresh(ocol, opt); | ^ echo.c:1443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | mb_yank(n) | ^ echo.c:315:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 315 | static int mb_yank(); | ^ echo.c:1500:14: warning: passing arguments to 'chsize2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | chsize2(&_mb_buf[_mb_point-1], &v1, &m1); | ^ echo.c:1503:13: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | chsize(&_mb_buf[_mb_gapend], &v2, &m2); | ^ echo.c:1513:20: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1513 | if (mb_fixlines(ocol, lp, opt, &col, &pt) == 0) | ^ echo.c:1514:17: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1514 | mb_refresh(ocol, opt); | ^ echo.c:1528:14: warning: passing arguments to 'chsize2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | chsize2(&_mb_buf[_mb_point-1], &v1, &m1); | ^ echo.c:1531:13: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | chsize(&_mb_buf[_mb_gapend], &v2, &m2); | ^ echo.c:1541:20: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | if (mb_fixlines(0, Line.next, 0, &col, &pt) == 0) | ^ echo.c:1542:17: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1542 | mb_refresh(col, pt); | ^ echo.c:1472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1472 | mb_trans(n) | ^ echo.c:316:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 316 | static int mb_trans(); | ^ echo.c:1582:15: warning: passing arguments to 'mb_putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | mb_putchar(cpar); | ^ echo.c:1583:16: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | mb_fixlines(ocol, lp, opt, &col, &pt); | ^ echo.c:1590:17: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | mb_refresh(col, pt); | ^ echo.c:1612:25: warning: passing arguments to 'mb_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1612 | _mb_ccol = mb_col(clp, point); | ^ echo.c:1613:18: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1613 | mb_refresh(0, clp->idx); | ^ echo.c:1615:31: warning: passing arguments to 'mb_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1615 | ttmove(_mb_crow, mb_col(clp, point)); | ^ echo.c:1637:25: warning: passing arguments to 'mb_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | _mb_ccol = mb_col(clp, point); | ^ echo.c:1638:18: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1638 | mb_refresh(0, clp->idx); | ^ echo.c:1640:31: warning: passing arguments to 'mb_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1640 | ttmove(_mb_crow, mb_col(clp, point)); | ^ echo.c:1647:14: warning: passing arguments to 'chsize2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1647 | chsize2(&_mb_buf[point], &v, &m); | ^ echo.c:1654:16: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | mb_fixlines(ocol, lp, opt, NULL, NULL); | ^ echo.c:1549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | mb_matchparen(n, opar, cpar) | ^ echo.c:317:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 317 | static int mb_matchparen(); | ^ echo.c:1671:11: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1671 | chsize(&_mb_buf[point], &v, &m); | ^ echo.c:1663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1663 | mb_col(lp, pt) | ^ echo.c:318:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 318 | static int mb_col(); | ^ echo.c:1678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1678 | mb_putchar(c) | ^ echo.c:319:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 319 | static int mb_putchar(); | ^ echo.c:1706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | mb_move(m) | ^ echo.c:320:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 320 | static VOID mb_move(); | ^ echo.c:1729:13: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1729 | chsize(&_mb_buf[_mb_point-1], &v, &m); | ^ echo.c:1736:14: warning: passing arguments to 'chsize2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1736 | chsize2(&_mb_buf[_mb_point-1], &v, &m); | ^ echo.c:1722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | mb_movech(n) | ^ echo.c:321:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 321 | static VOID mb_movech(); | ^ echo.c:1770:11: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1770 | chsize(&_mb_buf[point], &v, &m); | ^ echo.c:1744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1744 | mb_fixlines(col, line, point, colp, ptp) | ^ echo.c:322:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 322 | static int mb_fixlines(); | ^ echo.c:1824:13: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1824 | mb_refresh(0, CLine->idx); | ^ echo.c:1837:11: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | chsize(&_mb_buf[idx], &v, &m); | ^ echo.c:1839: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] 1839 | eputc(_mb_buf[idx++]); | ^ echo.c:1845:11: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | chsize(&_mb_buf[idx], &v, &m); | ^ echo.c:1847: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] 1847 | eputc(_mb_buf[idx++]); | ^ echo.c:1852: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] 1852 | eputc('\\'); | ^ echo.c:1827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1827 | mb_refresh(col, idx) | ^ echo.c:324:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 324 | static VOID mb_refresh(); | ^ echo.c:1912:15: warning: passing 'unsigned char *' 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] 1912 | mb_insertstr(ks.echoStr); | ^~~~~~~~~~ echo.c:1865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1865 | mb_henkan( c ) | ^ echo.c:339:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 339 | static int mb_henkan(); | ^ echo.c:1951:20: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1951 | idx = s_put_c(s, idx, n, c); | ^ echo.c:1956:16: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1956 | (VOID) keyname(kname, va_arg(*ap, int)); | ^ echo.c:1957:15: warning: passing arguments to 's_put_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1957 | idx = s_put_s(s, idx, n, kname); | ^ echo.c:1962:16: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1962 | cp = keyname(cp, key.k_chars[c]); | ^ echo.c:1966:15: warning: passing arguments to 's_put_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1966 | idx = s_put_s(s, idx, n, kname); | ^ echo.c:1969:15: warning: passing arguments to 's_put_i' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1969 | idx = s_put_i(s, idx, n, va_arg(*ap, int), 10); | ^ echo.c:1972:15: warning: passing arguments to 's_put_i' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1972 | idx = s_put_i(s, idx, n, va_arg(*ap, int), 8); | ^ echo.c:1975:15: warning: passing arguments to 's_put_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1975 | idx = s_put_s(s, idx, n, va_arg(*ap, char *)); | ^ echo.c:1981:17: warning: passing arguments to 's_put_l' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1981 | idx = s_put_l(s, idx, n, (long)va_arg(*ap, long), 10); | ^ echo.c:1984:17: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1984 | idx = s_put_c(s, idx, n, c); | ^ echo.c:1989:15: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1989 | idx = s_put_c(s, idx, n, c); | ^ echo.c:1934:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1934 | sformat(fp, ap) | ^ echo.c:326: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] 326 | static char* sformat(); | ^ echo.c:2007:18: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2007 | idx = s_put_c(p, idx, n, '-'); | ^ echo.c:2012:17: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2012 | return s_put_c(p, idx, n, i%r+'0'); | ^ echo.c:1998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1998 | s_put_i(p, idx, n, i, r) | ^ echo.c:327:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 327 | static int s_put_i(); | ^ echo.c:2025:18: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | idx = s_put_c(p, idx, n, '-'); | ^ echo.c:2030:17: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2030 | return s_put_c(p, idx, n, (int)(l%r)+'0'); | ^ echo.c:2016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2016 | s_put_l(p, idx, n, l, r) | ^ echo.c:328:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 328 | static int s_put_l(); | ^ echo.c:2041:18: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | idx = s_put_c(p, idx, n, c); | ^ echo.c:2034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2034 | s_put_s(p, idx, n, s) | ^ echo.c:329:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 329 | static int s_put_s(); | ^ echo.c:2046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2046 | s_put_c(p, idx, n, c) | ^ echo.c:330:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 330 | static int s_put_c(); | ^ echo.c:2080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2080 | chsize(s, visu, mem) | ^ echo.c:331:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 331 | static VOID chsize(); | ^ echo.c:2107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2107 | chsize2(s, visu, mem) | ^ echo.c:332:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 332 | static VOID chsize2(); | ^ echo.c:2864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2864 | eformat(fp, ap) | ^ echo.c:2875: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] 2875 | eputc(c); | ^ echo.c:2880:19: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2880 | (VOID) keyname(kname, va_arg(*ap, int)); | ^ echo.c:2881:10: warning: passing arguments to 'eputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2881 | eputs(kname); | ^ echo.c:2887:21: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2887 | cp = keyname(cp, key.k_chars[c]); | ^ echo.c:2891:10: warning: passing arguments to 'eputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2891 | eputs(kname); | ^ echo.c:2895:10: warning: passing arguments to 'eputi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2895 | eputi(va_arg(*ap, int), 10); | ^ echo.c:2899:10: warning: passing arguments to 'eputi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2899 | eputi(va_arg(*ap, int), 8); | ^ echo.c:2903:10: warning: passing arguments to 'eputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2903 | eputs(va_arg(*ap, char *)); | ^ echo.c:2910:11: warning: passing arguments to 'eputl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2910 | eputl((long)va_arg(*ap, long), 10); | ^ echo.c:2913: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] 2913 | eputc(c); | ^ echo.c:2919:10: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2919 | eputc(c); | ^ echo.c:2936: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] 2936 | eputc('-'); | ^ echo.c:2941:7: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2941 | eputc(i%r+'0'); | ^ echo.c:2929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2929 | eputi(i, r) | ^ echo.c:69:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | static VOID eputi(); | ^ echo.c:2955: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] 2955 | eputc('-'); | ^ echo.c:2960:7: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2960 | eputc((int)(l%r)+'0'); | ^ echo.c:2948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2948 | eputl(l, r) | ^ echo.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static VOID eputl(); | ^ echo.c:2973: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] 2973 | eputc(c); | ^ echo.c:2967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2967 | eputs(s) | ^ echo.c:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static VOID eputs(); | ^ echo.c:2982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2982 | eputc(c) | ^ echo.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static VOID eputc(); | ^ 286 warnings generated. --- ng --- cc -O2 -pipe -Wno-error=return-type -I/usr/local/include -DCANNA -fstack-protector-strong -fno-strict-aliasing -o ng basic.o dir.o dired.o shell.o version.o window.o kinsoku.o jump.o buffer.o complt.o display.o cmode.o echo.o extend.o file.o help.o kbd.o keymap.o line.o macro.o main.o match.o modes.o paragraph.o random.o region.o regex.o re_search.o search.o skg.o kanji.o undo.o word.o cinfo.o spawn.o ttyio.o tty.o ttykbd.o fileio.o canna.o -lncurses -L/usr/local/lib -lcanna =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ja-ng-canna-1.4.4_2 ===> Generating temporary packing list (cd /wrkdirs/usr/ports/japanese/ng-canna/work/ng-1.4.4 && install -s -m 555 ng /wrkdirs/usr/ports/japanese/ng-canna/work/stage/usr/local/bin) (cd /wrkdirs/usr/ports/japanese/ng-canna/work/ng-1.4.4/docs && install -m 0644 CHANGES.1_3 /wrkdirs/usr/ports/japanese/ng-canna/work/stage/usr/local/share/doc/ja/ng/CHANGES.1_3.euc-jp) (cd /wrkdirs/usr/ports/japanese/ng-canna/work/ng-1.4.4/docs && install -m 0644 CHANGES.doc /wrkdirs/usr/ports/japanese/ng-canna/work/stage/usr/local/share/doc/ja/ng/CHANGES.doc.euc-jp) (cd /wrkdirs/usr/ports/japanese/ng-canna/work/ng-1.4.4/docs && install -m 0644 Ng.FAQ /wrkdirs/usr/ports/japanese/ng-canna/work/stage/usr/local/share/doc/ja/ng/Ng.FAQ.euc-jp) (cd /wrkdirs/usr/ports/japanese/ng-canna/work/ng-1.4.4/docs && install -m 0644 Ng.doc /wrkdirs/usr/ports/japanese/ng-canna/work/stage/usr/local/share/doc/ja/ng/Ng.doc.euc-jp) (cd /wrkdirs/usr/ports/japanese/ng-canna/work/ng-1.4.4/docs && install -m 0644 Ng.ref /wrkdirs/usr/ports/japanese/ng-canna/work/stage/usr/local/share/doc/ja/ng/Ng.ref.euc-jp) (cd /wrkdirs/usr/ports/japanese/ng-canna/work/ng-1.4.4/docs && install -m 0644 Ng.tut /wrkdirs/usr/ports/japanese/ng-canna/work/stage/usr/local/share/doc/ja/ng/Ng.tut.euc-jp) (cd /wrkdirs/usr/ports/japanese/ng-canna/work/ng-1.4.4/docs && install -m 0644 README.Ng /wrkdirs/usr/ports/japanese/ng-canna/work/stage/usr/local/share/doc/ja/ng/README.Ng.euc-jp) (cd /wrkdirs/usr/ports/japanese/ng-canna/work/ng-1.4.4/docs && install -m 0644 README.SKG /wrkdirs/usr/ports/japanese/ng-canna/work/stage/usr/local/share/doc/ja/ng/README.SKG.euc-jp) ====> 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-02-21T04:18:54+0000' 'PKG_NOTE_ports_top_git_hash=eac71dbf758c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=e79fe1aabc5b' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ja-ng-canna-1.4.4_2 ===> Building ja-ng-canna-1.4.4_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ja-ng-canna-1.4.4_2 build of japanese/ng-canna | ja-ng-canna-1.4.4_2 ended at Fri Feb 20 23:19:03 EST 2026 build time: 00:00:10