=>> Building editors/mined build started at Thu Jan 22 04:51:55 EST 2026 port directory: /usr/ports/editors/mined package name: mined-2022.27_4 building for: FreeBSD pkg.DaveG.ca 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 1403000 amd64 maintained by: thierry@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1318 Oct 28 16:11 /usr/ports/editors/mined/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: 76b67f655218 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1403000 Job Id: 03 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE-p7 1403000 UNAME_r=14.3-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_3_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for mined-2022.27_4: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- thierry@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/editors/mined/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/mined/work XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/mined/work/.cache HOME=/wrkdirs/usr/ports/editors/mined/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/editors/mined/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/mined/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/editors/mined/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/mined/work XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/mined/work/.cache HOME=/wrkdirs/usr/ports/editors/mined/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/editors/mined/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/mined/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mined" EXAMPLESDIR="share/examples/mined" DATADIR="share/mined" WWWDIR="www/mined" ETCDIR="etc/mined" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mined DOCSDIR=/usr/local/share/doc/mined EXAMPLESDIR=/usr/local/share/examples/mined WWWDIR=/usr/local/www/mined ETCDIR=/usr/local/etc/mined --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mined-2022.27_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> mined-2022.27_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mined-2022.27_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by mined-2022.27_4 for building ===> Fetching all distfiles required by UCD-17.0.0,1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by mined-2022.27_4 for building ===> Fetching all distfiles required by UCD-17.0.0,1 for building => SHA256 Checksum OK for mined-mined-2022.27_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by mined-2022.27_4 for building ===> Fetching all distfiles required by UCD-17.0.0,1 for building ===> Extracting for mined-2022.27_4 => SHA256 Checksum OK for mined-mined-2022.27_GH0.tar.gz. cp -f -p /portdistfiles/unicode-UCD/17.0.0/UCD.zip /portdistfiles/unicode-UCD/17.0.0/Unihan.zip /wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for mined-2022.27_4 ===> Applying FreeBSD patches for mined-2022.27_4 from /usr/ports/editors/mined/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> UCD-17.0.0,1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by UCD-17.0.0,1 for building => SHA256 Checksum OK for unicode-UCD/17.0.0/UCD.zip. => SHA256 Checksum OK for unicode-UCD/17.0.0/LICENSE. => SHA256 Checksum OK for unicode-UCD/17.0.0/Unihan.zip. ===> Returning to build of mined-2022.27_4 ===> mined-2022.27_4 depends on executable: update-desktop-database - not found ===> Installing existing package /packages/All/desktop-file-utils-0.28.pkg [pkg.DaveG.ca] Installing desktop-file-utils-0.28... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] `-- Installing glib-2.84.4,2... [pkg.DaveG.ca] | `-- Installing libffi-3.5.1... [pkg.DaveG.ca] | `-- Extracting libffi-3.5.1: .......... done [pkg.DaveG.ca] | `-- Installing libiconv-1.18_1... [pkg.DaveG.ca] | `-- Extracting libiconv-1.18_1: .......... done [pkg.DaveG.ca] | `-- Installing libinotify-20240724_3... [pkg.DaveG.ca] | `-- Extracting libinotify-20240724_3: .......... done [pkg.DaveG.ca] | `-- Installing pcre2-10.47_1... [pkg.DaveG.ca] | `-- Extracting pcre2-10.47_1: .......... done [pkg.DaveG.ca] | `-- Installing py311-packaging-25.0... [pkg.DaveG.ca] | | `-- Installing python311-3.11.14... [pkg.DaveG.ca] | | `-- Installing mpdecimal-4.0.1... [pkg.DaveG.ca] | | `-- Extracting mpdecimal-4.0.1: .......... done [pkg.DaveG.ca] | | `-- Installing readline-8.3.3... [pkg.DaveG.ca] | | `-- Extracting readline-8.3.3: .......... done [pkg.DaveG.ca] | | `-- Extracting python311-3.11.14: .......... done [pkg.DaveG.ca] | `-- Extracting py311-packaging-25.0: .......... done [pkg.DaveG.ca] `-- Extracting glib-2.84.4,2: .......... done [pkg.DaveG.ca] Extracting desktop-file-utils-0.28: .......... done Building cache database of MIME types ==> Running trigger: desktop-file-utils.ucl Building cache database of MIME types ==> Running trigger: gio-modules.ucl Generating GIO modules cache ==> Running trigger: glib-schemas.ucl Compiling glib schemas No schema files found: doing nothing. ===== Message from libinotify-20240724_3: -- You might want to consider increasing the kern.maxfiles tunable if you plan to use this library for applications that need to monitor activity of a lot of files. ===== Message from python311-3.11.14: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py311-gdbm databases/py-gdbm@py311 py311-sqlite3 databases/py-sqlite3@py311 py311-tkinter x11-toolkits/py-tkinter@py311 ===> mined-2022.27_4 depends on executable: update-desktop-database - found ===> Returning to build of mined-2022.27_4 ===> mined-2022.27_4 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> mined-2022.27_4 depends on package: gmake>=4.4.1 - found ===> Returning to build of mined-2022.27_4 ===> mined-2022.27_4 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> mined-2022.27_4 depends on file: /usr/local/bin/ccache - found ===> Returning to build of mined-2022.27_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for mined-2022.27_4 /usr/bin/sed -i "" -e 's|/usr/local|/usr/local|' /wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src/makefile.bsd /usr/bin/sed -i "" -e 's|/usr/local|/usr/local|' /wrkdirs/usr/ports/editors/mined/work/mined-2022.27/usrshare/conf_user/xinitrc.mined /usr/bin/sed -i "" -e 's|/usr/local|/usr/local|' /wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src/minedaux.c /usr/bin/sed -i "" -e 's|/usr/local|/usr/local|' /wrkdirs/usr/ports/editors/mined/work/mined-2022.27/man/mined.1 /usr/bin/sed -i "" -e 's|/usr/local|/usr/local|' /wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src/mkinclud.mak /usr/bin/sed -i "" -e 's|/usr/local|/usr/local|' /wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src/makefile.gcc =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for mined-2022.27_4 sh ./makemined gmake[1]: Entering directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' echo SH=sh > charmaps/makefile CC=cc OPT="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " sh ./mkmakchr -O ../bin/FreeBSD.amd64 >> charmaps/makefile /usr/local/bin/gmake -f charmaps/makefile OBJDIR=../bin/FreeBSD.amd64 gmake[2]: Entering directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/arabic.c -o ../bin/FreeBSD.amd64/charmaps/arabic.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/armscii.c -o ../bin/FreeBSD.amd64/charmaps/armscii.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/ascii.c -o ../bin/FreeBSD.amd64/charmaps/ascii.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cjk-big5.c -o ../bin/FreeBSD.amd64/charmaps/cjk-big5.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cjk-cns.c -o ../bin/FreeBSD.amd64/charmaps/cjk-cns.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cjk-ejp.c -o ../bin/FreeBSD.amd64/charmaps/cjk-ejp.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cjk-ejx.c -o ../bin/FreeBSD.amd64/charmaps/cjk-ejx.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cjk-gb.c -o ../bin/FreeBSD.amd64/charmaps/cjk-gb.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cjk-johb.c -o ../bin/FreeBSD.amd64/charmaps/cjk-johb.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cjk-sjcp.c -o ../bin/FreeBSD.amd64/charmaps/cjk-sjcp.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cjk-sjx.c -o ../bin/FreeBSD.amd64/charmaps/cjk-sjx.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cjk-uhc.c -o ../bin/FreeBSD.amd64/charmaps/cjk-uhc.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp1047.c -o ../bin/FreeBSD.amd64/charmaps/cp1047.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp1125.c -o ../bin/FreeBSD.amd64/charmaps/cp1125.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp1131.c -o ../bin/FreeBSD.amd64/charmaps/cp1131.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp1250.c -o ../bin/FreeBSD.amd64/charmaps/cp1250.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp1251.c -o ../bin/FreeBSD.amd64/charmaps/cp1251.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp1252.c -o ../bin/FreeBSD.amd64/charmaps/cp1252.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp1253.c -o ../bin/FreeBSD.amd64/charmaps/cp1253.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp1254.c -o ../bin/FreeBSD.amd64/charmaps/cp1254.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp1255.c -o ../bin/FreeBSD.amd64/charmaps/cp1255.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp1256.c -o ../bin/FreeBSD.amd64/charmaps/cp1256.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp1257.c -o ../bin/FreeBSD.amd64/charmaps/cp1257.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp1258.c -o ../bin/FreeBSD.amd64/charmaps/cp1258.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp437.c -o ../bin/FreeBSD.amd64/charmaps/cp437.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp720.c -o ../bin/FreeBSD.amd64/charmaps/cp720.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp737.c -o ../bin/FreeBSD.amd64/charmaps/cp737.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp775.c -o ../bin/FreeBSD.amd64/charmaps/cp775.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp850.c -o ../bin/FreeBSD.amd64/charmaps/cp850.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp852.c -o ../bin/FreeBSD.amd64/charmaps/cp852.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp853.c -o ../bin/FreeBSD.amd64/charmaps/cp853.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp855.c -o ../bin/FreeBSD.amd64/charmaps/cp855.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp857.c -o ../bin/FreeBSD.amd64/charmaps/cp857.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp858.c -o ../bin/FreeBSD.amd64/charmaps/cp858.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp860.c -o ../bin/FreeBSD.amd64/charmaps/cp860.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp861.c -o ../bin/FreeBSD.amd64/charmaps/cp861.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp862.c -o ../bin/FreeBSD.amd64/charmaps/cp862.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp863.c -o ../bin/FreeBSD.amd64/charmaps/cp863.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp864e.c -o ../bin/FreeBSD.amd64/charmaps/cp864e.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp865.c -o ../bin/FreeBSD.amd64/charmaps/cp865.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp866.c -o ../bin/FreeBSD.amd64/charmaps/cp866.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cp869.c -o ../bin/FreeBSD.amd64/charmaps/cp869.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/cygwin.c -o ../bin/FreeBSD.amd64/charmaps/cygwin.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/georg-ps.c -o ../bin/FreeBSD.amd64/charmaps/georg-ps.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/iso-6937.c -o ../bin/FreeBSD.amd64/charmaps/iso-6937.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/isoarab.c -o ../bin/FreeBSD.amd64/charmaps/isoarab.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/isocyril.c -o ../bin/FreeBSD.amd64/charmaps/isocyril.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/isogreek.c -o ../bin/FreeBSD.amd64/charmaps/isogreek.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/isohebr.c -o ../bin/FreeBSD.amd64/charmaps/isohebr.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/koi8-r.c -o ../bin/FreeBSD.amd64/charmaps/koi8-r.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/koi8-ru.c -o ../bin/FreeBSD.amd64/charmaps/koi8-ru.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/koi8-t.c -o ../bin/FreeBSD.amd64/charmaps/koi8-t.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/koi8-u.c -o ../bin/FreeBSD.amd64/charmaps/koi8-u.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/latin-10.c -o ../bin/FreeBSD.amd64/charmaps/latin-10.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/latin-2.c -o ../bin/FreeBSD.amd64/charmaps/latin-2.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/latin-3.c -o ../bin/FreeBSD.amd64/charmaps/latin-3.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/latin-4.c -o ../bin/FreeBSD.amd64/charmaps/latin-4.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/latin-5.c -o ../bin/FreeBSD.amd64/charmaps/latin-5.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/latin-6.c -o ../bin/FreeBSD.amd64/charmaps/latin-6.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/latin-7.c -o ../bin/FreeBSD.amd64/charmaps/latin-7.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/latin-8.c -o ../bin/FreeBSD.amd64/charmaps/latin-8.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/latin-9.c -o ../bin/FreeBSD.amd64/charmaps/latin-9.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/m-roman.c -o ../bin/FreeBSD.amd64/charmaps/m-roman.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/pt154.c -o ../bin/FreeBSD.amd64/charmaps/pt154.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/tcvn.c -o ../bin/FreeBSD.amd64/charmaps/tcvn.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/tis620.c -o ../bin/FreeBSD.amd64/charmaps/tis620.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/vga.c -o ../bin/FreeBSD.amd64/charmaps/vga.o mkdir -p ../bin/FreeBSD.amd64/charmaps cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -c charmaps/viscii.c -o ../bin/FreeBSD.amd64/charmaps/viscii.o gmake[2]: Leaving directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' echo generating keymaps.t via makefile generating keymaps.t via makefile if [ ! -d keymaps ]; then mkdir keymaps; fi echo SH=sh > keymaps/makefile echo keymaps.t: keymaps.cfg `sh ./mkkmlist` mkkmincl >> keymaps/makefile echo " CC=cc sh ./mkkmincl `sh ./mkkmlist` > keymaps.t" >> keymaps/makefile /usr/local/bin/gmake -f keymaps/makefile gmake[2]: Entering directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' gmake[2]: 'keymaps.t' is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DRUNDIR=\"/usr/share/mined\" -DLRUNDIR=\"/usr/local/share/mined\" -c minedaux.c -o ../bin/FreeBSD.amd64/minedaux.o In file included from minedaux.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from minedaux.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from minedaux.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from minedaux.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from minedaux.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from minedaux.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from minedaux.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from minedaux.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ minedaux.c:73:22: warning: passing arguments to 'strip_trailingslash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | strip_trailingslash (logfn); | ^ minedaux.c:87:12: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | unnull (l1), unnull (l2) | ^ minedaux.c:87:25: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | unnull (l1), unnull (l2) | ^ minedaux.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | debuglog (tag, l1, l2) | ^ In file included from minedaux.c:6: ./mined.h:802: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] 802 | extern void debuglog _((char * tag, char * l1, char * l2)); | ^ minedaux.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 | unnull (s) | ^ In file included from minedaux.c:6: ./mined.h:825: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] 825 | extern char * unnull _((char *)); | ^ minedaux.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] 121 | strip_trailingslash (name) | ^ In file included from minedaux.c:6: ./mined.h:826: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] 826 | extern void strip_trailingslash _((char *)); | ^ minedaux.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | num_out (number, radix) | ^ In file included from minedaux.c:6: ./mined.h:827: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] 827 | extern char * num_out _((long number, long radix)); | ^ minedaux.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | dec_out (number) | ^ In file included from minedaux.c:6: ./mined.h:822: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] 822 | extern char * dec_out _((long)); | ^ minedaux.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | scan_int (str, nump) | ^ In file included from minedaux.c:6: ./mined.h:821: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] 821 | extern char * scan_int _((char *, int *)); | ^ minedaux.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 | copy_string (to, from) | ^ In file included from minedaux.c:6: ./mined.h:828: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] 828 | extern void copy_string _((char * to, char * from)); | ^ minedaux.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | length_of (string) | ^ In file included from minedaux.c:6: ./mined.h:883: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] 883 | extern int length_of _((char *)); | ^ minedaux.c:253:21: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | char * s1 = alloc (strlen (s) + 1); | ^ minedaux.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | dupstr (s) | ^ In file included from minedaux.c:6: ./mined.h:884: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] 884 | extern char * dupstr _((char * s)); | ^ minedaux.c:264:25: warning: passing arguments to 'UTF8_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | int follow = UTF8_len (* s) - 1; | ^ minedaux.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | nextutf8 (s) | ^ In file included from minedaux.c:6: ./mined.h:885: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] 885 | extern char * nextutf8 _((char *s)); | ^ minedaux.c:280:46: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | unsigned long c1 = case_convert (utf8value (s1), -1); | ^ minedaux.c:280:35: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | unsigned long c1 = case_convert (utf8value (s1), -1); | ^ minedaux.c:281:46: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | unsigned long c2 = case_convert (utf8value (s2), -1); | ^ minedaux.c:281:35: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | unsigned long c2 = case_convert (utf8value (s2), -1); | ^ minedaux.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | stringcompare_ (s1, s2) | ^ In file included from minedaux.c:6: ./mined.h:886: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] 886 | extern int stringcompare_ _((char * s1, char * s2)); | ^ minedaux.c:308:46: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | unsigned long c1 = case_convert (utf8value (s1), -1); | ^ minedaux.c:308:35: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | unsigned long c1 = case_convert (utf8value (s1), -1); | ^ minedaux.c:309:46: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | unsigned long c2 = case_convert (utf8value (s2), -1); | ^ minedaux.c:309:35: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | unsigned long c2 = case_convert (utf8value (s2), -1); | ^ minedaux.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | stringprefix_ (s1, s2) | ^ In file included from minedaux.c:6: ./mined.h:887: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] 887 | extern int stringprefix_ _((char * s1, char * s2)); | ^ minedaux.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | envvar (name) | ^ In file included from minedaux.c:6: ./mined.h:803: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] 803 | extern char * envvar _((char * name)); | ^ minedaux.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] 343 | envstr (name) | ^ In file included from minedaux.c:6: ./mined.h:804: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] 804 | extern char * envstr _((char * name)); | ^ minedaux.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | get_cwd (dirbuf) | ^ In file included from minedaux.c:6: ./mined.h:808: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] 808 | extern char * get_cwd _((char * dirbuf)); | ^ minedaux.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | sethomedir (hd) | ^ In file included from minedaux.c:6: ./mined.h:810: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] 810 | extern void sethomedir _((char *)); | ^ minedaux.c:515:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | raw_mode (False); | ^ minedaux.c:518:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | putstring ("mined: "); | ^ minedaux.c:521:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | putstring (msg); | ^ minedaux.c:523:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | putstring ("\r\n"); | ^ minedaux.c:537:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | raw_mode (True); | ^ minedaux.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | systemcall (msg, cmd, delay) | ^ In file included from minedaux.c:6: ./mined.h:811: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] 811 | extern int systemcall _((char * msg, char * cmd, int delay)); | ^ minedaux.c:565:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | raw_mode (False); | ^ minedaux.c:569:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | putstring ("mined: "); | ^ minedaux.c:572:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | putstring (msg); | ^ minedaux.c:574:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | putstring ("\r\n"); | ^ minedaux.c:616:15: warning: passing arguments to 'wait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | res = wait (& status); | ^ minedaux.c:633:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | raw_mode (True); | ^ minedaux.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | progcallpp (msg, delay, binprepath, dir, prog, p1, p2, p3, p4) | ^ In file included from minedaux.c:6: ./mined.h:813: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] 813 | extern int progcallpp _((char * msg, int delay, char * binprepath [], | ^ minedaux.c:698:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | error ("Command not available"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:720:20: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | if (get_filename (text_buffer, new_dir, True) != FINE) { | ^ minedaux.c:722:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | status_msg (text_buffer); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:740:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | status_msg (text_buffer); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:759:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | error2 ("Cannot change current directory: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:769:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | fstatus ("", -1L, -1L); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ minedaux.c:822:25: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | helpfile = getbasename (hfbuf); | ^ minedaux.c:867:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | status_msg ("Help file not found; configure $MINEDDIR in environment!"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:893:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:894:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | set_cursor (0, YMAX); | ^ minedaux.c:940:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | error ("Help topic could not be opened"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:949:13: warning: passing arguments to 'view_help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | view_help (helpfile, topic); | ^ minedaux.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | show_help (topic) | ^ minedaux.c:990:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | status_uni (about); | ^ minedaux.c:1002:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | status_uni ("F1/,/1/ Help on: about introduction keyboard function-keys commands menu"); | ^ minedaux.c:1004:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | status_uni ("Help on: about introduction keyboard function-keys commands menu"); | ^ minedaux.c:1006:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | status_uni ("Show function key help bar: F1 / Shift-F1 / Alt-F1 / Ctrl-F1 / Alt-Ctrl-F1 etc"); | ^ minedaux.c:1008:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | status_uni ("Show accent help bar: . punctuation accents / 1/Alt-1/C-Alt-1 digit keys"); | ^ minedaux.c:1015:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1016:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | if (command (c) == F1 || command (c) == F2 || command (c) == F3 | ^ minedaux.c:1016:36: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | if (command (c) == F1 || command (c) == F2 || command (c) == F3 | ^ minedaux.c:1016:57: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | if (command (c) == F1 || command (c) == F2 || command (c) == F3 | ^ minedaux.c:1017:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | || command (c) == F4 || command (c) == F5 || command (c) == F6 | ^ minedaux.c:1017:36: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | || command (c) == F4 || command (c) == F5 || command (c) == F6 | ^ minedaux.c:1017:57: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | || command (c) == F4 || command (c) == F5 || command (c) == F6 | ^ minedaux.c:1018:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | || command (c) == F7 || command (c) == F8 || command (c) == F9 | ^ minedaux.c:1018:36: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | || command (c) == F7 || command (c) == F8 || command (c) == F9 | ^ minedaux.c:1018:57: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | || command (c) == F7 || command (c) == F8 || command (c) == F9 | ^ minedaux.c:1019:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | || command (c) == F10 || command (c) == F11 || command (c) == F12 | ^ minedaux.c:1019:37: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | || command (c) == F10 || command (c) == F11 || command (c) == F12 | ^ minedaux.c:1019:59: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | || command (c) == F10 || command (c) == F11 || command (c) == F12 | ^ minedaux.c:1021:8: warning: passing arguments to 'FHELP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | FHELP (F1); | ^ minedaux.c:1022:48: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | } else if ((c >= '0' && c <= '9') || command (c) == key_0 | ^ minedaux.c:1023:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | || command (c) == key_1 || command (c) == key_2 || command (c) == key_3 | ^ minedaux.c:1023:39: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | || command (c) == key_1 || command (c) == key_2 || command (c) == key_3 | ^ minedaux.c:1023:63: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | || command (c) == key_1 || command (c) == key_2 || command (c) == key_3 | ^ minedaux.c:1024:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | || command (c) == key_4 || command (c) == key_5 || command (c) == key_6 | ^ minedaux.c:1024:39: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | || command (c) == key_4 || command (c) == key_5 || command (c) == key_6 | ^ minedaux.c:1024:63: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | || command (c) == key_4 || command (c) == key_5 || command (c) == key_6 | ^ minedaux.c:1025:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | || command (c) == key_7 || command (c) == key_8 || command (c) == key_9 | ^ minedaux.c:1025:39: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | || command (c) == key_7 || command (c) == key_8 || command (c) == key_9 | ^ minedaux.c:1025:63: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | || command (c) == key_7 || command (c) == key_8 || command (c) == key_9 | ^ minedaux.c:1027:8: warning: passing arguments to 'FHELP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | FHELP (key_1); | ^ minedaux.c:1028:22: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | } else if (command (c) == COMPOSE || c == ',' || c == '.' || c == '\'' | ^ minedaux.c:1033:8: warning: passing arguments to 'FHELP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | FHELP (COMPOSE); | ^ minedaux.c:1046:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | status_msg ("No such help available"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.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 | dispatch_HELP (topics, Fn) | ^ minedaux.c:1096:30: warning: passing arguments to 'char_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | chars_written = char_count (textp) - 1; | ^ minedaux.c:1101:24: warning: passing arguments to 'writechar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | int ret = writechar (fd, '\n'); | ^ minedaux.c:1115:31: warning: passing arguments to 'char_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | chars_written += char_count (textp) - 1; | ^ minedaux.c:1117:37: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | unsigned long unichar = charvalue (textp); | ^ minedaux.c:1120:33: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | unichar = lookup_encodedchar (unichar); | ^ minedaux.c:1121:19: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | if (no_unichar (unichar)) { | ^ minedaux.c:1129:19: warning: passing arguments to 'writechar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | if (writechar (fd, ' ') == ERRORS) { | ^ minedaux.c:1141:21: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | up += utfencode (unichar & 0xFFFF, up); | ^ minedaux.c:1142:24: warning: passing arguments to 'is_wideunichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | if (is_wideunichar (unichar)) { | ^ minedaux.c:1151:21: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | (void) utfencode (unichar, up); | ^ minedaux.c:1153:30: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | if (! iscombining_unichar (unichar)) { | ^ minedaux.c:1154:24: warning: passing arguments to 'is_wideunichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | if (is_wideunichar (unichar)) { | ^ minedaux.c:1164:19: warning: passing arguments to 'writechar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | if (writechar (fd, * up) == ERRORS) { | ^ minedaux.c:1172:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | advance_char (& textp); | ^ minedaux.c:1177:21: warning: passing arguments to 'flush_filebuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | if (flush_filebuf (fd) == ERRORS) { | ^ minedaux.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 | write_unitext (fd) | ^ minedaux.c:1241:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | error2 (errmsg, spoolfn); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | spoolfile (spoolfn, spooldir, name) | ^ minedaux.c:1272:52: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | file_name [0] == '\0' ? "_nofile_" : getbasename (file_name)); | ^ minedaux.c:1277:53: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1277 | file_name [0] == '\0' ? "[no file]" : getbasename (file_name), | ^ minedaux.c:1286:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | error ("Cannot write spool file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1290:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1291:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | set_cursor (0, YMAX); | ^ minedaux.c:1302:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | status_uni ("Printing with $MINEDPRINT failed"); | ^ minedaux.c:1376:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | status_uni ("Printing with uprint failed"); | ^ minedaux.c:1413:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | status_uni ("Printing with $LPR failed"); | ^ minedaux.c:1432:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | status_uni ("Printing with system print command failed"); | ^ minedaux.c:1443:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | status_line ("Printed with ", msg); | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:1445:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | error ("Cannot print"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1465:22: warning: passing arguments to 'yankfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | if ((fd = yankfile (READ, False)) == ERRORS) { | ^ minedaux.c:1466:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1466 | error ("No buffer contents for command input"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1470:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | if (get_string ("Command with buffer as input:", cmd, True, "") != FINE) { | ^ ./mined.h:1171:14: note: expanded from macro 'get_string' 1171 | bottom_line (True, (str1), NIL_PTR, (str2), fl, term_chars) | ^ minedaux.c:1474:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1475:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | set_cursor (0, YMAX); | ^ minedaux.c:1523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1523 | gettoken (token) | ^ minedaux.c:1535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1535 | skiptoken (token) | ^ minedaux.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | tokenlen (token) | ^ minedaux.c:1561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1561 | eqtoken (t1, t2) | ^ minedaux.c:1571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | istoken (token) | ^ minedaux.c:1579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1579 | nextline (s) | ^ minedaux.c:1614:36: warning: passing arguments to 'portable_getpgrp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | if (getpid () != portable_getpgrp (getpid ())) { | ^ minedaux.c:1672:15: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | delete_file (ps_file); | ^ minedaux.c:1687:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | set_cursor (0, YMAX); | ^ minedaux.c:1691:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | raw_mode (False); | ^ minedaux.c:1694:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1694 | raw_mode (True); | ^ minedaux.c:1695:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1695 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1773:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1773 | set_cursor (0, YMAX); | ^ minedaux.c:1774:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1774 | putchar ('\n'); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ minedaux.c:1776:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | raw_mode (False); | ^ minedaux.c:1787:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | raw_mode (True); | ^ minedaux.c:1790:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1790 | error2 ("Cannot fork command shell: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:1806:13: warning: passing arguments to 'wait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1806 | w = wait (& status); | ^ minedaux.c:1811:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1811 | raw_mode (True); | ^ minedaux.c:1817:48: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1817 | error2 ("Shell termination error: ", serrorof (waiterr)); | ^ minedaux.c:1817:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1817 | error2 ("Shell termination error: ", serrorof (waiterr)); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:1819:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1819 | error2 (shell, ": error invoking shell (not found / not enough memory ?)"); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:1821:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1821 | error ("Cannot open /dev/tty as fd #0"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1875 | getbasename (fn) | ^ In file included from minedaux.c:6: ./mined.h:805: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] 805 | extern char * getbasename _((char * s)); | ^ minedaux.c:1907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1907 | is_absolute_path (fn) | ^ In file included from minedaux.c:6: ./mined.h:806: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] 806 | extern int is_absolute_path _((char * filename)); | ^ minedaux.c:1932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1932 | delete_file (file) | ^ In file included from minedaux.c:6: ./mined.h:823: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] 823 | extern int delete_file _((char *)); | ^ minedaux.c:1952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1952 | copyfile (from_file, to_file) | ^ In file included from minedaux.c:6: ./mined.h:824: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] 824 | extern FLAG copyfile _((char * from_file, char * to_file)); | ^ minedaux.c:2043: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] 2043 | extern void * malloc (); | ^ minedaux.c:2044:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 2044 | extern void free (); | ^ minedaux.c:2052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2052 | alloc (bytes) | ^ In file included from minedaux.c:6: ./mined.h:837: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] 837 | extern void * alloc _((int bytes)); | ^ minedaux.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2075 | free_space (p) | ^ In file included from minedaux.c:6: ./mined.h:838: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] 838 | extern void free_space _((void *)); | ^ minedaux.c:2094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2094 | alloc_headerblock (n) | ^ minedaux.c:2141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2141 | free_header (hp) | ^ In file included from minedaux.c:6: ./mined.h:840: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] 840 | extern void free_header _((LINE *)); | ^ minedaux.c:2171:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2171 | status_line (msg, NIL_PTR); | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:2166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2166 | panic_msg (msg) | ^ minedaux.c:2228:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2228 | set_cursor (0, YMAX); | ^ minedaux.c:2229:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2229 | putchar ('\n'); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ minedaux.c:2233:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2233 | raw_mode (False); | ^ minedaux.c:2180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2180 | panicking (message, err, signum) | ^ minedaux.c:2246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2246 | panic (message, err) | ^ In file included from minedaux.c:6: ./mined.h:819: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] 819 | extern void panic _((char *, char *)); | ^ minedaux.c:2254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2254 | panicio (message, err) | ^ In file included from minedaux.c:6: ./mined.h:820: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] 820 | extern void panicio _((char * message, char * err)); | ^ minedaux.c:2264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2264 | handle_interrupt (signum) | ^ In file included from minedaux.c:25: ./io.h:38: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] 38 | extern void handle_interrupt _((int)); | ^ 202 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c legacy.c -o ../bin/FreeBSD.amd64/legacy.o legacy.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | serrorof (errnum) | ^ legacy.c:161:18: warning: passing arguments to 'getpgrp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | return getpgrp (pid); | ^ legacy.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 | portable_getpgrp (pid) | ^ 3 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O1 -DRUNDIR=\"/usr/share/mined\" -DLRUNDIR=\"/usr/local/share/mined\" -c mined1.c -o ../bin/FreeBSD.amd64/mined1.o In file included from mined1.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from mined1.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from mined1.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from mined1.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from mined1.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from mined1.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from mined1.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from mined1.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ mined1.c:334:26: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 334 | static char TABdefault = ''; /* default TAB indicator */ | ^ mined1.c:335:26: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 335 | static char RETdefault = ''; /* indicates line end */ | ^ mined1.c:336:27: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 336 | static char PARAdefault = ''; /* indicates end of paragraph */ | ^ mined1.c:337:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 337 | char UNI_marker = ''; /* Char to be shown in place of Unicode char */ | ^ mined1.c:349:21: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 349 | char SHIFT_marker = ''; /* Char indicating that line continues */ | ^ mined1.c:350:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 350 | char SHIFT_BEG_marker = ''; /* Char indicating that line continues left */ | ^ mined1.c:351:20: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 351 | char MENU_marker = ''; /* Char to mark selected item */ | ^ mined1.c:415:18: warning: passing arguments to 'menu_mouse_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | menu_mouse_mode (selecting); | ^ mined1.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | selection_mouse_mode (selecting) | ^ mined1.c:427:10: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | setMARK (True); | ^ mined1.c:441:29: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | (void) display_scrollbar (True); | ^ mined1.c:448:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | move_to (mouse_xpos, mouse_ypos); | ^ mined1.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | mouse_scroll (S, P) | ^ mined1.c:514:31: warning: passing arguments to 'filelist_search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | char * fn = filelist_search (mouse_ypos + MENU, mouse_xpos); | ^ mined1.c:517:25: warning: passing arguments to 'save_text_load_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | save_text_load_file (fn); | ^ mined1.c:528:13: warning: passing arguments to 'openmenuat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | openmenuat (mouse_xpos); | ^ mined1.c:573:11: warning: passing arguments to 'goproz' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | goproz (100); | ^ mined1.c:575:11: warning: passing arguments to 'goproz' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | goproz ((mouse_ypos + 1) * 100 / YMAX); | ^ mined1.c:581:27: warning: passing arguments to 'mouse_button_event_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | mouse_button_event_mode (True); | ^ mined1.c:605:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | setMARK (True); | ^ mined1.c:610:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | move_to (mouse_xpos, 0); | ^ mined1.c:613:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | move_to (mouse_xpos, YMAX - 1); | ^ mined1.c:618:28: warning: passing arguments to 'adjust_rectangular_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | adjust_rectangular_mode (alt_mouse); | ^ mined1.c:619:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | move_to (mouse_xpos, mouse_ypos); | ^ mined1.c:623:27: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | if (! char_ready_within (350, "mouse")) { | ^ mined1.c:625:16: warning: passing arguments to 'openmenuat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | openmenuat (mouse_xpos); | ^ mined1.c:652:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | move_to (mouse_xpos, mouse_ypos); | ^ mined1.c:660:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | setMARK (True); | ^ mined1.c:668:34: warning: passing arguments to 'continue_highlight_selection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | continue_highlight_selection (mouse_xpos); | ^ mined1.c:688:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | move_to (mouse_xpos, mouse_ypos); | ^ mined1.c:698:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | setMARK (True); | ^ mined1.c:700:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | move_to (mouse_xpos, mouse_ypos); | ^ mined1.c:711:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | move_to (mouse_xpos, mouse_ypos); | ^ mined1.c:721:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | move_to (prev_x, prev_y); | ^ mined1.c:735:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | move_to (mouse_xpos, mouse_ypos); | ^ mined1.c:740:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | setMARK (True); | ^ mined1.c:743:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | setMARK (True); | ^ mined1.c:861:21: warning: passing arguments to 'get_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | index = get_number ("Select video mode ", '\0', & mode1); | ^ mined1.c:865:18: warning: passing arguments to 'set_screen_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | set_screen_mode (mode1); | ^ mined1.c:882:20: warning: passing arguments to 'resize_the_screen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | resize_the_screen (sb, keep_columns); | ^ mined1.c:823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | change_screen_size (sb, keep_columns) | ^ mined1.c:892:15: warning: passing arguments to 'resize_font' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | resize_font (inc); | ^ mined1.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] 889 | change_font_size (inc) | ^ mined1.c:953:26: warning: passing arguments to 'switch_textmode_height' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | switch_textmode_height (True); | ^ mined1.c:964:25: warning: passing arguments to 'switch_textmode_height' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | switch_textmode_height (False); | ^ mined1.c:981:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | error ("View only mode"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mined1.c:991:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | error2 ("Restricted mode", " - function not allowed"); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ mined1.c:1037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | KEYrecord (key) | ^ mined1.c:1167:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | Mark = envvar ("MINEDSHIFT"); | ^ mined1.c:1178:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | Mark = envvar ("MINEDTAB"); | ^ mined1.c:1201:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | Mark = envvar ("MINEDRET"); | ^ mined1.c:1213:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | Mark = envvar ("MINEDDOSRET"); | ^ mined1.c:1218:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1218 | DOSRET_marker = ''; | ^ mined1.c:1223:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | Mark = envvar ("MINEDMACRET"); | ^ mined1.c:1233:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | Mark = envvar ("MINEDPARA"); | ^ mined1.c:1239:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | Mark = envvar ("MINEDMENUMARKER"); | ^ mined1.c:1255:32: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1255 | UTF_SHIFT_BEG_marker = envvar ("MINEDUTFSHIFT"); | ^ mined1.c:1258:16: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | advance_utf8 (& UTF_SHIFT_marker); | ^ mined1.c:1263:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | UTF_TAB_marker = envvar ("MINEDUTFTAB"); | ^ mined1.c:1267:17: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | advance_utf8 (& markpoi); | ^ mined1.c:1271:18: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | advance_utf8 (& markpoi); | ^ mined1.c:1282:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | UTF_RET_marker = envvar ("MINEDUTFRET"); | ^ mined1.c:1286:17: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | advance_utf8 (& UTF_RETfill_marker); | ^ mined1.c:1290:17: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | advance_utf8 (& UTF_RETfini_marker); | ^ mined1.c:1293:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | UTF_DOSRET_marker = envvar ("MINEDUTFDOSRET"); | ^ mined1.c:1301:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | UTF_MACRET_marker = envvar ("MINEDUTFMACRET"); | ^ mined1.c:1309:27: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1309 | UTF_PARA_marker = envvar ("MINEDUTFPARA"); | ^ mined1.c:1310:16: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | Mark = envvar ("MINEDUTFMENUMARKER"); | ^ mined1.c:1315:14: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | utf8_info (Mark, & len, & unichar); | ^ mined1.c:1316:28: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | if (len > 1 && ! iswide (unichar) && ! iscombining (unichar)) { | ^ mined1.c:1316:55: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | if (len > 1 && ! iswide (unichar) && ! iscombining (unichar)) { | ^ mined1.c:1344:46: warning: passing arguments to 'get_terminal_report_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | char * report = get_terminal_report_string (s); | ^ mined1.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | get_terminal_rgb (s) | ^ mined1.c:1354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1354 | sscanrgb (s, __r, __g, __b) | ^ mined1.c:1408:33: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1408 | ret = sscanrgb (color_report, & r3, & g3, & b3); | ^~~~ mined1.c:1408:39: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1408 | ret = sscanrgb (color_report, & r3, & g3, & b3); | ^~~~ mined1.c:1408:45: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1408 | ret = sscanrgb (color_report, & r3, & g3, & b3); | ^~~~ mined1.c:1429:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | putescape (set_ansi3); | ^ mined1.c:1443:33: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1443 | ret = sscanrgb (color_report, & _r, & _g, & _b); | ^~~~ mined1.c:1443:39: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1443 | ret = sscanrgb (color_report, & _r, & _g, & _b); | ^~~~ mined1.c:1443:45: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1443 | ret = sscanrgb (color_report, & _r, & _g, & _b); | ^~~~ mined1.c:1467:32: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1467 | ret = sscanrgb (color_report, & r, & g, & b); | ^~~ mined1.c:1467:37: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1467 | ret = sscanrgb (color_report, & r, & g, & b); | ^~~ mined1.c:1467:42: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1467 | ret = sscanrgb (color_report, & r, & g, & b); | ^~~ mined1.c:1515:33: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1515 | ret = sscanrgb (color_report, & r, & g, & b); | ^~~ mined1.c:1515:38: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1515 | ret = sscanrgb (color_report, & r, & g, & b); | ^~~ mined1.c:1515:43: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1515 | ret = sscanrgb (color_report, & r, & g, & b); | ^~~ mined1.c:1528:32: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1528 | ret = sscanrgb (color_report, & r_, & g_, & b_); | ^~~~ mined1.c:1528:38: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1528 | ret = sscanrgb (color_report, & r_, & g_, & b_); | ^~~~ mined1.c:1528:44: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1528 | ret = sscanrgb (color_report, & r_, & g_, & b_); | ^~~~ mined1.c:1548:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | putescape (set_curscolr); | ^ mined1.c:1593:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1593 | putescape (set_ansi2); | ^ mined1.c:1629:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1629 | putescape (set_ansi7); | ^ mined1.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | determine_dim_mode (darkcheck_only) | ^ mined1.c:1653:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | markansi = envvar ("MINEDDIM"); | ^ mined1.c:1676:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1676 | emphansi = envvar ("MINEDEMPH"); | ^ mined1.c:1681:23: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1681 | borderansi = envvar ("MINEDBORDER"); | ^ mined1.c:1686:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1686 | selansi = envvar ("MINEDSEL"); | ^ mined1.c:1687:22: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | selfgansi = envvar ("MINEDSELFG"); | ^ mined1.c:1699:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1699 | uniansi = envvar ("MINEDUNI"); | ^ mined1.c:1713:24: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | specialansi = envvar ("MINEDSPECIAL"); | ^ mined1.c:1717:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1717 | combiningansi = envvar ("MINEDCOMBINING"); | ^ mined1.c:1722:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | ctrlansi = envvar ("MINEDCTRL"); | ^ mined1.c:1726:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1726 | menuansi = envvar ("MINEDMENU"); | ^ mined1.c:1730:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | HTMLansi = envvar ("MINEDHTML"); | ^ mined1.c:1746:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1746 | XMLattribansi = envvar ("MINEDXMLATTRIB"); | ^ mined1.c:1754:25: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1754 | XMLvalueansi = envvar ("MINEDXMLVALUE"); | ^ mined1.c:1762:21: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1762 | diagansi = envstr ("MINEDDIAG"); | ^ mined1.c:1764:25: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1764 | scrollbgansi = envvar ("MINEDSCROLLBG"); | ^ mined1.c:1773:25: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1773 | scrollfgansi = envvar ("MINEDSCROLLFG"); | ^ mined1.c:1845:22: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | char * env = envvar ("ESCDELAY"); | ^ mined1.c:1847:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1847 | (void) scan_int (env, & escape_delay); | ^ mined1.c:1859:45: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1859 | } else if (strisprefix ("/dev/tty", unnull (ttyname (2)))) { | ^ mined1.c:1897:25: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1897 | if (char_ready_within (delay, "expect")) { | ^ mined1.c:1911:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1911 | status_uni ("... awaiting slow terminal response ..."); | ^ mined1.c:1915:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1915 | status_uni ("... waiting for rxvt to report device attributes ..."); | ^ mined1.c:1922:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1922 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ mined1.c:1878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1878 | expect1byte (timeout, debug_tag) | ^ mined1.c:1930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1930 | receiving_response (c, debug_tag) | ^ mined1.c:1962:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1962 | status_line ("Late screen mode response ", | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ mined1.c:1980:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1980 | error ("Unknown terminal status report"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mined1.c:1984:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1984 | error ("Late device attribute report - restart mined for proper screen detection"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mined1.c:1986:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1986 | error ("Unexpected (delayed) device attribute report"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mined1.c:1989:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1989 | error ("Unknown keyboard control sequence"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mined1.c:2018:17: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2018 | c = get_digits (& row); | ^ mined1.c:2020:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2020 | c = get_digits (& col); | ^ mined1.c:1996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | get_CPR (rowpoi, colpoi) | ^ mined1.c:2058:17: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2058 | c = get_digits (& dum); /* '8' */ | ^ mined1.c:2059:17: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2059 | c = get_digits (& row); | ^ mined1.c:2061:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2061 | c = get_digits (& col); | ^ mined1.c:2037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | get_TSZ (rowpoi, colpoi) | ^ mined1.c:2103:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2103 | set_cursor (2222, 2222); | ^ mined1.c:2106:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2106 | putescape ("\033[6n"); | ^ mined1.c:2128:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2128 | putescape ("\033[18t"); /* long timeout if response disabled? */ | ^ mined1.c:2163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2163 | build_window_title (ws, title, icon) | ^ mined1.c:2187:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2187 | putescape ("\033[22t"); | ^ mined1.c:2195:40: warning: passing arguments to 'get_terminal_report_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2195 | char * t = get_terminal_report_string ("\033[21t"); | ^ mined1.c:2200:34: warning: passing arguments to 'get_terminal_report_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2200 | t = get_terminal_report_string ("\033[20t"); | ^ mined1.c:2217:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2217 | putescape ("\033[23t"); | ^ mined1.c:2221:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2221 | putescape (window_string); | ^ mined1.c:2240:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2240 | putescape (window_string); | ^ mined1.c:2348:51: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 2348 | char * r = get_terminal_report_string ("\033]2;xx\033[21t"); | ^~~~ mined1.c:2348:41: warning: passing arguments to 'get_terminal_report_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2348 | char * r = get_terminal_report_string ("\033]2;xx\033[21t"); | ^ mined1.c:2355:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 2355 | } else if (r [2] == '') { | ^ mined1.c:2397:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2397 | (void) set_term_encoding ("CP850", 'P'); | ^ mined1.c:2399:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2399 | (void) set_term_encoding ("CP1252", 'W'); | ^ mined1.c:2406:33: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2406 | unsigned long c = unicodevalue (filename_poi); | ^ mined1.c:2407:17: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2407 | if (no_unichar (c) || c < (character) ' ' || (c >= 0x80 && c < 0xA0)) { | ^ mined1.c:2427:32: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2427 | filename_dispoi += utfencode (c, filename_dispoi); | ^ mined1.c:2431:33: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2431 | filename_dispoi += utfencode (c, filename_dispoi); | ^ mined1.c:2433:38: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2433 | unsigned long tc = mappedtermchar (c); | ^ mined1.c:2434:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2434 | if (no_char (tc)) { | ^ mined1.c:2437:61: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2437 | filename_dispoi += cjkencode_char (True, mappedtermchar (c), filename_dispoi); | ^ mined1.c:2437:39: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2437 | filename_dispoi += cjkencode_char (True, mappedtermchar (c), filename_dispoi); | ^ mined1.c:2445:15: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2445 | advance_char (& filename_poi); | ^ mined1.c:2450:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2450 | (void) set_term_encoding (save_term_encoding, ' '); | ^ mined1.c:2468:54: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2468 | file_name [0] == '\0' ? "[no file]" : getbasename (filename_ok)); | ^ mined1.c:2470:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2470 | putescape (window_string); | ^ mined1.c:2499:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2499 | display (0, top_line, last_y, y); | ^ mined1.c:2503:27: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2503 | (void) display_scrollbar (False); | ^ mined1.c:2507:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2507 | set_cursor (0, YMAX); | ^ mined1.c:2509:41: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2509 | move_address (cur_text, find_y_w_o_RD (cur_line)); | ^ mined1.c:2509:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2509 | move_address (cur_text, find_y_w_o_RD (cur_line)); | ^ mined1.c:2533:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2533 | display (0, top_line, last_y, y_pos); | ^ mined1.c:2536:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2536 | set_cursor (0, YMAX); | ^ mined1.c:2526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2526 | RD_y (y_pos) | ^ In file included from mined1.c:6: ./mined.h:864: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] 864 | extern void RD_y _((int y_pos)); | ^ mined1.c:2552:17: warning: passing arguments to 'screen_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2552 | screen_buffer (True); | ^ mined1.c:2579:8: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2579 | reset (top_line, y); | ^ mined1.c:2581:40: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2581 | move_address (cur_text, find_y_w_o_RD (current_line)); | ^ mined1.c:2581:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2581 | move_address (cur_text, find_y_w_o_RD (current_line)); | ^ mined1.c:2585:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2585 | displaymenuline (True); | ^ mined1.c:2595:27: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2595 | (void) display_scrollbar (True); | ^ mined1.c:2548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2548 | RDwin_menu (rd_menu, after_winchg) | ^ mined1.c:2632:9: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2632 | reset (l, li); | ^ mined1.c:2806:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2806 | putescape ("\033[>c"); | ^ mined1.c:2816:17: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2816 | c = get_digits (& terminal_type); | ^ mined1.c:2818:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2818 | c = get_digits (& terminal_version); | ^ mined1.c:2823:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2823 | c = get_digits (& subver); | ^ mined1.c:2827:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2827 | c = get_digits (& terminal_registration); | ^ mined1.c:2794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2794 | acquire_device_attributes (again) | ^ mined1.c:2845:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2845 | putescape ("\033[c"); | ^ mined1.c:2858:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2858 | c = get_digits (& feature); | ^ mined1.c:2885:28: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2885 | while (char_ready_within (30, "swallow")) { | ^ mined1.c:2917:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2917 | putescape (s); | ^ mined1.c:2946:11: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2946 | debuglog ("report", s + 1, sbuf); | ^ mined1.c:2906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2906 | get_terminal_report_string (s) | ^ mined1.c:73: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] 73 | static char * get_terminal_report_string _((char * s)); | ^ mined1.c:2957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2957 | get_width_report (s, wpoi) | ^ mined1.c:2996:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2996 | putescape ("\r"); | ^ mined1.c:2998:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2998 | debuglog ("6n", "", screen_version ? "s" : ""); | ^ mined1.c:2999:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2999 | putstring (s); /* don't use putescape here for 'screen' 4.0 */ | ^ mined1.c:3000:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3000 | putescape ("\033[6n"); /* maybe termcap u7 but not really defined */ | ^ mined1.c:3001:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3001 | putescape ("\r"); | ^ mined1.c:3004:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3004 | debuglog ("6n", "", "flush"); | ^ mined1.c:3007:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3007 | debuglog ("CPR", "", ""); | ^ mined1.c:2972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2972 | test_screen_width (s) | ^ mined1.c:3074:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3074 | {"<81>02"}, | ^~~~ ~~~~ mined1.c:3075:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3075 | {"ޡ"}, | ^~~~~~~~~~~~~~~~ ~~~~ mined1.c:3076:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3076 | {"<8E>"}, | ^~~~~~~~~~~~~~~~ mined1.c:3077:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3077 | {"<8F>x"}, | ^~~~~~~~~~~~ mined1.c:3078:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3078 | {"<88>"}, | ^~~~~~~~ mined1.c:3079:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3079 | {""}, | ^~~~~~~~ mined1.c:3084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3084 | get_screen_width (s, sw, len) | ^ mined1.c:3128:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3128 | debuglog ("6n", "**", screen_version ? "s" : ""); | ^ mined1.c:3130:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3130 | putescape ("\r"); | ^ mined1.c:3133:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3133 | putstring (sw [i].test); /* don't use putescape here for 'screen' 4.0 */ | ^ mined1.c:3134:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3134 | putescape ("\033[6n"); /* maybe termcap u7 but not really defined */ | ^ mined1.c:3135:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3135 | putescape ("\r"); | ^ mined1.c:3150:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3150 | debuglog ("6n", "**", "flush"); | ^ mined1.c:3156:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3156 | debuglog ("CPR", "**", ""); | ^ mined1.c:3104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3104 | acquire_screen_widths (sw, len) | ^ mined1.c:3222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3222 | isglyph_code (glyph) | ^ mined1.c:3241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3241 | isglyph_uni (u) | ^ In file included from mined1.c:6: ./mined.h:921: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] 921 | extern int isglyph_uni _((unsigned long)); | ^ mined1.c:3266:32: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3266 | return isglyph_uni (utf8value (c)); | ^ mined1.c:3260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3260 | isglyph_utf (c) | ^ mined1.c:3341:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3341 | set_fkeymap ("xterm"); | ^ mined1.c:3366:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3366 | set_fkeymap ("xterm"); | ^ mined1.c:3372:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3372 | set_fkeymap ("xterm"); | ^ mined1.c:3375:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3375 | set_fkeymap ("xterm"); | ^ mined1.c:3431:45: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3431 | if (strisprefix ("gnome-terminal", envstr ("COLORTERM")) && gnome_terminal_version <= 0) { | ^ mined1.c:3440:46: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3440 | } else if (streq ("xterm", TERM) && envvar ("MLTERM")) { | ^ mined1.c:3444:25: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3444 | char * mlterm = envvar ("MLTERM"); | ^ mined1.c:3471:20: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3471 | glyphs = dupstr (glyphs); | ^ mined1.c:3632:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3632 | : " MinEd " VERSION; | ^~~~ mined1.c:3646:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3646 | set_cursor (xpos, YMAX / 3); | ^ mined1.c:3647:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3647 | putescape ("\033#3"); putescape (logo1); | ^ mined1.c:3647:35: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3647 | putescape ("\033#3"); putescape (logo1); | ^ mined1.c:3648:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3648 | set_cursor (xpos, YMAX / 3 + 1); | ^ mined1.c:3649:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3649 | putescape ("\033#4"); putescape (logo2); | ^ mined1.c:3649:35: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3649 | putescape ("\033#4"); putescape (logo2); | ^ mined1.c:3650:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3650 | putstring ("\n"); | ^ mined1.c:3663:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3663 | set_cursor (XMAX / 2 - 5, splashpos); | ^ mined1.c:3664:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3664 | putescape (sixelsplash); | ^ mined1.c:3665:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3665 | putstring ("\n"); | ^ mined1.c:3681:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3681 | status_msg ("Trying to switch to command line view (normal screen)"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ mined1.c:3682:17: warning: passing arguments to 'screen_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3682 | screen_buffer (False); | ^ mined1.c:3686:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3686 | status_msg ("Returned to editing view (alternate screen)"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ mined1.c:3703:30: warning: passing arguments to 'term_Unicode_version_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3703 | term_Unicode_version_name (width_data_version)); | ^ mined1.c:3712:30: warning: passing arguments to 'term_Unicode_version_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3712 | term_Unicode_version_name (cjk_width_data_version)); | ^ mined1.c:3717:30: warning: passing arguments to 'term_Unicode_version_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3717 | term_Unicode_version_name (combining_data_version), | ^ mined1.c:3814:12: warning: passing arguments to 'get_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3814 | get_term (TERM); | ^ mined1.c:3817:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3817 | raw_mode (True); | ^ mined1.c:3829:8: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3829 | panic ("Min. 3x40 size needed for terminal", "too small"); | ^ mined1.c:3837:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3837 | status_msg ("Auto-detecting terminal properties - waiting for rxvt to report"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ mined1.c:3838:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3838 | set_cursor (0, 0); | ^ mined1.c:3842:27: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3842 | (void) char_ready_within (30, NIL_PTR); | ^ mined1.c:3860:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3860 | if (test_screen_width (sjis_3bytes) == 3) { | ^~~~~~~~~~~ mined1.c:3857:23: note: expanded from macro 'sjis_3bytes' 3857 | #define sjis_3bytes "xa" | ^~~~ mined1.c:3861:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3861 | (void) set_term_encoding ("Shift-JIS", 'S'); | ^ mined1.c:3863:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3863 | (void) set_text_encoding ("Shift-JIS", 'S', "TERM=kterm"); | ^ mined1.c:3866:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3866 | (void) set_term_encoding ("EUC-JP", 'J'); | ^ mined1.c:3868:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3868 | (void) set_text_encoding ("EUC-JP", 'J', "TERM=kterm"); | ^ mined1.c:3914:22: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3914 | set_term_encoding ("TIS", 'T'); | ^ mined1.c:4103:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 4103 | int cwidth = get_screen_width ("<81>02", cjk_widths, arrlen (cjk_widths)); | ^~~~ ~~~~ mined1.c:4118:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 4118 | cwidth = get_screen_width ("ޡ", cjk_widths, arrlen (cjk_widths)); | ^~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ mined1.c:4122:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 4122 | cwidth = get_screen_width ("<8E>", cjk_widths, arrlen (cjk_widths)); | ^~~~~~~~~~~~~~~~ mined1.c:4132:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 4132 | if (euc3_term && get_screen_width ("<8F>x", cjk_widths, arrlen (cjk_widths)) > 3) { | ^~~~~~~~~~~~ mined1.c:4137:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 4137 | if (get_screen_width ("<88>", cjk_widths, arrlen (cjk_widths)) < 2) { | ^~~~~~~~ mined1.c:4170:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4170 | (void) set_term_encoding ("ASCII", ' '); | ^ mined1.c:4193:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4193 | (void) set_term_encoding ("ISO-8859-1", ' '); | ^ mined1.c:4217:47: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4217 | unsigned long cjk_combining = mappedtermchar (0x0300); | ^ mined1.c:4218:14: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4218 | if (no_char (cjk_combining)) { | ^ mined1.c:4224:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4224 | check += cjkencode_char (True, cjk_combining, check); | ^ mined1.c:4240:43: warning: passing arguments to 'lookup_mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4240 | unsigned long u = lookup_mappedtermchar (c); | ^ mined1.c:4241:20: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4241 | if (! no_unichar (u) && iscombining (u)) { | ^ mined1.c:4241:39: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4241 | if (! no_unichar (u) && iscombining (u)) { | ^ mined1.c:4262:37: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4262 | unsigned long lam = mappedtermchar (0x0644); | ^ mined1.c:4263:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4263 | if (! no_char (lam)) { | ^ mined1.c:4264:39: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4264 | unsigned long alef = mappedtermchar (0x0627); | ^ mined1.c:4269:28: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4269 | check += cjkencode_char (True, lam, check); | ^ mined1.c:4270:28: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4270 | check += cjkencode_char (True, alef, check); | ^ mined1.c:4307:44: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4307 | unsigned long cjk_degree = mappedtermchar (0x00B0); /* ° */ | ^ mined1.c:4308:45: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4308 | unsigned long cjk_lineend = mappedtermchar (0x300A); /* 《 */ | ^ mined1.c:4309:46: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4309 | unsigned long cjk_ellipsis = mappedtermchar (0x2026); /* … */ | ^ mined1.c:4310:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4310 | unsigned long cjk_uni = mappedtermchar (0x00A2); /* ¢ */ | ^ mined1.c:4311:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4311 | unsigned long cjk_dot = mappedtermchar (0x00B7); /* · */ | ^ mined1.c:4312:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4312 | unsigned long cjk_lat = mappedtermchar (0x00F8); /* ø */ | ^ mined1.c:4313:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4313 | unsigned long cjk_shy = mappedtermchar (0x00AD); /* ­ */ | ^ mined1.c:4314:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4314 | unsigned long cjk_ten = mappedtermchar (0x3248); /* ㉈ */ | ^ mined1.c:4320:26: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4320 | check += cjkencode_char (True, cjk_ellipsis, check); | ^ mined1.c:4321:26: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4321 | check += cjkencode_char (True, cjk_lineend, check); | ^ mined1.c:4322:26: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4322 | check += cjkencode_char (True, cjk_lineend, check); | ^ mined1.c:4323:14: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4323 | if (no_char (cjk_uni)) { | ^ mined1.c:4326:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4326 | if (no_char (cjk_uni)) { | ^ mined1.c:4327:29: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4327 | cjk_uni = mappedtermchar (0x00AF); /* ¯ */ | ^ mined1.c:4330:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4330 | if (! no_char (cjk_uni)) { | ^ mined1.c:4331:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4331 | check += cjkencode_char (True, cjk_uni, check); | ^ mined1.c:4332:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4332 | check += cjkencode_char (True, cjk_uni, check); | ^ mined1.c:4333:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4333 | check += cjkencode_char (True, cjk_uni, check); | ^ mined1.c:4334:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4334 | check += cjkencode_char (True, cjk_uni, check); | ^ mined1.c:4346:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4346 | if (! no_char (cjk_uni) && (cjkwidth & 1) == 0) { | ^ mined1.c:4351:17: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4351 | if (! no_char (cjk_degree)) { | ^ mined1.c:4353:28: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4353 | check += cjkencode_char (True, cjk_degree, check); | ^ mined1.c:4374:18: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4374 | if (! no_char (cjk_ten)) { | ^ mined1.c:4376:29: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4376 | check += cjkencode_char (True, cjk_ten, check); | ^ mined1.c:4383:51: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4383 | if (cjk_width_data_version < U520 && ! no_char (cjk_shy)) { | ^ mined1.c:4385:29: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4385 | check += cjkencode_char (True, cjk_shy, check); | ^ mined1.c:4392:18: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4392 | if (! no_char (cjk_lat)) { | ^ mined1.c:4394:29: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4394 | check += cjkencode_char (True, cjk_lat, check); | ^ mined1.c:4402:44: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4402 | } else if (rxvt_version > 0 && ! no_char (cjk_dot)) { | ^ mined1.c:4404:28: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4404 | check += cjkencode_char (True, cjk_dot, check); | ^ mined1.c:4711:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4711 | set_fkeymap (NIL_PTR); | ^ mined1.c:4770:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4770 | set_fkeymap ("linux"); | ^ mined1.c:4897:42: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4897 | if (UTF_TAB_marker && iswide (utf8value (UTF_TAB_marker))) { | ^ mined1.c:4897:31: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4897 | if (UTF_TAB_marker && iswide (utf8value (UTF_TAB_marker))) { | ^ mined1.c:4900:43: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4900 | if (UTF_TAB0_marker && iswide (utf8value (UTF_TAB0_marker))) { | ^ mined1.c:4900:32: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4900 | if (UTF_TAB0_marker && iswide (utf8value (UTF_TAB0_marker))) { | ^ mined1.c:4903:43: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4903 | if (UTF_TAB2_marker && iswide (utf8value (UTF_TAB2_marker))) { | ^ mined1.c:4903:32: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4903 | if (UTF_TAB2_marker && iswide (utf8value (UTF_TAB2_marker))) { | ^ mined1.c:4906:45: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4906 | if (UTF_TABmid_marker && iswide (utf8value (UTF_TABmid_marker))) { | ^ mined1.c:4906:34: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4906 | if (UTF_TABmid_marker && iswide (utf8value (UTF_TABmid_marker))) { | ^ mined1.c:5035:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5035 | raw_mode (True); | ^ mined1.c:5107:28: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5107 | char * username = envvar ("MINEDUSER"); | ^ mined1.c:5113:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5113 | temp_dir = envvar ("TMPDIR"); | ^ mined1.c:5115:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5115 | temp_dir = envvar ("TMP"); | ^ mined1.c:5118:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5118 | temp_dir = envvar ("TEMP"); | ^ mined1.c:5133:23: warning: passing arguments to 'strip_trailingslash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5133 | strip_trailingslash (temp_dn); | ^ mined1.c:5137:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5137 | minedtemp_dir = envvar ("MINEDTMP"); | ^ mined1.c:5340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5340 | matchwords (w, s) | ^ mined1.c:5366:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5366 | return set_term_encoding (charmap_term, ' '); | ^ mined1.c:5368:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5368 | return set_text_encoding (charmap_text, ' ', "set_charmap_2"); | ^ mined1.c:5360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5360 | set_charmap_2 (term, charmap_term, charmap_text) | ^ mined1.c:5379:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5379 | return set_term_encoding (charmap, ' '); | ^ mined1.c:5381:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5381 | return set_text_encoding (charmap, ' ', "set_charmap"); | ^ mined1.c:5374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5374 | set_charmap (term, charmap) | ^ mined1.c:5422:19: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5422 | set_quote_style (altstyle); | ^ mined1.c:5424:19: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5424 | set_quote_style (style); | ^ mined1.c:5418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5418 | set_quote_styles (style, altstyle) | ^ mined1.c:5463:18: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5463 | set_quote_style (style); | ^ mined1.c:5428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5428 | handle_locale_quotes (lang, alt) | ^ In file included from mined1.c:6: ./mined.h:788: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] 788 | extern void handle_locale_quotes _((char * lang, FLAG alt)); | ^ mined1.c:5485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5485 | handle_locale_encoding (term, encoding) | ^ mined1.c:5812:15: warning: passing arguments to 'sethomedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5812 | sethomedir (minedopt); | ^ mined1.c:5821:23: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5821 | minedopt = scan_int (minedopt, & wheel_scroll); | ^ mined1.c:6057:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6057 | (void) set_text_encoding (NIL_PTR, 'L', "+u"); | ^ mined1.c:6060:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6060 | (void) set_text_encoding (NIL_PTR, 'U', "-u"); | ^ mined1.c:6066:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6066 | (void) set_text_encoding (NIL_PTR, 'L', "-l"); | ^ mined1.c:6098:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6098 | if (set_text_encoding (NIL_PTR, * minedopt, "-EU/L")) { | ^ mined1.c:6194:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6194 | if (set_term_encoding (NIL_PTR, enctag)) { | ^ mined1.c:6203:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6203 | if (set_text_encoding (NIL_PTR, enctag, "-E")) { | ^ mined1.c:6229:26: warning: passing arguments to 'strip_trailingslash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6229 | strip_trailingslash (expandedname); | ^ mined1.c:6231:32: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6231 | backup_directory = dupstr (expandedname); | ^ mined1.c:6233:32: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6233 | backup_directory = dupstr (minedopt); | ^ mined1.c:6280:19: warning: passing arguments to 'setKEYMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6280 | if (setKEYMAP (minedopt)) { | ^ mined1.c:6331:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6331 | set_quote_style (minedopt); | ^ mined1.c:6643:15: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6643 | free_space (filter_read); | ^ mined1.c:6644:25: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6644 | filter_read = dupstr (minedopt); | ^ mined1.c:6651:15: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6651 | free_space (filter_write); | ^ mined1.c:6652:26: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6652 | filter_write = dupstr (minedopt); | ^ mined1.c:5720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5720 | eval_options (minedopt, command_line) | ^ mined1.c:6764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6764 | do_prefmov (varpoi, varsize) | ^ mined1.c:6808:18: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6808 | prefbuf = alloc (preflen); | ^ mined1.c:6802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6802 | preferences (save_restore) | ^ mined1.c:6999:23: warning: passing arguments to 'strip_trailingslash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6999 | strip_trailingslash (rcfn); | ^ mined1.c:7014:17: warning: passing arguments to 'reset_get_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7014 | reset_get_line (False); | ^ mined1.c:7015:31: warning: passing arguments to 'get_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7015 | while (line_gotten (get_line (rc_fd, text_buffer, & dumlen, False))) { | ^ mined1.c:7015:21: warning: passing arguments to 'line_gotten' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7015 | while (line_gotten (get_line (rc_fd, text_buffer, & dumlen, False))) { | ^ mined1.c:7043:25: warning: passing arguments to 'wildcard' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7043 | } else if (wildcard (& text_buffer [1], pref_name)) { | ^ mined1.c:7082:11: warning: assigning to 'character *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 7082 | optpoi = option; | ^ ~~~~~~ mined1.c:7100:11: warning: assigning to 'char *' from 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 7100 | optval = optpoi; | ^ ~~~~~~ mined1.c:6971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6971 | configure_preferences (applycommon) | ^ In file included from mined1.c:6: ./mined.h:789: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] 789 | extern void configure_preferences _((FLAG applycommon)); | ^ mined1.c:7175:24: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7175 | debug_mined = envvar ("DEBUG_MINED"); | ^ mined1.c:7176:17: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7176 | TERM = envstr ("TERM"); | ^ mined1.c:7182:14: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7182 | if (envvar ("NoCtrlSQ") || envvar ("NoControlSQ")) { | ^ mined1.c:7182:37: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7182 | if (envvar ("NoCtrlSQ") || envvar ("NoControlSQ")) { | ^ mined1.c:7189:21: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7189 | transout = envstr ("MINEDOUT"); | ^ mined1.c:7197:14: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7197 | if (envvar ("MINEDMODF")) { | ^ mined1.c:7198:22: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7198 | mined_modf = envvar ("MINEDMODF"); | ^ mined1.c:7247:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7247 | (void) set_term_encoding ("CP437", 'p'); | ^ mined1.c:7250:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7250 | (void) set_text_encoding ("CP850", 'P', "TERM=nansi"); | ^ mined1.c:7264:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7264 | (void) set_term_encoding ("CP850", 'P'); | ^ mined1.c:7267:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7267 | (void) set_text_encoding ("CP850", 'P', "TERM=pcansi"); | ^ mined1.c:7311:26: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7311 | if (strcontains (envstr ("CYGWIN"), "codepage:oem")) { | ^ mined1.c:7313:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7313 | (void) set_term_encoding ("CP850", 'P'); | ^ mined1.c:7315:33: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7315 | } else if (strcontains (envstr ("CYGWIN"), "codepage:utf8")) { | ^ mined1.c:7316:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7316 | (void) set_term_encoding (NIL_PTR, 'U'); | ^ mined1.c:7356:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7356 | (void) set_term_encoding ("ASCII", ' '); | ^ mined1.c:7407:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7407 | (void) set_text_encoding ("ISO-8859-1", 'L', "TERM=cygwin"); | ^ mined1.c:7455:14: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7455 | if (envvar ("BACKUP_DIRECTORY")) { | ^ mined1.c:7456:28: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7456 | backup_directory = envvar ("BACKUP_DIRECTORY"); | ^ mined1.c:7459:13: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7459 | if (envvar ("BACKUPDIR")) { | ^ mined1.c:7460:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7460 | backup_directory = envvar ("BACKUPDIR"); | ^ mined1.c:7466:44: warning: passing arguments to 'is_absolute_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7466 | if (backup_directory && is_absolute_path (backup_directory)) { | ^ mined1.c:7473:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7473 | if ((minedopt = envvar ("VERSION_CONTROL")) != NIL_PTR) { | ^ mined1.c:7488:30: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7488 | recover_directory = envvar ("AUTO_SAVE_DIRECTORY"); | ^ mined1.c:7490:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7490 | recover_directory = envvar ("AUTOSAVEDIR"); | ^ mined1.c:7495:45: warning: passing arguments to 'is_absolute_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7495 | if (recover_directory && is_absolute_path (recover_directory)) { | ^ mined1.c:7508:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7508 | minedopt = envvar ("MINEDOPT"); | ^ mined1.c:7513:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7513 | minedopt = envvar ("MINED"); | ^ mined1.c:7522:28: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7522 | (void) setKEYMAP (envvar ("MINEDKEYMAP")); | ^ mined1.c:7522:20: warning: passing arguments to 'setKEYMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7522 | (void) setKEYMAP (envvar ("MINEDKEYMAP")); | ^ mined1.c:7636:19: warning: passing arguments to 'filelist_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7636 | filelist_add (argv [fi], True); | ^ mined1.c:7665:9: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7665 | panic ("Cannot read both pipe and file", NIL_PTR); | ^ mined1.c:7676:25: warning: passing arguments to 'inputreadyafter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7676 | (void) inputreadyafter (-1); | ^ mined1.c:7686:9: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7686 | panic ("Cannot open /dev/tty for reading", serror ()); | ^ mined1.c:7695:9: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7695 | panic ("Cannot open /dev/tty for writing", serror ()); | ^ mined1.c:7713:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7713 | set_fkeymap ("vt100"); | ^ mined1.c:7716:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7716 | set_fkeymap ("rxvt"); | ^ mined1.c:7725:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7725 | set_fkeymap ("hp"); | ^ mined1.c:7737:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7737 | set_fkeymap ("52"); | ^ mined1.c:7739:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7739 | (void) set_term_encoding ("ASCII", ' '); | ^ mined1.c:7751:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7751 | set_fkeymap ("o"); | ^ mined1.c:7754:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7754 | (void) set_term_encoding ("KOI8-R", ' '); | ^ mined1.c:7759:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7759 | (void) set_term_encoding ("KOI8-R", ' '); | ^ mined1.c:7761:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7761 | (void) set_term_encoding ("ISO-8859-1", ' '); | ^ mined1.c:7763:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7763 | (void) set_term_encoding ("CP437", 'p'); | ^ mined1.c:7767:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7767 | (void) set_term_encoding ("MacRoman", 'M'); | ^ mined1.c:7771:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7771 | (void) set_term_encoding ("ASCII", ' '); | ^ mined1.c:7780:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7780 | (void) set_term_encoding ("MacRoman", 'M'); | ^ mined1.c:7784:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7784 | set_fkeymap ("siemens"); | ^ mined1.c:7789:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7789 | set_fkeymap ("interix"); | ^ mined1.c:7819:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7819 | raw_mode (False); | ^ mined1.c:7829:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7829 | detect_encodings = envvar ("MINEDDETECT"); | ^ mined1.c:7837:34: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7837 | preselect_quote_style = envvar ("MINEDQUOTES"); | ^ mined1.c:7841:16: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7841 | env = envvar ("MINEDHANINFO"); | ^ mined1.c:7909:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7909 | raw_mode (False); | ^ mined1.c:7920:8: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7920 | panic ("Cannot allocate memory", NIL_PTR); | ^ mined1.c:7934:18: warning: passing arguments to 'load_wild_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7934 | load_wild_file (NIL_PTR, reading_pipe, False); | ^ mined1.c:7937:31: warning: passing arguments to 'filelist_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7937 | load_wild_file (filelist_get (argi), False, False); | ^ mined1.c:7937:17: warning: passing arguments to 'load_wild_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7937 | load_wild_file (filelist_get (argi), False, False); | ^ mined1.c:7942:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7942 | raw_mode (False); | ^ mined1.c:7946:36: warning: passing arguments to 'filelist_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7946 | printf ("%s: %s\n", filelist_get (argi), get_text_encoding ()); | ^ mined1.c:7950:13: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7950 | raw_mode (True); | ^ mined1.c:7951:33: warning: passing arguments to 'filelist_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7951 | load_wild_file (filelist_get (argi), False, True); | ^ mined1.c:7951:19: warning: passing arguments to 'load_wild_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7951 | load_wild_file (filelist_get (argi), False, True); | ^ mined1.c:7952:13: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7952 | raw_mode (False); | ^ mined1.c:7953:37: warning: passing arguments to 'filelist_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7953 | printf ("%s: %s\n", filelist_get (argi), get_text_encoding ()); | ^ mined1.c:7962:22: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7962 | (void) scan_int (argv [initlini] + 1, & initlinenum); | ^ mined1.c:7964:46: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7964 | if (initlinenum <= 0 || (initline = proceed (header->next, initlinenum - 1)) == tail) { | ^ mined1.c:7965:46: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7965 | error2 ("Invalid line number: ", dec_out ((long) initlinenum)); | ^ mined1.c:7965:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7965 | error2 ("Invalid line number: ", dec_out ((long) initlinenum)); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ mined1.c:7967:31: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7967 | move_to (x, find_y_w_o_RD (initline)); | ^ mined1.c:7967:13: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7967 | move_to (x, find_y_w_o_RD (initline)); | ^ mined1.c:7968:5: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7968 | fstatus ("Loaded", -1L, -1L); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ mined1.c:7974:17: warning: passing arguments to 'search_ini' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7974 | if (search_ini (inisearch, FORWARD, True) == False) { | ^ mined1.c:7978:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7978 | fstatus ("Loaded", -1L, -1L); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ mined1.c:7984:2: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7984 | fstatus ("Editing for standard output", -1L, -1L); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ mined1.c:7993:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7993 | display (0, top_line, last_y, 0); | ^ mined1.c:8015:15: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8015 | status_uni (ext_status); | ^ mined1.c:8021:16: warning: passing arguments to 'display_Han' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8021 | display_Han (cur_text, False); | ^ mined1.c:8027:15: warning: passing arguments to 'display_Han' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8027 | display_Han (cur_text, False); | ^ mined1.c:8039:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8039 | displaymenuline (True); | ^ mined1.c:8052:25: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8052 | if (display_scrollbar (update_scrollbar_lazy)) { | ^ mined1.c:8064:11: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8064 | debuglog (0, "flush", 0); | ^ mined1.c:8080:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8080 | if (command (inputchar) != Scharacter | ^ mined1.c:8081:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8081 | && command (inputchar) != Sdash | ^ mined1.c:8082:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8082 | && command (inputchar) != Ssinglequote | ^ mined1.c:8083:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8083 | && command (inputchar) != Sdoublequote | ^ mined1.c:8088:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8088 | if (command (inputchar) != Scharacter) { | ^ mined1.c:8089:21: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8089 | keyproc = command (inputchar); | ^ mined1.c:8092:27: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8092 | inputchar = encodedchar (inputchar); | ^ mined1.c:8102:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8102 | if (command (inputchar) == FOCUSin) { | ^ mined1.c:8115:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8115 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ mined1.c:8118:23: warning: passing arguments to 'invoke_key_function' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8118 | invoke_key_function (inputchar); | ^ mined1.c:7164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7164 | main (argc, argv) | ^ 466 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c textfile.c -o ../bin/FreeBSD.amd64/textfile.o In file included from textfile.c:16: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from textfile.c:16: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from textfile.c:16: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from textfile.c:16: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from textfile.c:16: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from textfile.c:16: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from textfile.c:16: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from textfile.c:16: ./mined.h:242: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] 242 | extern int strcmp (); | ^ textfile.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] 137 | UTF8_len (c) | ^ In file included from textfile.c:16: ./mined.h:889: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] 889 | extern int UTF8_len _((char)); | ^ textfile.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | CJK_len (text) | ^ In file included from textfile.c:16: ./mined.h:890: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] 890 | extern int CJK_len _((character *)); | ^ textfile.c:192:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | advance_char (& string); | ^ textfile.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | char_count (string) | ^ In file included from textfile.c:16: ./mined.h:891: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] 891 | extern int char_count _((char *)); | ^ textfile.c:212:20: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | advance_char_scr (& string, & count, start); | ^ textfile.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | col_count (string) | ^ In file included from textfile.c:16: ./mined.h:892: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] 892 | extern int col_count _((char *)); | ^ textfile.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | utf8_info (u, length, ucs) | ^ In file included from textfile.c:16: ./mined.h:893: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] 893 | extern void utf8_info _((char *, int *, unsigned long *)); | ^ textfile.c:301:16: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | precede_char (& charpos, linebegin); | ^ textfile.c:302:31: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | prev_unichar = unicodevalue (charpos); | ^ textfile.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | isjoined (unichar, charpos, linebegin) | ^ In file included from textfile.c:16: ./mined.h:894: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] 894 | extern int isjoined _((unsigned long, char *, char *)); | ^ textfile.c:323:46: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | if (mapped_term && no_char (mappedtermchar (unichar))) { | ^ textfile.c:323:30: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | if (mapped_term && no_char (mappedtermchar (unichar))) { | ^ textfile.c:327:64: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | return isjoined (unichar, charpos, linebegin) || iscombining (unichar); | ^ textfile.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | iscombined (unichar, charpos, linebegin) | ^ In file included from textfile.c:16: ./mined.h:895: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] 895 | extern int iscombined _((unsigned long, char *, char *)); | ^ textfile.c:334:46: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | if (mapped_term && no_char (mappedtermchar (ucs))) { | ^ textfile.c:334:30: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | if (mapped_term && no_char (mappedtermchar (ucs))) { | ^ textfile.c:337:26: warning: passing arguments to 'term_iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | return term_iscombining (ucs); | ^ textfile.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | iscombining (ucs) | ^ In file included from textfile.c:16: ./mined.h:904: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] 904 | extern int iscombining _((unsigned long ucs)); | ^ textfile.c:356:22: warning: passing arguments to 'term_iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | return term_iswide (ucs); | ^ textfile.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | iswide (ucs) | ^ In file included from textfile.c:16: ./mined.h:905: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] 905 | extern int iswide _((unsigned long ucs)); | ^ textfile.c:382:45: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | unsigned long cjktermchar = mappedtermchar (unichar); | ^ textfile.c:383:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | if (! no_char (cjktermchar)) { | ^ textfile.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | uniscrwidth (unichar, charpos, linebegin) | ^ In file included from textfile.c:16: ./mined.h:906: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] 906 | extern int uniscrwidth _((unsigned long, char *, char *)); | ^ textfile.c:424:45: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | unsigned long unichar = lookup_encodedchar (cjkchar); | ^ textfile.c:425:17: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | if (no_unichar (unichar) && ! valid_cjk (cjkchar, NIL_PTR)) { | ^ textfile.c:425:42: warning: passing arguments to 'valid_cjk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | if (no_unichar (unichar) && ! valid_cjk (cjkchar, NIL_PTR)) { | ^ textfile.c:445:24: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | } else if (no_unichar (unichar) && cjk_term) { | ^ textfile.c:456:45: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | unsigned long unichar = lookup_encodedchar (cjkchar); | ^ textfile.c:457:19: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | if (! no_unichar (unichar)) { | ^ textfile.c:458:46: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | unsigned long cjktermchar = mappedtermchar (unichar); | ^ textfile.c:459:17: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | if (! no_char (cjktermchar)) { | ^ textfile.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | cjkscrwidth (cjkchar, charpos, linebegin) | ^ In file included from textfile.c:16: ./mined.h:907: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] 907 | extern int cjkscrwidth _((unsigned long, char *, char *)); | ^ textfile.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | advance_utf8 (poipoi) | ^ In file included from textfile.c:16: ./mined.h:910: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] 910 | extern void advance_utf8 _((char * *)); | ^ textfile.c:505:22: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 505 | int len = CJK_len (* poipoi); | ^~~~~~~~ textfile.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | advance_cjk (poipoi) | ^ textfile.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | advance_char (poipoi) | ^ In file included from textfile.c:16: ./mined.h:912: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] 912 | extern void advance_char _((char * *)); | ^ textfile.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | charbegin (line, s) | ^ In file included from textfile.c:16: ./mined.h:908: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] 908 | extern char * charbegin _((char *, char *)); | ^ textfile.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | precede_char (poipoi, begin_line) | ^ In file included from textfile.c:16: ./mined.h:913: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] 913 | extern void precede_char _((char * *, char *)); | ^ textfile.c:606:14: warning: passing 'character *' (aka '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] 606 | utf8_info (poi, & len, & unichar); | ^~~ textfile.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | utf8value (poi) | ^ In file included from textfile.c:16: ./mined.h:914:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 914 | extern unsigned long utf8value _((character *)); | ^ textfile.c:621:13: warning: passing 'character *' (aka '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] 621 | utf8_info (poi, & len, & unichar); | ^~~ textfile.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] 614 | charvalue (poi) | ^ In file included from textfile.c:16: ./mined.h:915:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 915 | extern unsigned long charvalue _((character *)); | ^ textfile.c:650:28: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | return lookup_encodedchar (code); | ^ textfile.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | unicode (code) | ^ In file included from textfile.c:16: ./mined.h:917:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 917 | extern unsigned long unicode _((unsigned long)); | ^ textfile.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | unicodevalue (poi) | ^ In file included from textfile.c:16: ./mined.h:916:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 916 | extern unsigned long unicodevalue _((character *)); | ^ textfile.c:681:20: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 681 | return charvalue (poi); | ^~~ textfile.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | precedingchar (curpoi, begin_line) | ^ In file included from textfile.c:16: ./mined.h:918:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 918 | extern unsigned long precedingchar _((char *, char *)); | ^ textfile.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] 690 | advance_utf8_scr (poipoi, colpoi, linebegin) | ^ In file included from textfile.c:16: ./mined.h:909: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] 909 | extern void advance_utf8_scr _((char * *, int *, char *)); | ^ textfile.c:724:21: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 724 | int len = CJK_len (* poipoi); | ^~~~~~~~ textfile.c:726:40: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 726 | (* colpoi) += cjkscrwidth (charvalue (* poipoi), * poipoi, linebegin); | ^~~~~~~~ textfile.c:736:45: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | unsigned long unichar = lookup_encodedchar ((character) * * poipoi); | ^ textfile.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | advance_char_scr (poipoi, colpoi, linebegin) | ^ In file included from textfile.c:16: ./mined.h:911: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] 911 | extern void advance_char_scr _((char * *, int *, char *)); | ^ textfile.c:784:20: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | if (iswhitespace (prevchar) || isdash (prevchar) || isopeningparenthesis (prevchar)) { | ^ textfile.c:784:41: warning: passing arguments to 'isdash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | if (iswhitespace (prevchar) || isdash (prevchar) || isopeningparenthesis (prevchar)) { | ^ textfile.c:784:76: warning: passing arguments to 'isopeningparenthesis' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | if (iswhitespace (prevchar) || isdash (prevchar) || isopeningparenthesis (prevchar)) { | ^ textfile.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | opensquote (prevchar) | ^ In file included from textfile.c:16: ./mined.h:919:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 919 | extern FLAG opensquote _((unsigned long prevchar)); | ^ textfile.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 | isopeningquote (s, beg) | ^ textfile.c:864:18: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | set_quote_style (s); | ^ textfile.c:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | check_quote_style (c, s) | ^ textfile.c:988:21: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | if (iswhitespace (prev_unichar)) { | ^ textfile.c:1060:21: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | if (iswhitespace (prev_unichar)) { | ^ textfile.c:928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | utf8_count (string) | ^ textfile.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | strcaseeq (s1, s2) | ^ textfile.c:1142:27: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | char * bn = getbasename (file_name); | ^ textfile.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | line_gotten (ret) | ^ In file included from textfile.c:31: ./textfile.h:40: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] 40 | extern int line_gotten _((int ret)); | ^ textfile.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | set_error (err) | ^ textfile.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | set_errno (err) | ^ textfile.c:1336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | max_cjk_count (cnt, tag) | ^ textfile.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | reset_get_line (from_text_file) | ^ In file included from textfile.c:31: ./textfile.h:41: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] 41 | extern void reset_get_line _((FLAG from_text_file /* consider UTF-16 ? */)); | ^ textfile.c:1451:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1451 | status_fmt2 (get_line_error, " - Loading failed!"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:1453:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | status_fmt2 (get_line_error, " - Inserting failed!"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | UTF16_transform (little_endian, UTF8buf, maxbufl, next_byte_poi, fini_byte) | ^ textfile.c:1549:20: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | UTF16buf = alloc (filebuflen + 1); | ^ textfile.c:1654:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | void auto_detect_byte (curbyte, do_auto_detect) | ^ textfile.c:2026:92: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2026 | read_chars = UTF16_transform (utf16_little_endian, filebuf, filebuflen, & next_byte, fini_byte); | ^~~~~~~~~ textfile.c:2067:16: warning: initializing 'character *' (aka 'unsigned char *') with an expression of type 'char[20481]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2067 | character * epoi = filebuf; | ^ ~~~~~~~ textfile.c:2071:33: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2071 | * epoi = lookup_encodedchar (* epoi); | ^ textfile.c:2089:30: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2089 | (void) set_text_encoding (":16", ' ', "BOM 16"); | ^ textfile.c:2096:30: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | (void) set_text_encoding (":61", ' ', "BOM 61"); | ^ textfile.c:2123:31: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2123 | (void) set_text_encoding (":16", ' ', "detect 16"); | ^ textfile.c:2127:31: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2127 | (void) set_text_encoding (":61", ' ', "detect 61"); | ^ textfile.c:2153:32: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2153 | (void) set_text_encoding ("CP1047", ' ', "detect EBCDIC"); | ^ textfile.c:2180:90: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2180 | read_chars = UTF16_transform (utf16_little_endian, filebuf, filebuflen, & next_byte, fini_byte); | ^~~~~~~~~ textfile.c:2192:17: warning: initializing 'character *' (aka 'unsigned char *') with an expression of type 'char[20481]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2192 | character * epoi = filebuf; | ^ ~~~~~~~ textfile.c:2196:34: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2196 | * epoi = lookup_encodedchar (* epoi); | ^ textfile.c:2317:20: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2317 | && ! no_char (code_NL) && curbyte == code_NL) | ^ textfile.c:1978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | get_line (fd, buffer, len, do_auto_detect) | ^ In file included from textfile.c:31: ./textfile.h:44: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] 44 | extern int get_line _((int fd, char * buffer, int * len, FLAG do_auto_detect)); | ^ textfile.c:2422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2422 | escape_filename (fn_escaped, fn) | ^ textfile.c:2492:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | spoi = scan_int (spoi, & open_linum); | ^ textfile.c:2493:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2493 | spoi = scan_int (spoi, & open_col); | ^ textfile.c:2498:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2498 | spoi = scan_int (spoi, & lines_per_page); | ^ textfile.c:2499:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2499 | spoi = scan_int (spoi, & v4); | ^ textfile.c:2502:20: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2502 | spoi = scan_int (spoi, & v5); | ^ textfile.c:2503:20: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2503 | spoi = scan_int (spoi, & v6); | ^ textfile.c:2514:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2514 | spoi = scan_int (spoi, & vq); | ^ textfile.c:2519:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2519 | set_quote_style ("« »"); | ^ textfile.c:2521:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2521 | set_quote_style ("“” ‘’"); | ^ textfile.c:2523:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2523 | set_quote_style ("„“ ‚‘"); | ^ textfile.c:2525:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2525 | set_quote_style ("«» ‹›"); | ^ textfile.c:2527:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2527 | set_quote_style ("»« ›‹"); | ^ textfile.c:2529:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2529 | set_quote_style ("„” ‚’"); | ^ textfile.c:2531:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2531 | set_quote_style ("”” ’’"); | ^ textfile.c:2533:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2533 | set_quote_style ("»» ››"); | ^ textfile.c:2535:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2535 | set_quote_style ("『』 「」"); | ^ textfile.c:2537:20: warning: passing arguments to 'set_quote_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2537 | set_quote_type (default_quote_type); | ^ textfile.c:2567:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2567 | set_quote_style (qpoi); | ^ textfile.c:2587:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2587 | spoi = scan_int (spoi, & vt); | ^ textfile.c:2601:14: warning: passing arguments to 'setKEYMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2601 | setKEYMAP (spoi); | ^ textfile.c:2609:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2609 | spoi = scan_int (spoi, & vtabexp); | ^ textfile.c:2446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2446 | get_open_pos (fn) | ^ textfile.c:2642:34: warning: passing arguments to 'quote_mark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2642 | quote_style_marker = quote_mark (quote_type, 0); | ^ textfile.c:2633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2633 | write_open_pos (fd, fn) | ^ textfile.c:2700:37: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2700 | struct marker_entry * new = alloc (sizeof (struct marker_entry)); | ^ textfile.c:2702:21: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2702 | new->fn = dupstr (fn); | ^ textfile.c:2703:23: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2703 | new->info = dupstr (info); | ^ textfile.c:2712:25: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | char * _info = dupstr (info); | ^ textfile.c:2715:15: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2715 | free_space ((* mlpoi)->info); | ^ textfile.c:2694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2694 | put_marker_list (mlpoi, fn, info) | ^ textfile.c:2727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2727 | write_marker_list (fd, ml) | ^ textfile.c:2758:14: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2758 | free_space ((* mlpoi)->fn); | ^ textfile.c:2759:14: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2759 | free_space ((* mlpoi)->info); | ^ textfile.c:2760:14: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2760 | free_space (* mlpoi); | ^ textfile.c:2753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2753 | clear_marker_list (mlpoi) | ^ textfile.c:2841:20: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2841 | (void) scan_int (mf, & duml); | ^ textfile.c:2859:18: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2859 | if (delete_file (mark_file_in) < 0) { | ^ textfile.c:2774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2774 | rewrite_open_pos (fn, force) | ^ textfile.c:2895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2895 | save_open_pos (fn, force) | ^ textfile.c:2916:2: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2916 | fstatus ("Remembering file position", -1L, -1L); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ textfile.c:2918:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2918 | error2 ("Error when saving file position to ", mark_file_out); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:2939:24: warning: passing arguments to 'is_absolute_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2939 | if (is_absolute_path (dir)) { | ^ textfile.c:2936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2936 | get_directory (dir) | ^ textfile.c:2964:27: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2964 | char * bn = getbasename (fn); | ^ textfile.c:2953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2953 | get_recovery_name (fn) | ^ textfile.c:3028:24: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3028 | prefix = getbasename (file_name); | ^ textfile.c:3051:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3051 | error2 ("Cannot open directory ", dirname); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:3065:24: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3065 | afterver = scan_int (suffix, & ver); | ^ textfile.c:3075:24: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3075 | afterver = scan_int (suffix, & ver); | ^ textfile.c:3015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3015 | get_backup_name (file_name) | ^ textfile.c:3130:27: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3130 | char * bn = getbasename (fn); | ^ textfile.c:3126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3126 | get_lockfile_name (fn) | ^ textfile.c:3187:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3187 | if (rd > 0 && strisprefix ("!", linkbuf)) { | ^~~~~~~~ ./mined.h:1143:40: note: expanded from macro 'strisprefix' 1143 | #define strisprefix(p, s) (strncmp (s, p, strlen (p)) == 0) | ^ textfile.c:3187:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3187 | if (rd > 0 && strisprefix ("!", linkbuf)) { | ^~~~~~~~ ./mined.h:1143:51: note: expanded from macro 'strisprefix' 1143 | #define strisprefix(p, s) (strncmp (s, p, strlen (p)) == 0) | ^ textfile.c:3191:56: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3191 | rd = UTF16_transform (True, target, size, & linkpoi, linkend); | ^~~~~~~ textfile.c:3167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3167 | getsymboliclink (name, target, size) | ^ textfile.c:3207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3207 | setlocktarget (target) | ^ textfile.c:3268:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3268 | status_fmt2 ("", msg); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:3289:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3289 | status_fmt2 ("", "Notice: File has just been locked by someone; Unlock from File menu"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:3306:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3306 | error ("Cannot lock file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:3324:19: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3324 | if (delete_file (lf) < 0) { | ^ textfile.c:3321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3321 | delete_lockfile (lf) | ^ textfile.c:3347:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3347 | status_file ("Unlocking ", file_name); | ^ textfile.c:3451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3451 | is_dev (fn, fsbufpoi) | ^ textfile.c:3470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3470 | file_changed (fn, fstatpoi) | ^ textfile.c:3528:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3528 | status_fmt2 ("", "Notice: A newer recovery file exists; Recover from File menu"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:3514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3514 | check_recovery_file (delay_msg) | ^ textfile.c:3548:23: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3548 | filelist_add (dupstr (file_name), False); | ^ textfile.c:3548:15: warning: passing arguments to 'filelist_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3548 | filelist_add (dupstr (file_name), False); | ^ textfile.c:3552:25: warning: passing arguments to 'configure_preferences' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3552 | configure_preferences (False); /* restoring initial preferences first */ | ^ textfile.c:3561:23: warning: passing arguments to 'update_syntax_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3561 | update_syntax_state (header->next); | ^ textfile.c:3536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3536 | update_file_name (newname, update_display, addtolist) | ^ textfile.c:3588:14: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3588 | free_space (line->text); | ^ textfile.c:3589:15: warning: passing arguments to 'free_header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3589 | free_header (line); | ^ textfile.c:3741:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3741 | (void) set_text_encoding (NIL_PTR, 'U', "load: U"); | ^ textfile.c:3744:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3744 | (void) set_text_encoding (NIL_PTR, 'L', "load: L"); | ^ textfile.c:3760:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3760 | (void) set_text_encoding (":??", ' ', "load: CJK"); | ^ textfile.c:3770:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3770 | (void) set_text_encoding ("VISCII", 'V', "detect"); | ^ textfile.c:3774:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3774 | (void) set_text_encoding ("CP1047", ' ', "detect"); | ^ textfile.c:3778:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3778 | (void) set_text_encoding ("CP1252", 'W', "detect"); | ^ textfile.c:3781:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3781 | (void) set_text_encoding ("CP850", 'P', "detect"); | ^ textfile.c:3783:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3783 | (void) set_text_encoding ("MacRoman", 'M', "detect"); | ^ textfile.c:3793:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3793 | (void) set_text_encoding (NIL_PTR, max_cjk_tag, "detect CJK"); | ^ textfile.c:3805:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3805 | (void) set_text_encoding (prev_text_encoding, ' ', "load: prev"); | ^ textfile.c:3806:18: warning: passing arguments to 'change_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3806 | change_encoding (new_text_encoding); | ^ textfile.c:3607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3607 | encoding_auto_detection (empty, do_auto_detect) | ^ textfile.c:3846:28: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3846 | line = line_insert_after (line, text_buffer, len, new_return_type); | ^ textfile.c:3815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3815 | read_file (fd, retpoi, do_auto_detect) | ^ textfile.c:3968:18: warning: passing arguments to 'set_quote_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3968 | set_quote_type (default_quote_type); | ^ textfile.c:3970:18: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3970 | set_quote_style (preselect_quote_style); | ^ textfile.c:3978:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3978 | status_msg ("New file"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:3988:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3988 | status_file ("Accessing ", file); | ^ textfile.c:4022:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4022 | error ("Cannot edit char/block device file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:4028:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4028 | status_file ("New file ", file); | ^ textfile.c:4069:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4069 | error2 ("Cannot open: " /*, file */, serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:4083:24: warning: passing arguments to 'configure_preferences' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4083 | configure_preferences (OPEN); /* restore command line options */ | ^ textfile.c:4093:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4093 | (void) set_text_encoding (default_text_encoding, ' ', "load: def"); | ^ textfile.c:4105:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4105 | displaymenuline (False); | ^ textfile.c:4131:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4131 | raw_mode (False); | ^ textfile.c:4133:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4133 | set_cursor (0, YMAX); | ^ textfile.c:4141:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4141 | raw_mode (True); | ^ textfile.c:4185:13: warning: passing arguments to 'wait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4185 | w = wait (& status); | ^ textfile.c:4195:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4195 | raw_mode (True); | ^ textfile.c:4202:49: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4202 | status_fmt ("Filter wait error: ", serrorof (waiterr)); | ^ textfile.c:4202:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4202 | status_fmt ("Filter wait error: ", serrorof (waiterr)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4206:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4206 | status_fmt2 (filter_read, ": Failed to start filter"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4210:44: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4210 | status_fmt ("Filter dumped: ", dec_out (status & 0x7F)); | ^ textfile.c:4210:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4210 | status_fmt ("Filter dumped: ", dec_out (status & 0x7F)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4214:45: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4214 | status_fmt ("Filter aborted: ", dec_out (status & 0x7F)); | ^ textfile.c:4214:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4214 | status_fmt ("Filter aborted: ", dec_out (status & 0x7F)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4218:44: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4218 | status_fmt ("Filter error: ", serrorof (status >> 8)); | ^ textfile.c:4218:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4218 | status_fmt ("Filter error: ", serrorof (status >> 8)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4226:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4226 | status_file ("Reading ", file_name); | ^ textfile.c:4228:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4228 | status_file ("Reading ", file); | ^ textfile.c:4253:27: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4253 | line = line_insert_after (line, "\n", 1, lineend_NONE); | ^ textfile.c:4259:11: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4259 | debuglog ("closing", "loaded file", ""); | ^ textfile.c:4287:30: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4287 | line = line_insert_after (line, "\n", 1, default_lineend); | ^ textfile.c:4300:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4300 | displaymenuline (True); | ^ textfile.c:4309:27: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4309 | line = line_insert_after (tail->prev, "\n", -1, lineend_NONE); | ^ textfile.c:4326:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4326 | fstatus ("Loaded", nr_of_bytes, nr_of_chars); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ textfile.c:4334:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4334 | status_fmt ("Reading failed (buffer incomplete): ", serror ()); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4336:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4336 | status_fmt ("Reading failed (could not load): ", serror ()); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4347:9: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4347 | reset (header->next, 0); /* Initialize pointers */ | ^ textfile.c:4348:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4348 | move_to (0, 0); | ^ textfile.c:4353:29: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4353 | LINE * open_line = proceed (header->next, open_linum - 1); | ^ textfile.c:4357:28: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4357 | move_to (0, find_y_w_o_RD (open_line)); | ^ textfile.c:4357:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4357 | move_to (0, find_y_w_o_RD (open_line)); | ^ textfile.c:4370:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4370 | move_address (prev_cpoi, y); | ^ textfile.c:4376:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4376 | move_address (cpoi, y); | ^ textfile.c:4380:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4380 | display (0, top_line, last_y, 0); | ^ textfile.c:4384:4: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4384 | fstatus ("Loaded", nr_of_bytes, nr_of_chars); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ textfile.c:4386:4: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4386 | fstatus ("Loaded", nr_of_bytes, -1L); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ textfile.c:4389:9: warning: passing arguments to 'mark_n' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4389 | mark_n (0); | ^ textfile.c:4391:10: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4391 | display (0, top_line, last_y, 0); | ^ textfile.c:4392:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4392 | move_to (0, 0); | ^ textfile.c:3908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3908 | load_file_position (file, aux, from_pipe, with_display, to_open_linum, to_open_pos) | ^ textfile.c:4417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4417 | load_file (file, aux, from_pipe, with_display) | ^ textfile.c:4432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4432 | load_wild_file (file, from_pipe, with_display) | ^ In file included from textfile.c:31: ./textfile.h:28: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] 28 | extern void load_wild_file _((char * file, FLAG from_pipe, FLAG with_display)); | ^ textfile.c:4468:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4468 | status_fmt ("Warning: New file appeared on disk", hint); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4470:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4470 | status_fmt ("Warning: File was replaced on disk", hint); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4472:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4472 | status_fmt ("Warning: File was modified meanwhile", hint); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4495:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4495 | status_file ("Checking ", name); | ^ textfile.c:4513:22: warning: passing arguments to 'status2_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4513 | c = status2_prompt ("yn", name [0] ? name : "[unknown file]", | ^ textfile.c:4515:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4515 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:4485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4485 | checkoverwrite (name) | ^ In file included from textfile.c:31: ./textfile.h:8: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] 8 | extern FLAG checkoverwrite _((char *)); | ^ textfile.c:4539:20: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4539 | if (get_filename ("Enter new file name:", file, False) == ERRORS) { | ^ textfile.c:4566:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4566 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:4596:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4596 | status_fmt2 ("", msg); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4589 | msg_write_error (op) | ^ textfile.c:4603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4603 | flush_filebuf (fd) | ^ In file included from textfile.c:31: ./textfile.h:48: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] 48 | extern int flush_filebuf _((int fd)); | ^ textfile.c:4651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4651 | writechar (fd, c) | ^ In file included from textfile.c:31: ./textfile.h:50:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | extern int writechar _((int fd, char)); | ^ textfile.c:4668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4668 | writeucs (fd, c) | ^ textfile.c:4710:18: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4710 | c = encodedchar (c); | ^ textfile.c:4701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4701 | writelechar (fd, c, handle_utf16) | ^ textfile.c:4723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4723 | write_lineend (fd, return_type, handle_utf16) | ^ In file included from textfile.c:31: ./textfile.h:51:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | extern int write_lineend _((int fd, lineend_type return_type, FLAG handle_utf16)); | ^ textfile.c:4872:21: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4872 | c = encodedchar (c); | ^ textfile.c:4834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4834 | write_line (fd, text, return_type, handle_utf16) | ^ textfile.c:4961:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4961 | status_file ("Flushing ", fn); | ^ textfile.c:4974:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4974 | status_file ("Closing ", fn); | ^ textfile.c:4914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4914 | write_file (fd, fn) | ^ textfile.c:5039:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5039 | status_file ("Copying to backup file ", backup_name); | ^ textfile.c:5040:23: warning: passing arguments to 'copyfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5040 | backup_ok = copyfile (fn, backup_name); | ^ textfile.c:5043:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5043 | error ("Could not copy to backup file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5092:20: warning: passing arguments to 'progcallpp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5092 | (void) progcallpp (NIL_PTR, -1, (char * *) 0, | ^ textfile.c:5029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5029 | do_backup (fn) | ^ In file included from textfile.c:31: ./textfile.h:9: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] 9 | extern FLAG do_backup _((char *)); | ^ textfile.c:5125:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5125 | status_line ("Writing ", "to standard output"); | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:5129:14: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5129 | raw_mode (False); | ^ textfile.c:5130:16: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5130 | set_cursor (0, YMAX); | ^ textfile.c:5136:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5136 | raw_mode (True); | ^ textfile.c:5150:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5150 | fstatus ("(Write not necessary)", -1L, -1L); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ textfile.c:5153:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5153 | status_msg ("Write not necessary."); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:5168:21: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5168 | ret = get_filename ("Saving edited text; Enter file name:", file_name2, False); | ^ textfile.c:5194:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5194 | error ("Not writing to char/block device file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5217:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5217 | error ("Not writing to char/block device file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5227:33: warning: passing arguments to 'status2_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5227 | character c = status2_prompt ("yn", file_name, | ^ textfile.c:5234:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5234 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5265:17: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5265 | status_file ("Opening to write ", file_name); | ^ textfile.c:5290:19: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5290 | bn = getbasename (dir_name); | ^ textfile.c:5306:65: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5306 | error2 ("Trying to enable directory access after: ", serrorof (open_errno)); | ^ textfile.c:5306:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5306 | error2 ("Trying to enable directory access after: ", serrorof (open_errno)); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:5311:41: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5311 | error2 ("Failed (cd ...): ", dec_out (sysres)); | ^ textfile.c:5311:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5311 | error2 ("Failed (cd ...): ", dec_out (sysres)); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:5323:74: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5323 | status_fmt ("File not accessible (retry or Save As...): ", serrorof (open_errno)); | ^ textfile.c:5323:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5323 | status_fmt ("File not accessible (retry or Save As...): ", serrorof (open_errno)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5325:72: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5325 | status_fmt ("File not writable (retry or Save As...): ", serrorof (open_errno)); | ^ textfile.c:5325:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5325 | status_fmt ("File not writable (retry or Save As...): ", serrorof (open_errno)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5328:71: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5328 | status_fmt ("Cannot create or write (try Save As...): ", serrorof (open_errno)); | ^ textfile.c:5328:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5328 | status_fmt ("Cannot create or write (try Save As...): ", serrorof (open_errno)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5347:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5347 | error2 ("Cannot create filter pipe: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:5351:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5351 | raw_mode (False); | ^ textfile.c:5353:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5353 | set_cursor (0, YMAX); | ^ textfile.c:5358:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5358 | raw_mode (True); | ^ textfile.c:5359:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5359 | error2 ("Cannot fork filter: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:5402:13: warning: passing arguments to 'wait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5402 | w = wait (& status); | ^ textfile.c:5412:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5412 | raw_mode (True); | ^ textfile.c:5413:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5413 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5418:49: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5418 | status_fmt ("Filter wait error: ", serrorof (waiterr)); | ^ textfile.c:5418:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5418 | status_fmt ("Filter wait error: ", serrorof (waiterr)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5421:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5421 | status_fmt2 (filter_write, ": Failed to start filter"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5424:44: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5424 | status_fmt ("Filter dumped: ", dec_out (status & 0x7F)); | ^ textfile.c:5424:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5424 | status_fmt ("Filter dumped: ", dec_out (status & 0x7F)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5427:45: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5427 | status_fmt ("Filter aborted: ", dec_out (status & 0x7F)); | ^ textfile.c:5427:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5427 | status_fmt ("Filter aborted: ", dec_out (status & 0x7F)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5430:44: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5430 | status_fmt ("Filter error: ", serrorof (status >> 8)); | ^ textfile.c:5430:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5430 | status_fmt ("Filter error: ", serrorof (status >> 8)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5436:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5436 | status_file ("Writing ", file_name); | ^ textfile.c:5438:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5438 | status_file ("Written ", file_name); | ^ textfile.c:5463:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5463 | fstatus ("Wrote", bytes_written, chars_written); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ textfile.c:5116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5116 | write_text_pos (force_write, force_savepos, keep_screenmode) | ^ textfile.c:5487:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5487 | raw_mode (True); | ^ textfile.c:5497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5497 | save_text_load_file (fn) | ^ In file included from textfile.c:31: ./textfile.h:30:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | extern int save_text_load_file _((char * filename)); | ^ textfile.c:5549:22: warning: passing arguments to 'status2_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5549 | c = status2_prompt (do_recover ? "ynr" : "yn", | ^ textfile.c:5556:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5556 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5543 | ask_save_recover_keepscreenmode (do_recover, keep_screenmode) | ^ textfile.c:5613:20: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5613 | if (get_filename (prompt, new_file, False) == ERRORS) { | ^ textfile.c:5602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5602 | edit_file (prompt, vomode) | ^ textfile.c:5631:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5631 | error ("No recovery file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5638:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5638 | status_fmt2 ("", "Aborted file recovery"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5647:21: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5647 | (void) delete_file (rn); | ^ textfile.c:5690:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5690 | status_fmt2 ("", "File is still view-only because it is locked; Unlock from File menu"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5693:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5693 | status_fmt2 ("", "File is still view-only after read error"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5708:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5708 | error ("Cannot view only - already modified"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5743:14: warning: passing arguments to 'copy_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5743 | copy_string (save_file_name, file_name); | ^ textfile.c:5757:14: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5757 | search_for (searchstring, FORWARD, True); | ^ textfile.c:5723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5723 | view_help (helpfile, item) | ^ In file included from textfile.c:31: ./textfile.h:26: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] 26 | extern void view_help _((char * helpfile, char * item)); | ^ textfile.c:5793:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5793 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5794:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5794 | set_cursor (0, YMAX); | ^ textfile.c:5795:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5795 | putchar ('\n'); /* purpose unclear, causes visual distraction */ | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ textfile.c:5806:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5806 | raw_mode (False); | ^ textfile.c:5807:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5807 | set_cursor (0, YMAX); | ^ textfile.c:5811:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5811 | debuglog (0, 0, "close"); | ^ textfile.c:5849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5849 | filelist_get (i) | ^ In file included from textfile.c:31: ./textfile.h:32: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] 32 | extern char * filelist_get _((int i)); | ^ textfile.c:5869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5869 | filelist_set_coord (line, left, right) | ^ In file included from textfile.c:31: ./textfile.h:33: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] 33 | extern void filelist_set_coord _((short line, int left, int right)); | ^ textfile.c:5885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5885 | filelist_search (line, col) | ^ In file included from textfile.c:31: ./textfile.h:34:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | extern char * filelist_search _((short line, int col)); | ^ textfile.c:5924:18: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5924 | * flpoi = alloc (sizeof (struct fileentry)); | ^ textfile.c:5905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5905 | filelist_append (flpoi, fn, allowdups, versionbase, prevfl) | ^ textfile.c:5939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5939 | filelist_delete_next (flpoi, fn) | ^ textfile.c:5965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5965 | filelist_next (fl, fn) | ^ textfile.c:5987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5987 | filelist_prev (fl, fn) | ^ textfile.c:6033:23: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6033 | afterver = scan_int (suffix, & ver); | ^ textfile.c:6008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6008 | backup_suffix (fn) | ^ textfile.c:6048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6048 | filelist_add (fn, allowdups) | ^ In file included from textfile.c:31: ./textfile.h:31: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] 31 | extern void filelist_add _((char * fn, FLAG allowdups)); | ^ textfile.c:6078:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6078 | error ("No files opened"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6083:20: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6083 | filemenu = alloc (filelist_count () * sizeof (menuitemtype)); | ^ textfile.c:6085:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6085 | error ("Cannot allocate memory for file menu"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6090:16: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6090 | fill_menuitem (& filemenu [fi ++], fl->fn, NIL_PTR); | ^ textfile.c:6094:19: warning: passing arguments to 'popup_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6094 | fi = popup_menu (filemenu, filelist_count (), 0, 4, "Switch to file", True, False, "*"); | ^ textfile.c:6171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6171 | edit_this_file (fn) | ^ textfile.c:6203:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6203 | error ("Already at last file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6220:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6220 | error ("Already at first file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6233:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6233 | error ("No such file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6225 | edit_nth_file (n) | ^ In file included from textfile.c:31: ./textfile.h:36: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] 36 | extern void edit_nth_file _((int)); | ^ textfile.c:6297:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6297 | error2 ("Identifier not found in tags file: ", idf); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:6303:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6303 | error ("No tags file present; apply the ctags command to your source files"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6244 | get_tagline (idf, filename, search) | ^ textfile.c:6320:6: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6320 | if (get_string ("Enter identifier (to locate definition):", idf_buf, True, "") != FINE) { | ^ ./mined.h:1171:14: note: expanded from macro 'get_string' 1171 | bottom_line (True, (str1), NIL_PTR, (str2), fl, term_chars) | ^ textfile.c:6355:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6355 | error ("No include file name"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6360:14: warning: passing arguments to 'get_idf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6360 | if (get_idf (idf_buf, cur_text, cur_line->text) == ERRORS) { | ^ textfile.c:6387:18: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6387 | (void) scan_int (search, & lineno); | ^ textfile.c:6401:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6401 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6402:17: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6402 | move_y (find_y (line)); | ^ textfile.c:6402:9: warning: passing arguments to 'move_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6402 | move_y (find_y (line)); | ^ textfile.c:6404:13: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6404 | search_for (search, FORWARD, False); | ^ textfile.c:6430:23: warning: passing arguments to 'systemcall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6430 | sysres = systemcall (NIL_PTR, syscommand, 1); | ^ textfile.c:6433:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6433 | error (err); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ 401 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c mousemen.c -o ../bin/FreeBSD.amd64/mousemen.o In file included from mousemen.c:8: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from mousemen.c:8: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from mousemen.c:8: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from mousemen.c:8: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from mousemen.c:8: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from mousemen.c:8: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from mousemen.c:8: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from mousemen.c:8: ./mined.h:242: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] 242 | extern int strcmp (); | ^ mousemen.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | separator (item, ii) | ^ mousemen.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | dummyfunc (item, ii) | ^ mousemen.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 | dummyflagoff (item, ii) | ^ mousemen.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 | dummyflagon (item, ii) | ^ mousemen.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | fill_menuitem (item, s1, s2) | ^ In file included from mousemen.c:8: ./mined.h:1001: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] 1001 | extern void fill_menuitem _((menuitemtype * item, char * s1, char * s2)); | ^ mousemen.c:215:23: warning: passing arguments to 'advance_utf8_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | Do advance_utf8_scr (& string, & count, start); | ^ mousemen.c:207:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | utf8_col_count (string) | ^ mousemen.c:270:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | select_editmode (item, ii) | ^ mousemen.c:287:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | editorviewon (item, ii) | ^ mousemen.c:306:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | select_buffermode (item, ii) | ^ mousemen.c:327:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | pastebuf_utf8on (item, ii) | ^ mousemen.c:344:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | visselect_keeponsearch_on (item, ii) | ^ mousemen.c:361:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | visselect_autocopy_on (item, ii) | ^ mousemen.c:479:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | overwriteorappendon (item, ii) | ^ mousemen.c:487:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | rectangularpasteon (item, ii) | ^ mousemen.c:514:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | autoindenton (item, ii) | ^ mousemen.c:532:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | autonumberon (item, ii) | ^ mousemen.c:601:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | tabexpansionon (item, ii) | ^ mousemen.c:610:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | select_tabsize (item, ii) | ^ mousemen.c:619:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | tabsizeon (item, ii) | ^ mousemen.c:637:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | select_justify (item, ii) | ^ mousemen.c:662:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | justifymodeon (item, ii) | ^ mousemen.c:683:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | select_paragraph (item, ii) | ^ mousemen.c:701:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | paragraphmodeon (item, ii) | ^ mousemen.c:719:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | bidion (item, ii) | ^ mousemen.c:736:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | (void) set_text_encoding (new_text_encoding, ' ', "men: change_encoding"); | ^ mousemen.c:730:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | change_encoding (new_text_encoding) | ^ In file included from mousemen.c:8: ./mined.h:1088: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] 1088 | extern void change_encoding _((char * new_text_encoding)); | ^ mousemen.c:749:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | Then error ("Text encoding not switchable when editing UTF-16 file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mousemen.c:754:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | Then error ("Text encoding not switchable when editing EBCDIC file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mousemen.c:785:23: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | If set_text_encoding (prev_text_encoding, ' ', "men: toggle_encoding") | ^ mousemen.c:792:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | displaymenuline (True); | ^ mousemen.c:794:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | move_address (curpos, y); | ^ mousemen.c:796:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | move_to (x, y); | ^ mousemen.c:822:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | Then error ("Text encoding not switchable when editing UTF-16 file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mousemen.c:827:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | Then error ("Text encoding not switchable when editing EBCDIC file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mousemen.c:832:23: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | If set_text_encoding (item->hopitemname, ' ', "men: select_encoding") | ^ mousemen.c:852:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | move_address (curpos, y); | ^ mousemen.c:854:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | move_to (x, y); | ^ mousemen.c:855:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | Else error ("Selected encoding not supported in this version"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mousemen.c:801:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | select_encoding (item, ii) | ^ mousemen.c:882:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | encodingon (item, ii) | ^ mousemen.c:890:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | kbemulon (item, ii) | ^ mousemen.c:898:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | kpmodeon (item, ii) | ^ mousemen.c:907:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | toggle_sort_dirs_first (item, ii) | ^ mousemen.c:915:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | sortdirsfirston (item, ii) | ^ mousemen.c:923:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | set_sort_by (item, ii) | ^ mousemen.c:931:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | sortbyon (item, ii) | ^ mousemen.c:950:20: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | displaymenuline (True); | ^ mousemen.c:952:17: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | move_address (curpos, y); | ^ mousemen.c:956:8: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | Then error ("Terminal cannot display combined characters"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mousemen.c:958:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | Else error ("Combining display mode not applicable to current encoding"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mousemen.c:979:18: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | move_address (curpos, y); | ^ mousemen.c:982:8: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | Then error ("Terminal cannot display combined characters"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mousemen.c:984:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | Else error ("Combining display mode not applicable to current encoding"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mousemen.c:963:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | select_combining (item, ii) | ^ mousemen.c:1001:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | comborsepon (item, ii) | ^ mousemen.c:1013:25: warning: passing arguments to 'quote_mark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | Then return quote_mark (quote_type, 0); | ^ mousemen.c:1026:30: warning: passing arguments to 'quote_mark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | Then quotemark = quote_mark (quote_type, 0); | ^ mousemen.c:1027:13: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | utf8_info (quotemark, & utfcount, & unichar); | ^ mousemen.c:1028:18: warning: passing arguments to 'uniscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | If uniscrwidth (unichar, quotemark, quotemark) == 2 | ^ mousemen.c:1032:17: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | advance_utf8 (& quotemark); | ^ mousemen.c:1033:14: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | utf8_info (quotemark, & utfcount, & unichar); | ^ mousemen.c:1034:19: warning: passing arguments to 'uniscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | If uniscrwidth (unichar, quotemark, quotemark) == 2 | ^ mousemen.c:1052:23: warning: passing arguments to 'update_syntax_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | update_syntax_state (header->next); | ^ mousemen.c:1071:18: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | Then status_uni ("Displaying small letters as VT100 graphics/line drawing - ESC . to cancel"); | ^ mousemen.c:1095:17: warning: passing arguments to 'setKEYMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | If ! setKEYMAP (tag) | ^ mousemen.c:1096:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | Then error ("Selected input method not configured"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mousemen.c:1078:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | select_keymap_entry (item, ii) | ^ mousemen.c:1101:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | keymapon (item, ii) | ^ mousemen.c:1115:17: warning: passing arguments to 'set_quote_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | set_quote_type (ii); | ^ mousemen.c:1110:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | select_quote_type (item, ii) | ^ mousemen.c:1123:17: warning: passing arguments to 'set_quote_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | set_quote_type (prev); | ^ mousemen.c:1129:23: warning: passing arguments to 'handle_locale_quotes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | handle_locale_quotes (NIL_PTR, False); | ^ mousemen.c:1133:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | quoteon (item, ii) | ^ mousemen.c:1423:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1423 | infoon_file (item, ii) | ^ mousemen.c:1431:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | infoon_char (item, ii) | ^ mousemen.c:1439:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1439 | infoon_script (item, ii) | ^ mousemen.c:1447:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | infoon_charname (item, ii) | ^ mousemen.c:1455:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | infoon_namedseq (item, ii) | ^ mousemen.c:1463:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | infoon_decomposition (item, ii) | ^ mousemen.c:1471:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1471 | infoon_mnemos (item, ii) | ^ mousemen.c:1479:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1479 | infoon_Han (item, ii) | ^ mousemen.c:1487:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | infoon_Mandarin (item, ii) | ^ mousemen.c:1495:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1495 | infoon_Cantonese (item, ii) | ^ mousemen.c:1503:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | infoon_Japanese (item, ii) | ^ mousemen.c:1511:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | infoon_Sino_Japanese (item, ii) | ^ mousemen.c:1519:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | infoon_Hangul (item, ii) | ^ mousemen.c:1527:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | infoon_Korean (item, ii) | ^ mousemen.c:1535:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1535 | infoon_Vietnamese (item, ii) | ^ mousemen.c:1543:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1543 | infoon_HanyuPinlu (item, ii) | ^ mousemen.c:1551:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1551 | infoon_HanyuPinyin (item, ii) | ^ mousemen.c:1559:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1559 | infoon_XHCHanyuPinyin (item, ii) | ^ mousemen.c:1567:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1567 | infoon_TGHZ (item, ii) | ^ mousemen.c:1575:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1575 | infoon_Tang (item, ii) | ^ mousemen.c:1583:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | infoon_Nushu (item, ii) | ^ mousemen.c:1591:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1591 | infoon_descr_short (item, ii) | ^ mousemen.c:1599:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1599 | infoon_descr_full (item, ii) | ^ In file included from mousemen.c:1899: ./charesub.t:6:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | onsubitem_more_NE_Eurasian (item, i) | ^ ./charesub.t:27:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | onsubmenu_more_NE_Eurasian (item, i) | ^ ./charesub.t:49:20: warning: passing arguments to 'popup_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | (void) popup_menu (submenu_more_NE_Eurasian, arrlen (submenu_more_NE_Eurasian), column, line, title_more_NE_Eurasian, True, False, NIL_PTR); | ^ ./charesub.t:42:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | opensubmenu_more_NE_Eurasian (menu, i) | ^ ./charesub.t:57:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | onsubitem_Greek_Semitic (item, i) | ^ ./charesub.t:75:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | onsubmenu_Greek_Semitic (item, i) | ^ ./charesub.t:97:20: warning: passing arguments to 'popup_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | (void) popup_menu (submenu_Greek_Semitic, arrlen (submenu_Greek_Semitic), column, line, title_Greek_Semitic, True, False, NIL_PTR); | ^ ./charesub.t:90:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | opensubmenu_Greek_Semitic (menu, i) | ^ ./charesub.t:105:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | onsubitem_more_Latin (item, i) | ^ ./charesub.t:131:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | onsubmenu_more_Latin (item, i) | ^ ./charesub.t:153:20: warning: passing arguments to 'popup_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | (void) popup_menu (submenu_more_Latin, arrlen (submenu_more_Latin), column, line, title_more_Latin, True, False, NIL_PTR); | ^ ./charesub.t:146:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | opensubmenu_more_Latin (menu, i) | ^ mousemen.c:2052:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2052 | spacing_quote_type (qt) | ^ In file included from mousemen.c:8: ./mined.h:1025: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] 1025 | extern FLAG spacing_quote_type _((int qt)); | ^ mousemen.c:2072:16: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2072 | advance_utf8 (& q); | ^ mousemen.c:2063:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2063 | quote_mark (i, n) | ^ In file included from mousemen.c:8: ./mined.h:1026: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] 1026 | extern char * quote_mark _((int, quoteposition_type)); | ^ mousemen.c:2100:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2100 | status_uni (q_buf); | ^ mousemen.c:2106:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2106 | lookup_quotes (q) | ^ In file included from mousemen.c:8: ./mined.h:1028: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] 1028 | extern int lookup_quotes _((char *)); | ^ mousemen.c:2127:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2127 | lookup_menuitem (menu, len, hopitem) | ^ mousemen.c:2143:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2143 | lookup_Keymap_menuitem (hopitem) | ^ In file included from mousemen.c:8: ./mined.h:1029:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1029 | extern menuitemtype * lookup_Keymap_menuitem _((char * hopitem)); | ^ mousemen.c:2197:14: warning: passing arguments to 'action_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2197 | action_menu (Flagmenu [i].menu, | ^ mousemen.c:2194:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2194 | flag_menu (i) | ^ mousemen.c:2227:17: warning: passing arguments to 'openmenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2227 | Then openmenu (i); | ^ mousemen.c:2259:16: warning: passing arguments to 'openmenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2259 | Then openmenu (0); | ^ mousemen.c:2205:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2205 | open_next_menu (current_menu) | ^ mousemen.c:2289:17: warning: passing arguments to 'openmenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2289 | Then openmenu (i); | ^ mousemen.c:2314:16: warning: passing arguments to 'openmenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2314 | Then openmenu (arrlen (Pulldownmenu) - 1); | ^ mousemen.c:2267:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2267 | open_prev_menu (current_menu) | ^ mousemen.c:2346:17: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2346 | Then putescape ("\033[42m"); | ^ mousemen.c:2352:19: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2352 | Then putescape ("\033[100;48;5;81;48;5;238m"); | ^ mousemen.c:2354:19: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2354 | Then putescape ("\033[44m"); | ^ mousemen.c:2360:15: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2360 | putescape ("\033[43;48;5;77;48;5;230m"); | ^ mousemen.c:2363:19: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2363 | Then putescape ("\033[43m"); | ^ mousemen.c:2371:19: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2371 | Then putescape ("\033[33m"); | ^ mousemen.c:2372:19: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2372 | Else putescape ("\033[34m"); | ^ mousemen.c:2376:19: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2376 | Then putescape ("\033[34m"); | ^ mousemen.c:2395:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2395 | putstring (" "); | ^ mousemen.c:2399:20: warning: passing arguments to 'putblockchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2399 | Then putblockchar (c); | ^ mousemen.c:2401:16: warning: passing arguments to 'putblockchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2401 | putblockchar (c); | ^ mousemen.c:2390:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2390 | putblock (c) | ^ mousemen.c:2501:7: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2501 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:2510:6: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2510 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:2512:9: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2512 | Else putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:2541:4: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2541 | putchar (* spoi ++); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:2553:8: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2553 | Then putchar (* spoi ++); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:2561:8: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2561 | Then putchar (* spoi ++); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:2572:14: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2572 | utf8_info (spoi, & utfcount, & unichar); | ^ mousemen.c:2583:27: warning: passing arguments to 'term_iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2583 | && term_iscombining (unichar) | ^ mousemen.c:2584:19: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2584 | Then If iswide (unichar) | ^ mousemen.c:2585:22: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2585 | Then put_unichar (0x3000); | ^ mousemen.c:2586:22: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2586 | Else put_unichar (' '); | ^ mousemen.c:2589:21: warning: passing arguments to 'advance_utf8_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2589 | advance_utf8_scr (& spoi, & i, s); | ^ mousemen.c:2593:18: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2593 | utf8_info (spoi, & utfcount, & unichar2); | ^ mousemen.c:2600:24: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2600 | Else advance_utf8 (& spoi); | ^ mousemen.c:2601:35: warning: passing arguments to 'ligature_lam_alef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2601 | unichar = ligature_lam_alef (unichar2); | ^ mousemen.c:2606:19: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2606 | put_unichar (0xFEDD); /* isolated LAM */ | ^ mousemen.c:2609:23: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2609 | Else put_unichar (unichar); | ^ mousemen.c:2612:19: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2612 | advance_utf8 (& spoi); | ^ mousemen.c:2619:17: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2619 | put_unichar (unichar); | ^ mousemen.c:2621:21: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2621 | Else put_unichar (unichar); | ^ mousemen.c:2627:61: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2627 | If ((cjk_term || mapped_term) && no_char (mappedtermchar (unichar))) | ^ mousemen.c:2627:45: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2627 | If ((cjk_term || mapped_term) && no_char (mappedtermchar (unichar))) | ^ mousemen.c:2641:25: warning: passing arguments to 'disp_selected' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2641 | Else disp_selected (True, False); | ^ mousemen.c:2680:23: warning: passing arguments to 'put_submenu_marker' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2680 | put_submenu_marker (False); | ^ mousemen.c:2683:27: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2683 | put_unichar (utf8value (extratag)); | ^ mousemen.c:2683:16: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2683 | put_unichar (utf8value (extratag)); | ^ mousemen.c:2424:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2424 | putnstr_tag_mark (s, s2, extratag, l, mark_item, fill_line, selected) | ^ mousemen.c:2696:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2696 | putnstr_mark (s, l, mark_item, fill_line, selected) | ^ mousemen.c:2708:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2708 | putnstr (s, l) | ^ mousemen.c:2717:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2717 | putnstr2 (s, s2, l) | ^ mousemen.c:2727:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2727 | putnstr_tag (s, extratag, l, selected) | ^ mousemen.c:2738:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2738 | putnstr_fill (s, l) | ^ mousemen.c:2762:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2762 | set_cursor (x, y - 1); | ^ mousemen.c:2786:5: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2786 | putchar ('x'); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:2788:15: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2788 | set_cursor (x + horizontal_bar_width + menutopmargin, y - 1); | ^ mousemen.c:2755:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2755 | putborder_top (x, y, width, title, scrolled) | ^ mousemen.c:2855:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2855 | set_cursor (x, y - 1); | ^ mousemen.c:2849:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2849 | putborder_middle (x, y, width, subtitle) | ^ mousemen.c:2929:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2929 | set_cursor (x, y - 1); | ^ mousemen.c:2923:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2923 | putborder_bottom (x, y, width, scrolled) | ^ mousemen.c:2981:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2981 | set_cursor (x, y - 1); | ^ mousemen.c:3004:5: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3004 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3006:15: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3006 | set_cursor (x + horizontal_bar_width + menumargin, y - 1); | ^ mousemen.c:2973:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2973 | update_title (x, y, width, title, text, scrolled) | ^ mousemen.c:3081:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3081 | width_of_menu (menu, menulen, startcol, isflagmenu, minwidth) | ^ mousemen.c:3192:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3192 | set_cursor (meni * pulldownmenu_width, -1); | ^ mousemen.c:3193:2: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3193 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3189:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3189 | displaymenuheader (meni) | ^ mousemen.c:3223:18: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3223 | Then set_cursor (starti * pulldownmenu_width, -1); | ^ mousemen.c:3204:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3204 | displaymenuheaders_from (firsti) | ^ mousemen.c:3247:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3247 | set_cursor (gappos, -1); | ^ mousemen.c:3250:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3250 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3270:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3270 | set_cursor (flags_pos, -1); | ^ mousemen.c:3316:14: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3316 | utf8_info (flags, & utflen, & unichar); | ^ mousemen.c:3319:35: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3319 | && no_char (mappedtermchar (unichar) | ^ mousemen.c:3319:19: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3319 | && no_char (mappedtermchar (unichar) | ^ mousemen.c:3322:10: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3322 | Then putchar ('<'); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3324:10: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3324 | Then putchar ('>'); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3326:10: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3326 | Then putchar ('|'); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3328:10: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3328 | Then putchar (';'); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3329:22: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3329 | Else put_unichar (unichar); | ^ mousemen.c:3331:21: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3331 | Else put_unichar (unichar); | ^ mousemen.c:3334:8: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3334 | Then putchar (* flags); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3360:14: warning: passing arguments to 'disp_colour' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3360 | disp_colour (5, UNSURE); /* 5 magenta (3 yellow) ((0 bold black)) */ | ^ mousemen.c:3395:20: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3395 | Then put_unichar ('['); | ^ mousemen.c:3397:20: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3397 | Then put_unichar ('|'); | ^ mousemen.c:3398:20: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3398 | Else put_unichar (']'); | ^ mousemen.c:3345:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3345 | putfilelistborder (margin, rest, inifini) | ^ mousemen.c:3434:16: warning: passing arguments to 'disp_colour' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3434 | disp_colour (5, UNSURE); | ^ mousemen.c:3471:28: warning: passing arguments to 'filelist_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3471 | char * fn = filelist_get (fi); | ^ mousemen.c:3492:22: warning: passing arguments to 'filelist_set_coord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3492 | filelist_set_coord (line, col + margin, col + margin + width); | ^ mousemen.c:3495:19: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3495 | Then set_cursor (col, line); | ^ mousemen.c:3447:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3447 | displayfilelist (show) | ^ mousemen.c:3535:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3535 | displaymenuline (show_filelist) | ^ In file included from mousemen.c:8: ./mined.h:1008: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] 1008 | extern void displaymenuline _((FLAG show_filelist)); | ^ mousemen.c:3576:18: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3576 | Then set_cursor (column, line - 1); | ^ mousemen.c:3590:21: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3590 | Step advance_char (& cp) | ^ mousemen.c:3591:40: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3591 | Do If is_right_to_left (unicodevalue (cp)) | ^ mousemen.c:3591:26: warning: passing arguments to 'is_right_to_left' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3591 | Do If is_right_to_left (unicodevalue (cp)) | ^ mousemen.c:3596:19: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3596 | Then set_cursor (0, line - 1); | ^ mousemen.c:3562:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3562 | prepare_menuline (column, line, menu_line_poi) | ^ mousemen.c:3624:18: warning: passing arguments to 'menu_mouse_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3624 | menu_mouse_mode (True); | ^ mousemen.c:3644:22: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3644 | menu_line = proceed (top_line, line - 1); | ^ mousemen.c:3674:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3674 | set_cursor (column, line + i); | ^ mousemen.c:3681:9: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3681 | Else putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3686:8: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3686 | Else putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3692:28: warning: passing arguments to 'is_directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3692 | Then (void) is_directory (item); /* resolve lazy */ | ^ mousemen.c:3694:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3694 | (* (flagfunc) item->itemon) (item, scroll + i) & 1 /* mask extra flags */ | ^ mousemen.c:3695:25: warning: passing arguments to 'is_directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3695 | Then If is_directory (item) | ^ mousemen.c:3696:29: warning: passing arguments to 'put_submenu_marker' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3696 | Then put_submenu_marker (True); | ^ mousemen.c:3702:9: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3702 | Else putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3719:9: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3719 | Else putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3726:4: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3726 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3737:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3737 | set_cursor (column + menuwidth - 2 + horizontal_bar_width, line - 1); | ^ mousemen.c:3738:18: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3738 | Else set_cursor (column, line - 1); | ^ mousemen.c:3610:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3610 | display_menu (fullmenu, menulen, menuwidth, column, line, title, isflagmenu, disp_only, minwidth, scroll, maxscroll) | ^ mousemen.c:3792:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3792 | set_cursor (column, line + i); | ^ mousemen.c:3800:22: warning: passing arguments to 'disp_selected' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3800 | Then disp_selected (True, True); | ^ mousemen.c:3804:20: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3804 | Then put_unichar (0x258E); /* ▎ LEFT ONE QUARTER BLOCK */ | ^ mousemen.c:3805:20: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3805 | Else put_unichar (0x258D); /* ▍ LEFT THREE EIGHTHS BLOCK */ | ^ mousemen.c:3810:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3810 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3816:21: warning: passing arguments to 'disp_selected' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3816 | Then disp_selected (True, False); | ^ mousemen.c:3829:27: warning: passing arguments to 'is_directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3829 | Then (void) is_directory (item); /* resolve lazy */ | ^ mousemen.c:3831:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3831 | (* (flagfunc) item->itemon) (item, scroll + i) & 1 /* mask extra flags */ | ^ mousemen.c:3832:24: warning: passing arguments to 'is_directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3832 | Then If is_directory (item) | ^ mousemen.c:3833:28: warning: passing arguments to 'put_submenu_marker' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3833 | Then put_submenu_marker (True); | ^ mousemen.c:3837:23: warning: passing arguments to 'disp_selected' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3837 | Then disp_selected (True, False); | ^ mousemen.c:3841:8: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3841 | Else putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3869:22: warning: passing arguments to 'disp_selected' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3869 | Then disp_selected (False, True); | ^ mousemen.c:3872:20: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3872 | Then put_unichar (0x258A); /* ▊ LEFT THREE QUARTERS BLOCK */ | ^ mousemen.c:3873:20: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3873 | Else put_unichar (0x258B); /* ▋ LEFT FIVE EIGHTHS BLOCK */ | ^ mousemen.c:3881:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3881 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ mousemen.c:3886:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3886 | Then clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ mousemen.c:3888:20: warning: passing arguments to 'display_Han' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3888 | Then display_Han (show_char, True); | ^ mousemen.c:3894:15: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3894 | set_cursor (column, line + i); | ^ mousemen.c:3766:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3766 | popupmenselected (scroll, menu, menu_width, selected, column, line, i, index, isflagmenu) | ^ mousemen.c:3910:31: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3910 | LINE * start_line = proceed (top_line, first_dirty_line); | ^ mousemen.c:3915:19: warning: passing arguments to 'menu_mouse_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3915 | menu_mouse_mode (False); | ^ mousemen.c:3925:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3925 | display (first_dirty_line, start_line, | ^ mousemen.c:3962:24: warning: passing arguments to 'menu_mouse_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3962 | Then menu_mouse_mode (False); | ^ mousemen.c:3995:21: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3995 | key = case_convert (key, 1); /* normalise to upper case */ | ^ mousemen.c:4022:23: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4022 | letter = utf8value (label); | ^ mousemen.c:4023:38: warning: passing arguments to 'isLetter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4023 | Dowhile letter != 0 && ! isLetter (letter) | ^ mousemen.c:4024:20: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4024 | Do advance_utf8 (& label); | ^ mousemen.c:4025:24: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4025 | letter = utf8value (label); | ^ mousemen.c:4032:21: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4032 | If case_convert (letter, 1) == key | ^ mousemen.c:4037:37: warning: passing arguments to 'isLetter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4037 | Dowhile letter != 0 && isLetter (letter) | ^ mousemen.c:4038:21: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4038 | Do advance_utf8 (& label); | ^ mousemen.c:4039:25: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4039 | letter = utf8value (label); | ^ mousemen.c:4042:39: warning: passing arguments to 'isLetter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4042 | Dowhile letter != 0 && ! isLetter (letter) | ^ mousemen.c:4043:21: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4043 | Do advance_utf8 (& label); | ^ mousemen.c:4044:25: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4044 | letter = utf8value (label); | ^ mousemen.c:3987:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3987 | select_item (menu, menulen, curitemno, key) | ^ mousemen.c:4071:21: warning: passing arguments to 'stringprefix_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4071 | If stringprefix_ (prefix, label) | ^ mousemen.c:4054:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4054 | select_file (menu, menulen, curitemno, prefix) | ^ mousemen.c:4094:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4094 | item_count (line) | ^ mousemen.c:4134:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4134 | menu_scroll (menu, menulen, delta, fullmenu, scrolloffset, maxscrolloffset, itemno) | ^ mousemen.c:4415:23: warning: passing arguments to 'menu_mouse_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4415 | Then menu_mouse_mode (False); | ^ mousemen.c:4436:26: warning: passing arguments to 'is_directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4436 | || ! is_directory (& (menu [itemno - 1]))) | ^ mousemen.c:4445:19: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4445 | Then status_uni (this_status_msg); | ^ mousemen.c:4451:35: warning: passing arguments to 'readcharacter_allbuttons' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4451 | c = readcharacter_allbuttons (is_file_chooser); | ^ mousemen.c:4454:12: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4454 | (command (c) == CTRLINS | ^ mousemen.c:4455:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4455 | || command (c) == COMPOSE | ^ mousemen.c:4456:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4456 | || command (c) == F5 | ^ mousemen.c:4457:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4457 | || command (c) == F6 | ^ mousemen.c:4458:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4458 | || command (c) == key_1 | ^ mousemen.c:4459:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4459 | || command (c) == key_2 | ^ mousemen.c:4460:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4460 | || command (c) == key_3 | ^ mousemen.c:4461:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4461 | || command (c) == key_4 | ^ mousemen.c:4462:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4462 | || command (c) == key_5 | ^ mousemen.c:4463:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4463 | || command (c) == key_6 | ^ mousemen.c:4464:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4464 | || command (c) == key_7 | ^ mousemen.c:4465:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4465 | || command (c) == key_8 | ^ mousemen.c:4466:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4466 | || command (c) == key_9 | ^ mousemen.c:4467:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4467 | || command (c) == key_0 | ^ mousemen.c:4471:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4471 | If command (c) == CTRLINS | ^ mousemen.c:4472:20: warning: passing arguments to 'CTRLGET' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4472 | Then c = CTRLGET (False); | ^ mousemen.c:4473:20: warning: passing arguments to 'CTRLGET' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4473 | Else c = CTRLGET (True); | ^ mousemen.c:4500:46: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4500 | If fullmenu != last_fullmenu && command (c) != RDwin | ^ mousemen.c:4515:17: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4515 | If command (c) == RDwin | ^ mousemen.c:4524:19: warning: passing arguments to 'menu_mouse_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4524 | menu_mouse_mode (False); | ^ mousemen.c:4613:16: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4613 | || command (c) == HOP | ^ mousemen.c:4614:16: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4614 | || command (c) == GOHOP | ^ mousemen.c:4615:17: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4615 | || (command (c) == MOUSEfunction && mouse_button == middlebutton) | ^ mousemen.c:4644:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4644 | Elsif command (c) == MOUSEfunction | ^ mousemen.c:4652:11: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4652 | command (c) == LFkey | ^ mousemen.c:4664:31: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4664 | select_index = item_count (menu [itemno - 1].itemname) - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mousemen.c:4673:11: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4673 | command (c) == RTkey | ^ mousemen.c:4678:33: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4678 | If select_index < item_count (menu [itemno - 1].itemname) - 1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mousemen.c:4695:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4695 | (command (c) == HOMEkey || command (c) == smallHOMEkey) | ^ mousemen.c:4695:40: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4695 | (command (c) == HOMEkey || command (c) == smallHOMEkey) | ^ mousemen.c:4705:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4705 | (command (c) == ENDkey || command (c) == smallENDkey) | ^ mousemen.c:4705:39: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4705 | (command (c) == ENDkey || command (c) == smallENDkey) | ^ mousemen.c:4707:30: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4707 | select_index = item_count (menu [itemno - 1].itemname) - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mousemen.c:4714:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4714 | Elsif command (c) == HOMEkey || command (c) == smallHOMEkey | ^ mousemen.c:4714:46: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4714 | Elsif command (c) == HOMEkey || command (c) == smallHOMEkey | ^ mousemen.c:4726:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4726 | Elsif command (c) == ENDkey || command (c) == smallENDkey | ^ mousemen.c:4726:45: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4726 | Elsif command (c) == ENDkey || command (c) == smallENDkey | ^ mousemen.c:4738:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4738 | Elsif command (c) == PGDNkey | ^ mousemen.c:4747:35: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4747 | Then select_index = item_count (menu [itemno - 1].itemname) - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mousemen.c:4758:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4758 | Elsif command (c) == PGUPkey | ^ mousemen.c:4767:35: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4767 | Then select_index = item_count (menu [itemno - 1].itemname) - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mousemen.c:4778:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4778 | Elsif command (c) == MOUSEfunction && (mouse_shift & control_button) && | ^ mousemen.c:4785:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4785 | Elsif command (c) == DNkey | ^ mousemen.c:4787:18: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4787 | || (command (c) == MOUSEfunction && mouse_button == wheeldown) | ^ mousemen.c:4796:36: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4796 | Then select_index = item_count (menu [itemno - 1].itemname) - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mousemen.c:4806:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4806 | Elsif command (c) == UPkey | ^ mousemen.c:4807:18: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4807 | || (command (c) == MOUSEfunction && mouse_button == wheelup) | ^ mousemen.c:4816:36: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4816 | Then select_index = item_count (menu [itemno - 1].itemname) - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mousemen.c:4826:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4826 | Elsif command (c) == MOUSEfunction | ^ mousemen.c:4833:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4833 | Elsif command (c) == MOUSEfunction | ^ mousemen.c:4862:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4862 | Elsif command (c) == MOUSEfunction | ^ mousemen.c:4887:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4887 | Elsif command (c) == MOUSEfunction | ^ mousemen.c:4894:20: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4894 | Elsif command (c) == FOCUSin | ^ mousemen.c:4900:36: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4900 | Elsif allow_keymap && command (c) == toggleKEYMAP | ^ mousemen.c:4910:39: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4910 | Elsif is_file_chooser && command (c) == DPC | ^ mousemen.c:4933:36: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4933 | || (is_file_chooser && command (c) == CTRLINS) | ^ mousemen.c:4934:36: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4934 | || (is_file_chooser && command (c) != SNL && c == FUNcmd) | ^ mousemen.c:4944:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4944 | If command (c) == CTRLINS | ^ mousemen.c:4945:21: warning: passing arguments to 'CTRLGET' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4945 | Then c = CTRLGET (False); | ^ mousemen.c:4947:21: warning: passing arguments to 'CTRLGET' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4947 | Then c = CTRLGET (True); | ^ mousemen.c:4950:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4950 | If no_char (c) | ^ mousemen.c:4953:25: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4953 | charlen = utfencode (c, utfbuf); | ^ mousemen.c:4994:28: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4994 | && (c == '\t' || command (c) == STAB) | ^ mousemen.c:4996:25: warning: passing arguments to 'is_directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4996 | || ! is_directory (& (menu [itemno - 1])) | ^ mousemen.c:5029:17: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5029 | If command (c) == MOUSEfunction | ^ mousemen.c:5036:13: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5036 | If command (c) == MOUSEfunction | ^ mousemen.c:5052:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5052 | Then (* Flagmenu [meni].toggle) (menu_xpos + startcolumn); | ^ mousemen.c:5053:20: warning: passing arguments to 'openmenuat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5053 | Else openmenuat (menu_xpos + startcolumn); | ^ mousemen.c:5073:22: warning: passing arguments to 'advance_utf8_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5073 | advance_utf8_scr (& cpoi, & scol, select); | ^ mousemen.c:5084:20: warning: passing arguments to 'menu_mouse_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5084 | menu_mouse_mode (False); | ^ mousemen.c:5087:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5087 | (* (menufunc) menu [menu_ypos].itemfu) (& menu [menu_ypos], scrolloffset + menu_ypos); | ^ mousemen.c:5092:57: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5092 | Then int on = (* (flagfunc) menu [menu_ypos].itemon) (& menu [menu_ypos], scrolloffset + menu_ypos); | ^ mousemen.c:5101:25: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5101 | (c == '\t' || command (c) == STAB) | ^ mousemen.c:5102:23: warning: passing arguments to 'menu_mouse_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5102 | Then menu_mouse_mode (False); | ^ mousemen.c:5112:12: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5112 | (command (c) == HOP | ^ mousemen.c:5113:16: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5113 | || command (c) == GOHOP | ^ mousemen.c:5114:17: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5114 | || (command (c) == MOUSEfunction && mouse_button == middlebutton) | ^ mousemen.c:5116:23: warning: passing arguments to 'menu_mouse_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5116 | Then menu_mouse_mode (False); | ^ mousemen.c:5123:25: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5123 | (c == '\n' || command (c) == SNL | ^ mousemen.c:5127:16: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5127 | || (command (c) == RTkey | ^ mousemen.c:5131:23: warning: passing arguments to 'menu_mouse_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5131 | Then menu_mouse_mode (False); | ^ mousemen.c:5147:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5147 | (* (menufunc) menu [itemno - 1].itemfu) (& menu [itemno - 1], scrolloffset + itemno - 1); | ^ mousemen.c:5152:58: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5152 | Then int on = (* (flagfunc) menu [itemno - 1].itemon) (& menu [itemno - 1], scrolloffset + itemno - 1); | ^ mousemen.c:5169:11: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5169 | command (c) == LFkey | ^ mousemen.c:5170:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5170 | || (command (c) == MOUSEfunction | ^ mousemen.c:5178:14: warning: passing arguments to 'that_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5178 | that_menu (previous_fullmenu); | ^ mousemen.c:5181:11: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5181 | command (c) == RTkey | ^ mousemen.c:5182:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5182 | || (command (c) == MOUSEfunction | ^ mousemen.c:5190:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5190 | error2 ("Internal error: ", "Menu not found"); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ mousemen.c:5198:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5198 | Then clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ mousemen.c:4275:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4275 | popup_menu (menu, menulen, column, line, title, is_flag_menu, disp_only, select_keys) | ^ In file included from mousemen.c:8: ./mined.h:1003: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] 1003 | extern int popup_menu _((menuitemtype *, int menulen, int column, int line, | ^ mousemen.c:5206:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5206 | action_menu (menu, menulen, column, line, title, is_flag_menu) | ^ mousemen.c:179: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] 179 | local void action_menu _((menuitemtype * menu, int menulen, | ^ mousemen.c:5264:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5264 | error2 ("Internal error: ", "Menu not found"); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ mousemen.c:5226:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5226 | that_menu (m) | ^ mousemen.c:182: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] 182 | local void that_menu _((menuitemtype * menu)); | ^ mousemen.c:5268:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5268 | this_menu_here (menu, menulen, menutitle) | ^ mousemen.c:5311:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5311 | Then (* Flagmenu [meni].toggle) (column); | ^ mousemen.c:5294:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5294 | openmenuat (column) | ^ In file included from mousemen.c:8: ./mined.h:1002: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] 1002 | extern void openmenuat _((int col)); | ^ mousemen.c:5335:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5335 | openmenu (i) | ^ mousemen.c:181: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] 181 | local void openmenu _((int i)); | ^ 395 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c edit.c -o ../bin/FreeBSD.amd64/edit.o In file included from edit.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from edit.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from edit.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from edit.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from edit.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from edit.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from edit.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from edit.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ edit.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | ishex (c) | ^ In file included from edit.c:6: ./mined.h:762: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] 762 | extern int ishex _((character)); | ^ edit.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | hexval (c) | ^ In file included from edit.c:6: ./mined.h:763:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 763 | extern unsigned int hexval _((character)); | ^ edit.c:94:40: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | unsigned long unichar = unicodevalue (cpoi); | ^ edit.c:101:24: warning: passing arguments to 'category' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | char * cat = category (unichar); | ^ edit.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 | idfchar (cpoi) | ^ edit.c:116:21: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | return encodedchar (code); | ^ edit.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 | charcode (code) | ^ edit.c:133:28: warning: passing arguments to 'is_bullet_or_dash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | return is_bullet_or_dash (unich); | ^ edit.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | isitemchar (unich) | ^ edit.c:160:17: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | cp = scan_int (cp, & number); | ^ edit.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | numbering (cpoi) | ^ edit.c:202:49: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | while (cpoi < s && iswhitespace (unicodevalue (cpoi))) { | ^ edit.c:202:35: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | while (cpoi < s && iswhitespace (unicodevalue (cpoi))) { | ^ edit.c:203:15: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | advance_char (& cpoi); | ^ edit.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 | onlywhitespacespacebefore (l, s) | ^ edit.c:226:36: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | while (iswhitespace (unicodevalue (cpoi))) { | ^ edit.c:226:22: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | while (iswhitespace (unicodevalue (cpoi))) { | ^ edit.c:227:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | advance_char (& cpoi); | ^ edit.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 | paragraphending (l, le) | ^ edit.c:273:16: warning: passing arguments to 'delete_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | delete_line (0); | ^ edit.c:276:20: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | displaymenuline (True); | ^ edit.c:282:22: warning: passing arguments to 'scrollbar_scroll_up' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | scrollbar_scroll_up (0); | ^ edit.c:284:13: warning: passing arguments to 'print_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | print_line (SCREENMAX, bot_line); | ^ edit.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 | forward_scroll (update) | ^ edit.c:319:12: warning: passing arguments to 'add_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | add_line (0); | ^ edit.c:321:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | set_cursor (0, - MENU); | ^ edit.c:324:24: warning: passing arguments to 'scrollbar_scroll_down' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | scrollbar_scroll_down (0); | ^ edit.c:325:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | set_cursor (0, YMAX); /* Erase very bottom line */ | ^ edit.c:328:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | displaymenuline (True); | ^ edit.c:330:13: warning: passing arguments to 'print_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | print_line (0, top_line); | ^ edit.c:332:10: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | display (0, top_line, last_y, y); | ^ edit.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | reverse_scroll (update) | ^ edit.c:349:21: warning: passing arguments to 'char_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | return char_count (line->text) - (line->return_type == lineend_NONE); | ^ edit.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | chars_in_line (line) | ^ edit.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | text_bytes_of (string) | ^ edit.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | syntax_state (prev, old, s, beg) | ^ In file included from edit.c:6: ./mined.h:668: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] 668 | extern char syntax_state _((char prev_mask, char old_mask, char * spoi, char * sbeg)); | ^ edit.c:581:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | advance_char (& lpoi); | ^ edit.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | update_syntax_state (line) | ^ In file included from edit.c:6: ./mined.h:669: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] 669 | extern void update_syntax_state _((LINE *)); | ^ edit.c:633:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | error ("Cannot allocate more memory for new line header"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:637:26: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | new_line->text = alloc (length + 1); | ^ edit.c:643:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | error ("Cannot allocate more memory for new line"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | make_line (buffer, length, return_type) | ^ edit.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | line_insert_after (line, string, len, return_type) | ^ In file included from edit.c:6: ./mined.h:694: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] 694 | extern LINE * line_insert_after _((LINE *, char *, int, lineend_type)); | ^ edit.c:721:17: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | if (length_of (textp) + text_bytes_of (string) >= maxLINElen) { | ^ edit.c:722:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | error ("Cannot insert properly: Line too long"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:739:29: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | newbuf = alloc (length_of (text_buffer) + length_of (location) + 1); | ^ edit.c:739:55: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | newbuf = alloc (length_of (text_buffer) + length_of (location) + 1); | ^ edit.c:739:18: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | newbuf = alloc (length_of (text_buffer) + length_of (location) + 1); | ^ edit.c:742:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | status_fmt2 ("Out of memory - ", "Insertion failed"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ edit.c:781:52: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | } else if (! cjk_text && ! no_char (encodedchar (0x0085))) { | ^ edit.c:781:39: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | } else if (! cjk_text && ! no_char (encodedchar (0x0085))) { | ^ edit.c:813:52: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | if (line_insert_after (line, location, length_of (location), | ^ edit.c:820:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | status_fmt2 ("Out of memory for new line - ", "Insertion failed"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ edit.c:826:15: warning: passing arguments to 'copy_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | copy_string (bufp, location); | ^ edit.c:829:13: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | free_space (line->text); | ^ edit.c:832:14: warning: passing arguments to 'copy_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | copy_string (line->text, text_buffer); | ^ edit.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | insert_text (line, location, string) | ^ In file included from edit.c:6: ./mined.h:693: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] 693 | extern int insert_text _((LINE *, char * location, char * string)); | ^ edit.c:865:14: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | free_space (line->text); | ^ edit.c:866:15: warning: passing arguments to 'free_header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | free_header (line); | ^ edit.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | line_delete (line) | ^ edit.c:911:39: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | unsigned long unichar = unicodevalue (start_textp); | ^ edit.c:912:17: warning: passing arguments to 'iscombined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | if (iscombined (unichar, start_textp, start_line->text)) { | ^ edit.c:914:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | advance_char (& cp); | ^ edit.c:915:26: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | unichar = unicodevalue (cp); | ^ edit.c:916:29: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | if (! iscombining_unichar (unichar)) { | ^ edit.c:920:18: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | precede_char (& cp, start_line->text); | ^ edit.c:921:28: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | unichar = unicodevalue (cp); | ^ edit.c:922:59: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | } while (cp != start_line->text && iscombining_unichar (unichar)); | ^ edit.c:925:22: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | } else if (iswide (unichar)) { | ^ edit.c:941:25: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | if (count + length_of (end_textp) >= maxLINElen) { | ^ edit.c:942:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | error ("Cannot delete properly: Remaining line too long"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:947:15: warning: passing arguments to 'copy_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | copy_string (bufp, (end_textp != NIL_PTR) ? end_textp : "\n"); | ^ edit.c:960:41: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | if (end_textp == NIL_PTR && length_of (start_line->text) == 1 && total_lines > 1) { | ^ edit.c:965:28: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | newbuf = alloc (length_of (text_buffer) + 1); | ^ edit.c:965:17: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | newbuf = alloc (length_of (text_buffer) + 1); | ^ edit.c:968:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | error ("No more memory after deletion"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:971:14: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | free_space (start_line->text); | ^ edit.c:973:15: warning: passing arguments to 'copy_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | copy_string (start_line->text, text_buffer); | ^ edit.c:989:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | move_address (cur_line->text + newpos_offset, y); | ^ edit.c:993:15: warning: passing arguments to 'print_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | print_line (y, start_line); | ^ edit.c:995:15: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | set_cursor (x - redraw_cols, y); | ^ edit.c:996:13: warning: passing arguments to 'put_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | put_line (y, start_line, x - redraw_cols, True, False); | ^ edit.c:999:12: warning: passing arguments to 'put_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | put_line (y, start_line, x, True, False); | ^ edit.c:1007:9: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | reset (top_line, y); | ^ edit.c:1009:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:1010:10: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | display (y, start_line, 0, y); | ^ edit.c:1011:17: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | line = proceed (start_line, SCREENMAX - y - line_cnt + 1); | ^ edit.c:1013:15: warning: passing arguments to 'delete_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | delete_line (y + 1); | ^ edit.c:1014:23: warning: passing arguments to 'scrollbar_scroll_up' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | scrollbar_scroll_up (y + 1); | ^ edit.c:1016:15: warning: passing arguments to 'print_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | print_line (SCREENMAX, line); | ^ edit.c:1021:10: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | display (y, start_line, old_last_y - y, y); | ^ edit.c:1023:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | move_to (nx, y); | ^ edit.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 | do_delete_text (start_line, start_textp, end_line, end_textp, update_screen) | ^ edit.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 | delete_text (start_line, start_textp, end_line, end_textp) | ^ In file included from edit.c:6: ./mined.h:691: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] 691 | extern int delete_text _((LINE * startl, char * start, LINE * endl, char * end)); | ^ edit.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 | delete_text_only (start_line, start_textp, end_line, end_textp) | ^ In file included from edit.c:6: ./mined.h:692: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] 692 | extern int delete_text_only _((LINE * startl, char * start, LINE * endl, char * end)); | ^ edit.c:1066:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | move_to (LINE_END, y); | ^ edit.c:1070:15: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | precede_char (& curpoi, cur_line->text); | ^ edit.c:1071:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | move_address (curpoi, y); | ^ edit.c:1085:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | move_to (LINE_END, y); | ^ edit.c:1088:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | move_to (x - 1, y); | ^ edit.c:1142:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | move_to (LINE_START, y); | ^ edit.c:1146:15: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | advance_char (& curpoi); | ^ edit.c:1147:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | move_address (curpoi, y); | ^ edit.c:1160:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | move_to (LINE_START, y); | ^ edit.c:1163:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | move_to (x + 1, y); | ^ edit.c:1211:10: warning: passing arguments to 'move_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | move_y (y); | ^ edit.c:1214:9: warning: passing arguments to 'move_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | move_y (y - 1); | ^ edit.c:1259:10: warning: passing arguments to 'move_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | move_y (y); | ^ edit.c:1262:9: warning: passing arguments to 'move_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | move_y (y + 1); | ^ edit.c:1302:10: warning: passing arguments to 'move_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | move_y (0); | ^ edit.c:1311:10: warning: passing arguments to 'move_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | move_y (last_y); | ^ edit.c:1320:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | move_to (LINE_START, y); | ^ edit.c:1342:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | move_to (LINE_END, y); | ^ edit.c:1367:38: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | if (number <= 0 || (line = proceed (header->next, number - 1)) == tail) { | ^ edit.c:1368:43: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | error2 ("Invalid line number: ", dec_out ((long) number)); | ^ edit.c:1368:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | error2 ("Invalid line number: ", dec_out ((long) number)); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ edit.c:1371:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:1372:17: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | move_y (find_y (line)); | ^ edit.c:1372:9: warning: passing arguments to 'move_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | move_y (find_y (line)); | ^ edit.c:1363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | goline (number) | ^ In file included from edit.c:6: ./mined.h:1097: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] 1097 | extern void goline _((int)), goproz _((int)); | ^ edit.c:1377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | goproz (number) | ^ In file included from edit.c:6: ./mined.h:1097:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1097 | extern void goline _((int)), goproz _((int)); | ^ edit.c:1398:44: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | if (always_prompt || ! char_ready_within (500, NIL_PTR)) { | ^ edit.c:1399:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | status_uni ("HOP/Go: type command (to amplify/expand) or number (to go to ...) ..."); | ^ edit.c:1406:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1406 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:1413:20: warning: passing arguments to 'get_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | end = get_number ("...number [% | p(age | m(ark | g(o marker | f(ile #]", c, & number); | ^ edit.c:1415:20: warning: passing arguments to 'get_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1415 | end = get_number ("...number [% | m(ark | g(o marker | f(ile #]", c, & number); | ^ edit.c:1425:9: warning: passing arguments to 'MARKn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | MARKn (number); | ^ edit.c:1427:9: warning: passing arguments to 'GOMAn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1427 | GOMAn (number); | ^ edit.c:1429:17: warning: passing arguments to 'edit_nth_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | edit_nth_file (number); | ^ edit.c:1437:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:1439:22: warning: passing arguments to 'invoke_key_function' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1439 | invoke_key_function (c); | ^ edit.c:1385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | go_or_hop (always_prompt) | ^ edit.c:1481:10: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | display (0, top_line, last_y, new_y); | ^ edit.c:1483:27: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1483 | (void) display_scrollbar (False); | ^ edit.c:1485:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1485 | displaymenuline (True); | ^ edit.c:1489:10: warning: passing arguments to 'move_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1489 | move_y (new_y); | ^ edit.c:1541:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | set_cursor (0, YMAX); /* Erase very bottom line */ | ^ edit.c:1543:27: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1543 | (void) display_scrollbar (False); | ^ edit.c:1545:10: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | display (0, top_line, last_y, new_y); | ^ edit.c:1548:10: warning: passing arguments to 'move_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | move_y (new_y); | ^ edit.c:1580:15: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1580 | if (proceed (top_line, - SCREENMAX) == header) { | ^ edit.c:1583:8: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | reset (header->next, 0); /* Reset top_line, etc. */ | ^ edit.c:1584:7: warning: passing arguments to 'RD_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | RD_y (0); /* Display full page */ | ^ edit.c:1586:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1586 | move_to (LINE_START, 0); | ^ edit.c:1597:15: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1597 | if (proceed (bot_line, SCREENMAX) == tail) { | ^ edit.c:1600:17: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1600 | reset (proceed (tail->prev, - SCREENMAX), SCREENMAX); | ^ edit.c:1600:8: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1600 | reset (proceed (tail->prev, - SCREENMAX), SCREENMAX); | ^ edit.c:1601:7: warning: passing arguments to 'RD_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1601 | RD_y (last_y); /* Display full page */ | ^ edit.c:1603:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1603 | move_to (LINE_END, last_y); | ^ edit.c:1618:29: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1618 | (void) display_scrollbar (True); | ^ edit.c:1626:9: warning: passing arguments to 'move_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1626 | move_y ((y == SCREENMAX) ? SCREENMAX : y + 1); | ^ edit.c:1642:29: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1642 | (void) display_scrollbar (True); | ^ edit.c:1650:9: warning: passing arguments to 'move_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | move_y ((y == 0) ? 0 : y - 1); | ^ edit.c:1672:14: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | search_for ("[;.]", REVERSE, False); | ^ edit.c:1678:14: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1678 | search_for ("[;.]", FORWARD, False); | ^ edit.c:1749:24: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | search_corresponding (pat, direction, "/"); | ^ edit.c:1729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1729 | search_tag (poi) | ^ edit.c:1761:31: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1761 | unsigned int cv = charvalue (cur_text); | ^ edit.c:1771:36: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1771 | case '(': search_corresponding ("[()]", FORWARD, ")"); | ^ edit.c:1773:36: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1773 | case ')': search_corresponding ("[()]", REVERSE, "("); | ^ edit.c:1775:36: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1775 | case '[': search_corresponding ("[\\[\\]]", FORWARD, "]"); | ^ edit.c:1777:36: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1777 | case ']': search_corresponding ("[\\[\\]]", REVERSE, "["); | ^ edit.c:1779:36: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1779 | case '{': search_corresponding ("[{}]", FORWARD, "}"); | ^ edit.c:1781:36: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1781 | case '}': search_corresponding ("[{}]", REVERSE, "{"); | ^ edit.c:1783:22: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1783 | case (character) '': /* « LEFT-POINTING DOUBLE ANGLE QUOTATION MARK */ | ^ edit.c:1785:25: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1785 | search_corresponding ("[«»]", FORWARD, "»"); | ^ edit.c:1787:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 1787 | search_corresponding ("[]", FORWARD, ""); | ^~~~~~~~ edit.c:1787:44: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 1787 | search_corresponding ("[]", FORWARD, ""); | ^~~~ edit.c:1787:25: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | search_corresponding ("[]", FORWARD, ""); | ^ edit.c:1790:22: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1790 | case (character) '': /* » RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK */ | ^ edit.c:1792:25: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1792 | search_corresponding ("[«»]", REVERSE, "«"); | ^ edit.c:1794:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 1794 | search_corresponding ("[]", REVERSE, ""); | ^~~~~~~~ edit.c:1794:44: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 1794 | search_corresponding ("[]", REVERSE, ""); | ^~~~ edit.c:1794:25: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | search_corresponding ("[]", REVERSE, ""); | ^ edit.c:1798:24: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1798 | search_corresponding ("[‹›]", FORWARD, "›"); | ^ edit.c:1801:24: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1801 | search_corresponding ("[‹›]", REVERSE, "‹"); | ^ edit.c:1804:24: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1804 | search_corresponding ("[⁅⁆]", FORWARD, "⁆"); | ^ edit.c:1807:24: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1807 | search_corresponding ("[⁅⁆]", REVERSE, "⁅"); | ^ edit.c:1810:24: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1810 | search_corresponding ("[⁽⁾]", FORWARD, "⁾"); | ^ edit.c:1813:24: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1813 | search_corresponding ("[⁽⁾]", REVERSE, "⁽"); | ^ edit.c:1816:24: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1816 | search_corresponding ("[₍₎]", FORWARD, "₎"); | ^ edit.c:1819:24: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1819 | search_corresponding ("[₍₎]", REVERSE, "₍"); | ^ edit.c:1827:18: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1827 | precede_char (& poi, cur_line->text); | ^ edit.c:1837:26: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | search_corresponding ("[<>]", FORWARD, ">"); | ^ edit.c:1840:26: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1840 | search_corresponding ("[<>]", REVERSE, "<"); | ^ edit.c:1856:13: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1856 | search_for ("\\*/", FORWARD, False); | ^ edit.c:1861:13: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1861 | search_for ("/\\*", REVERSE, False); | ^ edit.c:1871:24: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1871 | search_corresponding ("^#[ ]*[ie][fln]", FORWARD, "#1"); | ^ edit.c:1873:24: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1873 | search_corresponding ("^#[ ]*[ie][fln]", REVERSE, "#3"); | ^ edit.c:1876:24: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1876 | search_corresponding ("^#[ ]*[ie][fln]", FORWARD, "#2"); | ^ edit.c:1878:24: warning: passing arguments to 'search_corresponding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1878 | search_corresponding ("^#[ ]*[ie][fln]", REVERSE, "#2"); | ^ edit.c:1882:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1882 | error (errmsg); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:1898:13: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1898 | search_for (pattern, pref_direction, False); | ^ edit.c:1908:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1908 | advance_char (& text); | ^ edit.c:1915:15: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1915 | search_for ("^From ", REVERSE, True); | ^ edit.c:1917:14: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1917 | search_for ("^From ", pref_direction, True); | ^ edit.c:1920:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1920 | error (errmsg); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:1757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1757 | SCORR (pref_direction) | ^ In file included from edit.c:6: ./mined.h:1112: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] 1112 | extern void SCORR _((FLAG pref_direction)); | ^ edit.c:1940:18: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1940 | if (! idfchar (text)) { | ^~~~ edit.c:1941:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1941 | error ("No identifier"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:1945:18: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1945 | while (idfchar (idf_poi) && idf_poi != start) { | ^~~~~~~ edit.c:1946:16: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1946 | precede_char (& idf_poi, start); | ^ edit.c:1948:17: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1948 | if (! idfchar (idf_poi)) { | ^~~~~~~ edit.c:1949:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1949 | advance_char (& idf_poi); | ^ edit.c:1951:18: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1951 | while (idfchar (idf_poi)) { | ^~~~~~~ edit.c:1953:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1953 | advance_char (& idf_poi); | ^ edit.c:1931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1931 | get_idf (idf_buf, text, start) | ^ In file included from edit.c:6: ./mined.h:765: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] 765 | extern int get_idf _((char * idf_buf, char * text, char * start_line)); | ^ edit.c:1977:15: warning: passing arguments to 'search_expr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1977 | search_expr (idf_buf, method, False); | ^ edit.c:1967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1967 | SIDF (method) | ^ In file included from edit.c:6: ./mined.h:1108: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] 1108 | extern void SIDF _((FLAG)), SCURCHAR _((FLAG)); | ^ edit.c:2020:17: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2020 | precede_char (& textp, begin_line); | ^ edit.c:2027:17: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2027 | precede_char (& textp, begin_line); | ^ edit.c:2030:16: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2030 | if (idfchar (textp)) { | ^~~~~ edit.c:2032:43: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2032 | while (textp != begin_line && idfchar (textp)) { | ^~~~~ edit.c:2033:18: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2033 | precede_char (& textp, begin_line); | ^ edit.c:2038:38: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2038 | && alpha (* textp) && ! idfchar (textp)) | ^~~~~ edit.c:2040:18: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2040 | precede_char (& textp, begin_line); | ^ edit.c:2048:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2048 | advance_char (& textp); | ^ edit.c:2053:18: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2053 | ? ! idfchar (textp) | ^~~~~ edit.c:2054:38: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2054 | : (! alpha (* textp) || idfchar (textp))))) | ^~~~~ edit.c:2056:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2056 | advance_char (& textp); | ^ edit.c:2059:17: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2059 | precede_char (& textp, begin_line); | ^ edit.c:2065:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2065 | move_address (textp, y); | ^ edit.c:1986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1986 | move_previous_word (remove) | ^ edit.c:2100:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2100 | advance_char (& textp); | ^ edit.c:2103:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2103 | advance_char (& textp); | ^ edit.c:2106:15: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2106 | if (idfchar (textp)) { | ^~~~~ edit.c:2107:38: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2107 | while (* textp != '\n' && idfchar (textp)) { | ^~~~~ edit.c:2108:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2108 | advance_char (& textp); | ^ edit.c:2111:40: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2111 | while (alpha (* textp) && ! idfchar (textp)) { | ^~~~~ edit.c:2112:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2112 | advance_char (& textp); | ^ edit.c:2123:18: warning: passing arguments to 'delete_text_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2123 | delete_text_buf (cur_line, cur_text, cur_line, textp); | ^ edit.c:2133:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2133 | move_to (LINE_START, y); | ^ edit.c:2141:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2141 | move_address (textp, y); | ^ edit.c:2088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | move_next_word (remove) | ^ edit.c:2183:13: warning: passing arguments to 'put_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2183 | put_line (y, cur_line, x, True, False); | ^ edit.c:2184:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2184 | status_msg ("Trailing line-end deleted"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ edit.c:2191:15: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2191 | advance_char (& after_char); | ^ edit.c:2198:40: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2198 | unsigned long unichar = unicodevalue (cur_text); | ^ edit.c:2201:28: warning: passing arguments to 'iscombined_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2201 | if (! iscombined_unichar (unichar, cur_text, cur_line->text)) { | ^ edit.c:2203:27: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2203 | unichar = unicodevalue (after_char); | ^ edit.c:2211:22: warning: passing arguments to 'term_iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2211 | term_iscombining (unichar) || | ^ edit.c:2212:24: warning: passing arguments to 'iscombined_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2212 | iscombined_unichar (unichar, after_char, cur_line->text) | ^ edit.c:2215:18: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2215 | advance_char (& after_char); | ^ edit.c:2216:28: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2216 | unichar = unicodevalue (after_char); | ^ edit.c:2168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2168 | delete_char (with_combinings) | ^ edit.c:2282:39: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2282 | unsigned long unichar = unicodevalue (cur_text); | ^ edit.c:2283:40: warning: passing arguments to 'iscombined_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2283 | FLAG was_on_comb = iscombined_unichar (unichar, cur_text, cur_line->text); | ^ edit.c:2289:34: warning: passing arguments to 'isspacingcombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2289 | if (isspacingcombining_unichar (unichar) | ^ edit.c:2292:30: warning: passing arguments to 'iscombined_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2292 | && iscombined_unichar (unichar, cur_text, cur_line->text)) | ^ edit.c:2357:50: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2357 | ( (is_itemchar = isitemchar (unicodevalue (cp))) | ^ edit.c:2377:22: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2377 | advance_char_scr (& cp, & column, cur_line->text); | ^ edit.c:2396:21: warning: passing arguments to 'insert_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2396 | insert_unichar (* numpoi ++); | ^ edit.c:2398:20: warning: passing arguments to 'insert_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2398 | insert_unichar ('.'); | ^ edit.c:2413:22: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2413 | advance_char_scr (& cp, & previous_col, lp->text); | ^ edit.c:2437:23: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2437 | advance_char_scr (& cp, & column, cur_line->text); | ^ edit.c:2441:7: warning: passing arguments to 'S' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2441 | S (' '); | ^ edit.c:2455:40: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2455 | unsigned long unichar = unicodevalue (cur_text); | ^ edit.c:2456:26: warning: passing arguments to 'iscombined_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2456 | if (iscombined_unichar (unichar, cur_text, cur_line->text)) { | ^ edit.c:2479:70: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2479 | delete_text_buf (cur_line, cur_text, cur_line, cur_text + length_of (cur_text) - 1); | ^ edit.c:2479:18: warning: passing arguments to 'delete_text_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2479 | delete_text_buf (cur_line, cur_text, cur_line, cur_text + length_of (cur_text) - 1); | ^ edit.c:2503:19: warning: passing arguments to 'delete_text_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2503 | delete_text_buf (cur_line, cur_text, cur_line->next, cur_line->next->text); | ^ edit.c:2506:70: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2506 | delete_text_buf (cur_line, cur_text, cur_line, cur_text + length_of (cur_text) - 1); | ^ edit.c:2506:18: warning: passing arguments to 'delete_text_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2506 | delete_text_buf (cur_line, cur_text, cur_line, cur_text + length_of (cur_text) - 1); | ^ edit.c:2549:5: warning: passing arguments to 'S' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2549 | S ('\n'); /* Insert a new line */ | ^ edit.c:2551:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2551 | move_to (LINE_END, y); /* Move to end of this line */ | ^ edit.c:2553:12: warning: passing arguments to 'put_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2553 | put_line (y, cur_line, x, True, False); | ^ edit.c:2613:25: warning: passing arguments to 'uniscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2613 | width = uniscrwidth (unichar, cur_text, cur_line->text); | ^ edit.c:2669:26: warning: passing arguments to 'CJK_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2669 | cjkremaining = CJK_len (buffer) - 2; | ^ edit.c:2685:21: warning: passing arguments to 'col_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2685 | width = col_count (buffer); | ^ edit.c:2738:26: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2738 | unichar = unicodevalue (buffer); | ^ edit.c:2740:23: warning: passing arguments to 'is_right_to_left' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2740 | if (is_right_to_left (previous_unichar)) { | ^ edit.c:2743:26: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2743 | } else if (iscombining (unichar) && * cur_text != '\n') { | ^ edit.c:2745:70: warning: passing arguments to 'is_right_to_left' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2745 | } else if (unichar != ' ' && unichar != '\t' && ! is_right_to_left (unichar)) { | ^ edit.c:2746:36: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2746 | unsigned long rc = unicodevalue (cur_text); | ^ edit.c:2747:55: warning: passing arguments to 'is_right_to_left' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2747 | while (rc == ' ' || rc == '\t' || is_right_to_left (rc) || iscombining (rc)) { | ^ edit.c:2747:75: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2747 | while (rc == ' ' || rc == '\t' || is_right_to_left (rc) || iscombining (rc)) { | ^ edit.c:2749:23: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2749 | rc = unicodevalue (cur_text); | ^ edit.c:2757:50: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2757 | offset = cur_text - cur_line->text + length_of (buffer); | ^ edit.c:2758:40: warning: passing 'character[7]' (aka 'unsigned char[7]') 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] 2758 | if (insert_text (cur_line, cur_text, buffer) == ERRORS) { | ^~~~~~ edit.c:2765:14: warning: passing arguments to 'print_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2765 | print_line (y, cur_line); | ^ edit.c:2767:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2767 | move_to (0, y); | ^ edit.c:2769:9: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2769 | reset (top_line, y); /* Reset pointers */ | ^ edit.c:2772:13: warning: passing arguments to 'add_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2772 | add_line (y + 1); | ^ edit.c:2773:26: warning: passing arguments to 'scrollbar_scroll_down' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2773 | scrollbar_scroll_down (y + 1); | ^ edit.c:2774:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2774 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:2775:12: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2775 | display (y, cur_line, 1, y + 1); | ^ edit.c:2777:12: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2777 | display (y, cur_line, last_y - y, y + 1); | ^ edit.c:2779:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2779 | move_to (0, y + 1); | ^ edit.c:2782:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2782 | move_to (x + width, y); | ^ edit.c:2785:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2785 | move_address (cur_line->text + offset, y); | ^ edit.c:2798:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2798 | move_to (newx, y); | ^ edit.c:2799:28: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2799 | if (iswide (unicodevalue (buffer))) { | ^ edit.c:2799:14: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2799 | if (iswide (unicodevalue (buffer))) { | ^ edit.c:2800:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2800 | move_to (x - 3, y); | ^ edit.c:2802:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2802 | move_to (x - 1, y); | ^ edit.c:2804:12: warning: passing arguments to 'put_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2804 | put_line (y, cur_line, x, False, False); | ^ edit.c:2806:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2806 | move_address (cur_line->text + offset, y); | ^ edit.c:2813:24: warning: passing arguments to 'is_right_to_left' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2813 | if (is_right_to_left (previous_unichar)) { | ^ edit.c:2814:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2814 | move_to (x - 1, y); | ^ edit.c:2817:19: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2817 | if (iscombining (unichar)) { | ^ edit.c:2818:25: warning: passing arguments to 'is_right_to_left' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2818 | if (is_right_to_left (previous_unichar)) { | ^ edit.c:2819:13: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2819 | move_to (x - 1, y); | ^ edit.c:2822:25: warning: passing arguments to 'is_right_to_left' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2822 | if (is_right_to_left (unichar)) { | ^ edit.c:2823:13: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2823 | move_to (x - 1, y); | ^ edit.c:2570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2570 | S1byte (newchar, JUSlvl, utf8_transform) | ^ edit.c:2837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2837 | S0 (newchar) | ^ In file included from edit.c:6: ./mined.h:1090: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] 1090 | extern void S0 _((character)), Scharacter _((unsigned long)); | ^ edit.c:2845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2845 | Sbyte (newchar) | ^ edit.c:2885:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2885 | error ("Invalid Unicode value"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:2854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2854 | Sutf8char (newchar) | ^ edit.c:2893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2893 | Sutf8 (newchar) | ^ edit.c:2907:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2907 | if (no_char (code)) { | ^ edit.c:2909:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2909 | error ("Invalid character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:2912:19: warning: passing arguments to 'cjkencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2912 | (void) cjkencode (code, cjkbytes); | ^ edit.c:2920:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2920 | error ("Invalid CJK character code"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:2901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2901 | Scjk (code) | ^ edit.c:2945:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2945 | error ("Unknown character mnemonic"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:2949:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2949 | error ("Invalid character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:2960:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2960 | error ("Invalid character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:2935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2935 | insert_character (code) | ^ edit.c:2966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2966 | insert_unichar (uc) | ^ In file included from edit.c:6: ./mined.h:1091: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] 1091 | extern FLAG insert_unichar _((unsigned long)); | ^ edit.c:3013:38: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3013 | while (iswhitespace (unicodevalue (s))) { | ^ edit.c:3013:24: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3013 | while (iswhitespace (unicodevalue (s))) { | ^ edit.c:3014:18: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3014 | advance_char (& s); | ^ edit.c:3017:33: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3017 | if (isitemchar (unicodevalue (s)) || numberlen > 0) { | ^ edit.c:3028:37: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3028 | while (iswhitespace (unicodevalue (s))) { | ^ edit.c:3028:23: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3028 | while (iswhitespace (unicodevalue (s))) { | ^ edit.c:3029:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3029 | advance_char (& s); | ^ edit.c:3032:32: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3032 | if (isitemchar (unicodevalue (s)) || numberlen > 0) { | ^ edit.c:3038:18: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3038 | ch = charvalue (coptext); | ^ edit.c:3039:19: warning: passing arguments to 'unicode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3039 | unich = unicode (ch); | ^ edit.c:3042:15: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3042 | advance_char (& coptext); | ^ edit.c:3043:17: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3043 | ch = charvalue (coptext); | ^ edit.c:3044:18: warning: passing arguments to 'unicode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3044 | unich = unicode (ch); | ^ edit.c:3047:23: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3047 | while (iswhitespace (unich)) { | ^ edit.c:3049:15: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3049 | advance_char (& coptext); | ^ edit.c:3050:17: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3050 | ch = charvalue (coptext); | ^ edit.c:3051:18: warning: passing arguments to 'unicode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3051 | unich = unicode (ch); | ^ edit.c:3067:22: warning: passing arguments to 'is_wideunichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3067 | if (is_wideunichar (unich)) { | ^ edit.c:3074:15: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3074 | advance_char (& coptext); | ^ edit.c:3076:17: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3076 | ch = charvalue (coptext); | ^ edit.c:3077:18: warning: passing arguments to 'unicode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3077 | unich = unicode (ch); | ^ edit.c:3078:22: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3078 | while (iswhitespace (unich)) { | ^ edit.c:3080:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3080 | advance_char (& coptext); | ^ edit.c:3081:18: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3081 | ch = charvalue (coptext); | ^ edit.c:3082:19: warning: passing arguments to 'unicode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3082 | unich = unicode (ch); | ^ edit.c:3103:18: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3103 | ch = charvalue (coptext); | ^ edit.c:3105:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3105 | advance_char (& coptext); | ^ edit.c:3125:17: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3125 | ch = charvalue (coptext); | ^ edit.c:3126:18: warning: passing arguments to 'unicode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3126 | unich = unicode (ch); | ^ edit.c:3127:22: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3127 | while (iswhitespace (unich)) { | ^ edit.c:3129:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3129 | advance_char (& coptext); | ^ edit.c:3130:18: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3130 | ch = charvalue (coptext); | ^ edit.c:3131:19: warning: passing arguments to 'unicode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3131 | unich = unicode (ch); | ^ edit.c:2978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2978 | SNLindent (do_autonumber) | ^ edit.c:3177:6: warning: passing arguments to 'S' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3177 | S (' '); | ^ edit.c:3187:6: warning: passing arguments to 'S' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3187 | S ('\n'); | ^ edit.c:3193:5: warning: passing arguments to 'S' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3193 | S ('\n'); | ^ edit.c:3203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3203 | Spair (l, r) | ^ edit.c:3272:30: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3272 | && (utf8_text || ! no_char (charcode (0x2013))) | ^ edit.c:3278:14: warning: passing arguments to 'Scharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3278 | Scharacter (charcode (0x2013)); /* – EN DASH */ | ^ edit.c:3283:14: warning: passing arguments to 'Scharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3283 | Scharacter (charcode (0x2014)); /* – EM DASH */ | ^ edit.c:3290:30: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3290 | && (utf8_text || ! no_char (charcode (0x2013))) | ^ edit.c:3295:13: warning: passing arguments to 'Scharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3295 | Scharacter (charcode (0x2013)); /* – EN DASH */ | ^ edit.c:3299:56: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3299 | && (* cur_text == '\n' || iswhitespace (unicodevalue (cur_text))) | ^ edit.c:3299:42: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3299 | && (* cur_text == '\n' || iswhitespace (unicodevalue (cur_text))) | ^ edit.c:3301:30: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3301 | && (utf8_text || ! no_char (charcode (0x2013))) | ^ edit.c:3304:13: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 3304 | lastchar = ''; /* use as marker */ | ^ edit.c:3305:13: warning: passing arguments to 'Scharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3305 | Scharacter (charcode (0x2013)); /* – EN DASH */ | ^ edit.c:3307:75: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 3307 | } else if (quote_type != 0 && newchar == '-' && lastchar == (character) '' | ^ edit.c:3308:30: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3308 | && (utf8_text || ! no_char (charcode (0x2013))) | ^ edit.c:3318:30: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3318 | && (utf8_text || ! no_char (charcode (0x2212))) | ^ edit.c:3323:13: warning: passing arguments to 'Scharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3323 | Scharacter (charcode (0x2212)); /* − MINUS SIGN */ | ^ edit.c:3337:35: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 3337 | || (lastchar == (character) '' /*&& prev U+2013*/) | ^ edit.c:3354:32: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3354 | && (streq (script (charvalue (cur_text)), "Hebrew") | ^ edit.c:3354:21: warning: passing arguments to 'script' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3354 | && (streq (script (charvalue (cur_text)), "Hebrew") | ^ edit.c:3355:39: warning: passing arguments to 'precedingchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3355 | || streq (script (precedingchar (cur_text, cur_line->text)), "Hebrew") | ^ edit.c:3355:24: warning: passing arguments to 'script' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3355 | || streq (script (precedingchar (cur_text, cur_line->text)), "Hebrew") | ^ edit.c:3217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3217 | S (newchar) | ^ edit.c:26: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] 26 | static void S _((character newchar)); | ^ edit.c:3400:20: warning: passing arguments to 'col_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3400 | cols = col_count (cur_line->text); | ^ edit.c:3403:21: warning: passing arguments to 'col_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3403 | cols -= col_count (cur_line->text); | ^ edit.c:3432:35: warning: passing arguments to 'unicode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3432 | unsigned long unichar = unicode (ch); | ^ edit.c:3433:37: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3433 | unsigned long chup = case_convert (unichar, 1); | ^ edit.c:3442:16: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3442 | precede_char (& cpoi, begin_line); | ^ edit.c:3443:22: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3443 | pre = unicodevalue (cpoi); | ^ edit.c:3444:16: warning: passing arguments to 'isLetter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3444 | if (isLetter (pre)) { | ^ edit.c:3445:39: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3445 | unsigned long small = case_convert (pre, -1); | ^ edit.c:3463:33: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3463 | unsigned long qc = charvalue (begin_line); | ^ edit.c:3469:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3469 | advance_char (& begin_line); | ^ edit.c:3474:23: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3474 | return encodedchar (chup); | ^ edit.c:3427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3427 | stropped (ch, cpoi, begin_line) | ^ edit.c:3486:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3486 | if (no_char (code)) { | ^ edit.c:3488:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3488 | error ("Invalid character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:3516:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3516 | error ("Invalid character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:3483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3483 | Scharacter (code) | ^ In file included from edit.c:6: ./mined.h:1090:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1090 | extern void S0 _((character)), Scharacter _((unsigned long)); | ^ edit.c:3555:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3555 | move_to (LINE_END, y); /* Move to end of this line */ | ^ edit.c:3563:11: warning: passing arguments to 'put_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3563 | put_line (y, cur_line, x, True, False); | ^ edit.c:3574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3574 | convlineend_cur (ret) | ^ edit.c:3594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3594 | convlineend_all (ret) | ^ edit.c:3657:24: warning: passing arguments to 'quote_mark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3657 | char * q = quote_mark (qt, pos); | ^ edit.c:3658:12: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3658 | utf8_info (q, & utflen, & unichar); | ^ edit.c:3651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3651 | quote_mark_value (qt, pos) | ^ edit.c:3676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3676 | set_quote_type (qt) | ^ In file included from edit.c:6: ./mined.h:1020: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] 1020 | extern void set_quote_type _((int)); | ^ edit.c:3691:33: warning: passing arguments to 'lookup_quotes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3691 | set_quote_type (lookup_quotes (q)); | ^ edit.c:3688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3688 | set_quote_style (q) | ^ In file included from edit.c:6: ./mined.h:1021: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] 1021 | extern void set_quote_style _((char *)); | ^ edit.c:3702:27: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3702 | apostrophe = encodedchar (apostrophe); | ^ edit.c:3703:14: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3703 | if (no_char (apostrophe)) { | ^ edit.c:3704:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3704 | error ("Apostrophe not available in current encoding"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:3719:44: warning: passing arguments to 'spacing_quote_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3719 | FLAG spacing_quotes = spacing_quote_type (qt); | ^ edit.c:3731:50: warning: passing arguments to 'precedingchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3731 | unsigned long prevchar = unicode (precedingchar (cur_text, cur_line->text)); | ^ edit.c:3731:35: warning: passing arguments to 'unicode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3731 | unsigned long prevchar = unicode (precedingchar (cur_text, cur_line->text)); | ^ edit.c:3736:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3736 | advance_char (& cp); | ^ edit.c:3750:39: warning: passing arguments to 'isLetter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3750 | } else if (! doublequote && isLetter (prevchar)) { | ^ edit.c:3753:28: warning: passing arguments to 'is_wideunichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3753 | } else if (is_wideunichar (prevchar)) { | ^ edit.c:3765:16: warning: passing arguments to 'opensquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3765 | (opensquote (prevchar) | ^ edit.c:3787:27: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3787 | leftquote = encodedchar (leftquote); | ^ edit.c:3788:28: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3788 | rightquote = encodedchar (rightquote); | ^ edit.c:3789:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3789 | if (no_char (leftquote) || no_char (rightquote)) { | ^ edit.c:3789:38: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3789 | if (no_char (leftquote) || no_char (rightquote)) { | ^ edit.c:3790:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3790 | error ("Quote marks style not available in current encoding"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:3799:29: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3799 | if (no_char (encodedchar (0x00A0))) { | ^ edit.c:3799:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3799 | if (no_char (encodedchar (0x00A0))) { | ^ edit.c:3813:29: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3813 | if (no_char (encodedchar (0x00A0))) { | ^ edit.c:3813:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3813 | if (no_char (encodedchar (0x00A0))) { | ^ edit.c:3714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3714 | Squote (doublequote) | ^ edit.c:3851:30: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 3851 | insert_unichar ((character) ''); | ^ edit.c:3866:23: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3866 | okina = encodedchar (okina); | ^ edit.c:3867:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3867 | if (no_char (okina)) { | ^ edit.c:3868:15: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3868 | status_uni ("Glottal stop/ʻokina not available in current encoding"); | ^ edit.c:3897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3897 | strip (s) | ^ edit.c:3911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3911 | unwrap (s) | ^ edit.c:3931:24: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3931 | Scharacter (charvalue (s)); | ^ edit.c:3932:15: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3932 | advance_char (& s); | ^ edit.c:3927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3927 | Sbuf (s) | ^ edit.c:3942:37: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3942 | Scharacter (encodedchar (utf8value (s))); | ^ edit.c:3942:26: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3942 | Scharacter (encodedchar (utf8value (s))); | ^ edit.c:3943:15: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3943 | advance_utf8 (& s); | ^ edit.c:3938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3938 | Sunibuf (s) | ^ edit.c:3957:27: warning: passing arguments to 'get_string_nokeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3957 | if (get_string_nokeymap ("Embed text in HTML marker:", marker, True, "") != FINE) { | ^ edit.c:3962:13: warning: passing arguments to 'yank_HTML' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3962 | yank_HTML (DELETE); | ^ edit.c:3998:35: warning: passing arguments to 'get_string_nokeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3998 | if (FINE != get_string_nokeymap ("Begin HTML marker:", HTMLmarker, True, "")) { | ^ edit.c:4002:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4002 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:4027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4027 | hexdiguni (c) | ^ edit.c:4038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4038 | hexdig (c) | ^ In file included from edit.c:6: ./mined.h:764:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 764 | extern character hexdig _((unsigned int)); | ^ edit.c:4058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4058 | insertcode (c, radix) | ^ edit.c:4055: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] 4055 | extern void insertcode _((character c, int radix)); | ^ edit.c:4082:18: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4082 | if (no_unichar (unichar)) { | ^ edit.c:4083:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4083 | error ("No Unicode value"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:4079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4079 | insertunicode (unichar) | ^ edit.c:4098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4098 | insertvalue (v, radix) | ^ edit.c:4161:26: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4161 | } else if (! no_unichar (unichar)) { | ^ edit.c:4188:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4188 | error ("Invalid UTF-8 sequence"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:4221:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4221 | error ("Invalid UTF-8 sequence"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:4225:46: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4225 | insertvalue (lookup_encodedchar (charvalue (cur_text)), radix); | ^ edit.c:4225:35: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4225 | insertvalue (lookup_encodedchar (charvalue (cur_text)), radix); | ^ edit.c:4227:31: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4227 | (void) cjkencode (charvalue (cur_text), buffer); | ^ edit.c:4227:20: warning: passing arguments to 'cjkencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4227 | (void) cjkencode (charvalue (cur_text), buffer); | ^ edit.c:4236:34: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4236 | insertvalue (lookup_encodedchar (c), radix); | ^ edit.c:4122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4122 | changetocode (radix, univalue) | ^ edit.c:4255:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4255 | error ("Character code too long to scan"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:4260:22: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4260 | code = encodedchar (code); | ^ edit.c:4261:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4261 | if (no_char (code)) { | ^ edit.c:4263:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4263 | error ("Invalid character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:4276:13: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4276 | utf8_info (& buffer [i], & utfcount, & code); | ^ edit.c:4278:31: warning: passing arguments to 'UTF8_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4278 | || utfcount != UTF8_len (buffer [i]) | ^ edit.c:4281:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4281 | error ("Illegal UTF-8 sequence"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:4288:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4288 | error ("No character code at text position"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:4245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4245 | changefromcode (format, univalue) | ^ edit.c:4402:12: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4402 | utf8_info (cpoi, & utfcount, & unichar); | ^ edit.c:4404:25: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4404 | hanchar = encodedchar (unichar); | ^ edit.c:4407:22: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4407 | hanchar = charvalue (cpoi); | ^ edit.c:4408:31: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4408 | unichar = lookup_encodedchar (hanchar); | ^ edit.c:4413:27: warning: passing arguments to 'lookup_handescr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4413 | entry = lookup_handescr (unichar); | ^ edit.c:4417:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4417 | if (! no_char (unichar) && ! streq (script (unichar), "Han")) { | ^ edit.c:4417:45: warning: passing arguments to 'script' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4417 | if (! no_char (unichar) && ! streq (script (unichar), "Han")) { | ^ edit.c:4424:31: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4424 | if (cjk_text && ! no_unichar (unichar)) { | ^ edit.c:4427:17: warning: passing arguments to 'valid_cjk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4427 | if (valid_cjk (hanchar, NIL_PTR)) { | ^ edit.c:4429:22: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4429 | } else if (no_char (hanchar)) { | ^ edit.c:4440:17: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4440 | fill_menuitem (& descr_menu [i], s [i], NIL_PTR); | ^ edit.c:4446:17: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4446 | fill_menuitem (& descr_menu [i], s [i], NIL_PTR); | ^ edit.c:4452:17: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4452 | fill_menuitem (& descr_menu [i], s [i], NIL_PTR); | ^ edit.c:4458:17: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4458 | fill_menuitem (& descr_menu [i], s [i], NIL_PTR); | ^ edit.c:4464:17: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4464 | fill_menuitem (& descr_menu [i], s [i], NIL_PTR); | ^ edit.c:4470:17: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4470 | fill_menuitem (& descr_menu [i], s [i], NIL_PTR); | ^ edit.c:4476:17: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4476 | fill_menuitem (& descr_menu [i], s [i], NIL_PTR); | ^ edit.c:4482:17: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4482 | fill_menuitem (& descr_menu [i], s [i], NIL_PTR); | ^ edit.c:4488:17: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4488 | fill_menuitem (& descr_menu [i], s [i], NIL_PTR); | ^ edit.c:4494:17: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4494 | fill_menuitem (& descr_menu [i], s [i], NIL_PTR); | ^ edit.c:4500:17: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4500 | fill_menuitem (& descr_menu [i], s [i], NIL_PTR); | ^ edit.c:4506:17: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4506 | fill_menuitem (& descr_menu [i], s [i], NIL_PTR); | ^ edit.c:4512:17: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4512 | fill_menuitem (& descr_menu [i], s [i], NIL_PTR); | ^ edit.c:4517:16: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4517 | fill_menuitem (& descr_menu [i], NIL_PTR, NIL_PTR); | ^ edit.c:4553:22: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4553 | advance_char_scr (& descrpoi, & col, descrline); | ^ edit.c:4579:18: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4579 | fill_menuitem (& descr_menu [i], s [i], NIL_PTR); | ^ edit.c:4605:21: warning: passing arguments to 'popup_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4605 | (void) popup_menu (descr_menu, i, descr_col, descr_line, title, False, True, NIL_PTR); | ^ edit.c:4668:31: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4668 | if (cjk_text && ! no_unichar (unichar)) { | ^ edit.c:4669:18: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4669 | if (no_char (hanchar)) { | ^ edit.c:4710:20: warning: passing arguments to 'valid_cjk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4710 | if (valid_cjk (hanchar, NIL_PTR)) { | ^ edit.c:4712:25: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4712 | } else if (no_char (hanchar)) { | ^ edit.c:4738:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4738 | status_uni (text_buffer); | ^ edit.c:4361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4361 | display_Han (cpoi, force_utf8) | ^ In file included from edit.c:6: ./mined.h:1119: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] 1119 | extern void display_Han _((char * cpoi, FLAG force_utf8)); | ^ edit.c:4751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4751 | appendbyte (c) | ^ edit.c:4760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4760 | appendword (c) | ^ edit.c:4787:26: warning: passing arguments to 'charseqname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4787 | chardescr = charseqname (unichar, follow, & namedseqlen, & namedseq); | ^ edit.c:4800:48: warning: passing arguments to 'scriptinfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4800 | struct scriptentry * script_info = scriptinfo (unichar); | ^ edit.c:4818:23: warning: passing arguments to 'charname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4818 | chardescr = charname (unichar); | ^ edit.c:4821:21: warning: passing arguments to 'mnemos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4821 | chardescr = mnemos (unichar); | ^ edit.c:4824:35: warning: passing arguments to 'decomposition_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4824 | chardescr = decomposition_string (unichar); | ^ edit.c:4782:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4782 | setup_charinfo (unichar, follow) | ^ edit.c:4837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4837 | build_namedseq (text_buffer) | ^ edit.c:4930:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4930 | status_uni (text_buffer); | ^ edit.c:5000:12: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5000 | utf8_info (textpoi, & utfcount2, & unichar2); | ^ edit.c:5001:33: warning: passing arguments to 'isspacingcombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5001 | if (isspacingcombining_unichar (unichar2)) { | ^ edit.c:5003:25: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5003 | } else if (iscombining (unichar2)) { | ^ edit.c:5005:22: warning: passing arguments to 'isjoined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5005 | } else if (isjoined (unichar2, textpoi, cur_line->text)) { | ^ edit.c:5018:30: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5018 | if (iscombining_unichar (unichar)) { | ^ edit.c:5019:34: warning: passing arguments to 'isspacingcombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5019 | if (isspacingcombining_unichar (unichar)) { | ^ edit.c:5024:28: warning: passing arguments to 'iscombined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5024 | } else if (iscombined (unichar, cur_text, cur_line->text)) { | ^ edit.c:5025:19: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5025 | if (iscombining (unichar)) { | ^ edit.c:5035:25: warning: passing arguments to 'is_wideunichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5035 | if (is_wideunichar (unichar)) { | ^ edit.c:5087:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5087 | status_uni (text_buffer); | ^ edit.c:5089:20: warning: passing arguments to 'CJK_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5089 | int len = CJK_len (cur_text); | ^ edit.c:5090:36: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5090 | unsigned long cjkchar = charvalue (cur_text); | ^ edit.c:5092:26: warning: passing arguments to 'cjkencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5092 | int charlen = cjkencode (cjkchar, cjkbytes); | ^ edit.c:5105:44: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5105 | unichar2 = lookup_encodedchar (charvalue (textpoi)); | ^ edit.c:5105:33: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5105 | unichar2 = lookup_encodedchar (charvalue (textpoi)); | ^ edit.c:5106:34: warning: passing arguments to 'isspacingcombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5106 | if (isspacingcombining_unichar (unichar2)) { | ^ edit.c:5108:26: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5108 | } else if (iscombining (unichar2)) { | ^ edit.c:5110:51: warning: passing arguments to 'isjoined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5110 | } else if (text_encoding_tag == 'G' && isjoined (unichar2, textpoi, cur_line->text)) { | ^ edit.c:5118:35: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5118 | unichar = lookup_encodedchar (cjkchar); | ^ edit.c:5120:17: warning: passing arguments to 'valid_cjk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5120 | if (valid_cjk (cjkchar, NIL_PTR)) { | ^ edit.c:5121:22: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5121 | if (no_unichar (unichar)) { | ^ edit.c:5145:29: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5145 | if (iscombining_unichar (unichar)) { | ^ edit.c:5146:37: warning: passing arguments to 'isspacingcombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5146 | if (isspacingcombining_unichar (unichar)) { | ^ edit.c:5176:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5176 | status_uni (text_buffer); | ^ edit.c:5182:33: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5182 | unichar2 = lookup_encodedchar ((character) * (cur_text + 1)); | ^ edit.c:5184:34: warning: passing arguments to 'isspacingcombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5184 | if (isspacingcombining_unichar (unichar2)) { | ^ edit.c:5186:26: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5186 | } else if (iscombining (unichar2)) { | ^ edit.c:5188:23: warning: passing arguments to 'isjoined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5188 | } else if (isjoined (unichar2, cur_text + 1, cur_line->text)) { | ^ edit.c:5192:32: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5192 | unichar = lookup_encodedchar (c); | ^ edit.c:5193:18: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5193 | if (no_unichar (unichar)) { | ^ edit.c:5197:28: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5197 | if (iscombining_unichar (unichar)) { | ^ edit.c:5198:36: warning: passing arguments to 'isspacingcombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5198 | if (isspacingcombining_unichar (unichar)) { | ^ edit.c:5221:20: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5221 | e = encodedchar (c); | ^ edit.c:5228:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5228 | status_uni (text_buffer); | ^ edit.c:5277:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5277 | status_uni (text_buffer); | ^ edit.c:5280:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5280 | if (command (base) == DPC) { | ^ edit.c:5281:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5281 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5291:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5291 | if (command (base) == CTRLINS) { | ^ edit.c:5293:16: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5293 | status_uni ("Enter compose char / mnemonic ..."); | ^ edit.c:5296:32: warning: passing arguments to 'lookup_prefix_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5296 | newps = lookup_prefix_char (ctrl); | ^ edit.c:5301:24: warning: passing arguments to 'lookup_prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5301 | newps = lookup_prefix (keyproc, keyshift); | ^ edit.c:5305:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5305 | error ("Mnemonic input or accent prefix expected"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5311:21: warning: passing arguments to 'get_string_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5311 | if (get_string_uni (text_buffer, mnemonic, False, " ") == ERRORS) { | ^ edit.c:5314:26: warning: passing arguments to 'compose_mnemonic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5314 | base = compose_mnemonic (mnemonic); | ^ edit.c:5319:19: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5319 | (void) utfencode (ctrl, buf); | ^ edit.c:5321:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5321 | status_uni (text_buffer); | ^ edit.c:5324:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5324 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5327:23: warning: passing arguments to 'compose_chars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5327 | base = compose_chars (ctrl, ch); | ^ edit.c:5330:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5330 | error ("Mnemonic input expected"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5334:24: warning: passing arguments to 'lookup_prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5334 | newps = lookup_prefix (keyproc, keyshift); | ^ edit.c:5338:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5338 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5341:22: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5341 | } else if (no_char (base) || base == '\033') { | ^ edit.c:5342:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5342 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5349:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5349 | error ("Max. 3 accent prefix keys anticipated"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5366:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5366 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5367:44: warning: passing arguments to 'compose_patterns' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5367 | (void) insert_character (compose_patterns (base, ps, ps2, ps3)); | ^ edit.c:5262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5262 | do_insert_accented (accentnames, ps, ps2, ps3) | ^ edit.c:5376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5376 | insert_accented (ps) | ^ edit.c:5397:41: warning: passing arguments to 'lookup_prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5397 | struct prefixspec * ps = lookup_prefix (keyproc, keyshift); | ^ edit.c:5387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5387 | CTRLGET (check_prefix) | ^ In file included from edit.c:6: ./mined.h:727:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 727 | extern unsigned long CTRLGET _((FLAG check_prefix)); | ^ edit.c:5419:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5419 | status_uni ("Enter control char / # hex/octal/decimal / compose char / mnemonic ..."); | ^ edit.c:5423:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5423 | if (command (ctrl) == COMPOSE && keyshift >= '@' && keyshift <= '_') { | ^ edit.c:5425:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5425 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5429:46: warning: passing arguments to 'lookup_prefix_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5429 | struct prefixspec * ps = lookup_prefix_char (ctrl); | ^ edit.c:5439:21: warning: passing arguments to 'lookup_prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5439 | ps = lookup_prefix (keyproc, keyshift); | ^ edit.c:5443:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5443 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5444:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5444 | (* keyproc) ('\0'); | ^ edit.c:5447:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5447 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5456:29: warning: passing arguments to 'prompt_num_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5456 | finich = prompt_num_char (& ch, 0x7FFFFFFF); | ^ edit.c:5461:29: warning: passing arguments to 'prompt_num_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5461 | finich = prompt_num_char (& ch, max_char_value ()); | ^ edit.c:5463:32: warning: passing arguments to 'valid_cjk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5463 | if ((cjk_text && valid_cjk (ch, NIL_PTR)) | ^ edit.c:5468:6: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5468 | error ("Invalid character value"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5472:29: warning: passing arguments to 'prompt_num_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5472 | finich = prompt_num_char (& ch, 0xFF); | ^ edit.c:5478:6: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5478 | error ("Invalid character value"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5485:21: warning: passing arguments to 'get_string_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5485 | if (get_string_uni ("Enter character mnemonic:", mnemonic, False, " ") | ^ edit.c:5489:24: warning: passing arguments to 'compose_mnemonic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5489 | ch = compose_mnemonic (mnemonic); | ^ edit.c:5490:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5490 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5494:19: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5494 | (void) utfencode (ctrl, buf); | ^ edit.c:5496:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5496 | status_uni (text_buffer); | ^ edit.c:5499:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5499 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5502:21: warning: passing arguments to 'compose_chars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5502 | ch = compose_chars (ctrl, ch); | ^ edit.c:5503:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5503 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5518:42: warning: passing arguments to 'lookup_prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5518 | struct prefixspec * ps = lookup_prefix (prefunc, keyshift); | ^ edit.c:5522:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5522 | status_msg ("Accent prefix with this shift state not assigned"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ edit.c:5515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5515 | insert_prefix (prefunc) | ^ edit.c:5626:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5626 | move_address (cur_line->text + text_offset, y); | ^ edit.c:5639:15: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5639 | status_uni (">>>>>>>> Search wrapped around end of file >>>>>>>>"); | ^ edit.c:5643:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5643 | advance_char (& cpoi); | ^ edit.c:5650:14: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5650 | utf8_info (cpoi, & utfcount, & unichar); | ^ edit.c:5651:17: warning: passing arguments to 'UTF8_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5651 | if (UTF8_len (* cpoi) == utfcount | ^ edit.c:5665:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5665 | status_msg ("No more wrong encoding found"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ edit.c:5669:30: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5669 | move_address (cpoi, find_y (lpoi)); | ^ edit.c:5669:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5669 | move_address (cpoi, find_y (lpoi)); | ^ edit.c:5693:21: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5693 | c1 = unicodevalue (cpoi); | ^ edit.c:5725:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5725 | error ("Invalid character numeric"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5730:21: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5730 | uc = encodedchar (uc); | ^ edit.c:5745:25: warning: passing arguments to 'compose_mnemonic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5745 | uc = compose_mnemonic (mnemo); | ^ edit.c:5786:24: warning: passing arguments to 'UTF8_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5786 | codelen = UTF8_len (bytecode); | ^ edit.c:5790:23: warning: passing arguments to 'CJK_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5790 | codelen = CJK_len (allbytes); | ^ edit.c:5801:14: warning: passing arguments to 'print_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5801 | print_line (y, cur_line); | ^ edit.c:5802:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5802 | move_address (cur_line->text + offset, y); | ^ edit.c:5805:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5805 | error ("Invalid code sequence"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5811:15: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5811 | advance_char (& cpoi); | ^ edit.c:5813:21: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5813 | c2 = unicodevalue (cpoi); | ^ edit.c:5817:38: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 5817 | if (c1 == '\'' || c1 == (character) '') { | ^ edit.c:5819:45: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 5819 | } else if (c2 == '\'' || c2 == (character) '') { | ^ edit.c:5836:22: warning: passing arguments to 'compose_chars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5836 | uc = compose_chars (c1, c2); | ^ edit.c:5842:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 5842 | unichar = (character) ''; /* æ */ | ^ edit.c:5844:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 5844 | unichar = (character) ''; /* Æ */ | ^ edit.c:5846:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 5846 | unichar = (character) ''; /* ø */ | ^ edit.c:5848:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 5848 | unichar = (character) ''; /* Ø */ | ^ edit.c:5858:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 5858 | unichar = (character) ''; /* ä */ | ^ edit.c:5860:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 5860 | unichar = (character) ''; /* ö */ | ^ edit.c:5862:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 5862 | unichar = (character) ''; /* ü */ | ^ edit.c:5864:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 5864 | unichar = (character) ''; /* Ä */ | ^ edit.c:5866:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 5866 | unichar = (character) ''; /* Ö */ | ^ edit.c:5868:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 5868 | unichar = (character) ''; /* Ü */ | ^ edit.c:5870:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 5870 | unichar = (character) ''; /* ß */ | ^ edit.c:5879:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5879 | error ("Invalid character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5881:24: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5881 | } else if (! no_char (uc)) { | ^ edit.c:5895:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5895 | error ("Invalid character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5901:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5901 | error ("Unknown character mnemonic"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5680 | UML (lang) | ^ In file included from edit.c:6: ./mined.h:1109: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] 1109 | extern void UML _((char)), REPT _((char)); | ^ edit.c:5918:13: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5918 | utf8_info (cur_text, & utfcount, & unichar); | ^ edit.c:5919:16: warning: passing arguments to 'UTF8_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5919 | if (UTF8_len (c1) == utfcount && (c1 & 0xFE) != 0xFE) { | ^ edit.c:5921:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5921 | error ("Already a UTF-8 character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5933:12: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5933 | utf8_info (cur_text, & utfcount, & unichar); | ^ edit.c:5934:15: warning: passing arguments to 'UTF8_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5934 | if (UTF8_len (c1) != utfcount || (c1 & 0xFE) == 0xFE) { | ^ edit.c:5936:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5936 | error ("Not a UTF-8 character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5940:34: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5940 | unsigned long nc = encodedchar (unichar); | ^ edit.c:5941:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5941 | if (no_char (nc)) { | ^ edit.c:5943:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5943 | error ("Cannot convert Unicode character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5958:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5958 | error ("Cannot encode Unicode character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:5984:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5984 | advance_char (& after_char); | ^ edit.c:5987:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5987 | move_address (cur_line->text + text_offset, y); | ^ edit.c:5997:16: warning: passing arguments to 'isjoined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5997 | if (isjoined (unichar, charpos, linebegin)) { | ^ edit.c:6000:27: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6000 | if (iscombining_unichar (unichar)) { | ^ edit.c:6007:15: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6007 | precede_char (& charpos, linebegin); | ^ edit.c:6008:30: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6008 | prev_unichar = unicodevalue (charpos); | ^ edit.c:6009:14: warning: passing arguments to 'script' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6009 | sp = script (prev_unichar); | ^ edit.c:5992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5992 | iscombined_unichar (unichar, charpos, linebegin) | ^ In file included from edit.c:6: ./mined.h:766: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] 766 | extern FLAG iscombined_unichar _((unsigned long ucs, char * charpos, char * linebegin)); | ^ edit.c:6024:35: warning: passing arguments to 'soft_dotted' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6024 | || (Lithuanian && soft_dotted (unichar)) /* lt */ | ^ edit.c:6034:13: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6034 | utf8_info (comb_char, & utfcount, & unichar2); | ^ edit.c:6035:30: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6035 | while (iscombining_unichar (unichar2) && unichar2 != 0x0307) { | ^ edit.c:6036:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6036 | advance_char (& comb_char); | ^ edit.c:6037:14: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6037 | utf8_info (comb_char, & utfcount, & unichar2); | ^ edit.c:6041:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6041 | advance_char (& after_char); | ^ edit.c:6020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6020 | check_After (unichar) | ^ edit.c:6072:25: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6072 | unichar = unicodevalue (cur_text); | ^ edit.c:6098:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6098 | if (no_char (convchar)) { | ^ edit.c:6101:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6101 | error ("Unencoded Katakana character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:6108:13: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6108 | move_to (prev_x + 1, y); | ^ edit.c:6125:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6125 | if (no_char (convchar)) { | ^ edit.c:6130:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6130 | error ("Unencoded Hiragana character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:6137:13: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6137 | move_to (prev_x + 1, y); | ^ edit.c:6141:44: warning: passing arguments to 'lookup_caseconv_special' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6141 | else if ((tabix = lookup_caseconv_special (unichar, condition)) >= 0) | ^ edit.c:6155:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6155 | advance_char (& after_char); | ^ edit.c:6156:27: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6156 | unichar2 = unicodevalue (after_char); | ^ edit.c:6157:30: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6157 | while (iscombining_unichar (unichar2)) { | ^ edit.c:6158:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6158 | advance_char (& after_char); | ^ edit.c:6159:28: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6159 | unichar2 = unicodevalue (after_char); | ^ edit.c:6163:80: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 6163 | || (unichar2 > (unsigned long) 'z' && unichar2 < (unsigned long) (character) '') | ^ edit.c:6178:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6178 | advance_char (& after_char); | ^ edit.c:6179:27: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6179 | unichar2 = unicodevalue (after_char); | ^ edit.c:6180:31: warning: passing arguments to 'iscombining_notabove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6180 | while (iscombining_notabove (unichar2) && unichar2 != 0x0307) { | ^ edit.c:6181:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6181 | advance_char (& after_char); | ^ edit.c:6182:28: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6182 | unichar2 = unicodevalue (after_char); | ^ edit.c:6199:16: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6199 | precede_char (& after_char, cur_line->text); | ^ edit.c:6200:27: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6200 | unichar2 = unicodevalue (after_char); | ^ edit.c:6201:31: warning: passing arguments to 'iscombining_notabove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6201 | while (iscombining_notabove (unichar2) && after_char != cur_line->text) { | ^ edit.c:6202:17: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6202 | precede_char (& after_char, cur_line->text); | ^ edit.c:6203:28: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6203 | unichar2 = unicodevalue (after_char); | ^ edit.c:6220:16: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6220 | precede_char (& after_char, cur_line->text); | ^ edit.c:6221:27: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6221 | unichar2 = unicodevalue (after_char); | ^ edit.c:6222:31: warning: passing arguments to 'iscombining_notabove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6222 | while (iscombining_notabove (unichar2) && after_char != cur_line->text) { | ^ edit.c:6223:17: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6223 | precede_char (& after_char, cur_line->text); | ^ edit.c:6224:28: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6224 | unichar2 = unicodevalue (after_char); | ^ edit.c:6226:19: warning: passing arguments to 'soft_dotted' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6226 | if (soft_dotted (unichar2)) { | ^ edit.c:6238:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6238 | advance_char (& after_char); | ^ edit.c:6239:27: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6239 | unichar2 = unicodevalue (after_char); | ^ edit.c:6240:31: warning: passing arguments to 'iscombining_notabove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6240 | while (iscombining_notabove (unichar2)) { | ^ edit.c:6241:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6241 | advance_char (& after_char); | ^ edit.c:6242:28: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6242 | unichar2 = unicodevalue (after_char); | ^ edit.c:6244:25: warning: passing arguments to 'iscombining_above' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6244 | if (iscombining_above (unichar2)) { | ^ edit.c:6287:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6287 | if (no_char (convchar) || no_char (convchar2) || no_char (convchar3)) { | ^ edit.c:6287:38: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6287 | if (no_char (convchar) || no_char (convchar2) || no_char (convchar3)) { | ^ edit.c:6287:61: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6287 | if (no_char (convchar) || no_char (convchar2) || no_char (convchar3)) { | ^ edit.c:6289:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6289 | error ("Unencoded case converted character(s)"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:6312:15: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6312 | move_to (prev_x + 1, y); | ^ edit.c:6317:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6317 | move_to (x + 1, y); | ^ edit.c:6324:46: warning: passing arguments to 'lookup_caseconv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6324 | if (tabix == -1 && (tabix = lookup_caseconv (unichar)) >= 0) | ^ edit.c:6340:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6340 | if (no_char (convchar)) { | ^ edit.c:6342:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6342 | error ("Unencoded case converted character"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ edit.c:6351:13: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6351 | move_to (prev_x, y); | ^ edit.c:6353:18: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6353 | advance_char (& comb_char); | ^ edit.c:6354:18: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6354 | move_address (comb_char, y); | ^ edit.c:6359:13: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6359 | move_to (prev_x + 1, y); | ^ edit.c:6365:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6365 | move_to (x + 1, y); | ^ edit.c:6367:38: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6367 | } while ((hop_flag > 0 && idfchar (cur_text)) | ^~~~~~~~ edit.c:6057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6057 | lowcap (dir) | ^ edit.c:6434:34: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6434 | unsigned long uc = unicodevalue (cp); | ^ edit.c:6437:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6437 | advance_char (& cp); | ^ edit.c:6438:21: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6438 | uc = unicodevalue (cp); | ^ edit.c:6444:15: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6444 | if (idfchar (cp) /* && * cp != '_' && * cp != '$' */) { | ^~ edit.c:6463:31: warning: passing arguments to 'lookup_caseconv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6463 | int tabix = lookup_caseconv (uc); | ^ edit.c:6503:15: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6503 | advance_char (& cp); | ^ edit.c:6511:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6511 | move_address (first_alpha, y); | ^ edit.c:6512:20: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6512 | uc = unicodevalue (cur_text); | ^ edit.c:6513:14: warning: passing arguments to 'script' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6513 | sn = script (uc); | ^ edit.c:6530:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6530 | move_to (offset - cur_line->shift_count * SHIFT_SIZE, y); | ^ edit.c:6557:16: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6557 | precede_char (& cp, cur_line->text); | ^ edit.c:6563:15: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6563 | precede_char (& cp, cur_line->text); | ^ edit.c:6587:34: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6587 | unsigned long cv = unicodevalue (pp1); | ^ edit.c:6590:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6590 | if (! no_char (cv)) { | ^ edit.c:6591:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6591 | move_address (pp1, y); | ^ 758 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c pastebuf.c -o ../bin/FreeBSD.amd64/pastebuf.o In file included from pastebuf.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from pastebuf.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from pastebuf.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from pastebuf.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from pastebuf.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from pastebuf.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from pastebuf.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from pastebuf.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ pastebuf.c:149:15: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | dup = alloc (strlen (file_name) + 1); | ^ pastebuf.c:236:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | error ("No more stacked positions"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:254:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | error ("No more stacked positions"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:275:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | error ("Stacked position not valid"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:280:12: warning: passing arguments to 'checkmark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | checkmark (mark_stack [mark_stack_poi].line, | ^ pastebuf.c:288:27: warning: passing arguments to 'save_text_load_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | if (save_text_load_file (mark_stack [mark_stack_poi].file) == ERRORS) { | ^ pastebuf.c:294:22: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | open_line = proceed (header->next, mark_lineno); | ^ pastebuf.c:297:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | error ("Stacked position not present anymore"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:303:22: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | move_to (0, find_y (open_line)); | ^ pastebuf.c:303:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | move_to (0, find_y (open_line)); | ^ pastebuf.c:306:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | advance_char (& cpoi); | ^ pastebuf.c:309:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | move_address (cpoi, y); | ^ pastebuf.c:315:11: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | find_y (mark_stack [mark_stack_poi].line)); | ^ pastebuf.c:314:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | move_address (mark_stack [mark_stack_poi].text, | ^ pastebuf.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | legal (mark_line, mark_text) | ^ pastebuf.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] 351 | checkmark (mark_line, mark_text) | ^ In file included from pastebuf.c:6: ./mined.h:676: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] 676 | extern FLAG checkmark _((LINE *, char *)); | ^ pastebuf.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] 453 | set_buffer_open (appending) | ^ pastebuf.c:521:19: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | advance_char_scr (& tp, & col, line->text); | ^ pastebuf.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | get_text_col (line, textp, with_shift) | ^ pastebuf.c:543:19: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | advance_char_scr (& cpoi, & col, line->text); | ^ pastebuf.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | text_at (line, colpoi, targcol) | ^ pastebuf.c:604:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | status_msg ("Appending text ..."); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:606:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | status_msg ("Saving text ..."); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:638:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | error ("Rectangular area empty"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:645:29: warning: passing arguments to 'char_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | chars_written = char_count (textp) - 1; | ^ pastebuf.c:653:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | error ("Internal error: passed end of text to be copied"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:665:19: warning: passing arguments to 'writechar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | if (writechar (fd, ' ') == ERRORS) { | ^ pastebuf.c:666:6: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | error2 ("Write to buffer failed: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:675:30: warning: passing arguments to 'write_lineend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | return_len = write_lineend (fd, line->return_type, False); | ^ pastebuf.c:678:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | error2 ("Write to buffer failed: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:691:39: warning: passing arguments to 'delete_text_only' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | if (ERRORS == delete_text_only (line, line_startp, line, textp)) { | ^ pastebuf.c:696:16: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | move_to (x, y); | ^ pastebuf.c:711:32: warning: passing arguments to 'char_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | chars_written += char_count (textp) - 1; | ^ pastebuf.c:719:38: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | unsigned long unichar = charvalue (textp); | ^ pastebuf.c:721:34: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | unichar = lookup_encodedchar (unichar); | ^ pastebuf.c:722:20: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | if (no_unichar (unichar)) { | ^ pastebuf.c:731:21: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | up += utfencode (unichar & 0xFFFF, up); | ^ pastebuf.c:737:21: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | (void) utfencode (unichar, up); | ^ pastebuf.c:743:19: warning: passing arguments to 'writechar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | if (writechar (fd, * up) == ERRORS) { | ^ pastebuf.c:744:6: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | error2 ("Write to buffer failed: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:755:22: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | advance_char_scr (& textp, & col, line->text); | ^ pastebuf.c:757:18: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | advance_char (& textp); | ^ pastebuf.c:760:39: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | unsigned long thischar = charvalue (textp); | ^ pastebuf.c:761:29: warning: passing arguments to 'encode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | char * buf = encode_char (thischar); | ^ pastebuf.c:765:19: warning: passing arguments to 'writechar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | if (writechar (fd, * buf) == ERRORS) { | ^ pastebuf.c:766:6: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | error2 ("Write to buffer failed: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:775:21: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | advance_char_scr (& textp, & col, line->text); | ^ pastebuf.c:777:18: warning: passing arguments to 'writechar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | if (writechar (fd, * textp) == ERRORS) { | ^ pastebuf.c:778:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | error2 ("Write to buffer failed: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:799:30: warning: passing arguments to 'char_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | chars_written -= char_count (end_textp) - 1; | ^ pastebuf.c:812:18: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | line = proceed (top_line, top_y); | ^ pastebuf.c:813:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | display (top_y, line, bottom_y - top_y, y); | ^ pastebuf.c:820:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | display (y, cur_line, bottom_y - top_y, y); | ^ pastebuf.c:825:30: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | move_to (LINE_START, find_y (start_line)); /* unshift line */ | ^ pastebuf.c:825:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | move_to (LINE_START, find_y (start_line)); /* unshift line */ | ^ pastebuf.c:826:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | move_to (start_col, y); | ^ pastebuf.c:830:21: warning: passing arguments to 'flush_filebuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | if (flush_filebuf (fd) == ERRORS) { | ^ pastebuf.c:831:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | error2 ("Write to buffer failed: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:836:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | error2 ("Write to buffer failed: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:850:18: warning: passing arguments to 'find_x' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | move_to (find_x (start_line, start_textp), find_y (start_line)); | ^ pastebuf.c:850:52: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | move_to (find_x (start_line, start_textp), find_y (start_line)); | ^ pastebuf.c:850:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | move_to (find_x (start_line, start_textp), find_y (start_line)); | ^ pastebuf.c:851:18: warning: passing arguments to 'delete_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | if (delete_text (start_line, start_textp, end_line, end_textp) | ^ pastebuf.c:894:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | status_uni (text_buffer); | ^ pastebuf.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] 568 | yank_text (fd, buf_status, | ^ pastebuf.c:915:22: warning: passing arguments to 'yankfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | yank_text (yankfile (WRITE, True), & yank_status, | ^ pastebuf.c:919:21: warning: passing arguments to 'delete_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | (void) delete_text (start_line, start_textp, end_line, end_textp); | ^ pastebuf.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | delete_text_buf (start_line, start_textp, end_line, end_textp) | ^ In file included from pastebuf.c:6: ./mined.h:677: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] 677 | extern void delete_text_buf _((LINE * start_line, char * start_textp, LINE * end_line, char * end_textp)); | ^ pastebuf.c:940:18: warning: passing arguments to 'get_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | ret = get_line (fd, buffer, len, False); | ^ pastebuf.c:957:23: warning: passing arguments to 'UTF8_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | int ulen = UTF8_len (* poi); | ^ pastebuf.c:958:32: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | unsigned long uc = utf8value (poi); | ^ pastebuf.c:961:16: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 961 | advance_utf8 (& poi); | ^ pastebuf.c:967:36: warning: passing arguments to 'encodedchar2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | unsigned long nc = encodedchar2 (prev_uc, uc); | ^ pastebuf.c:968:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | if (no_char (nc)) { | ^ pastebuf.c:969:22: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | nc = encodedchar (uc); | ^ pastebuf.c:977:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | if (no_char (nc)) { | ^ pastebuf.c:981:28: warning: passing arguments to 'cjkencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | int cjklen = cjkencode (nc, npoi); | ^ pastebuf.c:999:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | error ("Line too long in current encoding"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | get_pasteline (fd, buffer, len) | ^ pastebuf.c:1091:18: warning: passing arguments to 'reset_get_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | reset_get_line (from_text_file); | ^ pastebuf.c:1100:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | status_msg ("Nothing inserted"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1132:19: warning: passing arguments to 'insert_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1132 | if (insert_text (line, cur_text, line_buffer) == ERRORS) { | ^ pastebuf.c:1146:51: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | pasted_end_textp = line->text + len + length_of (line_buffer); | ^ pastebuf.c:1179:40: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | LINE * new_line = line_insert_after (line, "\n", 1, line->return_type); | ^ pastebuf.c:1182:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | status_fmt2 ("Out of memory - ", "Insertion failed"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ pastebuf.c:1206:21: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | advance_char_scr (& inspoi, & inscol, line->text); | ^ pastebuf.c:1226:23: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | advance_char_scr (& reftext, & refcol, line->prev->text); | ^ pastebuf.c:1229:20: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | ch = charvalue (refprev); | ^ pastebuf.c:1230:21: warning: passing arguments to 'unicode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | unich = unicode (ch); | ^ pastebuf.c:1232:35: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | if (unich != 0x3000 && iswide (unich) | ^ pastebuf.c:1236:23: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | ch = encodedchar (unich); | ^ pastebuf.c:1247:29: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | } else if (iswhitespace (unich)) { | ^ pastebuf.c:1249:17: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1249 | if (iswide (unich)) { | ^ pastebuf.c:1251:29: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | } else if (iscombining (unich)) { | ^ pastebuf.c:1256:31: warning: passing arguments to 'encode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | char * ec = encode_char (ch); | ^ pastebuf.c:1274:20: warning: passing arguments to 'insert_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | if (insert_text (line, inspoi, fill_buffer) == ERRORS) { | ^ pastebuf.c:1283:22: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1283 | advance_char_scr (& inspoi, & inscol, line->text); | ^ pastebuf.c:1289:19: warning: passing arguments to 'insert_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | if (insert_text (line, inspoi, line_buffer) == ERRORS) { | ^ pastebuf.c:1295:51: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | pasted_end_textp = line->text + len + length_of (line_buffer); | ^ pastebuf.c:1306:32: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1306 | new_line = line_insert_after (line, line_buffer, len, return_type); | ^ pastebuf.c:1309:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1309 | status_fmt2 ("Out of memory - ", "Insertion failed"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ pastebuf.c:1334:39: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1334 | LINE * new_line = line_insert_after (line, "\n", 1, line->return_type); | ^ pastebuf.c:1345:18: warning: passing arguments to 'insert_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | if (insert_text (line, line->text, line_buffer) == ERRORS) { | ^ pastebuf.c:1351:45: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | pasted_end_textp = line->text + length_of (line_buffer); | ^ pastebuf.c:1370:13: warning: passing arguments to 'print_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | print_line (y, line); | ^ pastebuf.c:1372:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | move_to (x, y); | ^ pastebuf.c:1376:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | move_address (pasted_end_textp, y); | ^ pastebuf.c:1380:8: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1380 | reset (top_line, y); /* Reset pointers */ | ^ pastebuf.c:1385:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | display (y, cur_line, SCREENMAX - y, y); | ^ pastebuf.c:1389:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | move_to (x, y); | ^ pastebuf.c:1394:43: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1394 | move_address (pasted_end_textp, find_y (line)); | ^ pastebuf.c:1394:17: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1394 | move_address (pasted_end_textp, find_y (line)); | ^ pastebuf.c:1399:44: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | move_address (pasted_end_textp, find_y (line)); | ^ pastebuf.c:1399:18: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | move_address (pasted_end_textp, find_y (line)); | ^ pastebuf.c:1402:24: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | move_to (0, find_y (line->next)); | ^ pastebuf.c:1402:13: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | move_to (0, find_y (line->next)); | ^ pastebuf.c:1413:23: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | status_line (dec_out ((long) line_count), " lines added"); | ^ pastebuf.c:1413:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | status_line (dec_out ((long) line_count), " lines added"); | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | insert_file (fd, stay_old_pos, from_text_file) | ^ pastebuf.c:1419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1419 | paste_file (fd, stay_old_pos, from_text_file) | ^ pastebuf.c:1496:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | error ("No clipboard buffer present"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:1499:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1499 | status_uni ("Pasting from clipboard"); | ^ pastebuf.c:1505:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1505 | error ("No inter window buffer present"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:1508:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1508 | status_uni ("Pasting from cross-session buffer"); | ^ pastebuf.c:1510:21: warning: passing arguments to 'yankfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | if ((fd = yankfile (READ, False)) == ERRORS) { | ^ pastebuf.c:1513:15: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1513 | status_uni ("No paste buffer - type F1 k for help on copy/paste"); | ^ pastebuf.c:1515:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1515 | error2 ("Cannot read paste buffer: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1519:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | status_uni ("Pasting"); | ^ pastebuf.c:1446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | paste_buffer (old_pos, use_clipboard) | ^ pastebuf.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | set_yank_file_name (buf_name, which, no) | ^ pastebuf.c:1572:21: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1572 | (void) delete_file (yank_file); | ^ pastebuf.c:1577:21: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | (void) delete_file (html_file); | ^ pastebuf.c:1606:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | error2 ("Cannot create buffer file: " /* , buf_name */, "File exists"); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1608:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | error2 ("Cannot create buffer file: " /* , buf_name */, serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | scratchfile (mode, append, buf_name, which, buf_status) | ^ pastebuf.c:1637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | yankfile (mode, append) | ^ In file included from pastebuf.c:6: ./mined.h:673: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] 673 | extern int yankfile _((FLAG read_write, FLAG append)); | ^ pastebuf.c:1646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | htmlfile (mode, append) | ^ pastebuf.c:1694:43: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1694 | move_address (pasted_start_textp, find_y (pasted_start_line)); | ^ pastebuf.c:1694:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1694 | move_address (pasted_start_textp, find_y (pasted_start_line)); | ^ pastebuf.c:1695:18: warning: passing arguments to 'delete_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1695 | if (delete_text (pasted_start_line, pasted_start_textp, pasted_end_line, pasted_end_textp) | ^ pastebuf.c:1701:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:1709:18: warning: passing arguments to 'delete_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1709 | if (delete_text (pasted_start_line, pasted_start_textp, pasted_end_line, pasted_end_textp) | ^ pastebuf.c:1715:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1715 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:1721:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1721 | error ("No previous paste to exchange"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:1738:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1738 | error ("HTML paste buffer vanished"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:1764:20: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1764 | if (get_filename ("Insert file:", name, False) != FINE) { | ^ pastebuf.c:1767:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1767 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:1769:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1769 | status_file ("Inserting ", name); | ^ pastebuf.c:1771:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1771 | error2 ("Cannot open file: " /*, name */, serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1800:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1800 | error ("Paste buffer is empty"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:1802:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1802 | error2 ("Cannot read paste buffer: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1808:20: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1808 | if (get_filename ((hop_flag > 0) | ^ pastebuf.c:1817:17: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1817 | status_file ("Opening ", wfile_name); | ^ pastebuf.c:1819:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1819 | error2 ("Cannot append to file: " /* , wfile_name */, serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1825:31: warning: passing arguments to 'checkoverwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1825 | FLAG ovw = checkoverwrite (wfile_name); | ^ pastebuf.c:1831:20: warning: passing arguments to 'do_backup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1831 | (void) do_backup (wfile_name); | ^ pastebuf.c:1835:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1835 | status_file ("Opening ", wfile_name); | ^ pastebuf.c:1837:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | error2 ("Cannot create file: " /* , wfile_name */, serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1845:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | status_file (msg_doing, wfile_name); | ^ pastebuf.c:1851:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1851 | error2 ("Writing buffer to file failed: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1857:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1857 | error2 ("Reading paste buffer failed: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1865:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1865 | error2 ("Writing buffer to file failed: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1871:14: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1871 | file_status (msg_done, bytes_saved, chars_saved, | ^ pastebuf.c:1891:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1891 | status_uni ("Mark set - type F1 k for help on copy/paste - HOP Mark toggles rectangular"); | ^ pastebuf.c:1882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1882 | setMARK (set_only) | ^ In file included from pastebuf.c:6: ./mined.h:1100: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] 1100 | extern void setMARK _((FLAG set_only)), toggleMARK _((void)); | ^ pastebuf.c:1903:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1903 | status_uni ("Mark set -selection hidden- HOP Mark toggles rectangular"); | ^ pastebuf.c:1920:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1920 | status_msg ("Mark unset"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1931:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1931 | error ("Mark not set"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:1936:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1936 | status_msg ("Rectangular selection enabled"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1938:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1938 | status_msg ("Rectangular selection disabled"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1944:34: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1944 | move_address (mark_text, find_y (mark_line)); | ^ pastebuf.c:1944:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1944 | move_address (mark_text, find_y (mark_line)); | ^ pastebuf.c:1960:8: warning: passing arguments to 'GOMAn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1960 | GOMAn (n); | ^ pastebuf.c:1963:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1963 | error ("Marker # out of range"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:1968:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1968 | status_msg ("Marker set"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ pastebuf.c:1956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1956 | MARKn (n) | ^ In file included from pastebuf.c:6: ./mined.h:1104: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] 1104 | extern void MARKn _((int)), GOMAn _((int)), mark_n _((int)); | ^ pastebuf.c:1980:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1980 | error ("Marker # out of range"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:1973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1973 | mark_n (n) | ^ In file included from pastebuf.c:6: ./mined.h:1104:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1104 | extern void MARKn _((int)), GOMAn _((int)), mark_n _((int)); | ^ pastebuf.c:1998:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1998 | error ("Marker # out of range"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:2003:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2003 | error ("Marker not set"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:2005:42: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2005 | move_address (marker_n [n].text, find_y (marker_n [n].line)); | ^ pastebuf.c:2005:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2005 | move_address (marker_n [n].text, find_y (marker_n [n].line)); | ^ pastebuf.c:1992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1992 | GOMAn (n) | ^ In file included from pastebuf.c:6: ./mined.h:1104:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1104 | extern void MARKn _((int)), GOMAn _((int)), mark_n _((int)); | ^ pastebuf.c:2044:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2044 | status_uni (text_buffer); | ^ pastebuf.c:2048:22: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2048 | (void) delete_file (yankie_file); | ^ pastebuf.c:2072:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2072 | status_uni ("Copying to cross-session buffer"); | ^ pastebuf.c:2073:16: warning: passing arguments to 'copyfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2073 | if (copyfile (yank_file, yankie_file) != True) { | ^ pastebuf.c:2078:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2078 | status_uni (text_buffer); | ^ pastebuf.c:2106:15: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2106 | status_uni ("Mark not set for Cut to paste buffer - type F1 k for help"); | ^ pastebuf.c:2109:15: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2109 | status_uni ("Mark not set for Copy to paste buffer - type F1 k for help"); | ^ pastebuf.c:2131:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2131 | status_uni ("No text selected for Copy or Cut"); | ^ pastebuf.c:2134:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2134 | error ("Internal mark error"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:2088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | yank_block (remove, append) | ^ pastebuf.c:2146:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2146 | error ("HTML tag selection failed"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:2161:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2161 | error ("HTML tag selection failed"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:2164:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2164 | error ("Internal mark error"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ pastebuf.c:2141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2141 | yank_HTML (remove) | ^ In file included from pastebuf.c:6: ./mined.h:674: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] 674 | extern void yank_HTML _((FLAG remove)); | ^ pastebuf.c:2255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2255 | select_line (line, sel_begin, sel_end) | ^ pastebuf.c:2276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2276 | do_update_selection_marks (select, pos_x) | ^ pastebuf.c:2453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2453 | update_selection_marks (until_x) | ^ In file included from pastebuf.c:6: ./mined.h:683: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] 683 | extern void update_selection_marks _((int pos_x)); | ^ pastebuf.c:2467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2467 | continue_highlight_selection (until_x) | ^ In file included from pastebuf.c:6: ./mined.h:682: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] 682 | extern void continue_highlight_selection _((int pos_x)); | ^ pastebuf.c:2516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2516 | adjust_rectangular_mode (alt_mouse) | ^ In file included from pastebuf.c:6: ./mined.h:687: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] 687 | extern void adjust_rectangular_mode _((FLAG alt_mouse)); | ^ pastebuf.c:2535:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2535 | error ("Mark not set"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ 223 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c textbuf.c -o ../bin/FreeBSD.amd64/textbuf.o In file included from textbuf.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from textbuf.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from textbuf.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from textbuf.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from textbuf.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from textbuf.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from textbuf.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from textbuf.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ textbuf.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | proceed (line, count) | ^ In file included from textbuf.c:6: ./mined.h:646: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] 646 | extern LINE * proceed _((LINE *, int)); | ^ textbuf.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | reset (head_line, screen_y) | ^ In file included from textbuf.c:6: ./mined.h:647: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] 647 | extern void reset _((LINE * scr_top, int y)); | ^ textbuf.c:124:21: warning: passing arguments to 'iscombined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | return iscombined (unichar, charpos, linebegin) && | ^ textbuf.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] 119 | iscombined_display (unichar, charpos, linebegin) | ^ textbuf.c:153:19: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | advance_char_scr (& textp, & x_in_line, line->text); | ^ textbuf.c:167:25: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | unichar = unicodevalue (textp); | ^ textbuf.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | find_x (line, address) | ^ In file included from textbuf.c:6: ./mined.h:652: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] 652 | extern int find_x _((LINE * line, char * address)); | ^ textbuf.c:239:20: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | advance_char_scr (& textp, & tx, line->text); | ^ textbuf.c:243:41: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | unsigned long unichar = unicodevalue (textp); | ^ textbuf.c:247:41: warning: passing arguments to 'isspacingcombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | || isspacingcombining_unichar (unichar) | ^ textbuf.c:250:27: warning: passing arguments to 'iscombined_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | && iscombined_unichar (unichar, textp, line->text) | ^ textbuf.c:253:22: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | advance_char_scr (& textp, & tx, line->text); | ^ textbuf.c:254:28: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | unichar = unicodevalue (textp); | ^ textbuf.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 | find_address (line, new_x, cur_x) | ^ textbuf.c:355:25: warning: passing arguments to 'charbegin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | char_begin = charbegin (line->text, new_address); | ^ textbuf.c:363:18: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | advance_char (& new_address); | ^ textbuf.c:380:17: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | advance_utf8 (& utf_search); | ^ textbuf.c:396:55: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | || (new_x == XBREAK - 1 && iswide (unicodevalue (new_address))) | ^ textbuf.c:396:41: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | || (new_x == XBREAK - 1 && iswide (unicodevalue (new_address))) | ^ textbuf.c:408:62: warning: passing arguments to 'marker_defined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | if (new_x == 0 && line->shift_count != 0 && marker_defined (SHIFT_BEG_marker, UTF_SHIFT_BEG_marker)) { | ^ textbuf.c:417:62: warning: passing arguments to 'marker_defined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | if (new_x == 0 && line->shift_count != 0 && marker_defined (SHIFT_BEG_marker, UTF_SHIFT_BEG_marker)) { | ^ textbuf.c:422:14: warning: passing arguments to 'print_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | print_line (y, line); | ^ textbuf.c:438:25: warning: passing arguments to 'update_selection_marks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | update_selection_marks (x); | ^ textbuf.c:440:25: warning: passing arguments to 'update_selection_marks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | update_selection_marks (new_x_requested); | ^ textbuf.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | move_it (new_x, new_address, new_y) | ^ textbuf.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | move_y (ny) | ^ In file included from textbuf.c:6: ./mined.h:648: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] 648 | extern void move_y _((int y)); | ^ textbuf.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | move_to (nx, ny) | ^ In file included from textbuf.c:6: ./mined.h:649: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] 649 | extern void move_to _((int x, int y)); | ^ textbuf.c:466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | move_address (nadd, ny) | ^ In file included from textbuf.c:6: ./mined.h:650: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] 650 | extern void move_address _((char *, int y)); | ^ textbuf.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 | move_address_w_o_RD (nadd, ny) | ^ In file included from textbuf.c:6: ./mined.h:651: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] 651 | extern void move_address_w_o_RD _((char *, int y)); | ^ textbuf.c:525:7: warning: passing arguments to 'RD_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | RD_y (count); | ^ textbuf.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | find_y_RD (match_line, redrawflag) | ^ textbuf.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | find_y (match_line) | ^ In file included from textbuf.c:6: ./mined.h:655: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] 655 | extern int find_y _((LINE * line)); | ^ textbuf.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | find_y_w_o_RD (match_line) | ^ In file included from textbuf.c:6: ./mined.h:656: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] 656 | extern int find_y_w_o_RD _((LINE * line)); | ^ textbuf.c:558:15: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | advance_char (& cpoi); | ^ textbuf.c:584:28: warning: passing arguments to 'char_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | total_chars += char_count (line->text); | ^ textbuf.c:687:14: warning: passing arguments to 'num_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | ? num_out ((line_number - 1) / lines_per_page + 1, 10) | ^ textbuf.c:707:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | status_fmt2 (fileinfo, textinfo); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textbuf.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | file_status (message, bytecount, charcount, filename, lines, textstat, writefl, changed, viewing) | ^ In file included from textbuf.c:6: ./mined.h:662: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] 662 | extern void file_status _((char * message, long bytecount, long charcount, | ^ 57 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c justify.c -o ../bin/FreeBSD.amd64/justify.o In file included from justify.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from justify.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from justify.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from justify.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from justify.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from justify.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from justify.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from justify.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ justify.c:142:19: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | advance_char_scr (& poi, & column, cur_line->text); | ^ justify.c:146:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | move_address (poi, y); | ^ justify.c:153:7: warning: passing arguments to 'S0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | S0 ('\t'); | ^ justify.c:156:7: warning: passing arguments to 'S0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | S0 (' '); | ^ justify.c:162:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | move_address (cur_text + strlen (prefix), y); | ^ justify.c:171:25: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | Scharacter (charvalue (p)); | ^ justify.c:171:14: warning: passing arguments to 'Scharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | Scharacter (charvalue (p)); | ^ justify.c:173:20: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | advance_char_scr (& p, & column, prefix); | ^ justify.c:181:7: warning: passing arguments to 'S0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | S0 ('\t'); | ^ justify.c:184:7: warning: passing arguments to 'S0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | S0 (' '); | ^ justify.c:206:19: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | advance_char_scr (& poi, & column, cur_line->text); | ^ justify.c:216:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | advance_char (& poi); | ^ justify.c:217:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | move_address (poi, y); | ^ justify.c:219:6: warning: passing arguments to 'S0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | S0 ('\n'); | ^ justify.c:223:21: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | advance_char_scr (& poi, & column, cur_line->text); | ^ justify.c:226:17: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | move_address (poi, y); | ^ justify.c:230:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | advance_char (& poi); | ^ justify.c:231:17: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | move_address (poi, y); | ^ justify.c:234:8: warning: passing arguments to 'S0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | S0 ('\n'); | ^ justify.c:246:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | move_address (poi, y); | ^ justify.c:249:6: warning: passing arguments to 'S0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | S0 (' '); | ^ justify.c:265:18: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | advance_char (& p); | ^ justify.c:279:16: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | precede_char (& poi, cur_line->text); | ^ justify.c:283:17: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | precede_char (& poi, cur_line->text); | ^ justify.c:289:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | move_address (poi, y); | ^ justify.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | justi_line (left_margin, jushop, first_line, justi_tabs, space_entered, auto_jus) | ^ justify.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | justi (left_margin, jushop, justi_tabs, space_entered, auto_jus) | ^ justify.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | justify (justi_tabs) | ^ justify.c:347:19: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | advance_char_scr (& poi, & column, cur_line->text); | ^ justify.c:363:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | advance_char (& ppoi); | ^ justify.c:372:39: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | unsigned long unichar = unicodevalue (poi); | ^ justify.c:381:41: warning: passing arguments to 'is_bullet_or_dash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | || (is_itemchar = is_bullet_or_dash (unichar)) | ^ justify.c:402:15: warning: passing arguments to 'isLetter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | || isLetter (unichar) | ^ justify.c:410:20: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | advance_char_scr (& poi, & column, cur_line->text); | ^ justify.c:411:26: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | unichar = unicodevalue (poi); | ^ justify.c:419:21: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | advance_char_scr (& poi, & column, cur_line->text); | ^ justify.c:422:22: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | advance_char_scr (& poi, & column, cur_line->text); | ^ justify.c:430:21: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | advance_char_scr (& poi, & column, cur_line->text); | ^ justify.c:472:19: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | advance_char_scr (& poi, & column, cur_line->text); | ^ justify.c:482:46: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | move_address (prevline->next->text, find_y (prevline->next)); | ^ justify.c:482:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | move_address (prevline->next->text, find_y (prevline->next)); | ^ justify.c:490:21: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | advance_char_scr (& poi, & column, cur_line->text); | ^ justify.c:493:17: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | move_address (poi, y); | ^ justify.c:521:18: warning: passing arguments to 'get_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | if (get_number (text_buffer, '\0', & number) == ERRORS) { | ^ justify.c:525:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | error ("Value too small"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ justify.c:529:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | error ("Value too large"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ justify.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | modify_int (name, var, min, max) | ^ justify.c:546:18: warning: passing arguments to 'get_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | if (get_number (text_buffer, '0', & number) == ERRORS) { | ^ justify.c:553:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | error ("Value too small"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ justify.c:557:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | error ("Value too large"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ justify.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | modify_col (name, var, min, max) | ^ 60 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c search.c -o ../bin/FreeBSD.amd64/search.o In file included from search.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from search.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from search.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from search.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from search.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from search.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from search.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from search.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ search.c:120:8: warning: passing arguments to 'SIDF' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | SIDF (FORWARD); | ^ search.c:129:8: warning: passing arguments to 'SIDF' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | SIDF (REVERSE); | ^ search.c:135:12: warning: passing arguments to 'SCURCHAR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | SCURCHAR (FORWARD); | ^ search.c:141:12: warning: passing arguments to 'SCURCHAR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | SCURCHAR (REVERSE); | ^ search.c:153:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | advance_char (& cp); | ^ search.c:161:14: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | search_for (cbuf, method, True); | ^ search.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | SCURCHAR (method) | ^ In file included from search.c:6: ./mined.h:1108:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1108 | extern void SIDF _((FLAG)), SCURCHAR _((FLAG)); | ^ search.c:173:9: warning: passing arguments to 'search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | search ("Search forward:", FORWARD); | ^ search.c:186:9: warning: passing arguments to 'search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | search ("Search backward:", REVERSE); | ^ search.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 | reverse_method (dir) | ^ search.c:230:13: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | search_for (prevexpr, reverse_method (prevmethod), True); | ^ search.c:232:19: warning: passing arguments to 'do_search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | (void) do_search (lastprogram, reverse_method (lastmethod)); | ^ search.c:251:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | if (get_string (message, exp_buf, False, "") == ERRORS) { | ^ ./mined.h:1171:14: note: expanded from macro 'get_string' 1171 | bottom_line (True, (str1), NIL_PTR, (str2), fl, term_chars) | ^ search.c:256:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | error ("No previous search expression"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ search.c:261:14: warning: passing arguments to 'copy_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | copy_string (typed_expression, exp_buf); /* Save expr. */ | ^ search.c:263:14: warning: passing arguments to 'compile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | if (compile (exp_buf, & program, True) == ERRORS) { | ^ search.c:269:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | error (program.result.err_mess); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ search.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] 248 | get_expression (message) | ^ search.c:287:15: warning: passing arguments to 'compile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | if (compile (expr, programpoi, case_ignore) == ERRORS) { | ^ search.c:293:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | error (programpoi->result.err_mess); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ search.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] 282 | make_expression_this (expr, case_ignore, programpoi) | ^ search.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] 301 | make_expression (expr, case_ignore) | ^ search.c:52: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] 52 | static REGEX * make_expression _((char * expr, FLAG case_ignore)); | ^ search.c:353:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | if (get_string (mess_buf, replacement, False, "") == ERRORS) { | ^ ./mined.h:1171:14: note: expanded from macro 'get_string' 1171 | bottom_line (True, (str1), NIL_PTR, (str2), fl, term_chars) | ^ search.c:361:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | set_cursor (0, YMAX); | ^ search.c:367:17: warning: passing arguments to 'line_check' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | if (line_check (program, searchfrom, line, FORWARD)) { | ^ search.c:373:16: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | ly = find_y (line); | ^ search.c:375:17: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | move_address (program->start_ptr, ly); | ^ search.c:378:15: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | status_uni ("Replace ? (y/n/ESC)"); | ^ search.c:379:15: warning: passing arguments to 'prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | c = prompt ("yn"); | ^ search.c:380:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ search.c:384:27: warning: passing arguments to 'substitute' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | textp = substitute (line, & line, | ^ search.c:389:11: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | reset (top_line, y); | ^ search.c:392:14: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | display (y, cur_line, prev_last_y - y, y); | ^ search.c:394:14: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | display (y, cur_line, last_y - y, y); | ^ search.c:397:16: warning: passing arguments to 'print_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | print_line (ly, line); | ^ search.c:404:21: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | advance_char (& textp); | ^ search.c:410:26: warning: passing arguments to 'substitute' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | textp = substitute (line, & line, | ^ search.c:420:17: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | ly = find_y (line); | ^ search.c:426:13: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | display (y, cur_line, last_y - y, y); | ^ search.c:427:11: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | reset (top_line, y); /* reset bot_line */ | ^ search.c:429:16: warning: passing arguments to 'print_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | print_line (ly, line); | ^ search.c:431:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | move_to (x, ly); | ^ search.c:440:21: warning: passing arguments to 'line_check' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | && line_check (program, textp, line, FORWARD) | ^ search.c:452:15: warning: passing arguments to 'print_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | print_line (ly, line); | ^ search.c:473:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | error ("No substitution"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ search.c:479:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | status_msg (mess_buf); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ search.c:481:23: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | status_line (dec_out (subs), | ^ search.c:481:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | status_line (dec_out (subs), | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ search.c:484:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ search.c:488:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | move_to (x, y); | ^ search.c:491:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | move_address (cur_line->text + text_offset, previousy); | ^ search.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 | change (message, global, confirm) | ^ search.c:560:58: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | error2 ("Invalid substitution reference \\", dec_out (* subp - '0')); | ^ search.c:560:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | error2 ("Invalid substitution reference \\", dec_out (* subp - '0')); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ search.c:600:17: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | if (length_of (text_buffer) + length_of (program->end_ptr) >= maxLINElen) { | ^ search.c:600:43: warning: passing arguments to 'length_of' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | if (length_of (text_buffer) + length_of (program->end_ptr) >= maxLINElen) { | ^ search.c:602:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | error ("Substitution failed: replacement buffer exceeded"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ search.c:604:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | error ("Substitution failed: resulted line too long"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ search.c:610:15: warning: passing arguments to 'copy_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | copy_string (textp, program->end_ptr); | ^ search.c:614:26: warning: passing arguments to 'delete_text_only' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | (void) delete_text_only (line->next, line->next->text, | ^ search.c:636:19: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | newtext = alloc (repl_len + 1); | ^ search.c:639:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | error ("Substitution failed: cannot allocate more memory"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ search.c:642:13: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | free_space (line->text); | ^ search.c:647:22: warning: passing arguments to 'update_syntax_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | update_syntax_state (line); | ^ search.c:667:27: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | line = line_insert_after (line, repl_start, repl_len, old_return_type); | ^ search.c:670:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | status_fmt2 ("Out of memory - ", "Substitution failed"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ search.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | substitute (line, line_poi, | ^ search.c:54: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] 54 | static char * substitute _((LINE * line, LINE * * line_poi, REGEX * program, | ^ search.c:734:20: warning: passing arguments to 'do_search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | (void) do_search (lastprogram, lastmethod); | ^ search.c:741:14: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | search_for (prevexpr, prevmethod, True); | ^ search.c:754:14: warning: passing arguments to 'copy_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | copy_string (prevexp_buf, exp_buf); | ^ search.c:763:14: warning: passing arguments to 'copy_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | copy_string (prevexpr, prevexp_buf); | ^ search.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | search (message, method) | ^ search.c:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | static void search _((char * message, FLAG method)); | ^ search.c:789:20: warning: passing arguments to 'do_search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | (void) do_search (program, method); | ^ search.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | search_for (expr, method, case_ignore) | ^ In file included from search.c:6: ./mined.h:769: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] 769 | extern void search_for _((char *, FLAG direction, FLAG case_ignore)); | ^ search.c:809:20: warning: passing arguments to 'do_search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | return do_search (program, method); | ^ search.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | search_ini (expr, method, case_ignore) | ^ In file included from search.c:6: ./mined.h:770: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] 770 | extern FLAG search_ini _((char *, FLAG direction, FLAG case_ignore)); | ^ search.c:832:20: warning: passing arguments to 'do_search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | (void) do_search (program, method); | ^ search.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | search_expr (expr, method, case_ignore) | ^ In file included from search.c:6: ./mined.h:771: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] 771 | extern void search_expr _((char *, FLAG direction, FLAG case_ignore)); | ^ search.c:876:26: warning: passing arguments to 'search_it' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | match_line = search_it (program, method); | ^ search.c:881:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | status_msg ("No corresponding bracket"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ search.c:882:35: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | move_address (old_text, find_y (old_line)); | ^ search.c:882:17: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | move_address (old_text, find_y (old_line)); | ^ search.c:916:49: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | move_address_w_o_RD (old_text, find_y_w_o_RD (old_line)); | ^ search.c:916:24: warning: passing arguments to 'move_address_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | move_address_w_o_RD (old_text, find_y_w_o_RD (old_line)); | ^ search.c:917:45: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | move_address (program->start_ptr, find_y (match_line)); | ^ search.c:917:17: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | move_address (program->start_ptr, find_y (match_line)); | ^ search.c:947:58: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | move_address_w_o_RD (program->start_ptr, find_y_w_o_RD (match_line)); | ^ search.c:947:23: warning: passing arguments to 'move_address_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | move_address_w_o_RD (program->start_ptr, find_y_w_o_RD (match_line)); | ^ search.c:954:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | status_msg ("Bracket search aborted"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ search.c:956:34: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | move_address (old_text, find_y (old_line)); | ^ search.c:956:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | move_address (old_text, find_y (old_line)); | ^ search.c:962:48: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | move_address_w_o_RD (old_text, find_y_w_o_RD (old_line)); | ^ search.c:962:23: warning: passing arguments to 'move_address_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | move_address_w_o_RD (old_text, find_y_w_o_RD (old_line)); | ^ search.c:969:44: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | move_address (program->start_ptr, find_y (match_line)); | ^ search.c:969:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | move_address (program->start_ptr, find_y (match_line)); | ^ search.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | search_corresponding (expr, method, corresponding) | ^ In file included from search.c:6: ./mined.h:772: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] 772 | extern void search_corresponding _((char *, FLAG, char *)); | ^ search.c:993:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | set_cursor (0, YMAX); | ^ search.c:994:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ search.c:997:27: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | if ((match_line = match (program, cur_text, method)) == NIL_LINE) { | ^ search.c:999:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | status_msg ("Search aborted"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ search.c:1003:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | status_msg ("Search program corrupted"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ search.c:1005:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | status_msg ("Pattern not found"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ search.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | search_it (program, method) | ^ search.c:65: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] 65 | static LINE * search_it _((REGEX * program, FLAG method)); | ^ search.c:1020:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | error ("No previous search"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ search.c:1024:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | error ("No previous search expression"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ search.c:1036:44: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | move_address (program->start_ptr, find_y (match_line)); | ^ search.c:1036:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | move_address (program->start_ptr, find_y (match_line)); | ^ search.c:1013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | do_search (program, method) | ^ search.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static FLAG do_search _((REGEX * program, FLAG method)); | ^ search.c:1091:38: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | program->result.expression = alloc (length); | ^ search.c:1094:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | error ("Cannot allocate memory for search expression"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ search.c:1085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | finished (program, last_exp) | ^ search.c:1325:29: warning: passing arguments to 'precedingchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | low_char = precedingchar (pattern, pat_start); | ^ search.c:1330:26: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | high_char = charvalue (pattern); | ^ search.c:1341:26: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | charlen = utfencode (low_char, utfbuf); | ^ search.c:1343:26: warning: passing arguments to 'cjkencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | charlen = cjkencode (low_char, utfbuf); | ^ search.c:1361:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1361 | advance_char ((char * *) & pattern); | ^ search.c:1397:27: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1397 | letter = unicodevalue (pattern); | ^ search.c:1398:26: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | upper = case_convert (letter, 1); | ^ search.c:1400:30: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | (case_ignore && ! no_char (upper) && upper != letter); | ^ search.c:1410:15: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | utf8_info (pattern, & charlen, & low_char); | ^ search.c:1412:23: warning: passing arguments to 'CJK_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1412 | charlen = CJK_len (pattern); | ^ search.c:1428:42: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1428 | char * ec = encode_char (encodedchar (upper)); | ^ search.c:1428:29: warning: passing arguments to 'encode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1428 | char * ec = encode_char (encodedchar (upper)); | ^ search.c:1438:26: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | title = case_convert (letter, 2); | ^ search.c:1439:19: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1439 | if (! no_char (title) && title != upper) { | ^ search.c:1440:43: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | char * ec = encode_char (encodedchar (title)); | ^ search.c:1440:30: warning: passing arguments to 'encode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | char * ec = encode_char (encodedchar (title)); | ^ search.c:1173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | compile (pat_start, program, case_ignore) | ^ search.c:51:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static int compile _((character * pat_start, REGEX * program, FLAG case_ignore)); | ^ search.c:1519:15: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | advance_char (& next); | ^ search.c:1520:17: warning: passing arguments to 'line_check' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1520 | if (line_check (program, next, line, method) == MATCH) { | ^ search.c:1529:17: warning: passing arguments to 'line_check' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1529 | if (line_check (program, line->text, line, method) == MATCH) { | ^ search.c:1543:15: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1543 | status_uni (">>>>>>>> Search wrapped around end of file >>>>>>>>"); | ^ search.c:1545:15: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | status_uni ("<<<<<<<< Search wrapped around top of file <<<<<<<<"); | ^ search.c:1550:17: warning: passing arguments to 'line_check' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1550 | if (line_check (program, line->text, line, method) == MATCH) { | ^ search.c:1501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1501 | match (program, string, method) | ^ search.c:60: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] 60 | static LINE * match _((REGEX * program, character * string, FLAG method)); | ^ search.c:1593:26: warning: passing arguments to 'check_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1593 | int ret = check_string (program, string, from_line, NIL_INT); | ^ search.c:1610:20: warning: passing arguments to 'check_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1610 | if (check_string (program, textp, from_line, NIL_INT)) { | ^ search.c:1617:17: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | precede_char (& textp, string); | ^ search.c:1624:20: warning: passing arguments to 'check_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1624 | if (check_string (program, textp, from_line, NIL_INT)) { | ^ search.c:1631:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | advance_char (& textp); | ^ search.c:1569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | line_check (program, string, from_line, method) | ^ search.c:61: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] 61 | static int line_check _((REGEX * program, char * str, LINE * from, FLAG method)); | ^ search.c:1722:6: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1722 | from_line->next->text, | ^~~~~~~~~~~~~~~~~~~~~ search.c:1741:28: warning: assigning to 'char *' from 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1741 | referrers [ref].to_text = string; | ^ ~~~~~~ search.c:1746:30: warning: assigning to 'char *' from 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1746 | referrers [ref].from_text = string; | ^ ~~~~~~ search.c:1775:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1775 | advance_char ((char * *) & string); | ^ search.c:1782:18: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1782 | advance_char ((char * *) & string); | ^ search.c:1789:26: warning: passing arguments to 'in_exprlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1789 | while (in_exprlist (expression, string, | ^ search.c:1811:18: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1811 | advance_char ((char * *) & string); | ^ search.c:1815:20: warning: passing arguments to 'in_exprlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1815 | if (in_exprlist (expression, string, | ^ search.c:1840:18: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1840 | advance_char ((char * *) & string); | ^ search.c:1857:14: warning: passing arguments to 'star' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1857 | ret = star (program, mark, string, from_line, expression); | ^ search.c:1650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | check_string (program, string, from_line, expression) | ^ search.c:62: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] 62 | static int check_string _((REGEX * program, character * str, LINE * from, int * expression)); | ^ search.c:1910:29: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1910 | if (check_string (program, string, from_line, expression)) { | ^~~~~~ search.c:1914:15: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | precede_char (& string, end_position); | ^ search.c:1917:30: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1917 | if (check_string (program, string, from_line, expression)) { | ^~~~~~ search.c:1898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1898 | star (program, end_position, string, from_line, expression) | ^ search.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 star _((REGEX * program, char * end_position, char * str, LINE * from, int * expression)); | ^ search.c:1984:21: warning: passing arguments to 'CJK_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1984 | cjklen = CJK_len (cjkbuf); | ^ search.c:1936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1936 | in_exprlist (exprlist, s, exprlist_length, opcode) | ^ search.c:63:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | static int in_exprlist _((int * exprlist, character * s, int exprlist_length, int opcode)); | ^ 183 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c charprop.c -o ../bin/FreeBSD.amd64/charprop.o In file included from charprop.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from charprop.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from charprop.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from charprop.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from charprop.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from charprop.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from charprop.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from charprop.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ charprop.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | decomposition_lookup (ucs, typepoi) | ^ charprop.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | decomposition_string (ucs) | ^ In file included from charprop.c:7: ./charprop.h:102: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] 102 | extern char * decomposition_string _((unsigned long ucs)); | ^ charprop.c:205:29: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 205 | if (ucs == (unsigned char) '') { | ^ charprop.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] 199 | decomposition_base (ucs) | ^ In file included from charprop.c:7: ./charprop.h:92:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | extern unsigned long decomposition_base _((unsigned long ucs)); | ^ charprop.c:239:22: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | u1 = unicodevalue (follow); | ^ charprop.c:240:17: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | advance_char (& follow); | ^ charprop.c:242:23: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | u2 = unicodevalue (follow); | ^ charprop.c:243:18: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | advance_char (& follow); | ^ charprop.c:246:23: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | u3 = unicodevalue (follow); | ^ charprop.c:247:18: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | advance_char (& follow); | ^ charprop.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | charseqname (u0, follow, lenpoi, seqpoi) | ^ In file included from charprop.c:7: ./charprop.h:33: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] 33 | extern char * charseqname _((unsigned long ucs, char * follow, int * seqlen, unsigned long * * seq)); | ^ charprop.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | charname (ucs) | ^ In file included from charprop.c:7: ./charprop.h:32: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] 32 | extern char * charname _((unsigned long ucs)); | ^ charprop.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | scriptinfo (ucs) | ^ In file included from charprop.c:7: ./charprop.h:44:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | extern struct scriptentry * scriptinfo _((unsigned long ucs)); | ^ charprop.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | script (ucs) | ^ In file included from charprop.c:7: ./charprop.h:91: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] 91 | extern char * script _((unsigned long ucs)); | ^ charprop.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 | category (ucs) | ^ In file included from charprop.c:7: ./charprop.h:93: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] 93 | extern char * category _((unsigned long ucs)); | ^ charprop.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | is_right_to_left (ucs) | ^ In file included from charprop.c:7: ./charprop.h:118: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] 118 | extern int is_right_to_left _((unsigned long ucs)); | ^ charprop.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | lookup_handescr (unichar) | ^ In file included from charprop.c:7: ./charprop.h:27: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] 27 | extern struct hanentry * lookup_handescr _((unsigned long unichar)); | ^ charprop.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | is_bullet_or_dash (unich) | ^ In file included from charprop.c:7: ./charprop.h:119: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] 119 | extern FLAG is_bullet_or_dash _((unsigned long unich)); | ^ charprop.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | lookup (ucs, table, len) | ^ charprop.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | isLetter (unichar) | ^ In file included from charprop.c:7: ./charprop.h:94: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] 94 | extern int isLetter _((unsigned long ucs)); | ^ charprop.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | is_wideunichar (ucs) | ^ In file included from charprop.c:7: ./charprop.h:95:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | extern int is_wideunichar _((unsigned long ucs)); | ^ charprop.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | combining_class (ucs) | ^ charprop.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | iscombining_unichar (ucs) | ^ In file included from charprop.c:7: ./charprop.h:96: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] 96 | extern int iscombining_unichar _((unsigned long ucs)); | ^ charprop.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | isspacingcombining_unichar (ucs) | ^ In file included from charprop.c:7: ./charprop.h:97: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] 97 | extern int isspacingcombining_unichar _((unsigned long ucs)); | ^ charprop.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] 610 | soft_dotted (ucs) | ^ In file included from charprop.c:7: ./charprop.h:88: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] 88 | extern int soft_dotted _((unsigned long ucs)); | ^ charprop.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | lookup_caseconv (basechar) | ^ In file included from charprop.c:7: ./charprop.h:81: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] 81 | extern int lookup_caseconv _((unsigned long basechar)); | ^ charprop.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | case_convert (unichar, dir) | ^ In file included from charprop.c:7: ./charprop.h:83:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | extern unsigned long case_convert _((unsigned long unichar, int dir)); | ^ charprop.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | lookup_caseconv_special (basechar, langcond) | ^ In file included from charprop.c:7: ./charprop.h: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 | extern int lookup_caseconv_special _((unsigned long basechar, short langcond)); | ^ charprop.c:701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | iscombining_notabove (unichar) | ^ In file included from charprop.c:7: ./charprop.h:89: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] 89 | extern int iscombining_notabove _((unsigned long unichar)); | ^ charprop.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | iscombining_above (unichar) | ^ In file included from charprop.c:7: ./charprop.h:90: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] 90 | extern int iscombining_above _((unsigned long unichar)); | ^ 59 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c output.c -o ../bin/FreeBSD.amd64/output.o In file included from output.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from output.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from output.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from output.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from output.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from output.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from output.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from output.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ output.c:62:31: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 62 | static char shiftskipdouble = ''; /* indicator for shifted double width char */ | ^ output.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | set_scrollbar_dirty (scry) | ^ output.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 | scrollbar_scroll_up (from) | ^ In file included from output.c:6: ./mined.h:855: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] 855 | extern void scrollbar_scroll_up _((int from)); | ^ output.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 | scrollbar_scroll_down (from) | ^ In file included from output.c:6: ./mined.h:856: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] 856 | extern void scrollbar_scroll_down _((int from)); | ^ output.c:253:15: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | set_cursor (XMAX, scri); | ^ output.c:256:5: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ output.c:260:5: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ output.c:274:18: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | put_unichar (0x2580 + slices); | ^ output.c:285:18: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | put_unichar (0x2588 - slices); | ^ output.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | fine_grained_scrollbar (force) | ^ output.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 | display_scrollbar (update) | ^ In file included from output.c:6: ./mined.h:854: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] 854 | extern FLAG display_scrollbar _((FLAG update)); | ^ output.c:506:15: warning: passing arguments to 'disp_colour' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | disp_colour (attr_colour, colour_256); | ^ output.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | do_set_attr (set) | ^ output.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | clear_attr (clear) | ^ output.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | set_attr (set) | ^ output.c:631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | set_colour_attr (text_colour) | ^ output.c:671:40: warning: passing arguments to 'isglyph_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | glyphs_available = (FLAG) isglyph_uni (0); | ^ output.c:679:21: warning: passing arguments to 'isglyph_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | if (isglyph_uni (unichar)) { | ^ output.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | disp_subst (unichar, check_glyph) | ^ output.c:705:31: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 705 | } else if (c == (character) '') { | ^ output.c:707:31: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 707 | } else if (c == (character) '') { | ^ output.c:709:31: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 709 | } else if (c == (character) '') { | ^ output.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | char7bit (c) | ^ output.c:722:42: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | unsigned long termchar = mappedtermchar (unichar); | ^ output.c:723:14: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | if (no_char (termchar)) { | ^ output.c:724:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | __putchar (char7bit (unichar)); | ^ output.c:726:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | __putchar (char7bit (unichar)); | ^ output.c:728:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | __putchar (termchar); | ^ output.c:730:21: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | } else if (iswide (unichar)) { | ^ output.c:732:15: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | put_unichar ('.'); | ^ output.c:736:15: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | put_unichar ('<'); | ^ output.c:738:15: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | put_unichar (0xAB); /* « */ | ^ output.c:740:15: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | put_unichar ('P'); | ^ output.c:742:15: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | put_unichar ('P'); | ^ output.c:744:15: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | put_unichar ('0'); | ^ output.c:749:14: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | put_unichar (unichar); | ^ output.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | putnarrowchar (unichar) | ^ output.c:761:13: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | utf8_info (utfmarker, & utflen, & unichar); | ^ output.c:762:14: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | if (iswide (unichar)) { | ^ output.c:765:14: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | put_unichar (unichar); | ^ output.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 | putnarrowutf (utfmarker) | ^ output.c:785:14: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | put_unichar (c); | ^ output.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] 775 | indicate_uni (c, allow_wide, attr) | ^ output.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 | indicate_special (c) | ^ output.c:856:4: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | putchar (marker); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ output.c:866:2: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | putchar (marker); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ output.c:873:43: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | unsigned long termchar = mappedtermchar (marker); | ^ output.c:874:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | if (no_char (termchar)) { | ^ output.c:875:14: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | __putchar (char7bit (marker)); | ^ output.c:877:14: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | __putchar (termchar); | ^ output.c:880:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | putchar (marker); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ output.c:837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | putmarkmode (marker, utfmarker, dim_me) | ^ output.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] 903 | putmark (marker, utfmarker) | ^ In file included from output.c:6: ./mined.h:869: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] 869 | extern void putmark _((char mark, char * utfmark)); | ^ output.c:913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | putUmark (marker, utfmarker) | ^ output.c:940:25: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | put_unichar (utf8value (submenu_marker)); | ^ output.c:940:14: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | put_unichar (utf8value (submenu_marker)); | ^ output.c:942:38: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 942 | unsigned long sub = (unsigned char) ''; | ^ output.c:945:34: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | && no_char (mappedtermchar (sub)))) { | ^ output.c:945:18: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | && no_char (mappedtermchar (sub)))) { | ^ output.c:946:15: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | put_unichar ('>'); | ^ output.c:948:15: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | put_unichar (sub); | ^ output.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | put_submenu_marker (with_attr) | ^ In file included from output.c:8: ./io.h:167: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] 167 | extern void put_submenu_marker _((FLAG with_attr)); | ^ output.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | putshiftmark (marker, utfmarker) | ^ output.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | marker_defined (marker, utfmarker) | ^ In file included from output.c:6: ./mined.h:870: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] 870 | extern int marker_defined _((character marker, char * utfmarker)); | ^ output.c:992:19: warning: passing arguments to 'set_colour_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | set_colour_token (4); /* blue */ | ^ output.c:998:19: warning: passing arguments to 'set_colour_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | set_colour_token (3); /* yellow */ | ^ output.c:1002:11: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1002 | putmark ('', "¬"); | ^ output.c:1004:11: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1004 | putmark ('', "º"); | ^ output.c:1008:19: warning: passing arguments to 'set_colour_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | set_colour_token (6); /* 4 blue / 6 cyan / 2 green */ | ^ output.c:1011:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1011 | putmark ('', "«"); | ^ output.c:1022:11: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1022 | putmark ('', "¤"); | ^ output.c:984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | putret (type) | ^ output.c:1032:39: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | unsigned long mark = mappedtermchar (CJK_TAB_marker); | ^ output.c:1034:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | if (no_char (mark)) { | ^ output.c:1035:14: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | put_cjkchar ('.'); | ^ output.c:1036:14: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | put_cjkchar ('.'); | ^ output.c:1038:18: warning: passing arguments to 'put_cjktermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | put_cjktermchar (mark); | ^ output.c:1084:25: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | mark = mappedtermchar (umark); | ^ output.c:1086:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | if (no_char (mark)) { | ^ output.c:1087:14: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | put_cjkchar ('<'); | ^ output.c:1088:14: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | put_cjkchar ('<'); | ^ output.c:1090:18: warning: passing arguments to 'put_cjktermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | put_cjktermchar (mark); | ^ output.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 | putCJKret (type) | ^ output.c:1120:21: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | return no_unichar (u) || ! term_isassigned (u); | ^ output.c:1120:46: warning: passing arguments to 'term_isassigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | return no_unichar (u) || ! term_isassigned (u); | ^ output.c:1117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | no_validunichar (u) | ^ output.c:1139:26: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | if (iscombining_unichar (unichar)) { | ^ output.c:1146:30: warning: passing arguments to 'isquotationmark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | } else if (isquotationmark (unichar)) { | ^ output.c:1160:21: warning: passing arguments to 'isdash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | } else if (isdash (unichar)) { | ^ output.c:1179:31: warning: passing arguments to 'decomposition_base' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | base = decomposition_base (base); | ^ output.c:1181:32: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1181 | termchar = mappedtermchar (base); | ^ output.c:1182:18: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | if (no_char (termchar)) { | ^ output.c:1194:31: warning: passing arguments to 'cjkscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | iswide_base = cjkscrwidth (termchar, "", "") == 2; | ^ output.c:1196:26: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | iswide_base = iswide (base); | ^ output.c:1131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | put_subst (termchar, unichar, iswide_unichar) | ^ output.c:1251:25: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | (void) cjkencode_char (term, cjkchar, cjkbytes); | ^ output.c:1253:23: warning: passing arguments to 'valid_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | if (! valid_cjkchar (term, cjkchar, cjkbytes) && (suppress_invalid_cjk || ! cjk_term)) { | ^ output.c:1286:31: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | unichar = lookup_encodedchar (cjkchar); | ^ output.c:1288:21: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1288 | indicate_special (''); /* indicate nbsp */ | ^ output.c:1295:18: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | if (no_unichar (unichar)) { | ^ output.c:1302:28: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | cjkchar = mappedtermchar (unichar); | ^ output.c:1304:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | if (no_char (cjkchar)) { | ^ output.c:1305:28: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | if (iscombining_unichar (unichar)) { | ^ output.c:1315:25: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | (void) cjkencode_char (True, cjkchar, cjkbytes); | ^ output.c:1345:29: warning: passing arguments to 'lookup_mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | ? lookup_mappedtermchar (cjkchar) | ^ output.c:1346:26: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | : lookup_encodedchar (cjkchar)) | ^ output.c:1359:4: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1359 | putchar (* cp ++); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ output.c:1365:31: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | unichar = lookup_encodedchar (cjkchar); | ^ output.c:1366:17: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | if (no_unichar (unichar)) { | ^ output.c:1373:15: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1373 | put_unichar (unichar); | ^ output.c:1374:14: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1374 | if (iswide (unichar)) { | ^ output.c:1381:14: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | __putchar (' '); | ^ output.c:1239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | put_cjkcharacter (term, cjkchar, width) | ^ output.c:1396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1396 | put_cjkchar (cjkchar) | ^ In file included from output.c:6: ./mined.h:879: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] 879 | extern int put_cjkchar _((unsigned long)); | ^ output.c:1409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1409 | put_cjktermchar (cjkchar) | ^ output.c:1026: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] 1026 | static int put_cjktermchar _((unsigned long cjkchar)); | ^ output.c:1425:60: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | if ((cjk_term || mapped_term) && no_char (mappedtermchar (subst))) { | ^ output.c:1425:44: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | if ((cjk_term || mapped_term) && no_char (mappedtermchar (subst))) { | ^ output.c:1432:14: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | put_unichar (0x0640); | ^ output.c:1434:14: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1434 | put_unichar (subst); | ^ output.c:1422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1422 | put_arabic (subst) | ^ output.c:1445:36: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1445 | indicate_illegal_UTF ((character) ''); | ^ output.c:822:46: note: expanded from macro 'indicate_illegal_UTF' 822 | #define indicate_illegal_UTF trace_indicate indicate_marked | ^ output.c:1476:33: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1476 | if (mapped_text && no_unichar (unichar)) { | ^ output.c:1489:20: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1489 | indicate_special (''); /* indicate nbsp in UTF-8 / mapped terminal */ | ^ output.c:1492:13: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | if (iswide (unichar)) { | ^ output.c:1497:13: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | if (iswide (unichar)) { | ^ output.c:1502:13: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1502 | if (iswide (unichar)) { | ^ output.c:1507:13: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1507 | if (iswide (unichar)) { | ^ output.c:1512:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | __putchar (unichar); | ^ output.c:1514:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1514 | __putchar (0xC0 | (unichar >> 6)); | ^ output.c:1515:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1515 | __putchar (0x80 | (unichar & 0x3F)); | ^ output.c:1517:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1517 | __putchar (0xE0 | (unichar >> 12)); | ^ output.c:1518:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1518 | __putchar (0x80 | ((unichar >> 6) & 0x3F)); | ^ output.c:1519:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | __putchar (0x80 | (unichar & 0x3F)); | ^ output.c:1521:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1521 | __putchar (0xF0 | (unichar >> 18)); | ^ output.c:1522:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1522 | __putchar (0x80 | ((unichar >> 12) & 0x3F)); | ^ output.c:1523:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1523 | __putchar (0x80 | ((unichar >> 6) & 0x3F)); | ^ output.c:1524:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1524 | __putchar (0x80 | (unichar & 0x3F)); | ^ output.c:1526:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | __putchar (0xF8 | (unichar >> 24)); | ^ output.c:1527:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | __putchar (0x80 | ((unichar >> 18) & 0x3F)); | ^ output.c:1528:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | __putchar (0x80 | ((unichar >> 12) & 0x3F)); | ^ output.c:1529:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1529 | __putchar (0x80 | ((unichar >> 6) & 0x3F)); | ^ output.c:1530:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1530 | __putchar (0x80 | (unichar & 0x3F)); | ^ output.c:1532:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1532 | __putchar (0xFC | (unichar >> 30)); | ^ output.c:1533:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | __putchar (0x80 | ((unichar >> 24) & 0x3F)); | ^ output.c:1534:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1534 | __putchar (0x80 | ((unichar >> 18) & 0x3F)); | ^ output.c:1535:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1535 | __putchar (0x80 | ((unichar >> 12) & 0x3F)); | ^ output.c:1536:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | __putchar (0x80 | ((unichar >> 6) & 0x3F)); | ^ output.c:1537:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1537 | __putchar (0x80 | (unichar & 0x3F)); | ^ output.c:1543:41: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1543 | if (combining_screen || ! iscombining (unichar)) { | ^ output.c:1557:29: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1557 | termchar = mappedtermchar (unichar); | ^ output.c:1569:26: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | iswide_unichar = iswide (unichar); | ^ output.c:1573:17: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1573 | if (! no_char (termchar)) { | ^ output.c:1585:17: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1585 | if (! no_char (termchar)) { | ^ output.c:1586:14: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1586 | __putchar (termchar); | ^ output.c:1590:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | __putchar (unichar); | ^ output.c:1464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | put_unichar (unichar) | ^ In file included from output.c:6: ./mined.h:878: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] 878 | extern void put_unichar _((unsigned long)); | ^ output.c:1616:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | __putchar (c); | ^ output.c:1635:38: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1635 | indicate_illegal_UTF ((character) ''); | ^ output.c:822:46: note: expanded from macro 'indicate_illegal_UTF' 822 | #define indicate_illegal_UTF trace_indicate indicate_marked | ^ output.c:1669:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1669 | __putchar (c); | ^ output.c:1672:14: warning: passing arguments to 'unicode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | if (unicode (c) == 0xA0 /* nbsp */) { | ^ output.c:1673:21: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1673 | indicate_special (''); /* indicate nbsp in Latin-1 terminal */ | ^ output.c:1675:13: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | __putchar (c); | ^ output.c:1610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1610 | put_char (c) | ^ output.c:1688:34: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1688 | put_unichar (lookup_encodedchar (c)); | ^ output.c:1684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1684 | putcharacter (c) | ^ In file included from output.c:6: ./mined.h:877: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] 877 | extern void putcharacter _((character)); | ^ output.c:1718:2: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1718 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ output.c:1713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | put_blanks (endpos) | ^ In file included from output.c:6: ./mined.h:871: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] 871 | extern void put_blanks _((int endpos)); | ^ output.c:1746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1746 | disp_syntax (prev_syntax_mask, syntax_mask) | ^ output.c:1801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1801 | disp_script (script_colour, for_256_colours) | ^ output.c:1828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1828 | map_script_colour (scriptname, sc, sc0) | ^ output.c:1860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1860 | restore_attr (restore_HTML) | ^ output.c:1894:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1894 | set_cursor (0, ly); | ^ output.c:1895:12: warning: passing arguments to 'put_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1895 | put_line (ly, line, 0, True, False); | ^ output.c:1890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1890 | print_line (ly, line) | ^ In file included from output.c:6: ./mined.h:874: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] 874 | extern void print_line _((int scr_y, LINE *)); | ^ output.c:1901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1901 | after_password (tp) | ^ output.c:1996:34: warning: passing arguments to 'syntax_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | syntax_mask_new = syntax_state (syntax_mask_new, syntax_mask_old, textp, line->text); | ^ output.c:2004:26: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2004 | unichar = unicodevalue (textp); | ^ output.c:2010:17: warning: passing arguments to 'isLetter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2010 | if (isLetter (unichar)) { | ^ output.c:2011:34: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2011 | small_unichar = case_convert (unichar, -1); | ^ output.c:2029:19: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2029 | advance_char_scr (& textp, & count, line->text); | ^ output.c:2050:37: warning: passing arguments to 'syntax_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2050 | syntax_mask_new = syntax_state (syntax_mask_new, syntax_mask_old, textp, line->text); | ^ output.c:2054:30: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2054 | if (iswide (unicodevalue (textp))) { | ^ output.c:2054:16: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2054 | if (iswide (unicodevalue (textp))) { | ^ output.c:2065:18: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2065 | advance_char (& textp); | ^ output.c:2123:13: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2123 | utf8_info (textp, & follow, & unichar); | ^ output.c:2124:27: warning: passing arguments to 'uniscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2124 | charwidth = uniscrwidth (unichar, textp, line->text); | ^ output.c:2126:23: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2126 | cjkchar = charvalue (textp); | ^ output.c:2127:32: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2127 | unichar = lookup_encodedchar (cjkchar); | ^ output.c:2128:27: warning: passing arguments to 'cjkscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2128 | charwidth = cjkscrwidth (cjkchar, textp, line->text); | ^ output.c:2133:32: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2133 | unichar = lookup_encodedchar ((character) * textp); | ^ output.c:2134:27: warning: passing arguments to 'cjkscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2134 | charwidth = cjkscrwidth ((character) * textp, textp, line->text); | ^ output.c:2138:28: warning: passing arguments to 'uniscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2138 | charwidth = uniscrwidth (unichar, textp, line->text); | ^ output.c:2161:34: warning: passing arguments to 'syntax_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2161 | syntax_mask_new = syntax_state (syntax_mask_new, syntax_mask_old, textp, line->text); | ^ output.c:2177:17: warning: passing arguments to 'isLetter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2177 | if (isLetter (unichar)) { | ^ output.c:2178:34: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2178 | small_unichar = case_convert (unichar, -1); | ^ output.c:2209:16: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2209 | __putchar (' '); | ^ output.c:2255:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2255 | advance_char (& textp); | ^ output.c:2263:21: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 2263 | indicate_special (''); | ^ output.c:2267:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2267 | advance_char (& textp); | ^ output.c:2269:23: warning: passing arguments to 'iscontrol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2269 | } else if (iscontrol (* textp)) { | ^ output.c:2283:30: warning: passing arguments to 'controlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2283 | putcharacter (controlchar (unichar)); | ^ output.c:2289:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2289 | advance_char (& textp); | ^ output.c:2299:30: warning: passing arguments to 'script' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2299 | map_script_colour (script (unichar), | ^ output.c:2322:19: warning: passing arguments to 'iscombined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2322 | if (iscombined (unichar, textp, line->text)) { | ^ output.c:2328:16: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2328 | if (iswide (unichar)) { | ^ output.c:2332:19: warning: passing arguments to 'isjoined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2332 | if (isjoined (unichar, textp, line->text)) { | ^ output.c:2365:18: warning: passing arguments to 'isjoined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2365 | && isjoined (unichar, textp, line->text)) { | ^ output.c:2370:29: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2370 | if (iscombining_unichar (unichar)) { | ^ output.c:2380:5: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2380 | putchar (''); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ output.c:2381:36: warning: passing arguments to 'ligature_lam_alef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2381 | put_unichar (ligature_lam_alef (unichar)); | ^ output.c:2393:32: warning: passing arguments to 'isolated_alef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2393 | put_unichar (isolated_alef (unichar)); | ^ output.c:2432:26: warning: passing arguments to 'CJK_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2432 | int cjklen = CJK_len (textp); | ^ output.c:2445:26: warning: passing arguments to 'CJK_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2445 | int cjklen = CJK_len (textp); | ^ output.c:2448:25: warning: passing arguments to 'cjkencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2448 | charlen = cjkencode (cjkchar, cjkbytes); | ^ output.c:2469:21: warning: passing arguments to 'iscombined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2469 | if (iscombined (unichar, this_textp, line->text)) { | ^ output.c:2476:27: warning: passing arguments to 'isjoined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2476 | } else if (isjoined (unichar, this_textp, line->text)) { | ^ output.c:2486:20: warning: passing arguments to 'isjoined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2486 | && isjoined (unichar, this_textp, line->text)) { | ^ output.c:2490:37: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2490 | } else if (iscombining_unichar (unichar)) { | ^ output.c:2498:7: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2498 | putchar (''); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ output.c:2500:37: warning: passing arguments to 'ligature_lam_alef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2500 | put_arabic (ligature_lam_alef (unichar)); | ^ output.c:2505:33: warning: passing arguments to 'isolated_alef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2505 | put_arabic (isolated_alef (unichar)); | ^ output.c:2525:20: warning: passing arguments to 'iscombined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2525 | if (iscombined (unichar, textp, line->text)) { | ^ output.c:2531:19: warning: passing arguments to 'isjoined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2531 | if (isjoined (unichar, textp, line->text)) { | ^ output.c:2541:19: warning: passing arguments to 'isjoined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2541 | && isjoined (unichar, textp, line->text)) { | ^ output.c:2553:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 2553 | indicate_special (''); | ^ output.c:2558:6: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2558 | putchar (''); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ output.c:2560:36: warning: passing arguments to 'ligature_lam_alef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2560 | put_arabic (ligature_lam_alef (unichar)); | ^ output.c:2565:32: warning: passing arguments to 'isolated_alef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2565 | put_arabic (isolated_alef (unichar)); | ^ output.c:2604:22: warning: passing arguments to 'syntax_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2604 | (void) syntax_state (syntax_mask_new, syntax_mask_old, "", line->text); | ^ output.c:2621:27: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2621 | put_unichar (charvalue (textp)); | ^ output.c:2624:27: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2624 | put_cjkchar (charvalue (textp)); | ^ output.c:2645:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2645 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ output.c:2648:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2648 | set_cursor (0, 0); | ^ output.c:2672:4: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2672 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ output.c:2710:5: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2710 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ output.c:2758:17: warning: passing arguments to 'erase_chars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2758 | erase_chars (XBREAK - count + 1); | ^ output.c:2771:5: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2771 | putchar (' '); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ output.c:1921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1921 | put_line (ly, line, offset, clear_line, positioning) | ^ In file included from output.c:6: ./mined.h:873: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] 873 | extern void put_line _((int scr_y, LINE *, int offset, FLAG clear, FLAG prop_pos)); | ^ output.c:2787:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2787 | set_cursor (0, y); | ^ output.c:2793:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2793 | set_cursor (x, y); | ^ output.c:2819:18: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2819 | line = proceed (line, y_pos - y_min); | ^ output.c:2829:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2829 | set_cursor (0, y_pos); | ^ output.c:2859:29: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2859 | (void) char_ready_within (display_delay, NIL_PTR); | ^ output.c:2810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2810 | display_line_at (y_pos, line, y_min, y_max, first, dirty_only) | ^ output.c:2892:17: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2892 | line = proceed (line, count); | ^ output.c:2876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2876 | do_display (y_coord, line, count, new_pos, dirty_only) | ^ output.c:2919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2919 | display_dirty (y_coord, line, count, new_pos) | ^ output.c:2935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2935 | display (y_coord, line, count, new_pos) | ^ In file included from output.c:6: ./mined.h:866: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] 866 | extern void display _((int y, LINE *, int count, int new_pos)); | ^ 271 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c prompt.c -o ../bin/FreeBSD.amd64/prompt.o In file included from prompt.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from prompt.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from prompt.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from prompt.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from prompt.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from prompt.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from prompt.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from prompt.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ prompt.c:64:28: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | put_cjkchar (encodedchar (0x300A)); /* 《 */ | ^ prompt.c:64:15: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | put_cjkchar (encodedchar (0x300A)); /* 《 */ | ^ prompt.c:69:15: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | put_unichar ((character) RET_marker); | ^ prompt.c:88:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | putstring ("\r\n"); | ^ prompt.c:96:24: warning: passing arguments to 'iscontrol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | } else if (iscontrol (c)) { | ^ prompt.c:97:2: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | putchar ('^'); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ prompt.c:99:27: warning: passing arguments to 'controlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | put_unichar (controlchar (c)); | ^ prompt.c:99:14: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | put_unichar (controlchar (c)); | ^ prompt.c:102:15: warning: passing arguments to 'putcharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | putcharacter (c); | ^ prompt.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | print_byte (c) | ^ prompt.c:122:46: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | unsigned long unichar = lookup_encodedchar (c); | ^ prompt.c:138:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | putstring ("\r\n"); | ^ prompt.c:146:24: warning: passing arguments to 'iscontrol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | } else if (iscontrol (c)) { | ^ prompt.c:147:2: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | putchar ('^'); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ prompt.c:149:27: warning: passing arguments to 'controlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | put_unichar (controlchar (c)); | ^ prompt.c:149:14: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | put_unichar (controlchar (c)); | ^ prompt.c:152:57: warning: passing arguments to 'iscombined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | if (! combining_mode && combining_screen && iscombined (unichar, char_begin, line_begin)) { | ^ prompt.c:154:16: warning: passing arguments to 'putcharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | putcharacter (' '); | ^ prompt.c:155:16: warning: passing arguments to 'putcharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | putcharacter (c); | ^ prompt.c:157:16: warning: passing arguments to 'putcharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | putcharacter (c); | ^ prompt.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | print_mapped (c, char_begin, line_begin) | ^ prompt.c:179:46: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | unsigned long unichar = lookup_encodedchar (c); | ^ prompt.c:181:47: warning: passing arguments to 'iscombined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | if (encoding_has_combining () && iscombined (unichar, char_begin, line_begin)) { | ^ prompt.c:188:29: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | put_cjkchar (encodedchar (0x3000)); | ^ prompt.c:188:16: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | put_cjkchar (encodedchar (0x3000)); | ^ prompt.c:189:16: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | put_cjkchar (c); | ^ prompt.c:191:17: warning: passing arguments to 'isjoined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | if (isjoined (unichar, char_begin, line_begin)) { | ^ prompt.c:195:29: warning: passing arguments to 'isolated_alef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | unichar = isolated_alef (unichar); | ^ prompt.c:196:21: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | c = encodedchar (unichar); | ^ prompt.c:197:17: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | if (no_char (c)) { | ^ prompt.c:198:31: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | put_cjkchar (encodedchar (0x2135)); | ^ prompt.c:198:18: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | put_cjkchar (encodedchar (0x2135)); | ^ prompt.c:200:18: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | put_cjkchar (c); | ^ prompt.c:203:17: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | put_cjkchar (' '); | ^ prompt.c:204:17: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | put_cjkchar (c); | ^ prompt.c:210:15: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | put_cjkchar (c); | ^ prompt.c:212:15: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | put_cjkchar (c); | ^ prompt.c:215:14: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | put_cjkchar (c); | ^ prompt.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | print_cjk (c, width, char_begin, line_begin) | ^ prompt.c:234:23: warning: passing arguments to 'uniscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | width = uniscrwidth (unichar, char_begin, line_begin); | ^ prompt.c:238:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | putstring ("\r\n"); | ^ prompt.c:246:17: warning: passing arguments to 'iscombined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | if (iscombined (unichar, char_begin, line_begin)) { | ^ prompt.c:252:15: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | if (iswide (unichar)) { | ^ prompt.c:253:17: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | put_unichar (0x3000); | ^ prompt.c:254:17: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | put_unichar (unichar); | ^ prompt.c:256:18: warning: passing arguments to 'isjoined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | if (isjoined (unichar, char_begin, line_begin)) { | ^ prompt.c:260:33: warning: passing arguments to 'isolated_alef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | put_unichar (isolated_alef (unichar)); | ^ prompt.c:260:18: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | put_unichar (isolated_alef (unichar)); | ^ prompt.c:262:18: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | put_unichar (' '); | ^ prompt.c:263:18: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | put_unichar (unichar); | ^ prompt.c:269:16: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | put_unichar (unichar); | ^ prompt.c:271:16: warning: passing arguments to 'isjoined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | && isjoined (unichar, char_begin, line_begin)) { | ^ prompt.c:274:4: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | putchar (''); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ prompt.c:275:35: warning: passing arguments to 'ligature_lam_alef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | put_unichar (ligature_lam_alef (unichar)); | ^ prompt.c:275:16: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | put_unichar (ligature_lam_alef (unichar)); | ^ prompt.c:277:16: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | put_unichar (unichar); | ^ prompt.c:280:15: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | put_unichar (unichar); | ^ prompt.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | print_unichar (unichar, width, char_begin, line_begin) | ^ prompt.c:302:20: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | advance_char_scr (& string, & count, start); | ^ prompt.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | prompt_col_count (string, middle) | ^ prompt.c:345:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | putstring ("..."); | ^ prompt.c:359:22: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | advance_char_scr (& text, & dropped, start); | ^ prompt.c:381:27: warning: passing arguments to 'uniscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | charwidth = uniscrwidth (unichar, text, start); | ^ prompt.c:383:13: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | utf8_info (text, & utfcount, & unichar); | ^ prompt.c:384:27: warning: passing arguments to 'uniscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | charwidth = uniscrwidth (unichar, text, start); | ^ prompt.c:385:23: warning: passing arguments to 'iscontrol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | } else if (iscontrol ((character) * text)) { | ^ prompt.c:392:23: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | cjkchar = charvalue (text); | ^ prompt.c:393:27: warning: passing arguments to 'cjkscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | charwidth = cjkscrwidth (cjkchar, text, start); | ^ prompt.c:399:11: warning: passing arguments to 'putmark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | putmark (SHIFT_marker, UTF_SHIFT_marker); | ^ prompt.c:403:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | putstring ("\r\n"); | ^ prompt.c:412:23: warning: passing arguments to 'iscontrol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | } else if (iscontrol ((character) * text)) { | ^ prompt.c:433:4: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | putchar ('^'); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ prompt.c:434:29: warning: passing arguments to 'controlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | put_unichar (controlchar (* text ++)); | ^ prompt.c:434:16: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | put_unichar (controlchar (* text ++)); | ^ prompt.c:450:20: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | advance_char_scr (& text, & lpos, start); | ^ prompt.c:452:15: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | put_cjkchar (cjkchar); | ^ prompt.c:455:16: warning: passing arguments to 'putcharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | putcharacter (* text ++); | ^ prompt.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | printlim_string (text, limit, attributes) | ^ prompt.c:466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | print_string (text) | ^ prompt.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 | prompt (term) | ^ In file included from prompt.c:6: ./mined.h:1154:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1154 | extern character prompt _((char * term)); | ^ prompt.c:549:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | putstring ("\b \b"); | ^ prompt.c:579:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | putstring ("\b \b"); | ^ prompt.c:585:25: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | * result = encodedchar (unichar); | ^ prompt.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] 521 | get_num_char (result, maxvalue) | ^ prompt.c:609:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | putstring (" \b"); | ^ prompt.c:617:38: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | if (iscombining (lookup_encodedchar (c))) { | ^ prompt.c:617:18: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | if (iscombining (lookup_encodedchar (c))) { | ^ prompt.c:622:17: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | precede_char (& refreshptr, inbuf); | ^ prompt.c:623:18: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | c = charvalue (refreshptr); | ^ prompt.c:624:28: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | uc = lookup_encodedchar (c); | ^ prompt.c:625:47: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | } while (refreshptr != inbuf && iscombining (uc)); | ^ prompt.c:626:21: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | if (! iscombining (uc)) { | ^ prompt.c:627:14: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | putstring ("\b"); | ^ prompt.c:631:18: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | c = charvalue (refreshptr ++); | ^ prompt.c:632:36: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | put_unichar (lookup_encodedchar (c)); | ^ prompt.c:632:16: warning: passing arguments to 'put_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | put_unichar (lookup_encodedchar (c)); | ^ prompt.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | input_byte (inbuf, ptr, c) | ^ prompt.c:651:18: warning: passing arguments to 'cjkencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | len = cjkencode (c, cjkbytes); | ^ prompt.c:653:28: warning: passing arguments to 'cjkscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | int scrlen = cjkscrwidth (c, ptr, inbuf); | ^ prompt.c:658:14: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | putstring ("\r\n"); | ^ prompt.c:676:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | putstring (" \b"); | ^ prompt.c:682:39: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | if (iscombining (lookup_encodedchar (c))) { | ^ prompt.c:682:19: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | if (iscombining (lookup_encodedchar (c))) { | ^ prompt.c:687:18: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | precede_char (& refreshptr, inbuf); | ^ prompt.c:688:19: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | c = charvalue (refreshptr); | ^ prompt.c:689:29: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | uc = lookup_encodedchar (c); | ^ prompt.c:690:48: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | } while (refreshptr != inbuf && iscombining (uc)); | ^ prompt.c:691:22: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | if (! iscombining (uc)) { | ^ prompt.c:692:21: warning: passing arguments to 'cjkscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | if (cjkscrwidth (c, refreshptr, inbuf) == 2) { | ^ prompt.c:693:16: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | putstring ("\b\b"); | ^ prompt.c:695:16: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | putstring ("\b"); | ^ prompt.c:700:19: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | c = charvalue (refreshptr); | ^ prompt.c:701:17: warning: passing arguments to 'put_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | put_cjkchar (c); | ^ prompt.c:702:18: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | advance_char (& refreshptr); | ^ prompt.c:642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | input_cjk (inbuf, ptr, c) | ^ prompt.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | add_input_buf (ptr, c) | ^ prompt.c:792:19: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | if (iscombining (unichar)) { | ^ prompt.c:795:18: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | precede_char (& inputptr, inbuf); | ^ prompt.c:796:15: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | utf8_info (inputptr, & utfcount, & unichar); | ^ prompt.c:797:46: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | } while (inputptr != inbuf && iscombining (unichar)); | ^ prompt.c:798:22: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | if (! iscombining (unichar)) { | ^ prompt.c:799:16: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | if (iswide (unichar)) { | ^ prompt.c:800:16: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | putstring ("\b\b"); | ^ prompt.c:802:16: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | putstring ("\b"); | ^ prompt.c:808:14: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | putstring (inputptr); | ^ prompt.c:812:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | putstring (" \b"); | ^ prompt.c:722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | input_unicode (inbuf, ptr, unichar) | ^ prompt.c:823:14: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | if (no_char (c)) { | ^ prompt.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | input_character (inbuf, ptr, c) | ^ prompt.c:847:45: warning: passing arguments to 'hexdig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | return input_character (inbuf, ptr, hexdig (c)); | ^ prompt.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 | input_hexdig (inbuf, ptr, c) | ^ prompt.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | input_hex (inbuf, ptr, c) | ^ prompt.c:864:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | set_cursor (0, - MENU); | ^ prompt.c:870:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | displaymenuline (True); | ^ prompt.c:888:15: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | precede_char (& ptr, inbuf); | ^ prompt.c:889:16: warning: passing arguments to 'iscontrol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | if (iscontrol ((character) * ptr)) { | ^ prompt.c:892:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | putstring (" \b\b \b"); | ^ prompt.c:895:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | putstring (" \b\b\b \b\b"); | ^ prompt.c:899:40: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | unsigned long charval = charvalue (ptr); | ^ prompt.c:904:47: warning: passing arguments to 'unicode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | while (ptr != inbuf && iscombined (unicode (charval), ptr, inbuf)) { | ^ prompt.c:904:38: warning: passing arguments to 'iscombined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | while (ptr != inbuf && iscombined (unicode (charval), ptr, inbuf)) { | ^ prompt.c:905:18: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | precede_char (& ptr, inbuf); | ^ prompt.c:906:25: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | charval = charvalue (ptr); | ^ prompt.c:908:34: warning: passing arguments to 'unicode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | } else if (iscombined (unicode (charval), ptr, inbuf)) { | ^ prompt.c:908:25: warning: passing arguments to 'iscombined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | } else if (iscombined (unicode (charval), ptr, inbuf)) { | ^ prompt.c:916:27: warning: passing arguments to 'uniscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | charwidth = uniscrwidth (charval, ptr, inbuf); | ^ prompt.c:918:27: warning: passing arguments to 'cjkscrwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | charwidth = cjkscrwidth (charval, ptr, inbuf); | ^ prompt.c:920:38: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | && iscombined (lookup_encodedchar (charval), ptr, inbuf)) { | ^ prompt.c:920:18: warning: passing arguments to 'iscombined' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | && iscombined (lookup_encodedchar (charval), ptr, inbuf)) { | ^ prompt.c:927:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | putstring (" \b\b\b \b\b"); | ^ prompt.c:930:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | putstring (" \b\b \b"); | ^ prompt.c:935:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | putstring (" \b"); | ^ prompt.c:880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | erase1 (inbuf, ptr, all_combined) | ^ prompt.c:954:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | if (command (c) == DPC) { | ^ prompt.c:961:23: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 961 | } else if ((command (c) == CTRLINS && (c = readcharacter_unicode_mapped ()) == FUNcmd && (keyshift |= ctrl_mask)) | ^ prompt.c:963:42: warning: passing arguments to 'lookup_prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | struct prefixspec * ps2 = lookup_prefix (keyproc, keyshift); | ^ prompt.c:966:16: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | if ((command (c) == CTRLINS && (c = readcharacter_unicode_mapped ()) == FUNcmd && (keyshift |= ctrl_mask)) | ^ prompt.c:968:44: warning: passing arguments to 'lookup_prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | struct prefixspec * ps3 = lookup_prefix (keyproc, keyshift); | ^ prompt.c:971:26: warning: passing arguments to 'compose_patterns' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | c = compose_patterns (c, ps, ps2, ps3); | ^ prompt.c:978:25: warning: passing arguments to 'compose_patterns' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | c = compose_patterns (c, ps, ps2, 0); | ^ prompt.c:986:23: warning: passing arguments to 'compose_patterns' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | c = compose_patterns (c, ps, 0, 0); | ^ prompt.c:947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | input_prefix (inbuf, ptr, ps) | ^ prompt.c:996:25: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | voidfunc c0 = command (c); | ^ prompt.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | command1 (c) | ^ prompt.c:1060:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | putstring (" \b"); | ^ prompt.c:1088:14: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | if (no_char (rch)) { | ^ prompt.c:1098:31: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | unich = lookup_encodedchar (rch); | ^ prompt.c:1107:20: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1107 | rch = encodedchar (unich); | ^ prompt.c:1110:18: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | if (command (unich) == SNL || command (unich) == Popmark) { | ^ prompt.c:1110:44: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | if (command (unich) == SNL || command (unich) == Popmark) { | ^ prompt.c:1112:20: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | rch = encodedchar (unich); | ^ prompt.c:1118:21: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | rch = encodedchar (unich); | ^ prompt.c:1125:28: warning: passing arguments to 'compose_mnemonic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1125 | mnemoc = compose_mnemonic (mnemo); | ^ prompt.c:1156:25: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | } else if (command (unich) == DPC) { | ^ prompt.c:1162:25: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | } else if (command (unich) == AltX) { | ^ prompt.c:1168:15: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1168 | precede_char (& cp, inbuf); | ^ prompt.c:1170:36: warning: passing arguments to 'ishex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | while (n < 6 && cp != pp && ishex (* cp)) { | ^ prompt.c:1173:16: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | precede_char (& cp, inbuf); | ^ prompt.c:1179:33: warning: passing arguments to 'hexval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | altc = ((altc << 4) + hexval (* hp)); | ^ prompt.c:1195:35: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | unsigned long cv = unicodevalue (pp1); | ^ prompt.c:1196:17: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | if (! no_char (cv)) { | ^ prompt.c:1209:25: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | } else if (command (unich) == CTRLINS) { | ^ prompt.c:1211:20: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | rch = encodedchar (unich); | ^ prompt.c:1212:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | if (command (unich) == COMPOSE && keyshift >= '@' && keyshift <= '_') { | ^ prompt.c:1218:22: warning: passing arguments to 'lookup_prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | ps = lookup_prefix (keyproc, keyshift); | ^ prompt.c:1240:23: warning: passing arguments to 'compose_chars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1240 | rch = compose_chars (unich, readcharacter_unicode ()); | ^ prompt.c:1241:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | if (no_char (rch)) { | ^ prompt.c:1250:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | || (command (unich) == MOUSEfunction | ^ prompt.c:1265:41: warning: passing arguments to 'lookup_prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | struct prefixspec * ps = lookup_prefix (keyproc, keyshift); | ^ prompt.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | input (inbuf, clearfl, term_input) | ^ prompt.c:1324:15: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | bottom_line (attrib, msg1, msg2, NIL_PTR, False, ""); | ^ prompt.c:1310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | status2_uni (attrib, msg1, msg2) | ^ prompt.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | status_uni (msg) | ^ In file included from prompt.c:6: ./mined.h:1151: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] 1151 | extern void status_uni _((char * msg)); | ^ prompt.c:1340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | status_file (msg, file) | ^ In file included from prompt.c:6: ./mined.h:1152: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] 1152 | extern void status_file _((char * msg, char * file)); | ^ prompt.c:1353:22: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1353 | (void) bottom_line (BIGGER, msg1, msg2, NIL_PTR, False, term); | ^ prompt.c:1348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | status2_prompt (term, msg1, msg2) | ^ In file included from prompt.c:6: ./mined.h:1153:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1153 | extern character status2_prompt _((char * term, char * msg1, char * msg2)); | ^ prompt.c:1379:29: warning: passing arguments to 'get_string_nokeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1379 | ret = get_string_nokeymap (prompt, inbuf, statfl, term_input); | ^ prompt.c:1363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | get_string_uni (prompt, inbuf, statfl, term_input) | ^ In file included from prompt.c:6: ./mined.h:1172: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] 1172 | extern int get_string_uni _((char * str1, char * str2, FLAG fl, char * term_chars)); | ^ prompt.c:1392:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | set_cursor (0, YMAX); | ^ prompt.c:1458:11: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1458 | debuglog ("prompt", s1, s2); | ^ prompt.c:1492:50: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | build_string (bottom_status_buf, "%s%s", unnull (s1), unnull (s2)); | ^ prompt.c:1492:63: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | build_string (bottom_status_buf, "%s%s", unnull (s1), unnull (s2)); | ^ prompt.c:1494:37: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1494 | bottom_begin_fmt = strlen (unnull (s1)); | ^ prompt.c:1497:52: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | build_string (bottom_status_buf, " %s%s ", unnull (s1), unnull (s2)); | ^ prompt.c:1497:65: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | build_string (bottom_status_buf, " %s%s ", unnull (s1), unnull (s2)); | ^ prompt.c:1499:37: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1499 | bottom_begin_fmt = strlen (unnull (s1)) + 1; | ^ prompt.c:1508:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1508 | set_cursor (0, YMAX); | ^ prompt.c:1512:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | set_cursor (0, YMAX); | ^ prompt.c:1550:13: warning: passing arguments to 'put_blanks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1550 | put_blanks (XMAX - 1 - lpos); | ^ prompt.c:1552:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | set_cursor (0, YMAX); | ^ prompt.c:1564:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1564 | set_cursor (lpos, YMAX); | ^ prompt.c:1569:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | set_cursor (0, YMAX); | ^ prompt.c:1433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | bottom_line (attrib, s1, s2, inbuf, statfl, term_input) | ^ In file included from prompt.c:6: ./mined.h:1150: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] 1150 | extern int bottom_line _((FLAG attrib, char *, char *, char * inbuf, FLAG statfl, char * term_input)); | ^ prompt.c:1654:14: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | putstring ("\b \b"); flush (); | ^ prompt.c:1621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1621 | get_number (message, firstdigit, result) | ^ In file included from prompt.c:6: ./mined.h:848: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] 848 | extern long get_number _((char * message, char firstdigit, int * result)); | ^ prompt.c:1750:14: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1750 | putstring ("\b \b"); flush (); | ^ prompt.c:1789:25: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1789 | * result = encodedchar (value); | ^ prompt.c:1793:27: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1793 | res = lookup_encodedchar (value); | ^ prompt.c:1688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1688 | prompt_num_char (result, maxvalue) | ^ In file included from prompt.c:6: ./mined.h:849: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] 849 | extern int prompt_num_char _((unsigned long * result, unsigned long maxvalue)); | ^ prompt.c:1920:17: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1920 | return unnull (strrchr (fn, '.')); | ^ prompt.c:1914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | getsuffix (fn) | ^ prompt.c:1925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1925 | fncompare (s1, s2) | ^ prompt.c:1968:20: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1968 | * nodepoi = alloc (sizeof (struct treenode)); | ^ prompt.c:1952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1952 | tree_insert (nodepoi, s1, s2) | ^ prompt.c:1996:18: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | fill_menuitem (& filemenu [itemcount], node->s1, node->s2); | ^ prompt.c:1987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1987 | tree_traverse (node, dirs) | ^ prompt.c:2014:13: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2014 | free_space (node->s1); | ^ prompt.c:2015:13: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2015 | free_space (node); | ^ prompt.c:2008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2008 | tree_free (node) | ^ prompt.c:2026:33: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2026 | unsigned long uni = utf8value (utf); | ^ prompt.c:2029:33: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2029 | unsigned long elem = utf8value (set); | ^ prompt.c:2033:17: warning: passing arguments to 'nextutf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2033 | set = nextutf8 (set); | ^ prompt.c:2037:21: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | elem2 = utf8value (set); | ^ prompt.c:2042:19: warning: passing arguments to 'nextutf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2042 | set = nextutf8 (set); | ^ prompt.c:2022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2022 | isin (utf, set) | ^ prompt.c:2068:41: warning: passing arguments to 'nextutf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2068 | return (* s && wildcard (pat, nextutf8 (s))) | ^ prompt.c:2071:44: warning: passing arguments to 'nextutf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2071 | return * s && wildcard (pat + 1, nextutf8 (s)); | ^ prompt.c:2083:39: warning: passing arguments to 'nextutf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2083 | && wildcard (endset + 1, nextutf8 (s)); | ^ prompt.c:2086:39: warning: passing arguments to 'nextutf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2086 | && wildcard (endset + 1, nextutf8 (s)); | ^ prompt.c:2098:45: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2098 | unsigned long c1 = case_convert (utf8value (pat), -1); | ^ prompt.c:2098:34: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2098 | unsigned long c1 = case_convert (utf8value (pat), -1); | ^ prompt.c:2099:45: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2099 | unsigned long c2 = case_convert (utf8value (s), -1); | ^ prompt.c:2099:34: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2099 | unsigned long c2 = case_convert (utf8value (s), -1); | ^ prompt.c:2101:25: warning: passing arguments to 'nextutf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2101 | && wildcard (nextutf8 (pat), nextutf8 (s)); | ^ prompt.c:2101:41: warning: passing arguments to 'nextutf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2101 | && wildcard (nextutf8 (pat), nextutf8 (s)); | ^ prompt.c:2052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2052 | wildcard (pat, s) | ^ In file included from prompt.c:6: ./mined.h:736: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] 736 | extern int wildcard _((char * pat, char * s)); | ^ prompt.c:2111:27: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2111 | char * bn = getbasename (path); | ^ prompt.c:2108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2108 | pathlast (path) | ^ prompt.c:2121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2121 | add_pathsep (dirname, maxlen) | ^ prompt.c:2200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2200 | dummyflagoff (item, i) | ^ prompt.c:2212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2212 | is_directory (item) | ^ In file included from prompt.c:21: ./io.h:332: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] 332 | extern int is_directory _((menuitemtype * item)); | ^ prompt.c:2397:24: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2397 | char * fn = dupstr (direntry->d_name); | ^ prompt.c:2430:23: warning: passing arguments to 'is_absolute_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2430 | if (is_absolute_path (direcname)) { | ^ prompt.c:2434:18: warning: passing arguments to 'get_cwd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2434 | (void) get_cwd (dirpath); | ^ prompt.c:2486:19: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2486 | filemenu = alloc (filecount * sizeof (menuitemtype)); | ^ prompt.c:2493:20: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2493 | filemenu = alloc (filecount * sizeof (menuitemtype)); | ^ prompt.c:2504:16: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2504 | fill_menuitem (& filemenu [itemcount ++], dirpath, "directory"); | ^ prompt.c:2514:18: warning: passing arguments to 'popup_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2514 | fi = popup_menu (filemenu, filecount, 2, 2, message, True, False, "*"); | ^ prompt.c:2531:23: warning: passing arguments to 'strip_trailingslash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2531 | strip_trailingslash (expandedname); | ^ prompt.c:2604:51: warning: passing arguments to 'is_absolute_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2604 | if (streq (direcname, ".") || is_absolute_path (chosenname)) { | ^ prompt.c:2703:13: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2703 | free_space (filemenu); | ^ prompt.c:2259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2259 | get_filename (message, file, directory_chooser) | ^ In file included from prompt.c:6: ./mined.h:737: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] 737 | extern int get_filename _((char * message, char * filename, FLAG directory)); | ^ 282 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c charcode.c -o ../bin/FreeBSD.amd64/charcode.o In file included from charcode.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from charcode.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from charcode.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from charcode.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from charcode.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from charcode.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from charcode.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from charcode.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ charcode.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | no_char (c) | ^ In file included from charcode.c:8: ./charprop.h:131: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] 131 | extern int no_char _((unsigned long c)); | ^ charcode.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | no_unichar (u) | ^ In file included from charcode.c:8: ./charprop.h:132: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] 132 | extern int no_unichar _((unsigned long u)); | ^ charcode.c:49:39: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | unsigned long u = lookup_encodedchar (c); | ^ charcode.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | iscontrol (c) | ^ In file included from charcode.c:8: ./charprop.h:114: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] 114 | extern int iscontrol _((unsigned long)); | ^ charcode.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | iswhitespace (c) | ^ In file included from charcode.c:8: ./charprop.h:115: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] 115 | extern int iswhitespace _((unsigned long)); | ^ charcode.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 | lookup (ucs, table, length) | ^ charcode.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | isquotationmark (unichar) | ^ In file included from charcode.c:8: ./charprop.h:116:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | extern int isquotationmark _((unsigned long)); | ^ charcode.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | isdash (unichar) | ^ In file included from charcode.c:8: ./charprop.h:117: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] 117 | extern int isdash _((unsigned long)); | ^ charcode.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 | isopeningparenthesis (unichar) | ^ In file included from charcode.c:8: ./charprop.h:120: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] 120 | extern int isopeningparenthesis _((unsigned long)); | ^ charcode.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | controlchar (c) | ^ In file included from charcode.c:8: ./charprop.h:121:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | extern character controlchar _((character)); | ^ charcode.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | isolated_alef (unichar) | ^ In file included from charcode.c:8: ./charprop.h:129:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | extern unsigned long isolated_alef _((unsigned long)); | ^ charcode.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] 210 | ligature_lam_alef (unichar) | ^ In file included from charcode.c:8: ./charprop.h:130:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | extern unsigned long ligature_lam_alef _((unsigned long)); | ^ charcode.c:261:25: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | return cjkencode_char (False, cjkchar, buf); | ^ charcode.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 | cjkencode (cjkchar, buf) | ^ In file included from charcode.c:8: ./charprop.h:124: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] 124 | extern int cjkencode _((unsigned long, character *)); | ^ charcode.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | multi_char (term, c) | ^ charcode.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] 285 | cjkencode_char (term, cjkchar, buf) | ^ In file included from charcode.c:8: ./charprop.h:125:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | extern int cjkencode_char _((FLAG term, unsigned long, character *)); | ^ charcode.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | utfencode (unichar, buf) | ^ In file included from charcode.c:8: ./charprop.h:123: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] 123 | extern int utfencode _((unsigned long, character *)); | ^ charcode.c:389:23: warning: passing 'char[7]' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 389 | (void) utfencode (c, buf); | ^~~ charcode.c:391:23: warning: passing 'char[7]' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 391 | (void) cjkencode (c, buf); | ^~~ charcode.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | encode_char (c) | ^ In file included from charcode.c:8: ./charprop.h:126: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] 126 | extern char * encode_char _((unsigned long)); | ^ charcode.c:410:24: warning: passing arguments to 'valid_cjkchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | return valid_cjkchar (False, cjkchar, cjkbytes); | ^ charcode.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | valid_cjk (cjkchar, cjkbytes) | ^ In file included from charcode.c:8: ./charprop.h:127: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] 127 | extern int valid_cjk _((unsigned long cjkchar, /* opt */ character * cjkbytes)); | ^ charcode.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] 419 | valid_cjkchar (term, cjkchar, cjkbytes) | ^ In file included from charcode.c:8: ./charprop.h:128: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] 128 | extern int valid_cjkchar _((FLAG term, unsigned long cjkchar, /* opt */ character * cjkbytes)); | ^ charcode.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 | matchprefix (s, m) | ^ charcode.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | matchpart (s, m) | ^ charcode.c:772:35: warning: passing arguments to 'lookup_mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | unichar = lookup_mappedtermchar (i); | ^ charcode.c:774:32: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | unichar = lookup_encodedchar (i); | ^ charcode.c:776:30: warning: passing arguments to 'term_iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | if (term ? term_iscombining (unichar) : iscombining_unichar (unichar)) { | ^ charcode.c:776:62: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | if (term ? term_iscombining (unichar) : iscombining_unichar (unichar)) { | ^ charcode.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] 765 | mapping_has_combining (term) | ^ charcode.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 | decode_cjk (entrypoi, map_table) | ^ charcode.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | setup_mapping (term, map_table, map_table_len, tag1, tag2) | ^ charcode.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | set_char_encoding (term, charmap, tag) | ^ charcode.c:1039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | set_term_encoding (charmap, tag) | ^ In file included from charcode.c:8: ./charprop.h:145: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] 145 | extern FLAG set_term_encoding _((char * charmap, char tag)); | ^ charcode.c:1081:28: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | code_SPACE = encodedchar (' '); | ^ charcode.c:1082:26: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | code_TAB = encodedchar ('\t'); | ^ charcode.c:1083:25: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | code_LF = encodedchar ('\n'); | ^ charcode.c:1084:25: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | code_NL = encodedchar (0x85); | ^ charcode.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | set_text_encoding (charmap, tag, debug_tag) | ^ In file included from charcode.c:8: ./charprop.h:144: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] 144 | extern FLAG set_text_encoding _((char * charmap, char tag, char * debug_tag)); | ^ charcode.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | unmap_char (unichar, map_table, map_table_len, term) | ^ charcode.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 | map_char (cjk, map_table, map_table_len) | ^ charcode.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | gb_to_unicode (gb) | ^ charcode.c:1227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1227 | unicode_to_gb (uc) | ^ charcode.c:1257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | mapped_char (unichar, map_table, map_table_len, term) | ^ charcode.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | mappedtermchar (unichar) | ^ In file included from charcode.c:8: ./charprop.h:134:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 134 | extern unsigned long mappedtermchar _((unsigned long)); | ^ charcode.c:1310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | encodedchar (unichar) | ^ In file included from charcode.c:8: ./charprop.h:137:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | extern unsigned long encodedchar _((unsigned long)); | ^ charcode.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | encodedchar2 (uc1, uc2) | ^ In file included from charcode.c:8: ./charprop.h:138:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | extern unsigned long encodedchar2 _((unsigned long, unsigned long)); | ^ charcode.c:1348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | lookup_mapped_char (cjk, map_table, map_table_len) | ^ charcode.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | lookup_mappedtermchar (cjk) | ^ In file included from charcode.c:8: ./charprop.h:135:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | extern unsigned long lookup_mappedtermchar _((unsigned long)); | ^ charcode.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 | lookup_encodedchar (cjk) | ^ In file included from charcode.c:8: ./charprop.h:139:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 139 | extern unsigned long lookup_encodedchar _((unsigned long)); | ^ 82 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Duse_concatenated_keymaps -c keymaps.c -o ../bin/FreeBSD.amd64/keymaps.o In file included from keymaps.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from keymaps.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from keymaps.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from keymaps.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from keymaps.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from keymaps.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from keymaps.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from keymaps.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ keymaps.c:125:46: warning: passing arguments to 'lookup_Keymap_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | menuitemtype * km = lookup_Keymap_menuitem (keyboard_mapping); | ^ keymaps.c:143:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | status_uni (text_buffer); | ^ keymaps.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 | set_keymap (new_keymap, current, next) | ^ keymaps.c:182:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | error ("Keyboard mapping not active"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ keymaps.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | selectKEYMAP (script) | ^ keymaps.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | setKEYMAP (script) | ^ In file included from keymaps.c:6: ./mined.h:970: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] 970 | extern FLAG setKEYMAP _((char *)); | ^ keymaps.c:270:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | error ("Keyboard mapping not active"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ keymaps.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | mapkb (str, kbmap, matchmode, found, mapped) | ^ keymaps.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | map_key (str, matchmode, found, mapped) | ^ In file included from keymaps.c:6: ./mined.h:975: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] 975 | extern int map_key _((char * str, int matchmode, char * * found, char * * mapped)); | ^ 20 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c keydefs.c -o ../bin/FreeBSD.amd64/keydefs.o In file included from keydefs.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from keydefs.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from keydefs.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from keydefs.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from keydefs.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from keydefs.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from keydefs.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from keydefs.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ 9 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c dispatch.c -o ../bin/FreeBSD.amd64/dispatch.o In file included from dispatch.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from dispatch.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from dispatch.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from dispatch.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from dispatch.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from dispatch.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from dispatch.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from dispatch.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ dispatch.c:429:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | status_uni ("ctrl- ¸/ͺ ˙/῾ :/\" ¨ ˛ ´tonos ´ oxia ¯ ̌/᾿ ˘ ̑ hook ^ ~ ` / °"); | ^ dispatch.c:432:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | status_uni ("alt-ctrl- ˘/ ̛ + ´ ˘/ ̛ + ` ˘/ ̛ + ̉ ˘/ ̛ + ~ ˘/ ̛ + ̣ 0 "); | ^ dispatch.c:434:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | status_uni ("ctrl- ´ ` ̉ ~ ̣ ^ ˘ ̛ / °"); | ^ dispatch.c:436:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | status_uni ("alt- ^ + ´ ^ + ` ^ + ̉ ^ + ~ ^ + ̣ 0 "); | ^ dispatch.c:440:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | status_uni ("alt-shift- F4 Kill window! F5 ˘ F6 ˙"); | ^ dispatch.c:442:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | status_uni ("ctrl-shift- F5 ˛ F6 ¯ F8 LineRepl F9 FindChar"); | ^ dispatch.c:444:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | status_uni ("alt- F2 SaveAs F4 Kill window! F8 SearchBack F9 NextBack F10 FlagMenu"); | ^ dispatch.c:446:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | status_uni ("ctrl- F2 SaveTo F4 PastePrev F5 °/¸ F6 ^ F8 Subst/Confirm F10 InfoMenu"); | ^ dispatch.c:448:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | status_uni ("shift- F2 Save! F3 CaseTog F4 WrtBuf F5 ~ F6 ` F8 Subst F9 FindIdf F10 Menu"); | ^ dispatch.c:450:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | status_uni (" F2 Save F3 Edit F4 InsFile F5 \" F6 ´ F8 Search F9 Next F10 Filemenu"); | ^ dispatch.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | FHELP (func) | ^ In file included from dispatch.c:6: ./mined.h:1124: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] 1124 | extern void FHELP _((voidfunc)); | ^ dispatch.c:611:12: warning: passing arguments to 'SCURCHAR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | SCURCHAR (REVERSE); | ^ dispatch.c:619:12: warning: passing arguments to 'SCURCHAR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | SCURCHAR (FORWARD); | ^ dispatch.c:644:11: warning: passing arguments to 'SCURCHAR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | SCURCHAR (REVERSE); | ^ dispatch.c:647:11: warning: passing arguments to 'SCURCHAR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | SCURCHAR (FORWARD); | ^ dispatch.c:650:7: warning: passing arguments to 'SIDF' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | SIDF (REVERSE); | ^ dispatch.c:722:6: warning: passing arguments to 'UML' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | UML (' '); | ^ dispatch.c:759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | command (c) | ^ In file included from dispatch.c:6: ./mined.h:1033: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] 1033 | extern voidfunc command _((unsigned long)); | ^ dispatch.c:779:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | (command (key)) (key); | ^ dispatch.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | invoke_key_function (key) | ^ In file included from dispatch.c:6: ./mined.h:1034: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] 1034 | extern void invoke_key_function _((unsigned long)); | ^ dispatch.c:803:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | if (no_char (c)) { | ^ dispatch.c:810:19: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | (void) utfencode (c, cbuf); | ^ dispatch.c:814:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | status_uni (cmdbuf); | ^ dispatch.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | BAD (c, tag) | ^ dispatch.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | BADch (c) | ^ In file included from dispatch.c:6: ./mined.h:1111: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] 1111 | extern void BADch _((unsigned long cmd)); | ^ dispatch.c:850:27: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | if (! char_ready_within (500, NIL_PTR)) { | ^ dispatch.c:851:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | status_uni ("HOP: type command (to amplify/expand) ..."); | ^ dispatch.c:862:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:882:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | status_uni ("... absorbing delayed terminal escape sequence ... - Press Enter to abort"); | ^ dispatch.c:892:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | error ("(Discarded slow escape sequence) - Re-enter function key"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:911:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | status_uni ("... Absorbing delayed terminal escape sequence ... - Press Enter to abort"); | ^ dispatch.c:920:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | error ("(Discarded slow escape sequence) - Re-enter function key"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:936:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | status_uni ("... Absorbing delayed terminal report string ... - Press Enter to abort"); | ^ dispatch.c:948:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:964:27: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | if (! char_ready_within (500, NIL_PTR)) { | ^ dispatch.c:965:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | status_uni ("^Q: blockBegin Find replAce goto<n>mark HOP..."); | ^ dispatch.c:976:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:978:8: warning: passing arguments to 'GOMAn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | GOMAn ((int) c - (int) '0'); | ^ dispatch.c:996:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | (* func) (c); | ^ dispatch.c:1013:19: warning: passing arguments to 'REPT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | case 'Q' : {REPT (' '); return;} /* not exactly WS function */ | ^ dispatch.c:1032:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | (* func) (c); | ^ dispatch.c:1049:27: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | if (! char_ready_within (500, NIL_PTR)) { | ^ dispatch.c:1050:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | status_uni ("^K: Save Done eXit Quit Read Log <n>mark / block: B/K mark Cop Ydel moV Wr..."); | ^ dispatch.c:1061:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:1063:8: warning: passing arguments to 'MARKn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | MARKn ((int) c - (int) '0'); | ^ dispatch.c:1075:22: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | case 'B' : {setMARK (True) ; return;} | ^ dispatch.c:1107:27: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1107 | if (! char_ready_within (500, NIL_PTR)) { | ^ dispatch.c:1108:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | status_uni ("^O: L/R left/right margins..."); | ^ dispatch.c:1119:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:1161:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1161 | status_msg ("0..9: set marker / , or blank: default marker"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ dispatch.c:1167:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:1171:8: warning: passing arguments to 'MARKn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | MARKn ((int) c - (int) '0'); | ^ dispatch.c:1173:8: warning: passing arguments to 'MARKn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | MARKn ((int) c - (int) 'a' + 10); | ^ dispatch.c:1175:10: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1175 | setMARK (True); | ^ dispatch.c:1186:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | status_msg ("0..9: go marker / blank: default marker"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ dispatch.c:1192:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1192 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:1196:8: warning: passing arguments to 'GOMAn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | GOMAn ((int) c - (int) '0'); | ^ dispatch.c:1198:8: warning: passing arguments to 'GOMAn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | GOMAn ((int) c - (int) 'a' + 10); | ^ dispatch.c:1242:25: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | if (char_ready_within (50, NIL_PTR)) { | ^ dispatch.c:1246:27: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | if (! char_ready_within (450, NIL_PTR)) { | ^ dispatch.c:1247:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | status_uni ("ESCexit SPACEmenu quit /search \\backw (match replace goto justify =rept help ..."); | ^ dispatch.c:1258:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:1261:7: warning: passing arguments to 'REPT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | REPT (c); | ^ dispatch.c:1315:19: warning: passing arguments to 'REPT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | case '=' : {REPT (' '); return;} | ^ dispatch.c:1320:22: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | case '^' : {setMARK (True); return;} | ^ dispatch.c:1345:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1345 | case (character) '' : /* ä German */ | ^ dispatch.c:1346:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1346 | case (character) '' : /* ö German */ | ^ dispatch.c:1347:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1347 | case (character) '' : /* ü German */ | ^ dispatch.c:1348:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1348 | case (character) '' : /* ß German */ | ^ dispatch.c:1349:9: warning: passing arguments to 'UML' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | {UML ('g'); return;} | ^ dispatch.c:1350:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1350 | case (character) '' : /* é French */ | ^ dispatch.c:1351:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1351 | case (character) '' : /* è French */ | ^ dispatch.c:1352:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1352 | case (character) '' : /* à French */ | ^ dispatch.c:1353:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1353 | case (character) '' : /* ù French */ | ^ dispatch.c:1354:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1354 | case (character) '' : /* ç French */ | ^ dispatch.c:1355:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1355 | case (character) '' : /* ² French */ | ^ dispatch.c:1356:9: warning: passing arguments to 'UML' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | {UML ('f'); return;} | ^ dispatch.c:1357:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1357 | case (character) '' : /* æ Scandinavian */ | ^ dispatch.c:1358:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1358 | case (character) '' : /* å Scandinavian */ | ^ dispatch.c:1359:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1359 | case (character) '' : /* ø Scandinavian */ | ^ dispatch.c:1360:9: warning: passing arguments to 'UML' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | {UML ('d'); return;} | ^ dispatch.c:1361:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1361 | case (character) '' : /* ì Italian */ | ^ dispatch.c:1362:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1362 | case (character) '' : /* ò Italian */ | ^ dispatch.c:1363:9: warning: passing arguments to 'UML' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | {UML ('i'); return;} | ^ dispatch.c:1368:9: warning: passing arguments to 'UML' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | {UML ('e'); return;} | ^ dispatch.c:1378:9: warning: passing arguments to 'UML' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | {UML ('e'); return;} | ^ dispatch.c:1380:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1380 | case (character) '' : /* ° Norwegian */ | ^ dispatch.c:1381:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1381 | case (character) '' : /* ª Portuguese */ | ^ dispatch.c:1382:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1382 | case (character) '' : /* º Portuguese */ | ^ dispatch.c:1383:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1383 | case (character) '' : /* « Portuguese */ | ^ dispatch.c:1384:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1384 | case (character) '' : /* ñ Spanish */ | ^ dispatch.c:1388:9: warning: passing arguments to 'UML' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | {UML (language_tag); return;} | ^ dispatch.c:1391:20: warning: passing arguments to 'SCORR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | case '{' : {SCORR (REVERSE); return;} | ^ dispatch.c:1393:20: warning: passing arguments to 'SCORR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | case '}' : {SCORR (FORWARD); return;} | ^ dispatch.c:1403:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1403 | error ("Smart quotes not enabled"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:1435:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1435 | (* func) (c); | ^ dispatch.c:1451:27: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1451 | if (! char_ready_within (500, NIL_PTR)) { | ^ dispatch.c:1452:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1452 | status_uni ("Meta ESC(exit) TAB,space(menu) /,\\(search) (match ..."); | ^ dispatch.c:1463:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:1466:7: warning: passing arguments to 'REPT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1466 | REPT (c); | ^ dispatch.c:1480:22: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1480 | case 'k' : {setMARK (True); ESEN (); CUT (); return;} | ^ dispatch.c:1502:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1502 | (* func) (c); | ^ dispatch.c:1519:27: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | if (! char_ready_within (500, NIL_PTR)) { | ^ dispatch.c:1520:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1520 | status_uni ("^X ..."); | ^ dispatch.c:1531:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:1545:22: warning: passing arguments to 'REPT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | case '\033' : {REPT (' '); return;} | ^ dispatch.c:1581:23: warning: passing arguments to 'get_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1581 | val = get_number ("Please continue repeat count...", firstdigit, & number); | ^ dispatch.c:1583:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | error ("Invalid repeat count after ESC "); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:1587:23: warning: passing arguments to 'get_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1587 | val = get_number ("Please enter repeat count...", '\0', & number); | ^ dispatch.c:1596:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1596 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:1615:17: warning: passing arguments to 'CTRLGET' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1615 | cmd = CTRLGET (False); | ^ dispatch.c:1617:17: warning: passing arguments to 'CTRLGET' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | cmd = CTRLGET (True); | ^ dispatch.c:1620:14: warning: passing arguments to 'Scharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | Scharacter (cmd); | ^ dispatch.c:1630:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1630 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:1633:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | (* func) (cmd); | ^ dispatch.c:1642:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1642 | error ("Repeat aborted"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:1644:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1644 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:1569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | REPT (firstdigit) | ^ In file included from dispatch.c:6: ./mined.h:1109: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] 1109 | extern void UML _((char)), REPT _((char)); | ^ dispatch.c:1674:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1674 | error ("Undo not implemented"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ dispatch.c:1680:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1680 | error ("Spell checking not implemented"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ 134 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c termprop.c -o ../bin/FreeBSD.amd64/termprop.o termprop.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | term_Unicode_version_name (v) | ^ In file included from termprop.c:6: ./termprop.h:62: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] 62 | extern char * term_Unicode_version_name _((int v)); | ^ 2 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c width.c -o ../bin/FreeBSD.amd64/width.o In file included from width.c:8: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from width.c:8: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from width.c:8: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from width.c:8: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from width.c:8: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from width.c:8: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from width.c:8: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from width.c:8: ./mined.h:242: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] 242 | extern int strcmp (); | ^ width.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | lookup (ucs, table, length) | ^ width.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] 624 | iscombining_listed (ucs) | ^ width.c:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | term_isassigned (ucs) | ^ In file included from width.c:11: ./termprop.h:130: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] 130 | extern int term_isassigned _((unsigned long ucs)); | ^ width.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | term_iscombining (ucs) | ^ In file included from width.c:11: ./termprop.h:117: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] 117 | extern int term_iscombining _((unsigned long ucs)); | ^ width.c:786:22: warning: passing arguments to 'is_wideunichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | if (is_wideunichar (ucs)) { | ^ width.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | term_iswide (ucs) | ^ In file included from width.c:11: ./termprop.h:126: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] 126 | extern int term_iswide _((unsigned long ucs)); | ^ 18 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c encoding.c -o ../bin/FreeBSD.amd64/encoding.o encoding.c:47: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] 47 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ encoding.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | locale_encoding (var1, var2, var3) | ^ 2 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c handescr.c -o ../bin/FreeBSD.amd64/handescr.o In file included from handescr.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from handescr.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from handescr.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from handescr.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from handescr.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from handescr.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from handescr.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from handescr.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ 9 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c compose.c -o ../bin/FreeBSD.amd64/compose.o In file included from compose.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from compose.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from compose.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from compose.c:6: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from compose.c:6: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from compose.c:6: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from compose.c:6: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from compose.c:6: ./mined.h:242: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] 242 | extern int strcmp (); | ^ compose.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 | lookup_prefix (prefunc, shift) | ^ In file included from compose.c:6: ./mined.h:711: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] 711 | extern struct prefixspec * lookup_prefix _((voidfunc prefunc, unsigned int shift)); | ^ compose.c:182:19: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | xp += utfencode (c, xp); | ^ compose.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | lookup_prefix_char (c) | ^ In file included from compose.c:6: ./mined.h:712: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] 712 | extern struct prefixspec * lookup_prefix_char _((unsigned long c)); | ^ compose.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 | mnemos (ucs) | ^ In file included from compose.c:6: ./mined.h:708: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] 708 | extern char * mnemos _((int ucs)); | ^ compose.c:309:21: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | return encodedchar (ret); | ^ compose.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | compose_mnemo (mnemo, variable_length, return_unicode) | ^ compose.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 | subst_acc (c1p, c2p, acc, sub) | ^ compose.c:355:19: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | cp += utfencode (c1, cp); | ^ compose.c:356:20: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | (void) utfencode (c2, cp); | ^ compose.c:358:24: warning: passing 'character[13]' (aka 'unsigned char[13]') 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] 358 | ret = compose_mnemo (cs, False, False); | ^~ compose.c:360:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | if (no_char (ret)) { | ^ compose.c:370:47: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 370 | subst_acc (& c1subst, & c2subst, (character) '', ':'); | ^ compose.c:372:47: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 372 | subst_acc (& c1subst, & c2subst, (character) '', '-'); | ^ compose.c:374:47: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 374 | subst_acc (& c1subst, & c2subst, (character) '', '\''); | ^ compose.c:376:47: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 376 | subst_acc (& c1subst, & c2subst, (character) '', ','); | ^ compose.c:378:47: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 378 | subst_acc (& c1subst, & c2subst, (character) '', '0'); | ^ compose.c:381:18: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | cp += utfencode (c1subst, cp); | ^ compose.c:382:19: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | (void) utfencode (c2subst, cp); | ^ compose.c:383:24: warning: passing 'character[13]' (aka 'unsigned char[13]') 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] 383 | ret2 = compose_mnemo (cs, False, False); | ^~ compose.c:391:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | if (no_char (ret)) { | ^ compose.c:393:18: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | cp += utfencode (c2, cp); | ^ compose.c:394:19: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | (void) utfencode (c1, cp); | ^ compose.c:395:24: warning: passing 'character[13]' (aka 'unsigned char[13]') 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] 395 | ret2 = compose_mnemo (cs, False, False); | ^~ compose.c:401:14: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | if (no_char (ret)) { | ^ compose.c:403:19: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | cp += utfencode (c2subst, cp); | ^ compose.c:404:20: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | (void) utfencode (c1subst, cp); | ^ compose.c:405:25: warning: passing 'character[13]' (aka 'unsigned char[13]') 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] 405 | ret2 = compose_mnemo (cs, False, False); | ^~ compose.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] 340 | compose_chars (c1, c2) | ^ In file included from compose.c:6: ./mined.h:709:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 709 | extern unsigned long compose_chars _((unsigned long, unsigned long)); | ^ compose.c:435:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | if (no_char (ret)) { | ^ compose.c:453:13: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | utf8_info (m, & len, & unichar); | ^ compose.c:454:16: warning: passing arguments to 'isLetter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | if (isLetter (unichar)) { | ^ compose.c:492:17: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | m += utfencode (let, mbuf); | ^ compose.c:495:19: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | m += utfencode (a [i], m); | ^ compose.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | compose_mnemonic_mode (variable_length, mnemo) | ^ compose.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | compose_mnemonic (mnemo) | ^ In file included from compose.c:6: ./mined.h:710:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 710 | extern unsigned long compose_mnemonic _((char *)); | ^ compose.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | postpat (ps, patpoia, patpoib) | ^ compose.c:558:20: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | (void) utfencode (base, mnemo); | ^ compose.c:565:17: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | if (! no_char (composed)) { | ^ compose.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | compose_three_patterns (base, pat1a, pat1b, pat2a, pat2b, pat3a, pat3b) | ^ compose.c:623:17: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | if (! no_char (composed)) { | ^ compose.c:629:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | if (! no_char (composed)) { | ^ compose.c:635:17: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | if (! no_char (composed)) { | ^ compose.c:641:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | if (! no_char (composed)) { | ^ compose.c:646:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | if (! no_char (composed)) { | ^ compose.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | compose_multiple_patterns (base, ps, ps2, ps3) | ^ compose.c:677:25: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | mnemopoi += utfencode (base, mnemopoi); | ^ compose.c:686:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | if (no_char (composed) && ps->pat2 != NIL_PTR) { | ^ compose.c:692:26: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | mnemopoi += utfencode (base, mnemopoi); | ^ compose.c:702:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | if (no_char (composed) && ps->pat3 != NIL_PTR) { | ^ compose.c:708:26: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | mnemopoi += utfencode (base, mnemopoi); | ^ compose.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | compose_base_patterns (base, ps, ps2, ps3) | ^ compose.c:746:19: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | if (! no_char (c)) { | ^ compose.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | decompose (basepoi) | ^ compose.c:801:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | if (no_char (composed) && base > 0x80 && ! ps3) { | ^ compose.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | compose_patterns (base, ps, ps2, ps3) | ^ In file included from compose.c:6: ./mined.h:713:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 713 | extern unsigned long compose_patterns _((unsigned long base, struct prefixspec * ps, struct prefixspec * ps2, struct prefixspec * ps3)); | ^ 70 warnings generated. # ar has no option s on Ultrix, there is no ranlib on some systems ar ruvs ../bin/FreeBSD.amd64/charmaps.a ../bin/FreeBSD.amd64/charmaps/*.o || ar ruv ../bin/FreeBSD.amd64/charmaps.a ../bin/FreeBSD.amd64/charmaps/*.o && ranlib ../bin/FreeBSD.amd64/charmaps.a ar: warning: creating ../bin/FreeBSD.amd64/charmaps.a a - ../bin/FreeBSD.amd64/charmaps/arabic.o a - ../bin/FreeBSD.amd64/charmaps/armscii.o a - ../bin/FreeBSD.amd64/charmaps/ascii.o a - ../bin/FreeBSD.amd64/charmaps/cjk-big5.o a - ../bin/FreeBSD.amd64/charmaps/cjk-cns.o a - ../bin/FreeBSD.amd64/charmaps/cjk-ejp.o a - ../bin/FreeBSD.amd64/charmaps/cjk-ejx.o a - ../bin/FreeBSD.amd64/charmaps/cjk-gb.o a - ../bin/FreeBSD.amd64/charmaps/cjk-johb.o a - ../bin/FreeBSD.amd64/charmaps/cjk-sjcp.o a - ../bin/FreeBSD.amd64/charmaps/cjk-sjx.o a - ../bin/FreeBSD.amd64/charmaps/cjk-uhc.o a - ../bin/FreeBSD.amd64/charmaps/cp1047.o a - ../bin/FreeBSD.amd64/charmaps/cp1125.o a - ../bin/FreeBSD.amd64/charmaps/cp1131.o a - ../bin/FreeBSD.amd64/charmaps/cp1250.o a - ../bin/FreeBSD.amd64/charmaps/cp1251.o a - ../bin/FreeBSD.amd64/charmaps/cp1252.o a - ../bin/FreeBSD.amd64/charmaps/cp1253.o a - ../bin/FreeBSD.amd64/charmaps/cp1254.o a - ../bin/FreeBSD.amd64/charmaps/cp1255.o a - ../bin/FreeBSD.amd64/charmaps/cp1256.o a - ../bin/FreeBSD.amd64/charmaps/cp1257.o a - ../bin/FreeBSD.amd64/charmaps/cp1258.o a - ../bin/FreeBSD.amd64/charmaps/cp437.o a - ../bin/FreeBSD.amd64/charmaps/cp720.o a - ../bin/FreeBSD.amd64/charmaps/cp737.o a - ../bin/FreeBSD.amd64/charmaps/cp775.o a - ../bin/FreeBSD.amd64/charmaps/cp850.o a - ../bin/FreeBSD.amd64/charmaps/cp852.o a - ../bin/FreeBSD.amd64/charmaps/cp853.o a - ../bin/FreeBSD.amd64/charmaps/cp855.o a - ../bin/FreeBSD.amd64/charmaps/cp857.o a - ../bin/FreeBSD.amd64/charmaps/cp858.o a - ../bin/FreeBSD.amd64/charmaps/cp860.o a - ../bin/FreeBSD.amd64/charmaps/cp861.o a - ../bin/FreeBSD.amd64/charmaps/cp862.o a - ../bin/FreeBSD.amd64/charmaps/cp863.o a - ../bin/FreeBSD.amd64/charmaps/cp864e.o a - ../bin/FreeBSD.amd64/charmaps/cp865.o a - ../bin/FreeBSD.amd64/charmaps/cp866.o a - ../bin/FreeBSD.amd64/charmaps/cp869.o a - ../bin/FreeBSD.amd64/charmaps/cygwin.o a - ../bin/FreeBSD.amd64/charmaps/georg-ps.o a - ../bin/FreeBSD.amd64/charmaps/iso-6937.o a - ../bin/FreeBSD.amd64/charmaps/isoarab.o a - ../bin/FreeBSD.amd64/charmaps/isocyril.o a - ../bin/FreeBSD.amd64/charmaps/isogreek.o a - ../bin/FreeBSD.amd64/charmaps/isohebr.o a - ../bin/FreeBSD.amd64/charmaps/koi8-r.o a - ../bin/FreeBSD.amd64/charmaps/koi8-ru.o a - ../bin/FreeBSD.amd64/charmaps/koi8-t.o a - ../bin/FreeBSD.amd64/charmaps/koi8-u.o a - ../bin/FreeBSD.amd64/charmaps/latin-10.o a - ../bin/FreeBSD.amd64/charmaps/latin-2.o a - ../bin/FreeBSD.amd64/charmaps/latin-3.o a - ../bin/FreeBSD.amd64/charmaps/latin-4.o a - ../bin/FreeBSD.amd64/charmaps/latin-5.o a - ../bin/FreeBSD.amd64/charmaps/latin-6.o a - ../bin/FreeBSD.amd64/charmaps/latin-7.o a - ../bin/FreeBSD.amd64/charmaps/latin-8.o a - ../bin/FreeBSD.amd64/charmaps/latin-9.o a - ../bin/FreeBSD.amd64/charmaps/m-roman.o a - ../bin/FreeBSD.amd64/charmaps/pt154.o a - ../bin/FreeBSD.amd64/charmaps/tcvn.o a - ../bin/FreeBSD.amd64/charmaps/tis620.o a - ../bin/FreeBSD.amd64/charmaps/vga.o a - ../bin/FreeBSD.amd64/charmaps/viscii.o cc -DTERMIO -Dunix -Dunix -DNOPROTO -O1 -c io.c -o ../bin/FreeBSD.amd64/io.o In file included from io.c:11: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from io.c:11: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from io.c:11: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from io.c:11: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from io.c:11: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from io.c:11: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from io.c:11: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from io.c:11: ./mined.h:242: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] 242 | extern int strcmp (); | ^ io.c:49:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 49 | extern int kill _((pid_t, int)); | ^ /usr/include/signal.h:77:5: note: conflicting prototype is here 77 | int kill(__pid_t, int); | ^ io.c:179: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] 179 | extern int select _((int n, fd_set *, fd_set *, fd_set *, struct timeval *)); | ^ /usr/include/sys/select.h:103:5: note: conflicting prototype is here 103 | int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); | ^ io.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] 299 | set_colour_token (token) | ^ In file included from io.c:12: ./io.h:142: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] 142 | extern void set_colour_token _((int)); | ^ io.c:359:20: warning: passing arguments to 'handle_interrupt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | handle_interrupt (signum); | ^ io.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | catch_interrupt (signum) | ^ io.c:375:20: warning: passing arguments to 'handle_interrupt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | handle_interrupt (signum); | ^ io.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | catch_crash (signum) | ^ io.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | catchwinch (dummy) | ^ io.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | catchquit (dummy) | ^ io.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | catchint (dummy) | ^ io.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | catchtstp (dummy) | ^ io.c:578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | catchcont (dummy) | ^ io.c:643:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | putstring (str); | ^ io.c:645:15: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | (void) tputs (str, aff, (intfunc) __putchar); | ^ io.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | termputstr (str, aff) | ^ io.c:797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | add_keymap_entry (cap, f, shift_state) | ^ io.c:821: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] 821 | char * cap = term_getstr (tc, ti); | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | add_terminfo_entry (tc, ti, f, shift_state) | ^ io.c:1206:27: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | while (char_ready_within (50, NIL_PTR)) { | ^ io.c:1224:21: warning: passing arguments to 'start_screen_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1224 | start_screen_mode (1); | ^ io.c:1397:21: warning: passing arguments to 'start_screen_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1397 | start_screen_mode (1); | ^ io.c:1402:20: warning: passing arguments to 'start_screen_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | start_screen_mode (0); | ^ io.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | raw_mode (to_raw_state) | ^ In file included from io.c:12: ./io.h:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | extern void raw_mode _((FLAG state)); | ^ io.c:1454:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1454 | putescape ("\033[>4m"); | ^ io.c:1456:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1456 | putescape ("\033[>4;2m"); | ^ io.c:1448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1448 | disable_modify_keys (dis) | ^ In file included from io.c:12: ./io.h: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 | extern void disable_modify_keys _((FLAG dis)); | ^ io.c:1486:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | putescape (set_ansi7); | ^ io.c:1489:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1489 | putescape (set_ansi2); | ^ io.c:1492:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | putescape (set_ansi3); | ^ io.c:1495:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1495 | putescape (set_curscolr); | ^ io.c:1500:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | putescape ("\033[>4;2m"); | ^ io.c:1507:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1507 | putescape (cs); | ^ io.c:1512:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | putescape ("\033[?1037s"); /* save DEC mode value */ | ^ io.c:1514:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1514 | putescape ("\033[?1037h"); | ^ io.c:1516:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1516 | putescape ("\033[?1034s"); /* save DEC mode value */ | ^ io.c:1518:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1518 | putescape ("\033[?1034l"); | ^ io.c:1520:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1520 | putescape ("\033[?1036s"); /* save DEC mode value */ | ^ io.c:1522:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1522 | putescape ("\033[?1036h"); | ^ io.c:1536:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | putescape ("\033[?7727h"); /* application escape key mode: ESC sends ^[O[ */ | ^ io.c:1539:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1539 | putescape ("\033[?7783h"); /* shortcut override on */ | ^ io.c:1548:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | putescape (restore_ansi7); | ^ io.c:1551:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1551 | putescape (restore_ansi2); | ^ io.c:1554:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1554 | putescape (restore_ansi3); | ^ io.c:1557:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1557 | putescape (restore_curscolr); | ^ io.c:1569:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | putescape ("\033[>4m"); | ^ io.c:1575:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1575 | putescape ("\033[0 q"); | ^ io.c:1580:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1580 | putescape ("\033[?1037r"); /* restore DEC mode value */ | ^ io.c:1582:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | putescape ("\033[?1034r"); /* restore DEC mode value */ | ^ io.c:1584:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | putescape ("\033[?1036r"); /* restore DEC mode value */ | ^ io.c:1596:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1596 | putescape ("\033[?7727l"); /* reset application escape key mode */ | ^ io.c:1599:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1599 | putescape ("\033[?7783l"); /* shortcut override off */ | ^ io.c:1659:2: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1659 | _putescape ("\033P"); | ^ io.c:1635:33: note: expanded from macro '_putescape' 1635 | #define _putescape(s) putstring (s) | ^ io.c:1660:2: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | _putescape (s); | ^ io.c:1635:33: note: expanded from macro '_putescape' 1635 | #define _putescape(s) putstring (s) | ^ io.c:1661:2: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1661 | _putescape ("\033\\"); | ^ io.c:1635:33: note: expanded from macro '_putescape' 1635 | #define _putescape(s) putstring (s) | ^ io.c:1663:2: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1663 | _putescape (s); | ^ io.c:1635:33: note: expanded from macro '_putescape' 1635 | #define _putescape(s) putstring (s) | ^ io.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | putescape (s) | ^ In file included from io.c:12: ./io.h:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | extern void putescape _((char * s)); | ^ io.c:1728:14: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 1728 | return ""; | ^~~~ io.c:1756:14: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 1756 | return ""; | ^~~~ io.c:1701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | asciiblockchar (c) | ^ io.c:1770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1770 | vgablockchar (c) | ^ io.c:1835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1835 | acblockchar (c) | ^ io.c:1888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1888 | unicodeblockchar (c) | ^ io.c:2029:16: warning: passing arguments to 'disp_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2029 | disp_cursor (False); | ^ io.c:2052:16: warning: passing arguments to 'disp_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2052 | disp_cursor (True); | ^ io.c:2002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2002 | menu_mouse_mode (menu) | ^ In file included from io.c:12: ./io.h:241: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] 241 | extern void menu_mouse_mode _((FLAG)); | ^ io.c:2063:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2063 | mouse_button_event_mode (report) | ^ In file included from io.c:12: ./io.h:33: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] 33 | extern void mouse_button_event_mode _((FLAG report)); | ^ io.c:2093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2093 | screen_buffer (alt) | ^ In file included from io.c:12: ./io.h:245:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 245 | extern void screen_buffer _((FLAG alternate)); | ^ io.c:2588:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2588 | putchar ('\07'); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ io.c:2680:13: warning: passing arguments to 'panicio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2680 | panicio ("Terminal write error", serror ()); | ^ io.c:2687:13: warning: passing arguments to 'panicio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2687 | panicio ("Terminal write error", serror ()); | ^ io.c:2715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2715 | putoutchar (c) | ^ io.c:2775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2775 | putoutstring (text) | ^ io.c:2784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2784 | __putchar (c) | ^ In file included from io.c:12: ./io.h:161: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] 161 | extern void __putchar _((character)); | ^ io.c:2795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2795 | putstring (str) | ^ In file included from io.c:12: ./io.h:160: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] 160 | extern void putstring _((char *)); | ^ io.c:2811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2811 | putblockchar (c) | ^ In file included from io.c:12: ./io.h:163: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] 163 | extern void putblockchar _((character)); | ^ io.c:2876:21: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2876 | termputstr (tgoto (cEC, 0, n), aff1); | ^ io.c:2868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2868 | erase_chars (n) | ^ In file included from io.c:12: ./io.h:90: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] 90 | extern void erase_chars _((int)); | ^ io.c:2883:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2883 | set_cursor (0, YMAX); | ^ io.c:2891:11: warning: passing arguments to 'add_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2891 | add_line (0); | ^ io.c:2908:21: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2908 | termputstr (tgoto (cCS, ye, yb), aff1); | ^ io.c:2899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2899 | scrolling_region (yb, ye) | ^ io.c:2917:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2917 | set_cursor (0, y); | ^ io.c:2920:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2920 | set_cursor (0, y); | ^ io.c:2913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2913 | add_line (y) | ^ In file included from io.c:12: ./io.h:93: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] 93 | extern void add_line _((int)); | ^ io.c:2935:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2935 | set_cursor (0, y); | ^ io.c:2938:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2938 | set_cursor (0, y); | ^ io.c:2941:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2941 | set_cursor (0, YMAX); | ^ io.c:2931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2931 | delete_line (y) | ^ In file included from io.c:12: ./io.h:94: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] 94 | extern void delete_line _((int)); | ^ io.c:2962:20: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2962 | termputstr (tgoto (cCM, 0, 0), aff1); | ^ io.c:2971:21: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2971 | termputstr (tgoto (cCM, x, y + MENU), aff1); | ^ io.c:2949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2949 | set_cursor (x, y) | ^ In file included from io.c:12: ./io.h:95: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] 95 | extern void set_cursor _((int, int)); | ^ io.c:3027:9: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3027 | YMAX = term_getnum ("li", "lines") - 1 - MENU; /* # of lines */ | ^ io.c:735:37: note: expanded from macro 'term_getnum' 735 | #define term_getnum(tc, ti) tgetnum (tc) | ^ io.c:3028:9: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3028 | XMAX = term_getnum ("co", "cols") - 1; /* # of columns */ | ^ io.c:735:37: note: expanded from macro 'term_getnum' 735 | #define term_getnum(tc, ti) tgetnum (tc) | ^ io.c:3032:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3032 | cCL = term_getstr ("cl", "clear"); /* clear screen */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3033:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3033 | cCE = term_getstr ("ce", "el"); /* clear to end of line */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3034:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3034 | cCD = term_getstr ("cd", "ed"); /* clear to end of screen */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3035:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3035 | cCM = term_getstr ("cm", "cup"); /* move cursor */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3037:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3037 | cEC = term_getstr ("ec", "ech"); /* erase characters */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3038:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3038 | cSR = term_getstr ("sr", "ri"); /* scroll down */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3039:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3039 | cAL = term_getstr ("al", "il1"); /* add line */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3040:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3040 | cDL = term_getstr ("dl", "dl1"); /* delete line */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3041:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3041 | cCS = term_getstr ("cs", "csr"); /* change scrolling region */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3042:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3042 | cSC = term_getstr ("sc", "sc"); /* save cursor \ needed with VT100 */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3043:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3043 | cRC = term_getstr ("rc", "rc"); /* restore cursor / for add/delete line */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3045:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3045 | cME = term_getstr ("me", "sgr0"); /* turn off all attributes */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3046:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3046 | cMR = term_getstr ("mr", "rev"); /* reverse */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3047:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3047 | cMD = term_getstr ("md", "bold"); /* bold / extra bright */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3048:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3048 | cMH = term_getstr ("mh", "dim"); /* dim / half-bright */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3049:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3049 | cUL = term_getstr ("us", "smul"); /* underline */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3050:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3050 | cBL = term_getstr ("mb", "blink"); /* blink */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3051:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3051 | cSO = term_getstr ("so", "smso"); /* standout mode */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3052:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3052 | cSE = term_getstr ("se", "rmso"); /* end standout mode */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3054:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3054 | cVS = term_getstr ("vs", "cvvis"); /* visual cursor */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3055:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3055 | cVE = term_getstr ("ve", "cnorm"); /* normal cursor */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3056:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3056 | cVI = term_getstr ("vi", "civis"); /* invisible cursor */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3057:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3057 | cTI = term_getstr ("ti", "smcup"); /* positioning mode */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3058:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3058 | cTE = term_getstr ("te", "rmcup"); /* end " */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3059:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3059 | cKS = term_getstr ("ks", "smkx"); /* keypad mode */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3060:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3060 | cKE = term_getstr ("ke", "rmkx"); /* end " */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3061:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3061 | cAS = term_getstr ("as", "smacs"); /* alternate character set */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3062:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3062 | cAE = term_getstr ("ae", "rmacs"); /* end " */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3063:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3063 | cEA = term_getstr ("eA", "enacs"); /* enable " */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3064:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3064 | cAC = term_getstr ("ac", "acsc"); /* block graphics code mapping */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3065:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3065 | cS2 = term_getstr ("S2", "smpch"); /* PC character set */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3066:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3066 | cS3 = term_getstr ("S3", "rmpch"); /* end " */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3068:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3068 | cAF = term_getstr ("AF", "setaf"); /* select foreground colour */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3069:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3069 | cAB = term_getstr ("AB", "setab"); /* select background colour */ | ^ io.c:734:50: note: expanded from macro 'term_getstr' 734 | #define term_getstr(tc, ti) tstrfix (tc, tgetstr (tc, & term_capbufpoi)) | ^ io.c:3070:6: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3070 | if (term_getnum ("Co", "colors") == 0 && ! cAF) { | ^ io.c:735:37: note: expanded from macro 'term_getnum' 735 | #define term_getnum(tc, ti) tgetnum (tc) | ^ io.c:3073:6: warning: passing arguments to 'tgetflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3073 | if (term_getflag ("xs", "xhp")) { /* standout glitch */ | ^ io.c:736:39: note: expanded from macro 'term_getflag' 736 | #define term_getflag(tc, ti) tgetflag (tc) | ^ io.c:3023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3023 | get_terminfo (TERMname) | ^ io.c:3107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3107 | disp_cursor (visible) | ^ In file included from io.c:12: ./io.h:101: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] 101 | extern void disp_cursor _((FLAG)); | ^ io.c:3123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3123 | set_term_defaults (TERMname) | ^ io.c:3347:9: warning: passing arguments to 'tgetent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3347 | if (! term_setup (TERMname)) { | ^ io.c:733:35: note: expanded from macro 'term_setup' 733 | #define term_setup(TERM) (tgetent (term_rawbuf, TERM) == 1) | ^ io.c:3403:8: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3403 | panic ("Terminal control strings don't fit", NIL_PTR); | ^ io.c:3486:8: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3486 | panic ("Sorry, terminal features are insufficient for mined", NIL_PTR); | ^ io.c:3338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3338 | get_term_cap (TERMname) | ^ io.c:3612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3612 | start_screen_mode (kb) | ^ io.c:1041: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] 1041 | static void start_screen_mode _((int kb)); | ^ io.c:3755:25: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3755 | if (char_ready_within (50, NIL_PTR)) { | ^ io.c:4192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4192 | set_screen_mode (m) | ^ In file included from io.c:12: ./io.h:78: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] 78 | extern void set_screen_mode _((int mode)); | ^ io.c:4207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4207 | set_textmode_height (r) | ^ In file included from io.c:12: ./io.h:74: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] 74 | extern void set_textmode_height _((int r)); | ^ io.c:4224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4224 | switch_textmode_height (cycle) | ^ In file included from io.c:12: ./io.h:82: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] 82 | extern void switch_textmode_height _((FLAG cycle)); | ^ io.c:4363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4363 | resize_font (inc) | ^ In file included from io.c:12: ./io.h:80: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] 80 | extern void resize_font _((int inc)); | ^ io.c:4387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4387 | resize_screen (l, c) | ^ io.c:4398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4398 | resize_vt (sb, keep_columns) | ^ io.c:4440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4440 | resize_the_screen (sb, keep_columns) | ^ In file included from io.c:12: ./io.h:81: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] 81 | extern void resize_the_screen _((FLAG sb, FLAG keep_columns)); | ^ io.c:4588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4588 | inputreadyafter (msec) | ^ In file included from io.c:12: ./io.h:48: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] 48 | extern int inputreadyafter _((int msec)); | ^ io.c:4708:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4708 | error2 ("Interrupted while reading from terminal: ", err); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ io.c:4704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4704 | strange (err) | ^ io.c:4823:11: warning: passing arguments to 'panicio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4823 | panicio ("Terminal read error", serror ()); | ^ io.c:4716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4716 | __readchar_reporting_winchg (report_winchg) | ^ io.c:5026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5026 | __readchar_reporting_winchg_trace (reporting_winchg) | ^ io.c:5164:8: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5164 | panic ("Terminal not specified", NIL_PTR); | ^ io.c:5157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5157 | get_term (TERMname) | ^ In file included from io.c:12: ./io.h:52: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] 52 | extern void get_term _((char * TERM)); | ^ io.c:5222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5222 | rgb (col, for_256_colours) | ^ io.c:5286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5286 | R (rgb0) | ^ io.c:5294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5294 | G (rgb0) | ^ io.c:5302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5302 | B (rgb0) | ^ io.c:5310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5310 | dist (rgb1, rgb2) | ^ io.c:5321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5321 | map8 (col, for_256_colours) | ^ io.c:6053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6053 | putansistring (s) | ^ io.c:6083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6083 | disp_colour (c, for_256_colours) | ^ In file included from io.c:12: ./io.h:100: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] 100 | extern void disp_colour _((int, FLAG for_256_colours)); | ^ io.c:6210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6210 | reverse_colour (ansi) | ^ io.c:6225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6225 | disp_selected (bg, border) | ^ In file included from io.c:12: ./io.h:99: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] 99 | extern void disp_selected _((FLAG bg, FLAG border)); | ^ 197 warnings generated. cc -DTERMIO -Dunix -Dunix -DNOPROTO -O1 -c keyboard.c -o ../bin/FreeBSD.amd64/keyboard.o In file included from keyboard.c:10: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 138 | extern char * getcwd (); | ^ /usr/include/unistd.h:339:7: note: conflicting prototype is here 339 | char *getcwd(char *, size_t); | ^ In file included from keyboard.c:10: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ In file included from keyboard.c:10: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern unsigned int sleep (); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ In file included from keyboard.c:10: ./mined.h:234: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] 234 | extern int access (); | ^ /usr/include/unistd.h:323:6: note: conflicting prototype is here 323 | int access(const char *, int); | ^ In file included from keyboard.c:10: ./mined.h:236: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] 236 | extern int close (); | ^ /usr/include/unistd.h:327:6: note: conflicting prototype is here 327 | int close(int); | ^ In file included from keyboard.c:10: ./mined.h:239: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] 239 | extern int system (); | ^ /usr/include/stdlib.h:121:6: note: conflicting prototype is here 121 | int system(const char *); | ^ In file included from keyboard.c:10: ./mined.h:240: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] 240 | extern int isatty (); | ^ /usr/include/unistd.h:349:6: note: conflicting prototype is here 349 | int isatty(int); | ^ In file included from keyboard.c:10: ./mined.h:242: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] 242 | extern int strcmp (); | ^ keyboard.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | set_fkeymap (term) | ^ In file included from keyboard.c:12: ./io.h:211: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] 211 | extern void set_fkeymap _((char *)); | ^ keyboard.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 | get_digits (result) | ^ In file included from keyboard.c:12: ./io.h:191: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] 191 | extern int get_digits _((int *)); | ^ keyboard.c:231:9: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | ret = get_string (prompt, inbuf, statfl, term_input); | ^ ./mined.h:1171:14: note: expanded from macro 'get_string' 1171 | bottom_line (True, (str1), NIL_PTR, (str2), fl, term_chars) | ^ keyboard.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | get_string_nokeymap (prompt, inbuf, statfl, term_input) | ^ In file included from keyboard.c:12: ./io.h:192: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] 192 | extern int get_string_nokeymap _((char *, char *, FLAG, char *)); | ^ keyboard.c:354:11: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | command (c) == MOUSEfunction && mouse_button == releasebutton) | ^ keyboard.c:425:35: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | if (unichar == FUNcmd && command (unichar) == SNL) { | ^ keyboard.c:439:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | if (command (unichar) == FOCUSout) { | ^ keyboard.c:447:21: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | } else if (command (unichar) == FOCUSin) { | ^ keyboard.c:454:21: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | } else if (command (unichar) == MOUSEfunction) { | ^ keyboard.c:527:22: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | return encodedchar (unichar); | ^ keyboard.c:553:32: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | unichar = lookup_encodedchar (unichar); | ^ keyboard.c:572:36: warning: passing arguments to 'lookup_mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | unichar = lookup_mappedtermchar (unichar); | ^ keyboard.c:573:19: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | if (no_unichar (unichar)) { | ^ keyboard.c:586:22: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | return encodedchar (unichar); | ^ keyboard.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | readcharacter_mapping (map_keyboard, return_unicode) | ^ keyboard.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | readcharacter_allbuttons (map_keyboard) | ^ In file included from keyboard.c:12: ./io.h:214:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | extern unsigned long readcharacter_allbuttons _((FLAG map_keyboard)); | ^ keyboard.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | get_mouse_button (button) | ^ keyboard.c:844:26: warning: passing arguments to 'mouse_button_event_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | mouse_button_event_mode (False); | ^ keyboard.c:798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | DIRECTxtermgetxy (code) | ^ keyboard.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | DIRECTmousegetxy (code) | ^ keyboard.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | q_put (c) | ^ keyboard.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 | findkeyin (str, fkeymap, matchmode, found) | ^ keyboard.c:1347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1347 | findkey (str) | ^ keyboard.c:1581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1581 | putback_rest (rest) | ^ keyboard.c:1662:22: warning: passing arguments to 'inputreadyafter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1662 | if (inputreadyafter (msec) > 0) { | ^ keyboard.c:1654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | bytereadyafter (msec, debug_tag) | ^ keyboard.c:1676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1676 | char_ready_within (msec, debug_tag) | ^ In file included from keyboard.c:12: ./io.h:221: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] 221 | extern int char_ready_within _((int msec, char * debug_tag)); | ^ keyboard.c:1769:22: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1769 | char * env = envvar ("ESCDELAY"); | ^ keyboard.c:1771:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1771 | (void) scan_int (env, & escape_delay); | ^ keyboard.c:1776:15: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | env = envvar ("MAPDELAY"); | ^ keyboard.c:1778:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1778 | (void) scan_int (env, & keymap_delay); | ^ keyboard.c:1828:28: warning: passing arguments to 'popup_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1828 | int radical = popup_menu (radicalsmenu, arrlen (radicalsmenu), | ^ keyboard.c:1855:18: warning: passing arguments to 'map_key' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1855 | res = map_key (radicalnumber, 2, & found, & mapped); | ^ keyboard.c:1964:25: warning: passing 'character[34]' (aka 'unsigned char[34]') 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] 1964 | while ((res = findkey (ctrl_queue)) == -1 /* prefix of table entry */ | ^~~~~~~~~~ keyboard.c:1974:15: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1974 | status_uni ("...awaiting slow key code sequence..."); | ^ keyboard.c:2216:19: warning: passing 'character *' (aka '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] 2216 | putback_rest (raw_queue + 2); | ^~~~~~~~~~~~~ keyboard.c:2218:19: warning: passing 'character *' (aka '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] 2218 | putback_rest (raw_queue + 1); | ^~~~~~~~~~~~~ keyboard.c:2292:21: warning: passing arguments to 'isLetter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2292 | && isLetter (ansi_param [2]) | ^ keyboard.c:2295:37: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2295 | ansi_param [2] = case_convert (ansi_param [2], 1); | ^ keyboard.c:2301:26: warning: passing arguments to 'lookup_prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2301 | ps = lookup_prefix (COMPOSE, ansi_param [2]); | ^ keyboard.c:2309:18: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2309 | utf8_info (ps->pat1, & len, & unichar); | ^ keyboard.c:2317:23: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2317 | (void) utfencode (ansi_param [2], cbuf); | ^ keyboard.c:2438:22: warning: passing arguments to 'disable_modify_keys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2438 | disable_modify_keys (True); | ^ keyboard.c:2439:25: warning: passing arguments to 'map_key' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2439 | while ((res = map_key (ctrl_queue, 1, & found, & mapped)) == -1 | ^ keyboard.c:2460:22: warning: passing arguments to 'disable_modify_keys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2460 | disable_modify_keys (False); | ^ keyboard.c:2477:18: warning: passing 'character *' (aka '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] 2477 | putback_rest (ctrl_queue + strlen (prev_found)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:2480:17: warning: passing arguments to 'map_key' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2480 | res = map_key (ctrl_queue, 2, & found, & mapped); | ^ keyboard.c:2504:31: warning: passing arguments to 'choose_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2504 | choice_index = choose_char (mapped); | ^ keyboard.c:2605:22: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2605 | choicelines = alloc (strlen (choices) + 1 + choice_count * 2); | ^ keyboard.c:2606:21: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2606 | choicemenu = alloc ((lastrow + 1) * sizeof (menuitemtype)); | ^ keyboard.c:2609:15: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2609 | free_space (choicelines); | ^ keyboard.c:2670:17: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2670 | fill_menuitem (& choicemenu [li], thischoiceline, NIL_PTR); | ^ keyboard.c:2689:24: warning: passing arguments to 'popup_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2689 | selected = popup_menu (choicemenu, lastrow + 1, | ^ keyboard.c:2704:13: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2704 | free_space (choicemenu); | ^ keyboard.c:2705:13: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2705 | free_space (choicelines); | ^ keyboard.c:2570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2570 | choose_char (choices) | ^ keyboard.c:1574: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] 1574 | static int choose_char _((char *)); | ^ 71 warnings generated. cc -c timestmp.c -o ../bin/FreeBSD.amd64/timestmp.o cc ../bin/FreeBSD.amd64/minedaux.o ../bin/FreeBSD.amd64/legacy.o ../bin/FreeBSD.amd64/mined1.o ../bin/FreeBSD.amd64/textfile.o ../bin/FreeBSD.amd64/mousemen.o ../bin/FreeBSD.amd64/edit.o ../bin/FreeBSD.amd64/pastebuf.o ../bin/FreeBSD.amd64/textbuf.o ../bin/FreeBSD.amd64/justify.o ../bin/FreeBSD.amd64/search.o ../bin/FreeBSD.amd64/charprop.o ../bin/FreeBSD.amd64/output.o ../bin/FreeBSD.amd64/prompt.o ../bin/FreeBSD.amd64/charcode.o ../bin/FreeBSD.amd64/keymaps.o ../bin/FreeBSD.amd64/keydefs.o ../bin/FreeBSD.amd64/dispatch.o ../bin/FreeBSD.amd64/termprop.o ../bin/FreeBSD.amd64/width.o ../bin/FreeBSD.amd64/encoding.o ../bin/FreeBSD.amd64/handescr.o ../bin/FreeBSD.amd64/compose.o ../bin/FreeBSD.amd64/timestmp.o ../bin/FreeBSD.amd64/charmaps.a ../bin/FreeBSD.amd64/io.o ../bin/FreeBSD.amd64/keyboard.o ` sh -c "ls /lib/libtermcap.a /usr/lib/libtermcap.a; ls /lib/libncurses.a /usr/lib/libncurses.a; ls /lib/libtermcap.so* /usr/lib/libtermcap.so*; ls /lib/libncursesw.so* /usr/lib/libncursesw.so*; ls /lib/libncurses.so* /usr/lib/libncurses.so*; ls /usr/local/lib/libncurses.so; " 2> /dev/null | sed -e "s,\(/usr/lib.*\)/lib\([^/]*\)\.a,-L\1 -l\2," -e "1 p" -e d ` -o ../bin/FreeBSD.amd64/mined gmake[1]: Leaving directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' sh ./makemined help gmake[1]: Entering directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' gmake[1]: Nothing to be done for 'help'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' cd man; make make[1]: Entering directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/man' make[1]: Nothing to be done for 'man'. make[1]: Leaving directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/man' sh ./makemined mnemodoc gmake[1]: Entering directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' gmake[1]: Nothing to be done for 'mnemodoc'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' sh ./makemined quotesdoc gmake[1]: Entering directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' gmake[1]: Nothing to be done for 'quotesdoc'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mined-2022.27_4 depends on executable: update-desktop-database - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for mined-2022.27_4 ===> Generating temporary packing list sh ./makemined localinstall root= prefix= lprefix= rundir= lrundir= gmake[1]: Entering directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' # ==== install binary and scripts #don't strip -p ../bin/FreeBSD.amd64/mined || true mkdir -p /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/bin install ../bin/FreeBSD.amd64/mined /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/bin install ../usrshare/bin/uterm /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/bin install ../usrshare/bin/umined /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/bin /usr/local/bin/gmake -f mkinclud.mak links EXE= linkdir=/wrkdirs/usr/ports/editors/mined/work/stage/usr/local/bin gmake[2]: Entering directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' cd /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/bin && ln -s umined xmined || ln umined xmined cd /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/bin && ln -s mined minmacs || ln mined minmacs cd /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/bin && ln -s mined mpico || ln mined mpico cd /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/bin && ln -s mined mstar || ln mined mstar gmake[2]: Leaving directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' # ==== install runtime support library mkdir -p /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/mined /bin/cp -pr ../usrshare/* /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/mined rm -fr /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/mined/doc_user/fonts # ==== install manual page mkdir -p /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/man/man1 install -m 444 ../man/*.1 /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/man/man1 # zip man if mans are zipped in actual mandir (not DESTDIR) #if (ls /usr/local/share/man/man1/*.gz && type gzip) > /dev/null 2>&1; then gzip -f /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/man/man1/mined.1; fi # ==== install desktop context menu item ("Open With") ( mkdir -p /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/applications && install -m 644 ../usrshare/setup_install/mined.desktop /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/applications && mkdir -p /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/pixmaps && install -m 644 ../usrshare/setup_install/mined.xpm /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/pixmaps ) || ( mkdir -p /wrkdirs/usr/ports/editors/mined/work/.local/share/applications && install -m 644 ../usrshare/setup_install/mined.desktop /wrkdirs/usr/ports/editors/mined/work/.local/share/applications && mkdir -p /wrkdirs/usr/ports/editors/mined/work/.local/share/pixmaps && install -m 644 ../usrshare/setup_install/mined.xpm /wrkdirs/usr/ports/editors/mined/work/.local/share/pixmaps ) || echo Could not install desktop menu entry # ==== install system-specific stuff (e.g. wined, README.cygwin) gmake[1]: Leaving directory '/wrkdirs/usr/ports/editors/mined/work/mined-2022.27/src' install -m 0644 /wrkdirs/usr/ports/editors/mined/work/mined-2022.27/usrshare/setup_install/mined.desktop /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/applications /usr/bin/strip /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/bin/mined /bin/rm -f -r /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/mined/setup_install/cyg /bin/rm -f -r /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/mined/setup_install/win /bin/mkdir -p /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/doc/mined /bin/mv /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/mined/doc_user /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/doc/mined /bin/mv /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/mined/package_doc /wrkdirs/usr/ports/editors/mined/work/stage/usr/local/share/doc/mined ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-01-22T09:51:55+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=76b67f655218' '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 mined-2022.27_4 ===> Building mined-2022.27_4 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for mined-2022.27_4 build of editors/mined | mined-2022.27_4 ended at Thu Jan 22 04:52:36 EST 2026 build time: 00:00:43