=>> Building chinese/cless build started at Wed Mar 11 18:36:36 EDT 2026 port directory: /usr/ports/chinese/cless package name: zh-cless-290_1 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 633 Aug 27 2024 /usr/ports/chinese/cless/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: aa24de6a2cf2 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 04 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_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_4_x64-HEAD-ALL/04/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_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 zh-cless-290_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/chinese/cless/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/chinese/cless/work XDG_CACHE_HOME=/wrkdirs/usr/ports/chinese/cless/work/.cache HOME=/wrkdirs/usr/ports/chinese/cless/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/chinese/cless/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/chinese/cless/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/chinese/cless/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/chinese/cless/work XDG_CACHE_HOME=/wrkdirs/usr/ports/chinese/cless/work/.cache HOME=/wrkdirs/usr/ports/chinese/cless/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/chinese/cless/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/chinese/cless/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 -DHANZI -fstack-protector-strong -fno-strict-aliasing " CPP="" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DHANZI -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.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/cless" EXAMPLESDIR="share/examples/cless" DATADIR="share/cless" WWWDIR="www/cless" ETCDIR="etc/cless" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/cless DOCSDIR=/usr/local/share/doc/cless EXAMPLESDIR=/usr/local/share/examples/cless WWWDIR=/usr/local/www/cless ETCDIR=/usr/local/etc/cless --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The cless port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> zh-cless-290_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> zh-cless-290_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of zh-cless-290_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The cless port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by zh-cless-290_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The cless port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by zh-cless-290_1 for building => SHA256 Checksum OK for cless-290.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The cless port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by zh-cless-290_1 for building ===> Extracting for zh-cless-290_1 ===> NOTICE: The cless port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by zh-cless-290_1 for building => SHA256 Checksum OK for cless-290.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for zh-cless-290_1 ===> Applying FreeBSD patches for zh-cless-290_1 from /usr/ports/chinese/cless/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> zh-cless-290_1 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> zh-cless-290_1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of zh-cless-290_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for zh-cless-290_1 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for gcc... cc checking whether we are using GNU C... yes checking for POSIXized ISC... no checking how to run the C preprocessor... cc -E checking whether cc needs -traditional... no checking for a BSD compatible install... /usr/bin/install -c checking for -lcurses... yes checking for -lncurses... yes checking for -ltermlib... yes checking for -lgen... no checking for -lintl... no checking for -lPW... no checking for working terminal libraries... using -lcurses -lncurses checking whether cross-compiling... no checking for ANSI C header files... (cached) yes checking for ctype.h... (cached) yes checking for errno.h... (cached) yes checking for fcntl.h... (cached) yes checking for stdio.h... (cached) yes checking for termcap.h... yes checking for termio.h... no checking for termios.h... yes checking for time.h... (cached) yes checking for unistd.h... (cached) yes checking for values.h... no checking for sys/ioctl.h... (cached) yes checking for sys/stream.h... no checking for sys/ptem.h... no checking for off_t... (cached) yes checking for void... yes checking for time_t... yes checking return type of signal handlers... void checking for _setjmp... yes checking for system... yes checking for sigsetmask... (cached) yes checking for memcpy... (cached) yes checking for strchr... (cached) yes checking for tcgetattr... yes checking for fileno... yes checking for strerror... yes checking for sys_errlist... yes checking for errno... yes checking for locale... yes checking for ctype functions... yes checking termcap for ospeed... yes checking for regular expression library using POSIX regcomp updating cache ./config.cache creating ./config.status creating Makefile creating defines.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for zh-cless-290_1 --- lesskey.o --- --- stamp-h --- --- lesskey.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing lesskey.c --- stamp-h --- test ! -f stamp-h || CONFIG_FILES= CONFIG_HEADERS=defines.h ./config.status touch stamp-h --- main.o --- --- screen.o --- --- brac.o --- --- ch.o --- --- charset.o --- --- cmdbuf.o --- --- command.o --- --- decode.o --- --- edit.o --- --- filename.o --- --- forwback.o --- --- help.o --- --- ifile.o --- --- input.o --- --- jump.o --- --- line.o --- --- linenum.o --- --- lsystem.o --- --- mark.o --- --- optfunc.o --- --- option.o --- --- opttbl.o --- --- os.o --- --- output.o --- --- position.o --- --- prompt.o --- --- search.o --- --- signal.o --- --- tags.o --- --- ttyin.o --- --- version.o --- --- main.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing main.c --- screen.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing screen.c --- brac.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing brac.c --- ch.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing ch.c --- charset.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing charset.c --- cmdbuf.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing cmdbuf.c --- command.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing command.c --- decode.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing decode.c --- edit.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing edit.c --- filename.o --- cc -c -DHELPFILE=\"/usr/local/share/cless.gb\" -I. -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing ./filename.c --- forwback.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing forwback.c --- help.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing help.c --- ifile.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing ifile.c --- input.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing input.c --- jump.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing jump.c --- line.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing line.c --- linenum.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing linenum.c --- lsystem.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing lsystem.c --- mark.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing mark.c --- optfunc.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing optfunc.c --- option.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing option.c --- opttbl.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing opttbl.c --- os.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing os.c --- output.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing output.c --- position.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing position.c --- prompt.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing prompt.c --- search.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing search.c --- signal.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing signal.c --- ttyin.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing ttyin.c --- tags.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing tags.c --- version.o --- cc -I. -c -O2 -pipe -DHANZI -fstack-protector-strong -fno-strict-aliasing version.c --- ttyin.o --- ttyin.c:93:17: warning: passing arguments to 'iread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | result = iread(tty, &c, sizeof(char)); | ^ ttyin.c:102:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | quit(QUIT_ERROR); | ^ 2 warnings generated. --- help.o --- help.c:51:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | error("Cannot find help file", NULL_PARG); | ^ help.c:70:24: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | cmd = (char *) ecalloc(strlen(helpfile) + strlen(progname) + 150, | ^ help.c:83:9: warning: passing arguments to 'lsystem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | lsystem(cmd); | ^ help.c:85:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | error("End of help", NULL_PARG); | ^ help.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | help(nomsg) | ^ In file included from help.c:37: In file included from ./less.h:253: ./funcs.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | public void help (); | ^ 6 warnings generated. --- os.o --- os.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 | iread(fd, buf, len) | ^ In file included from os.c:40: In file included from ./less.h:253: ./funcs.h:183: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] 183 | public int iread (); | ^ os.c:185:22: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | m = (char *) ecalloc(strlen(filename) + strlen(p) + 3, sizeof(char)); | ^ os.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | errno_message(filename) | ^ In file included from os.c:40: In file included from ./less.h:253: ./funcs.h:186: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] 186 | public char * errno_message (); | ^ os.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 | percentage(num, den) | ^ In file included from os.c:40: In file included from ./less.h:253: ./funcs.h:187: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] 187 | public int percentage (); | ^ 7 warnings generated. --- signal.o --- signal.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | u_interrupt(type) | ^ signal.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | stop(type) | ^ signal.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 | winch(type) | ^ In file included from signal.c:38: In file included from ./less.h:253: ./funcs.h:218:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 218 | public RETSIGTYPE winch (); | ^ signal.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | init_signals(on) | ^ In file included from signal.c:38: In file included from ./less.h:253: ./funcs.h:219:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 219 | public void init_signals (); | ^ signal.c:184: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] 184 | raw_mode(0); | ^ signal.c:197: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] 197 | raw_mode(1); | ^ signal.c:238:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | error("Line numbers turned off", NULL_PARG); | ^ 9 warnings generated. --- charset.o --- charset.c:111:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | error("invalid chardef", NULL_PARG); | ^ charset.c:112:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | quit(QUIT_ERROR); | ^ charset.c:120:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | error("chardef longer than 256", NULL_PARG); | ^ charset.c:121:9: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- input.o --- input.c:71:14: warning: passing arguments to 'prep_hilite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | prep_hilite(curr_pos, curr_pos + 3*size_linebuf); | ^ input.c:73:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if (ch_seek(curr_pos)) | ^ input.c:80:10: warning: passing arguments to 'plinenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | plinenum(curr_pos); | ^ input.c:81:16: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | (void) ch_seek(curr_pos); | ^ --- charset.o --- 121 | quit(QUIT_ERROR); | ^ charset.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | ichardef(s) | ^ charset.c:155:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | error("invalid charset name", NULL_PARG); | ^ charset.c:156:6: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | quit(QUIT_ERROR); | ^ charset.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | icharset(name) | ^ --- input.o --- input.c:111:14: warning: passing arguments to 'pappend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | if (pappend(c, ch_tell()-1)) | ^ input.c:135:7: warning: passing arguments to 'pdone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | pdone(endline); | ^ input.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 | forw_line(curr_pos) | ^ In file included from input.c:38: In file included from ./less.h:253: ./funcs.h:130: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] 130 | public POSITION forw_line (); --- charset.o --- charset.c:158:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 158 | } | ^ charset.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | setbinfmt(s) | ^ charset.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | binary_char(c) | ^ In file included from charset.c:33: In file included from ./less.h:253: ./funcs.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 | public int binary_char (); | ^ --- input.o --- | ^ input.c:180:14: warning: passing arguments to 'prep_hilite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | prep_hilite((curr_pos < 3*size_linebuf) ? | ^ input.c:183:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | if (ch_seek(curr_pos-1)) | ^ input.c:262:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | if (ch_seek(new_pos)) | ^ input.c:271:10: warning: passing arguments to 'plinenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | plinenum(new_pos); | ^ --- charset.o --- charset.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | control_char(c) | ^ In file included from charset.c:33: In file included from ./less.h:253: ./funcs.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 | public int control_char (); | ^ charset.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 | prchar(c) | ^ In file included from charset.c:33: In file included from ./less.h:253: --- input.o --- input.c:272:16: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | (void) ch_seek(new_pos); | ^ input.c:288:14: warning: passing arguments to 'pappend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | if (pappend(c, ch_tell()-1)) | ^ input.c:300:9: warning: passing arguments to 'pdone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | pdone(0); | ^ input.c:307:7: warning: passing arguments to 'pdone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | pdone(endline); | ^ --- charset.o --- ./funcs.h:53: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] 53 | public char * prchar (); | ^ 16 warnings generated. --- input.o --- input.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | back_line(curr_pos) | ^ In file included from input.c:38: In file included from ./less.h:253: ./funcs.h:131: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] 131 | public POSITION back_line (); | ^ 18 warnings generated. --- brac.o --- brac.c:62:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | pos = position((forwdir) ? TOP : BOTTOM); | ^ brac.c:63:37: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if (pos == NULL_POSITION || ch_seek(pos)) | ^ brac.c:66:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | error("Nothing in top line", NULL_PARG); | ^ brac.c:68:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | error("Nothing in bottom line", NULL_PARG); | ^ brac.c:80:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | error("No bracket in top line", NULL_PARG); | ^ brac.c:82:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | error("No bracket in bottom line", NULL_PARG); | ^ brac.c:112:17: warning: passing arguments to 'jump_line_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | jump_line_loc(ch_tell(), forwdir ? -1 : 1); | ^ brac.c:116:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | error("No matching bracket", NULL_PARG); | ^ brac.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | match_brac(obrac, cbrac, forwdir, n) | ^ In file included from brac.c:32: In file included from ./less.h:253: ./funcs.h:32:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | public void match_brac (); | ^ 10 warnings generated. --- opttbl.o --- opttbl.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | findopt(c) | ^ In file included from opttbl.c:32: In file included from ./less.h:253: ./funcs.h:182:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | public struct option * findopt (); | ^ 2 warnings generated. --- main.o --- main.c:97:13: warning: passing arguments to 'scan_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | scan_option(getenv("LESS")); | ^ main.c:106:15: warning: passing arguments to 'scan_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | scan_option("-?"); | ^ main.c:108:15: warning: passing arguments to 'scan_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | scan_option("-V"); | ^ main.c:113:14: warning: passing arguments to 'scan_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | scan_option(*argv++); | ^ main.c:123:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | quit(QUIT_OK); | ^ main.c:164:20: warning: passing arguments to 'get_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | ifile = get_ifile(*argv++, ifile); | ^ main.c:185:22: warning: passing arguments to 'edit_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | } while (edit_next(1) == 0); | ^ main.c:187:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | quit(QUIT_OK); | ^ main.c:191:10: 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] 191 | raw_mode(1); | ^ main.c:193:14: warning: passing arguments to 'init_signals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | init_signals(1); | ^ main.c:209:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | error("No filenames allowed with -t option", NULL_PARG); | ^ main.c:210:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | quit(QUIT_ERROR); | ^ main.c:212:10: warning: passing arguments to 'findtag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | findtag(tagoption); | ^ main.c:214:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | quit(QUIT_ERROR); | ^ main.c:215:11: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | if (edit(tagfile)) /* Edit file which contains the tag */ | ^ main.c:216:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | quit(QUIT_ERROR); | ^ main.c:223:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | quit(QUIT_ERROR); | ^ main.c:230:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | quit(QUIT_ERROR); | ^ main.c:234:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | quit(QUIT_ERROR); | ^ main.c:239:6: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | quit(QUIT_OK); | ^ main.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 | main(argc, argv) | ^ main.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 | strtcpy(to, from, len) | ^ In file included from main.c:32: In file included from ./less.h:253: ./funcs.h:1:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1 | public void strtcpy (); | ^ main.c:267:22: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | p = (char *) ecalloc(strlen(s)+1, sizeof(char)); | ^ main.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | save(s) | ^ In file included from main.c:32: In file included from ./less.h:253: ./funcs.h:2: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] 2 | public char * save (); | ^ main.c:286:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | error("Cannot allocate memory", NULL_PARG); | ^ main.c:287:6: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | quit(QUIT_ERROR); | ^ main.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | ecalloc(count, size) | ^ In file included from main.c:32: In file included from ./less.h:253: ./funcs.h:3: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] 3 | public VOID_POINTER ecalloc (); | ^ main.c:289:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 289 | } | ^ main.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | skipsp(s) | ^ In file included from main.c:32: In file included from ./less.h:253: ./funcs.h:4: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] 4 | public char * skipsp (); | ^ main.c:321:6: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | edit((char*)NULL); | ^ main.c:326:10: 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] 326 | raw_mode(0); | ^ main.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | quit(status) | ^ In file included from main.c:32: In file included from ./less.h:253: ./funcs.h:5:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | public void quit (); | ^ 37 warnings generated. --- tags.o --- tags.c:64:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | error("No tags file", NULL_PARG); | ^ tags.c:93:13: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | p = skipsp(tline+taglen); | ^ tags.c:106:13: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | p = skipsp(p); | ^ tags.c:114:22: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | taglinenum = getnum(&p, 0, &err); | ^ tags.c:143:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | error("No such tag in tags file", NULL_PARG); | ^ tags.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | findtag(tag) | ^ In file included from tags.c:28: In file included from ./less.h:253: ./funcs.h:221:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 221 | public void findtag (); | ^ tags.c:168:19: warning: passing arguments to 'find_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | return (find_pos(taglinenum)); | ^ tags.c:171:24: warning: passing arguments to 'find_linenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | linenum = find_linenum(pos); | ^ tags.c:187:22: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | pos = forw_raw_line(pos, &line); | ^ tags.c:196:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | error("Tag not found", NULL_PARG); | ^ tags.c:206:12: warning: passing arguments to 'add_lnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | add_lnum(linenum, pos); | ^ 12 warnings generated. --- mark.o --- mark.c:81:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | error("Invalid mark letter", NULL_PARG); | ^ mark.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | getumark(c) | ^ mark.c:114:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | error("Cannot seek to end of file", NULL_PARG); | ^ mark.c:146:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | error("Mark not set", NULL_PARG); | ^ mark.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 | getmark(c) | ^ mark.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 | badmark(c) | ^ In file included from mark.c:28: In file included from ./less.h:253: ./funcs.h:155: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] 155 | public int badmark (); | ^ mark.c:177:12: warning: passing arguments to 'get_scrpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | get_scrpos(&scrpos); | ^ mark.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | setmark(c) | ^ In file included from mark.c:28: In file included from ./less.h:253: ./funcs.h:156:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 156 | public void setmark (); | ^ mark.c:190:12: warning: passing arguments to 'get_scrpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | get_scrpos(&scrpos); | ^ mark.c:234:17: warning: passing arguments to 'edit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | if (edit_ifile(m->m_ifile)) | ^ mark.c:238:10: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | jump_loc(scrpos.pos, scrpos.ln); | ^ mark.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | gomark(c) | ^ In file included from mark.c:28: In file included from ./less.h:253: ./funcs.h:158:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 158 | public void gomark (); | ^ mark.c:260:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | error("Mark not in current file", NULL_PARG); | ^ mark.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | markpos(c) | ^ In file included from mark.c:28: In file included from ./less.h:253: ./funcs.h:159: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] 159 | public POSITION markpos (); | ^ 18 warnings generated. --- lsystem.o --- lsystem.c:72:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | putstr("!"); | ^ lsystem.c:73:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | putstr(cmd); | ^ lsystem.c:74:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | putstr("\n"); | ^ lsystem.c:81:19: warning: passing arguments to 'edit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | (void) edit_ifile(NULL_IFILE); | ^ lsystem.c:88:10: 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] 88 | raw_mode(0); | ^ lsystem.c:93:14: warning: passing arguments to 'init_signals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | init_signals(0); | ^ lsystem.c:116:12: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | p = save(shell); | ^ lsystem.c:119:24: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | p = (char *) ecalloc(strlen(shell) + strlen(cmd) + 7, | ^ lsystem.c:127:12: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | p = save("sh"); | ^ lsystem.c:129:12: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | p = save(cmd); | ^ lsystem.c:149:14: warning: passing arguments to 'init_signals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | init_signals(1); | ^ lsystem.c:150:10: 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] 150 | raw_mode(1); | ^ lsystem.c:157:16: warning: passing arguments to 'edit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | if (edit_ifile(save_ifile)) | ^ lsystem.c:158:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | quit(QUIT_ERROR); | ^ lsystem.c:167:7: warning: passing arguments to 'winch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | winch(0); | ^ lsystem.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | lsystem(cmd) | ^ In file included from lsystem.c:34: In file included from ./less.h:253: ./funcs.h:151:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | public void lsystem (); | ^ lsystem.c:197:16: warning: passing arguments to 'markpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | mpos = markpos(c); | ^ lsystem.c:200:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | tpos = position(TOP); | ^ lsystem.c:203:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | bpos = position(BOTTOM); | ^ lsystem.c:206:21: warning: passing arguments to 'pipe_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | return (pipe_data(cmd, tpos, bpos)); | ^ lsystem.c:208:21: warning: passing arguments to 'pipe_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | return (pipe_data(cmd, mpos, tpos)); | ^ lsystem.c:210:21: warning: passing arguments to 'pipe_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | return (pipe_data(cmd, tpos, bpos)); | ^ lsystem.c:212:21: warning: passing arguments to 'pipe_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | return (pipe_data(cmd, tpos, mpos)); | ^ lsystem.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | pipe_mark(c, cmd) | ^ In file included from lsystem.c:34: In file included from ./less.h:253: ./funcs.h:152: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] 152 | public int pipe_mark (); | ^ lsystem.c:227: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] 227 | extern FILE *popen(); | ^ /usr/include/stdio.h:327:7: note: conflicting prototype is here 327 | FILE *popen(const char *, const char *); | ^ lsystem.c:235:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | if (ch_seek(spos) != 0) | ^ lsystem.c:237:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | error("Cannot seek to start position", NULL_PARG); | ^ lsystem.c:243:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | error("Cannot create pipe", NULL_PARG); | ^ lsystem.c:247:8: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | putstr("!"); | ^ lsystem.c:248:8: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | putstr(cmd); | ^ lsystem.c:249:8: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | putstr("\n"); | ^ lsystem.c:253:10: 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] 253 | raw_mode(0); | ^ lsystem.c:254:14: warning: passing arguments to 'init_signals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | init_signals(0); | ^ lsystem.c:289:14: warning: passing arguments to 'init_signals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | init_signals(1); | ^ lsystem.c:290:10: 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] 290 | raw_mode(1); | ^ lsystem.c:295:7: warning: passing arguments to 'winch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | winch(0); | ^ lsystem.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | pipe_data(cmd, spos, epos) | ^ In file included from lsystem.c:34: In file included from ./less.h:253: ./funcs.h:153: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] 153 | public int pipe_data (); | ^ 40 warnings generated. --- position.o --- position.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 | position(where) | ^ In file included from position.c:38: In file included from ./less.h:253: ./funcs.h:195: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] 195 | public POSITION position (); | ^ position.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 | add_forw_pos(pos) | ^ In file included from position.c:38: In file included from ./less.h:253: ./funcs.h:196:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 196 | public void add_forw_pos (); | ^ position.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 | add_back_pos(pos) | ^ In file included from position.c:38: In file included from ./less.h:253: ./funcs.h:197:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 197 | public void add_back_pos (); | ^ position.c:135:13: warning: passing arguments to 'get_scrpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | get_scrpos(&scrpos); | ^ position.c:139:30: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | table = (POSITION *) ecalloc(sc_height, sizeof(POSITION)); | ^ position.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | onscreen(pos) | ^ In file included from position.c:38: In file included from ./less.h:253: ./funcs.h:200: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] 200 | public int onscreen (); | ^ position.c:171:21: warning: passing arguments to 'empty_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | return (empty_lines(0, sc_height-1)); | ^ position.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 | empty_lines(s, e) | ^ In file included from position.c:38: In file included from ./less.h:253: ./funcs.h:202: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] 202 | public int empty_lines (); | ^ position.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 | get_scrpos(scrpos) | ^ In file included from position.c:38: In file included from ./less.h:253: ./funcs.h:203:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 203 | public void get_scrpos (); | ^ position.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | adjsline(sline) | ^ In file included from position.c:38: In file included from ./less.h:253: ./funcs.h:204: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] 204 | public int adjsline (); | ^ 17 warnings generated. --- ifile.o --- ifile.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | incr_index(p, incr) | ^ ifile.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | link_ifile(p, prev) | ^ ifile.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | unlink_ifile(p) | ^ ifile.c:124:30: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | p = (struct ifile *) ecalloc(1, sizeof(struct ifile)); | ^ ifile.c:125:22: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | p->h_filename = save(filename); | ^ ifile.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | new_ifile(filename, prev) | ^ ifile.c:148:28: warning: passing arguments to 'getoff_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | curr_ifile = getoff_ifile(curr_ifile); | ^ ifile.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | del_ifile(h) | ^ In file included from ifile.c:39: In file included from ./less.h:253: ./funcs.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | public void del_ifile (); | ^ ifile.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | next_ifile(h) | ^ In file included from ifile.c:39: In file included from ./less.h:253: ./funcs.h:116: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] 116 | public IFILE next_ifile (); | ^ ifile.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | prev_ifile(h) | ^ In file included from ifile.c:39: In file included from ./less.h:253: ./funcs.h:117: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] 117 | public IFILE prev_ifile (); | ^ ifile.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 | getoff_ifile(ifile) | ^ In file included from ifile.c:39: In file included from ./less.h:253: ./funcs.h:118: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] 118 | public IFILE getoff_ifile (); | ^ ifile.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 | find_ifile(filename) | ^ ifile.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | get_ifile(filename, prev) | ^ In file included from ifile.c:39: In file included from ./less.h:253: ./funcs.h:120: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] 120 | public IFILE get_ifile (); | ^ ifile.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | get_filename(ifile) | ^ In file included from ifile.c:39: In file included from ./less.h:253: ./funcs.h:121: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] 121 | public char * get_filename (); | ^ ifile.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | get_index(ifile) | ^ In file included from ifile.c:39: In file included from ./less.h:253: ./funcs.h:122: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] 122 | public int get_index (); | ^ ifile.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | store_pos(ifile, scrpos) | ^ In file included from ifile.c:39: In file included from ./less.h:253: ./funcs.h:123:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | public void store_pos (); | ^ ifile.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | get_pos(ifile, scrpos) | ^ In file included from ifile.c:39: In file included from ./less.h:253: ./funcs.h:124:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | public void get_pos (); | ^ ifile.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 | set_open(ifile) | ^ In file included from ifile.c:39: In file included from ./less.h:253: ./funcs.h:125:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | public void set_open (); | ^ ifile.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 | opened(ifile) | ^ In file included from ifile.c:39: In file included from ./less.h:253: ./funcs.h:126: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] 126 | public int opened (); | ^ ifile.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | get_filestate(ifile) | ^ In file included from ifile.c:39: In file included from ./less.h:253: ./funcs.h:127: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] 127 | public void * get_filestate (); | ^ ifile.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | set_filestate(ifile, filestate) | ^ In file included from ifile.c:39: In file included from ./less.h:253: ./funcs.h:128:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | public void set_filestate (); | ^ 34 warnings generated. --- linenum.o --- linenum.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | calcgap(p) | ^ linenum.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | add_lnum(lno, pos) | ^ In file included from linenum.c:52: In file included from ./less.h:253: ./funcs.h:147:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | public void add_lnum (); | ^ linenum.c:233:8: warning: passing arguments to 'ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | ierror("Calculating line numbers", NULL_PARG); | ^ linenum.c:327:14: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | if (ch_seek(p->pos)) | ^ linenum.c:335:24: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | cpos = forw_raw_line(cpos, (char **)NULL); | ^ linenum.c:356:14: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | if (ch_seek(p->pos)) | ^ linenum.c:364:24: warning: passing arguments to 'back_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | cpos = back_raw_line(cpos, (char **)NULL); | ^ linenum.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 | find_linenum(pos) | ^ In file included from linenum.c:52: In file included from ./less.h:253: ./funcs.h:148: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] 148 | public int find_linenum (); | ^ linenum.c:413:14: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | if (ch_seek(p->pos)) | ^ linenum.c:420:24: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | cpos = forw_raw_line(cpos, (char **)NULL); | ^ linenum.c:429:14: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | if (ch_seek(p->pos)) | ^ linenum.c:436:24: warning: passing arguments to 'back_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | cpos = back_raw_line(cpos, (char **)NULL); | ^ linenum.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 | find_pos(lno) | ^ In file included from linenum.c:52: In file included from ./less.h:253: ./funcs.h:149: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] 149 | public POSITION find_pos (); | ^ linenum.c:461:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | pos = position(where); | ^ linenum.c:464:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | pos = position(++where); | ^ linenum.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | currline(where) | ^ In file included from linenum.c:52: In file included from ./less.h:253: ./funcs.h:150: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] 150 | public int currline (); | ^ 20 warnings generated. --- optfunc.o --- optfunc.c:97:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | error("Input is not a pipe", NULL_PARG); | ^ optfunc.c:102:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | error("Log file is already in use", NULL_PARG); | ^ optfunc.c:105:13: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | s = skipsp(s); | ^ optfunc.c:106:21: warning: passing arguments to 'glob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | namelogfile = glob(s); | ^ optfunc.c:107:14: warning: passing arguments to 'use_logfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | use_logfile(namelogfile); | ^ optfunc.c:112:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | error("No log file", NULL_PARG); | ^ optfunc.c:116:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | error("Log file \"%s\"", &parg); | ^ optfunc.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | opt_o(type, s) | ^ In file included from optfunc.c:44: In file included from ./less.h:253: ./funcs.h:160:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | public void opt_o (); | ^ optfunc.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | opt__O(type, s) | ^ In file included from optfunc.c:44: In file included from ./less.h:253: ./funcs.h:161:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | public void opt__O (); | ^ optfunc.c:151:13: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | n = getnum(&t, 'l', &err); | ^ optfunc.c:154:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | error("Line number is required after -l", NULL_PARG); | ^ optfunc.c:158:10: warning: passing arguments to 'ungetsc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | ungetsc(s); | ^ optfunc.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | opt_l(type, s) | ^ In file included from optfunc.c:44: In file included from ./less.h:253: ./funcs.h:162:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | public void opt_l (); | ^ optfunc.c:174:14: warning: passing arguments to 'lesskey' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | if (lesskey(s)) | ^ optfunc.c:177:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | error("Cannot use lesskey file \"%s\"", &parg); | ^ optfunc.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | opt_k(type, s) | ^ In file included from optfunc.c:44: In file included from ./less.h:253: ./funcs.h:163:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 163 | public void opt_k (); | ^ optfunc.c:203:17: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | findtag(skipsp(s)); | ^ optfunc.c:203:10: warning: passing arguments to 'findtag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | findtag(skipsp(s)); | ^ optfunc.c:207:11: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | if (edit(tagfile)) | ^ optfunc.c:211:18: warning: passing arguments to 'edit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | if (edit_ifile(save_ifile)) | ^ optfunc.c:212:9: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | quit(QUIT_ERROR); | ^ optfunc.c:215:11: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | jump_loc(pos, jump_sline); | ^ optfunc.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 | opt_t(type, s) | ^ In file included from optfunc.c:44: In file included from ./less.h:253: ./funcs.h:164:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 164 | public void opt_t (); | ^ optfunc.c:236:13: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | s = skipsp(s); | ^ optfunc.c:237:14: warning: passing arguments to 'glob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | tags = glob(s); | ^ optfunc.c:241:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | error("Tags file \"%s\"", &parg); | ^ optfunc.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 | opt__T(type, s) | ^ In file included from optfunc.c:44: In file included from ./less.h:253: ./funcs.h:165:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 165 | public void opt__T (); | ^ optfunc.c:264:10: warning: passing arguments to 'ungetsc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | ungetsc(s); | ^ optfunc.c:265:10: warning: passing arguments to 'ungetsc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | ungetsc("/"); | ^ optfunc.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | opt_p(type, s) | ^ In file included from optfunc.c:44: In file included from ./less.h:253: ./funcs.h:166:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 166 | public void opt_p (); | ^ optfunc.c:296:16: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | *proto = save(s); | ^ optfunc.c:300:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | error("%s", &parg); | ^ optfunc.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 | opt__P(type, s) | ^ In file included from optfunc.c:44: In file included from ./less.h:253: ./funcs.h:167:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 167 | public void opt__P (); | ^ optfunc.c:321:18: warning: passing arguments to 'ch_nbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | cbufs = ch_nbuf(cbufs); | ^ optfunc.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | opt_b(type, s) | ^ In file included from optfunc.c:44: In file included from ./less.h:253: ./funcs.h:168:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 168 | public void opt_b (); | ^ optfunc.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | opt_i(type, s) | ^ In file included from optfunc.c:44: In file included from ./less.h:253: ./funcs.h:169:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 169 | public void opt_i (); | ^ optfunc.c:364:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | quit(QUIT_OK); | ^ optfunc.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | opt__V(type, s) | ^ In file included from optfunc.c:44: In file included from ./less.h:253: ./funcs.h:170:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 170 | public void opt__V (); | ^ optfunc.c:466:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | error("Use \"h\" for help", NULL_PARG); | ^ optfunc.c:475: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] 475 | raw_mode(1); | ^ optfunc.c:480:7: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | help(1); | ^ optfunc.c:481:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | quit(QUIT_OK); | ^ optfunc.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 | opt_query(type, s) | ^ In file included from optfunc.c:44: In file included from ./less.h:253: ./funcs.h:172:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 172 | public void opt_query (); | ^ 55 warnings generated. --- jump.o --- jump.c:51:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | error("Cannot seek to end of file", NULL_PARG); | ^ jump.c:59:17: warning: passing arguments to 'back_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | pos = back_line(ch_tell()); | ^ jump.c:61:11: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | jump_loc((POSITION)0, sc_height-1); | ^ jump.c:63:11: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | jump_loc(pos, sc_height-1); | ^ jump.c:82:16: warning: passing arguments to 'find_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | pos = find_pos(n); | ^ jump.c:83:37: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | if (pos != NULL_POSITION && ch_seek(pos) == 0) | ^ jump.c:85:11: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | jump_loc(pos, jump_sline); | ^ jump.c:88:11: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | jump_loc(ch_tell(), jump_sline); | ^ jump.c:89:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | error("Cannot seek to beginning of file", NULL_PARG); | ^ jump.c:93:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | error("Cannot seek to line number %d", &parg); | ^ jump.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | jump_back(n) | ^ In file included from jump.c:32: In file included from ./less.h:253: ./funcs.h:133:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | public void jump_back (); | ^ jump.c:108:12: warning: passing arguments to 'get_scrpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | get_scrpos(&scrpos); | ^ jump.c:110:10: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | jump_loc(scrpos.pos, scrpos.ln); | ^ jump.c:128:9: warning: passing arguments to 'ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | ierror("Determining length of file", NULL_PARG); | ^ jump.c:133:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | error("Don't know length of file", NULL_PARG); | ^ jump.c:143:15: warning: passing arguments to 'jump_line_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | jump_line_loc(pos, jump_sline); | ^ jump.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | jump_percent(percent) | ^ In file included from jump.c:32: In file included from ./less.h:253: ./funcs.h:135:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | public void jump_percent (); | ^ jump.c:158:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if (ch_seek(pos) == 0) | ^ jump.c:169:10: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | jump_loc(pos, sline); | ^ jump.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | jump_line_loc(pos, sline) | ^ In file included from jump.c:32: In file included from ./less.h:253: ./funcs.h:136:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 136 | public void jump_line_loc (); | ^ jump.c:189:18: warning: passing arguments to 'adjsline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | sline = adjsline(sline); | ^ jump.c:191:23: warning: passing arguments to 'onscreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | if ((nline = onscreen(pos)) >= 0) | ^ jump.c:199:24: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | forw(nline, position(BOTTOM_PLUS_ONE), 1, 0, 0); | ^ jump.c:199:8: warning: passing arguments to 'forw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | forw(nline, position(BOTTOM_PLUS_ONE), 1, 0, 0); | ^ jump.c:201:25: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | back(-nline, position(TOP), 1, 0); | ^ jump.c:201:8: warning: passing arguments to 'back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | back(-nline, position(TOP), 1, 0); | ^ jump.c:209:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | if (ch_seek(pos)) | ^ jump.c:211:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | error("Cannot seek to that file position", NULL_PARG); | ^ jump.c:219:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | tpos = position(TOP); | ^ jump.c:220:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | bpos = position(BOTTOM_PLUS_ONE); | ^ jump.c:238:9: warning: passing arguments to 'forw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | forw(sc_height-sline+nline-1, bpos, 1, 0, 0); | ^ jump.c:241:19: warning: passing arguments to 'back_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | pos = back_line(pos); | ^ jump.c:257:7: warning: passing arguments to 'forw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | forw(sc_height-1, pos, 1, 0, sline-nline); | ^ jump.c:268:19: warning: passing arguments to 'forw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | pos = forw_line(pos); | ^ jump.c:285:9: warning: passing arguments to 'back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | back(nline+1, tpos, 1, 0); | ^ jump.c:292:15: warning: passing arguments to 'add_back_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | add_back_pos(pos); | ^ jump.c:293:7: warning: passing arguments to 'back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | back(sc_height-1, pos, 1, 0); | ^ jump.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | jump_loc(pos, sline) | ^ In file included from jump.c:32: In file included from ./less.h:253: ./funcs.h:137:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | public void jump_loc (); | ^ 42 warnings generated. --- forwback.o --- forwback.c:83:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | pos = position(BOTTOM_PLUS_ONE); | ^ forwback.c:158:22: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if (pos != position(BOTTOM_PLUS_ONE) || empty_screen()) | ^ forwback.c:166:16: warning: passing arguments to 'add_forw_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | add_forw_pos(pos); | ^ forwback.c:175:11: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | putstr("...skipping...\n"); | ^ forwback.c:200:19: warning: passing arguments to 'forw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | pos = forw_line(pos); | ^ forwback.c:208:27: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | if (!force && position(TOP) != NULL_POSITION) | ^ forwback.c:216:15: warning: passing arguments to 'add_forw_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | add_forw_pos(pos); | ^ forwback.c:255:17: warning: passing arguments to 'currline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | (void) currline(BOTTOM); | ^ forwback.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 | forw(n, pos, force, only_last, nblank) | ^ In file included from forwback.c:33: In file included from ./less.h:253: ./funcs.h:109:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | public void forw (); | ^ forwback.c:279:18: warning: passing arguments to 'back_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | pos = back_line(pos); | ^ forwback.c:292:15: warning: passing arguments to 'add_back_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | add_back_pos(pos); | ^ forwback.c:307:17: warning: passing arguments to 'currline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | (void) currline(BOTTOM); | ^ forwback.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | back(n, pos, force, only_last) | ^ In file included from forwback.c:33: In file included from ./less.h:253: ./funcs.h:110:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | public void back (); | ^ forwback.c:328:16: warning: passing arguments to 'edit_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | if (edit_next(1)) | ^ forwback.c:329:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | quit(QUIT_OK); | ^ forwback.c:333:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | pos = position(BOTTOM_PLUS_ONE); | ^ forwback.c:334:52: warning: passing arguments to 'empty_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | if (pos == NULL_POSITION && (!force || empty_lines(2, sc_height-1))) | ^ forwback.c:349:22: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | back(1, position(TOP), 1, 0); | ^ forwback.c:350:20: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | pos = position(BOTTOM_PLUS_ONE); | ^ forwback.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | forward(n, force, only_last) | ^ In file included from forwback.c:33: In file included from ./less.h:253: ./funcs.h:111:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | public void forward (); | ^ forwback.c:375:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | pos = position(TOP); | ^ forwback.c:376:49: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | if (pos == NULL_POSITION && (!force || position(BOTTOM) == 0)) | ^ forwback.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | backward(n, force, only_last) | ^ In file included from forwback.c:33: In file included from ./less.h:253: ./funcs.h:112:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | public void backward (); | ^ 27 warnings generated. --- option.o --- option.c:75:20: 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] 75 | (*pendopt->ofunc)(INIT, s); | ^ option.c:99:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 99 | if (set_default = (*s == '+')) | ~~~~~~~~~~~~^~~~~~~~~~~~~ option.c:99:20: note: place parentheses around the assignment to silence this warning 99 | if (set_default = (*s == '+')) | ^ | ( ) option.c:99:20: note: use '==' to turn this assignment into an equality comparison 99 | if (set_default = (*s == '+')) | ^ | == option.c:112:27: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | every_first_cmd = save(++s); | ^ option.c:114:12: warning: passing arguments to 'ungetsc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | ungetsc(s); | ^ option.c:115:17: warning: passing arguments to 'optstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | s = optstring(s, c); | ^ option.c:133:14: warning: passing arguments to 'findopt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | o = findopt(c); | ^ option.c:136:25: warning: passing arguments to 'propt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | parg.p_string = propt(c); | ^ option.c:141:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | error("There is no %s flag (\"less -\\?\" for help)", | ^ option.c:144:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | quit(QUIT_ERROR); | ^ option.c:159:29: warning: passing arguments to 'flip_triple' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | *(o->ovar) = flip_triple(o->odefault, | ^ option.c:179:17: warning: passing arguments to 'optstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | s = optstring(s, c); | ^ option.c:182:23: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | *(o->ovar) = getnum(&s, c, (int*)NULL); | ^ option.c:189: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] 189 | (*o->ofunc)(INIT, str); | ^ option.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | scan_option(s) | ^ In file included from option.c:37: In file included from ./less.h:253: ./funcs.h:174:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 174 | public void scan_option (); | ^ option.c:216:13: warning: passing arguments to 'findopt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | o = findopt(c); | ^ option.c:219:24: warning: passing arguments to 'propt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | parg.p_string = propt(c); | ^ option.c:220:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | error("There is no %s flag", &parg); | ^ option.c:226:24: warning: passing arguments to 'propt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | parg.p_string = propt(c); | ^ option.c:227:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | error("Cannot change the %s flag", &parg); | ^ option.c:233:24: warning: passing arguments to 'propt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | parg.p_string = propt(c); | ^ option.c:234:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | error("Cannot query the %s flag", &parg); | ^ option.c:255:17: warning: passing arguments to 'repaint_hilite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | repaint_hilite(0); | ^ option.c:293:29: warning: passing arguments to 'flip_triple' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | *(o->ovar) = flip_triple(*(o->ovar), | ^ option.c:300:29: warning: passing arguments to 'flip_triple' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | *(o->ovar) = flip_triple(o->odefault, | ^ option.c:314:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | error("Can't use \"-+\" or \"--\" for a string flag", | ^ option.c:326:17: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | num = getnum(&s, '\0', &err); | ^ option.c:334:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | error("Can't use \"--\" for a numeric flag", | ^ option.c:347:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | (*o->ofunc)((how_toggle==OPT_NO_TOGGLE) ? QUERY : TOGGLE, s); | ^ option.c:364:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | error(o->odesc[*(o->ovar)], NULL_PARG); | ^ option.c:372:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | error(o->odesc[1], &parg); | ^ option.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | toggle_option(c, s, how_toggle) | ^ In file included from option.c:37: In file included from ./less.h:253: ./funcs.h:175:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 175 | public void toggle_option (); | ^ option.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | flip_triple(val, lc) | ^ option.c:45: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] 45 | static int flip_triple(); | ^ option.c:409:28: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | sprintf(buf, "-%s", prchar(c)); | ^ option.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | propt(c) | ^ option.c:43:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static char *propt(); | ^ option.c:423:13: warning: passing arguments to 'findopt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | o = findopt(c); | ^ option.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | single_char_option(c) | ^ In file included from option.c:37: In file included from ./less.h:253: ./funcs.h:176: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] 176 | public int single_char_option (); | ^ option.c:439:13: warning: passing arguments to 'findopt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | o = findopt(c); | ^ option.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | opt_prompt(c) | ^ In file included from option.c:37: In file included from ./less.h:253: ./funcs.h:177: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] 177 | public char * opt_prompt (); | ^ option.c:467:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | error("String is required after %s", &parg); | ^ option.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 | nostring(c) | ^ option.c:494:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | quit(QUIT_ERROR); | ^ option.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | optstring(s, c) | ^ option.c:44:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static char *optstring(); | ^ option.c:521:12: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | s = skipsp(*sp); | ^ option.c:536:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | error("Number is required after %s", &parg); | ^ option.c:537:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | quit(QUIT_ERROR); | ^ option.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 | getnum(sp, c, errp) | ^ In file included from option.c:37: In file included from ./less.h:253: ./funcs.h:180: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] 180 | public int getnum (); | ^ 54 warnings generated. --- line.o --- line.c:108:20: warning: passing arguments to 'find_linenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | lno = find_linenum(pos); | ^ line.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 | plinenum(pos) | ^ In file included from line.c:34: In file included from ./less.h:253: ./funcs.h:139:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 139 | public void plinenum (); | ^ line.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 | attr_swidth(a) | ^ line.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 | attr_ewidth(a) | ^ line.c:187:18: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | if (control_char(c)) | ^ line.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 | pwidth(c, a) | ^ line.c:229:16: warning: passing arguments to 'is_hilited' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if (is_hilited(pos, pos+1, 0)) | ^ line.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | storec(c, a, pos) | ^ line.c:300:16: warning: passing arguments to 'do_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | if (do_append(pendc, pendpos)) | ^ line.c:321:19: warning: passing arguments to 'do_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | return (do_append(c, pos)); | ^ line.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | pappend(c, pos) | ^ In file included from line.c:34: In file included from ./less.h:253: ./funcs.h:140: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] 140 | public int pappend (); | ^ line.c:351:24: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | else if (control_char(c)) | ^ line.c:382:25: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | } else if (control_char(c)) | ^ line.c:396:14: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | s = prchar(c); | ^ line.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | do_append(c, pos) | ^ line.c:52: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] 52 | static int do_append(); | ^ line.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | pdone(endline) | ^ In file included from line.c:34: In file included from ./less.h:253: ./funcs.h:141:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | public void pdone (); | ^ line.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | gline(i, ap) | ^ In file included from line.c:34: In file included from ./less.h:253: ./funcs.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 | public int gline (); | ^ line.c:514:42: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | if (curr_pos == NULL_POSITION || ch_seek(curr_pos) || | ^ line.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | forw_raw_line(curr_pos, linep) | ^ In file included from line.c:34: In file included from ./less.h:253: ./funcs.h:144: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] 144 | public POSITION forw_raw_line (); | ^ line.c:561:10: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | ch_seek(curr_pos-1)) | ^ line.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | back_raw_line(curr_pos, linep) | ^ In file included from line.c:34: In file included from ./less.h:253: ./funcs.h:145: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] 145 | public POSITION back_raw_line (); | ^ 28 warnings generated. --- lesskey.o --- lesskey.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | mkpathname(dirname, filename) | ^ lesskey.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | homefile(filename) | ^ In file included from lesskey.c:96: In file included from ./less.h:253: ./funcs.h:91: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] 91 | public char * homefile (); | ^ lesskey.c:278:6: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 278 | usage(); | ^ lesskey.c:286:4: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 286 | usage(); | ^ lesskey.c:290:3: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 290 | usage(); | ^ lesskey.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | parse_args(argc, argv) | ^ lesskey.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | tchar(pp) | ^ lesskey.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | skipsp(s) | ^ In file included from lesskey.c:96: In file included from ./less.h:253: ./funcs.h:4: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] 4 | public char * skipsp (); | ^ lesskey.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | skipnsp(s) | ^ lesskey.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 | clean_line(s) | ^ lesskey.c:428:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | error("too many commands"); | ^ lesskey.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | add_cmd_char(c) | ^ lesskey.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | control_line(s) | ^ lesskey.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 | fputbytes(fd, buf, len) | ^ lesskey.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 | fputint(fd, val) | ^ lesskey.c:512:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | error("unknown action"); | ^ lesskey.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | findaction(actname) | ^ lesskey.c:516:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 516 | usage() | ^ | int lesskey.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | error(s) | ^ In file included from lesskey.c:96: In file included from ./less.h:253: ./funcs.h:192:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 192 | public void error (); | ^ lesskey.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 | parse_line(line) | ^ lesskey.c:617:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 617 | main(argc, argv) | ^ | int lesskey.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 warnings generated. --- lesskey --- cc -o lesskey lesskey.o version.o --- decode.o --- decode.c:211:16: warning: passing arguments to 'add_fcmd_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | add_fcmd_table((char*)cmdtable, sizeof(cmdtable)); | ^ decode.c:212:16: warning: passing arguments to 'add_ecmd_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | add_ecmd_table((char*)edittable, sizeof(edittable)); | ^ decode.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | add_cmd_table(tlist, buf, len) | ^ decode.c:260:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | error("Warning: some commands disabled", NULL_PARG); | ^ decode.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | add_fcmd_table(buf, len) | ^ In file included from decode.c:49: In file included from ./less.h:253: ./funcs.h:69:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | public void add_fcmd_table (); | ^ decode.c:272:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | error("Warning: some edit commands disabled", NULL_PARG); | ^ decode.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | add_ecmd_table(buf, len) | ^ In file included from decode.c:49: In file included from ./less.h:253: ./funcs.h:70:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | public void add_ecmd_table (); | ^ decode.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | cmd_search(cmd, table, endtable, sp) | ^ In file included from decode.c:49: In file included from ./less.h:253: ./funcs.h:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | public int cmd_search (); | ^ decode.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | cmd_decode(tlist, cmd, sp) | ^ decode.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | fcmd_decode(cmd, sp) | ^ In file included from decode.c:49: In file included from ./less.h:253: ./funcs.h:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | public int fcmd_decode (); | ^ decode.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | ecmd_decode(cmd, sp) | ^ In file included from decode.c:49: In file included from ./less.h:253: ./funcs.h:73: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] 73 | public int ecmd_decode (); | ^ decode.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 | gint(sp) | ^ decode.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 | old_lesskey(buf, len) | ^ decode.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | new_lesskey(buf, len) | ^ decode.c:511:16: warning: passing arguments to 'filesize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | len = filesize(f); | ^ decode.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | lesskey(filename) | ^ In file included from decode.c:49: In file included from ./less.h:253: ./funcs.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 | public int lesskey (); | ^ decode.c:558:21: warning: passing arguments to 'homefile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | filename = homefile(LESSKEYFILE); | ^ decode.c:564:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | error("Cannot use lesskey file \"%s\"", &parg); | ^ decode.c:647:11: warning: passing arguments to 'ungetcc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | ungetcc(usercmd[--nch]); | ^ decode.c:652:11: warning: passing arguments to 'ungetsc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | ungetsc(s); | ^ decode.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | editchar(c, flags) | ^ In file included from decode.c:49: In file included from ./less.h:253: ./funcs.h:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | public int editchar (); | ^ 28 warnings generated. --- prompt.o --- prompt.c:78:19: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | prproto[0] = save(s_proto); | ^ prompt.c:79:19: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | prproto[1] = save(m_proto); | ^ prompt.c:80:19: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | prproto[2] = save(M_proto); | ^ prompt.c:81:16: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | eqproto = save(e_proto); | ^ prompt.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | ap_pos(pos) | ^ prompt.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | ap_int(n) | ^ prompt.c:123:9: warning: passing arguments to 'strtcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | strtcpy(mp, s, (unsigned int)(&message[sizeof(message)] - mp)); | ^ prompt.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | ap_str(s) | ^ prompt.c:145:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | pos = position(where); | ^ prompt.c:147:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | pos = position(++where); | ^ prompt.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 | curr_byte(where) | ^ prompt.c:173:30: 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] 173 | return (strcmp(get_filename(curr_ifile), "-") != 0); | ^ prompt.c:189:21: warning: passing arguments to 'next_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | return (next_ifile(curr_ifile) != NULL_IFILE); | ^ prompt.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 | cond(c, where) | ^ prompt.c:226:22: 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] 226 | ap_str(get_filename(curr_ifile)); | ^ prompt.c:229:19: warning: passing arguments to 'get_index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | ap_int(get_index(curr_ifile)); | ^ prompt.c:232:15: warning: passing arguments to 'currline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | n = currline(where); | ^ prompt.c:241:24: warning: passing arguments to 'find_linenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | (n = find_linenum(len)) <= 0) | ^ prompt.c:253:21: warning: passing arguments to 'percentage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | ap_int(percentage(pos,len)); | ^ prompt.c:270:17: warning: passing arguments to 'next_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | h = next_ifile(curr_ifile); | ^ prompt.c:272:23: 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] 272 | ap_str(get_filename(h)); | ^ prompt.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | protochar(c, where) | ^ prompt.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | skipcond(p) | ^ prompt.c:355:29: warning: passing arguments to 'adjsline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | case 'j': *wp = adjsline(jump_sline); break; | ^ prompt.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 | wherechar(p, wp) | ^ prompt.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | pr_expand(proto, maxwidth) | ^ In file included from prompt.c:37: In file included from ./less.h:253: ./funcs.h:206: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] 206 | public char * pr_expand (); | ^ 27 warnings generated. --- output.o --- output.c:65:25: warning: passing arguments to 'gline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | for (i = 0; (c = gline(i, &a)) != '\0'; i++) | ^ output.c:95:10: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | putchr(c); | ^ output.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 | putchr(c) | ^ In file included from output.c:32: In file included from ./less.h:253: ./funcs.h:190: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] 190 | public int putchr (); | ^ output.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 | putstr(s) | ^ In file included from output.c:32: In file included from ./less.h:253: ./funcs.h:191:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 191 | public void putstr (); | ^ output.c:194:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 194 | if (neg = (num < 0)) | ~~~~^~~~~~~~~~~ output.c:194:10: note: place parentheses around the assignment to silence this warning 194 | if (neg = (num < 0)) | ^ | ( ) output.c:194:10: note: use '==' to turn this assignment into an equality comparison 194 | if (neg = (num < 0)) | ^ | == output.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 | iprintnum(num, radix) | ^ output.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | iprintf(fmt, parg) | ^ output.c:296:10: warning: passing arguments to 'ungetcc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | ungetcc(c); | ^ output.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 | error(fmt, parg) | ^ In file included from output.c:32: In file included from ./less.h:253: ./funcs.h:192:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 192 | public void error (); | ^ output.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 | ierror(fmt, parg) | ^ In file included from output.c:32: In file included from ./less.h:253: ./funcs.h:193:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 193 | public void ierror (); | ^ output.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | query(fmt, parg) | ^ In file included from output.c:32: In file included from ./less.h:253: ./funcs.h:194: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] 194 | public int query (); | ^ 16 warnings generated. --- screen.o --- screen.c:143:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern char *tgetstr(); | ^ /usr/include/termcap.h:61:31: note: conflicting prototype is here 61 | extern NCURSES_EXPORT(char *) tgetstr (const char *, char **); | ^ screen.c:144:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 144 | extern char *tgoto(); | ^ /usr/include/termcap.h:62:31: note: conflicting prototype is here 62 | extern NCURSES_EXPORT(char *) tgoto (const char *, int, int); | ^ screen.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | raw_mode(on) | ^ In file included from screen.c:35: In file included from ./less.h:253: ./funcs.h:6:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | public void raw_mode (); | ^ screen.c:422:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | error("WARNING: terminal cannot %s", &parg); | ^ screen.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 | cannot(s) | ^ screen.c:616:16: warning: passing arguments to 'add_fcmd_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | add_fcmd_table(kfcmdtable, sz_kfcmdtable); | ^ screen.c:617:16: warning: passing arguments to 'add_ecmd_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | add_ecmd_table(kecmdtable, sz_kecmdtable); | ^ screen.c:869:19: warning: passing arguments to 'cheaper' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | sc_home = cheaper(t1, t2, "home cursor", "|\b^"); | ^ screen.c:886:25: warning: passing arguments to 'cheaper' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | sc_lower_left = cheaper(t1, t2, | ^ screen.c:907:23: warning: passing arguments to 'cheaper' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | sc_addline = cheaper(t1, t2, "scroll backwards", ""); | ^ screen.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 | inc_costcount(c) | ^ screen.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | cost(t) | ^ screen.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | cheaper(t1, t2, doit, def) | ^ screen.c:123:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | static char *cheaper(); | ^ screen.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | goto_line(slinenum) | ^ In file included from screen.c:35: In file included from ./less.h:253: ./funcs.h:16:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | public void goto_line (); | ^ screen.c:1054:9: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | putchr('\7'); | ^ screen.c:1185:8: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | putchr(' '); | ^ 19 warnings generated. --- filename.o --- ./filename.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 | dirfile(dirname, filename) | ^ ./filename.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | homefile(filename) | ^ In file included from ./filename.c:33: In file included from ./less.h:253: ./funcs.h:91: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] 91 | public char * homefile (); | ^ ./filename.c:128:15: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | return (save(helpfile)); | ^ ./filename.c:132:14: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | return (save(HELPFILE)); | ^ ./filename.c:162:17: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | return (save(s)); | ^ ./filename.c:164:28: 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] 164 | n += strlen(get_filename(curr_ifile)); | ^ ./filename.c:170:17: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | return (save(s)); | ^ ./filename.c:172:28: 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] 172 | n += strlen(get_filename(old_ifile)); | ^ ./filename.c:180:22: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | e = (char *) ecalloc(n+1, sizeof(char)); | ^ ./filename.c:191:27: 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] 191 | strcpy(to, get_filename(curr_ifile)); | ^ ./filename.c:195:27: 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] 195 | strcpy(to, get_filename(old_ifile)); | ^ ./filename.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | fexpand(s) | ^ In file included from ./filename.c:33: In file included from ./less.h:253: ./funcs.h:93: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] 93 | public char * fexpand (); | ^ ./filename.c:239:25: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | fpat = (char *) ecalloc(strlen(s)+2, sizeof(char)); | ^ ./filename.c:242:10: warning: passing arguments to 'glob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | s = glob(fpat); | ^ ./filename.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 | fcomplete(s) | ^ In file included from ./filename.c:33: In file included from ./less.h:253: ./funcs.h:94: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] 94 | public char * fcomplete (); | ^ ./filename.c:268:15: warning: passing arguments to 'seekable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | if (!seekable(f)) | ^ ./filename.c:274:18: warning: passing arguments to 'binary_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | if (binary_char(data[i])) | ^ ./filename.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 | bin_file(f) | ^ In file included from ./filename.c:33: In file included from ./less.h:253: ./funcs.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 | public int bin_file (); | ^ ./filename.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | seek_filesize(f) | ^ ./filename.c:296:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 296 | FILE *popen(); | ^ /usr/include/stdio.h:327:7: note: conflicting prototype is here 327 | FILE *popen(const char *, const char *); | ^ ./filename.c:316:24: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | buf = (char *) ecalloc(len, sizeof(char)); | ^ ./filename.c:329:24: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | p = (char *) ecalloc(len, sizeof(char)); | ^ ./filename.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | readfd(fd) | ^ ./filename.c:360:25: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | scmd = (char *) ecalloc(len, sizeof(char)); | ^ ./filename.c:369:27: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | scmd2 = (char *) ecalloc(strlen(shell) + strlen(scmd) + 7, | ^ ./filename.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 | shellcmd(cmd, s1, s2) | ^ ./filename.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 | glob(filename) | ^ In file included from ./filename.c:33: In file included from ./less.h:253: ./funcs.h:102: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] 102 | public char * glob (); | ^ ./filename.c:456:14: warning: passing arguments to 'ch_ungetchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | ch_ungetchar(-1); | ^ ./filename.c:497:15: warning: passing arguments to 'ch_ungetchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | ch_ungetchar(c); | ^ ./filename.c:500:15: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | return (save("-")); | ^ ./filename.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | open_altfile(filename, pf, pfd) | ^ In file included from ./filename.c:33: In file included from ./less.h:253: ./funcs.h:103: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] 103 | public char * open_altfile (); | ^ ./filename.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 | close_altfile(altfilename, filename, pipefd) | ^ In file included from ./filename.c:33: In file included from ./less.h:253: ./funcs.h:104:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | public void close_altfile (); | ^ ./filename.c:647:24: warning: passing arguments to 'errno_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | return (errno_message(filename)); | ^ ./filename.c:655:23: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | m = (char *) ecalloc(strlen(filename) + sizeof(is_dir), | ^ ./filename.c:664:23: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | m = (char *) ecalloc(strlen(filename) + sizeof(not_reg), | ^ ./filename.c:640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | bad_file(filename) | ^ In file included from ./filename.c:33: In file included from ./less.h:253: ./funcs.h:107: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] 107 | public char * bad_file (); | ^ ./filename.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | filesize(f) | ^ In file included from ./filename.c:33: In file included from ./less.h:253: ./funcs.h:108: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] 108 | public POSITION filesize (); | ^ 46 warnings generated. --- ch.o --- ch.c:176:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | error("seek error", NULL_PARG); | ^ ch.c:190:12: warning: passing arguments to 'iread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | n = iread(ch_file, &bp->data[bp->datasize], | ^ ch.c:203:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | error("read error", NULL_PARG); | ^ ch.c:233:11: warning: passing arguments to 'ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | ierror("Waiting for data", NULL_PARG); | ^ ch.c:278:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | error("ch_ungetchar overrun", NULL_PARG); | ^ ch.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 | ch_ungetchar(c) | ^ In file included from ch.c:34: In file included from ./less.h:253: ./funcs.h:33:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | public void ch_ungetchar (); | ^ ch.c:297:9: warning: passing arguments to 'ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | ierror("Finishing logfile", NULL_PARG); | ^ ch.c:329:11: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | error("Warning: log file is incomplete", | ^ ch.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | buffered(block) | ^ ch.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | ch_seek(pos) | ^ In file included from ch.c:34: In file included from ./less.h:253: ./funcs.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 | public int ch_seek (); | ^ ch.c:407:22: warning: passing arguments to 'filesize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | ch_fsize = filesize(ch_file); | ^ ch.c:536:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | error("Cannot allocate %d buffers", &parg); | ^ ch.c:538:9: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | quit(QUIT_ERROR); | ^ ch.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 | ch_nbuf(want_nbufs) | ^ In file included from ch.c:34: In file included from ./less.h:253: ./funcs.h:43: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] 43 | public int ch_nbuf (); | ^ ch.c:572:21: warning: passing arguments to 'filesize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | ch_fsize = filesize(ch_file); | ^ ch.c:588:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | error("seek error to 0", NULL_PARG); | ^ ch.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | seekable(f) | ^ In file included from ch.c:34: In file included from ./less.h:253: ./funcs.h:45: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] 45 | public int seekable (); | ^ ch.c:656:47: warning: passing arguments to 'get_filestate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | thisfile = (struct filestate *) get_filestate(curr_ifile); | ^ ch.c:679:16: warning: passing arguments to 'set_filestate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | set_filestate(curr_ifile, (void *) thisfile); | ^ ch.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | ch_init(f, flags) | ^ In file included from ch.c:34: In file included from ./less.h:253: ./funcs.h:46:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | public void ch_init (); | ^ ch.c:722:16: warning: passing arguments to 'set_filestate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | set_filestate(curr_ifile, (void *) NULL); | ^ 26 warnings generated. --- search.o --- search.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 | cvt_text(odst, osrc, ops) | ^ search.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | is_ucase(s) | ^ search.c:206:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | pos = position(slinenum); | ^ search.c:209:18: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | epos = position(slinenum+1); | ^ search.c:214:17: warning: passing arguments to 'is_hilited' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | if (is_hilited(pos, epos, 1)) | ^ search.c:216:20: warning: passing arguments to 'forw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | (void) forw_line(pos); | ^ search.c:217:13: warning: passing arguments to 'goto_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | goto_line(slinenum); | ^ search.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | repaint_hilite(on) | ^ In file included from search.c:32: In file included from ./less.h:253: ./funcs.h:209:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 209 | public void repaint_hilite (); | ^ search.c:233:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | error("No previous regular expression", NULL_PARG); | ^ search.c:250:34: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | regex_t *s = (regex_t *) ecalloc(1, sizeof(regex_t)); | ^ search.c:254:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | error("Invalid pattern", NULL_PARG); | ^ search.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | compile_pattern(pattern) | ^ search.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | match_pattern(line, sp, ep) | ^ search.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | is_hilited(pos, epos, nohide) | ^ In file included from search.c:32: In file included from ./less.h:253: ./funcs.h:212: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] 212 | public int is_hilited (); | ^ search.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | add_hilite(anchor, hl) | ^ search.c:493:22: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | (void) forw_raw_line(linepos, &line); | ^ search.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 | adj_hilite(anchor, linepos) | ^ search.c:575:34: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | hl = (struct hilite *) ecalloc(1, sizeof(struct hilite)); | ^ search.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 | hilite_line(linepos, line, sp, ep) | ^ search.c:643:12: warning: passing arguments to 'get_scrpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | get_scrpos(&scrpos); | ^ search.c:646:34: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | prep_hilite(scrpos.pos, position(BOTTOM_PLUS_ONE)); | ^ search.c:646:13: warning: passing arguments to 'prep_hilite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | prep_hilite(scrpos.pos, position(BOTTOM_PLUS_ONE)); | ^ search.c:712:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | pos = position(linenum); | ^ search.c:720:21: warning: passing arguments to 'adjsline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | linenum = adjsline(jump_sline); | ^ search.c:721:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | pos = position(linenum); | ^ search.c:723:23: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | pos = forw_raw_line(pos, (char **)NULL); | ^ search.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | search_pos(search_type) | ^ search.c:746:24: warning: passing arguments to 'find_linenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | linenum = find_linenum(pos); | ^ search.c:780:23: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | pos = forw_raw_line(pos, &line); | ^ search.c:789:23: warning: passing arguments to 'back_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | pos = back_raw_line(pos, &line); | ^ search.c:815:12: warning: passing arguments to 'add_lnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | add_lnum(linenum, pos); | ^ search.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | search_range(pos, endpos, search_type, n, plinepos, pendpos) | ^ search.c:907:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | error("No previous regular expression", NULL_PARG); | ^ search.c:982:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | error("Nothing to search", NULL_PARG); | ^ search.c:1006:10: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | jump_loc(pos, jump_sline); | ^ search.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | search(search_type, pattern, n) | ^ In file included from search.c:32: In file included from ./less.h:253: ./funcs.h:215: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] 215 | public int search (); | ^ search.c:1030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | prep_hilite(spos, epos) | ^ In file included from search.c:32: In file included from ./less.h:253: ./funcs.h:216:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 216 | public void prep_hilite (); | ^ 41 warnings generated. --- edit.o --- edit.c:68:24: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | tlist->string = skipsp(str); | ^ edit.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | init_textlist(tlist, str) | ^ In file included from edit.c:28: In file included from ./less.h:253: ./funcs.h:77:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | public void init_textlist (); | ^ edit.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | forw_textlist(tlist, prev) | ^ In file included from edit.c:28: In file included from ./less.h:253: ./funcs.h:78: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] 78 | public char * forw_textlist (); | ^ edit.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | back_textlist(tlist, prev) | ^ In file included from edit.c:28: In file included from ./less.h:253: ./funcs.h:79: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] 79 | public char * back_textlist (); | ^ edit.c:141:12: warning: passing arguments to 'get_scrpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | get_scrpos(&scrpos); | ^ edit.c:144:12: warning: passing arguments to 'store_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | store_pos(curr_ifile, &scrpos); | ^ edit.c:157:47: 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] 157 | close_altfile(curr_altfilename, get_filename(curr_ifile), | ^ edit.c:157:16: warning: passing arguments to 'close_altfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | close_altfile(curr_altfilename, get_filename(curr_ifile), | ^ edit.c:175:21: warning: passing arguments to 'edit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | return (edit_ifile(NULL_IFILE)); | ^ edit.c:176:30: warning: passing arguments to 'get_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | return (edit_ifile(get_ifile(filename, curr_ifile))); | ^ edit.c:176:20: warning: passing arguments to 'edit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | return (edit_ifile(get_ifile(filename, curr_ifile))); | ^ edit.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | edit(filename) | ^ In file included from edit.c:28: In file included from ./less.h:253: ./funcs.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 | public int edit (); | ^ edit.c:233:25: 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] 233 | filename = get_filename(ifile); | ^ edit.c:238:29: warning: passing arguments to 'open_altfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | alt_filename = open_altfile(filename, &f, &alt_pipe); | ^ edit.c:260:38: warning: passing arguments to 'bad_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | } else if ((parg.p_string = bad_file(open_filename)) != NULL) | ^ edit.c:265:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | error("%s", &parg); | ^ edit.c:270:17: warning: passing arguments to 'close_altfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | close_altfile(alt_filename, filename, alt_pipe); | ^ edit.c:273:12: warning: passing arguments to 'del_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | del_ifile(ifile); | ^ edit.c:284:32: warning: passing arguments to 'errno_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | parg.p_string = errno_message(filename); | ^ edit.c:285:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | error("%s", &parg); | ^ edit.c:288:35: warning: passing arguments to 'opened' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | } else if (!force_open && !opened(ifile) && bin_file(f)) | ^ edit.c:288:54: warning: passing arguments to 'bin_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | } else if (!force_open && !opened(ifile) && bin_file(f)) | ^ edit.c:294:17: warning: passing arguments to 'query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | answer = query("\"%s\" may be a binary file. See it anyway? ", | ^ edit.c:312:10: warning: passing arguments to 'set_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | set_open(curr_ifile); /* File has been opened */ | ^ edit.c:313:9: warning: passing arguments to 'get_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | get_pos(curr_ifile, &initial_scrpos); | ^ edit.c:315:9: warning: passing arguments to 'ch_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | ch_init(f, chflags); | ^ edit.c:318:14: warning: passing arguments to 'use_logfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | use_logfile(namelogfile); | ^ edit.c:322:10: warning: passing arguments to 'ungetsc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | ungetsc(every_first_cmd); | ^ edit.c:351:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | error("%s", &parg); | ^ edit.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | edit_ifile(ifile) | ^ In file included from edit.c:28: In file included from ./less.h:253: ./funcs.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 | public int edit_ifile (); | ^ edit.c:387:19: warning: passing arguments to 'glob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | gfilelist = glob(filename); | ^ edit.c:393:33: 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] 393 | good_filename = get_filename(curr_ifile); | ^ edit.c:402:15: warning: passing arguments to 'get_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | if (get_ifile(good_filename, curr_ifile) == curr_ifile) | ^ edit.c:408:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | quit(QUIT_ERROR); | ^ edit.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 | edit_list(filelist) | ^ In file included from edit.c:28: In file included from ./less.h:253: ./funcs.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 | public int edit_list (); | ^ edit.c:419:19: warning: passing arguments to 'edit_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | return (edit_next(1)); | ^ edit.c:429:19: warning: passing arguments to 'edit_prev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | return (edit_prev(1)); | ^ edit.c:449:20: warning: passing arguments to 'next_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | next = next_ifile(h); | ^ edit.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | edit_next(n) | ^ In file included from edit.c:28: In file included from ./less.h:253: ./funcs.h:85: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] 85 | public int edit_next (); | ^ edit.c:486:20: warning: passing arguments to 'prev_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | next = prev_ifile(h); | ^ edit.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 | edit_prev(n) | ^ In file included from edit.c:28: In file included from ./less.h:253: ./funcs.h:86: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] 86 | public int edit_prev (); | ^ edit.c:519:22: warning: passing arguments to 'next_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | if ((h = next_ifile(h)) == NULL_IFILE) | ^ edit.c:526:20: warning: passing arguments to 'get_index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | } while (get_index(h) != n); | ^ edit.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 | edit_index(n) | ^ In file included from edit.c:28: In file included from ./less.h:253: ./funcs.h:87: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] 87 | public int edit_index (); | ^ edit.c:542:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | error("Missing filename (\"less -\\?\" for help)", NULL_PARG); | ^ edit.c:544:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | quit(QUIT_OK); | ^ edit.c:559:9: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | putchr(c); | ^ edit.c:607:17: warning: passing arguments to 'query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | answer = query("Warning: \"%s\" exists; Overwrite, Append or Don't log? ", &parg); | ^ edit.c:636:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | quit(QUIT_OK); | ^ edit.c:642:17: warning: passing arguments to 'query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | answer = query("Overwrite, Append, or Don't log? (Type \"O\", \"A\", \"D\" or \"q\") ", NULL_PARG); | ^ edit.c:652:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | error("Cannot write to \"%s\"", &parg); | ^ edit.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | use_logfile(filename) | ^ In file included from edit.c:28: In file included from ./less.h:253: ./funcs.h:90:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | public void use_logfile (); | ^ 62 warnings generated. --- cmdbuf.o --- cmdbuf.c:139:12: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | p = prchar(*cp); | ^ cmdbuf.c:159:13: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | p = prchar(*s); | ^ cmdbuf.c:160:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | putstr(p); | ^ cmdbuf.c:204:12: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | p = prchar(*cp); | ^ cmdbuf.c:206:8: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | putstr(p); | ^ cmdbuf.c:278:13: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | p = prchar(*cp); | ^ cmdbuf.c:326:12: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | p = prchar(*cp); | ^ cmdbuf.c:328:8: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | putstr(p); | ^ cmdbuf.c:347:12: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | p = prchar(*cp); | ^ cmdbuf.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 | set_mlist(mlist) | ^ In file included from cmdbuf.c:33: In file included from ./less.h:253: ./funcs.h:56:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | public void set_mlist (); | ^ cmdbuf.c:401:13: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | p = prchar(*cp); | ^ cmdbuf.c:403:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | putstr(p); | ^ cmdbuf.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | cmd_updown(action) | ^ cmdbuf.c:443:32: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | ml = (struct mlist *) ecalloc(1, sizeof(struct mlist)); | ^ cmdbuf.c:444:20: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | ml->string = save(cmdbuf); | ^ cmdbuf.c:494:19: warning: passing arguments to 'editchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | action = editchar(c, flags); | ^ cmdbuf.c:557:23: warning: passing arguments to 'cmd_complete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | return (cmd_complete(action)); | ^ cmdbuf.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | cmd_edit(c) | ^ cmdbuf.c:590:12: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | p = prchar(c); | ^ cmdbuf.c:615:13: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | p = prchar(*s); | ^ cmdbuf.c:634:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | putstr(p); | ^ cmdbuf.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | cmd_ichar(c) | ^ cmdbuf.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | cmd_istr(str) | ^ cmdbuf.c:753:32: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | tk_original = (char *) ecalloc(cp-word+1, sizeof(char)); | ^ cmdbuf.c:762:21: warning: passing arguments to 'fcomplete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | tk_text = fcomplete(word); | ^ cmdbuf.c:777:24: warning: passing arguments to 'forw_textlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | return (forw_textlist(&tk_tlist, prev)); | ^ cmdbuf.c:779:24: warning: passing arguments to 'back_textlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | return (back_textlist(&tk_tlist, prev)); | ^ cmdbuf.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | next_compl(action, prev) | ^ cmdbuf.c:822:17: warning: passing arguments to 'init_textlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | init_textlist(&tk_tlist, tk_text); | ^ cmdbuf.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | cmd_complete(action) | ^ cmdbuf.c: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 | static int cmd_complete(); | ^ cmdbuf.c:877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | cmd_char(c) | ^ In file included from cmdbuf.c:33: In file included from ./less.h:253: ./funcs.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 | public int cmd_char (); | ^ cmdbuf.c:932:8: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | putstr(s); | ^ cmdbuf.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | cmd_putstr(s) | ^ In file included from cmdbuf.c:33: In file included from ./less.h:253: ./funcs.h:60:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | public void cmd_putstr (); | ^ 37 warnings generated. --- command.o --- command.c:112:12: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | cmd_putstr(prompt); | ^ command.c:114:11: warning: passing arguments to 'set_mlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | set_mlist(mlist); | ^ command.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | start_mca(action, prompt, mlist) | ^ command.c:138:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | cmd_putstr("@"); | ^ command.c:141:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | cmd_putstr("*"); | ^ command.c:144:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | cmd_putstr("!"); | ^ command.c:147:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | cmd_putstr("/"); | ^ command.c:149:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | cmd_putstr("?"); | ^ command.c:151:11: warning: passing arguments to 'set_mlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | set_mlist(ml_search); | ^ command.c:170:15: warning: passing arguments to 'multi_search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | multi_search(cbuf, number); | ^ command.c:183:26: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | every_first_cmd = save(cbuf); | ^ command.c:186:16: warning: passing arguments to 'toggle_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | toggle_option(optchar, cbuf, optflag); | ^ command.c:190:13: warning: passing arguments to 'match_brac' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | match_brac(cbuf[0], cbuf[1], 1, number); | ^ command.c:193:13: warning: passing arguments to 'match_brac' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | match_brac(cbuf[1], cbuf[0], 0, number); | ^ command.c:197:12: warning: passing arguments to 'edit_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | edit_list(cbuf); | ^ command.c:211:22: warning: passing arguments to 'fexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | shellcmd = fexpand(cbuf); | ^ command.c:215:11: warning: passing arguments to 'lsystem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | lsystem(""); | ^ command.c:217:11: warning: passing arguments to 'lsystem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | lsystem(shellcmd); | ^ command.c:218:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | error("!done", NULL_PARG); | ^ command.c:223:19: warning: passing arguments to 'pipe_mark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | (void) pipe_mark(pipec, cbuf); | ^ command.c:224:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | error("|done", NULL_PARG); | ^ command.c:264:13: warning: passing arguments to 'editchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | editchar(c, EC_PEEK|EC_NOHISTORY|EC_NOCOMPLETE) == A_INVALID) | ^ command.c:303:51: warning: passing arguments to 'single_char_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | if (optflag != OPT_TOGGLE || single_char_option(c)) | ^ command.c:305:18: warning: passing arguments to 'toggle_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | toggle_option(c, "", optflag); | ^ command.c:318:22: warning: passing arguments to 'opt_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | if ((p = opt_prompt(c)) == NULL) | ^ command.c:381:14: warning: passing arguments to 'cmd_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | if (cmd_char(c) == CC_QUIT) | ^ command.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | mca_char(c) | ^ command.c:433:12: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | jump_loc(ch_zero(), 1); | ^ command.c:435:12: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | jump_loc(initial_scrpos.pos, initial_scrpos.ln); | ^ command.c:449:16: warning: passing arguments to 'next_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | next_ifile(curr_ifile) == NULL_IFILE) | ^ command.c:450:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | quit(QUIT_OK); | ^ command.c:458:9: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | putchr(':'); | ^ command.c:462:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | putstr(p); | ^ command.c:476:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | error("cless version %s", &parg); | ^ command.c:545:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | error("ungetcc overflow", NULL_PARG); | ^ command.c:546:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | quit(QUIT_ERROR); | ^ command.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | ungetcc(c) | ^ In file included from command.c:32: In file included from ./less.h:253: ./funcs.h:65:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | public void ungetcc (); | ^ command.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | ungetsc(s) | ^ In file included from command.c:32: In file included from ./less.h:253: ./funcs.h:66:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | public void ungetsc (); | ^ command.c:600:18: warning: passing arguments to 'search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | if ((n = search(search_type, pattern, n)) == 0) | ^ command.c:623:22: warning: passing arguments to 'edit_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | nomore = edit_next(1); | ^ command.c:625:22: warning: passing arguments to 'edit_prev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | nomore = edit_prev(1); | ^ command.c:636:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | error("Pattern not found", NULL_PARG); | ^ command.c:643:17: warning: passing arguments to 'edit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | if (edit_ifile(save_ifile)) | ^ command.c:644:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | quit(QUIT_ERROR); | ^ command.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | multi_search(pattern, n) | ^ command.c:87: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] 87 | static void multi_search(); | ^ command.c:680:9: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | quit(QUIT_SAVED_STATUS); | ^ command.c:736:16: warning: passing arguments to 'cmd_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | if (cmd_char(c) == CC_QUIT || len_cmdbuf() == 0) | ^ command.c:754:23: warning: passing arguments to 'fcmd_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | action = fcmd_decode(cbuf, &s); | ^ command.c:792:11: warning: passing arguments to 'forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | forward(number, 0, 1); | ^ command.c:809:12: warning: passing arguments to 'backward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | backward(number, 0, 1); | ^ command.c:819:11: warning: passing arguments to 'forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | forward(number, 0, 0); | ^ command.c:829:12: warning: passing arguments to 'backward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | backward(number, 0, 0); | ^ command.c:839:11: warning: passing arguments to 'forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | forward(number, 1, 0); | ^ command.c:849:12: warning: passing arguments to 'backward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | backward(number, 1, 0); | ^ command.c:861:12: warning: passing arguments to 'forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | forward(1, 0, 0); | ^ command.c:873:11: warning: passing arguments to 'forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | forward(wscroll, 0, 0); | ^ command.c:884:12: warning: passing arguments to 'backward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | backward(wscroll, 0, 0); | ^ command.c:913:13: warning: passing arguments to 'jump_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | jump_back(number); | ^ command.c:925:16: warning: passing arguments to 'jump_percent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | jump_percent(number); | ^ command.c:936:14: warning: passing arguments to 'jump_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | jump_back(number); | ^ command.c:946:17: warning: passing arguments to 'jump_line_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | jump_line_loc((POSITION)number, jump_sline); | ^ command.c:955:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | error("%s", &parg); | ^ command.c:970:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | quit(QUIT_OK); | ^ command.c:1056:10: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | putstr(" help"); | ^ command.c:1058:8: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | help(0); | ^ command.c:1079:27: 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] 1079 | if (strcmp(get_filename(curr_ifile), "-") == 0) | ^ command.c:1081:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | error("Cannot edit standard input", NULL_PARG); | ^ command.c:1086:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | error("Cannot edit file processed with LESSOPEN", | ^ command.c:1095:21: warning: passing arguments to 'pr_expand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | lsystem(pr_expand(editproto, 0)); | ^ command.c:1095:11: warning: passing arguments to 'lsystem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | lsystem(pr_expand(editproto, 0)); | ^ command.c:1101:18: warning: passing arguments to 'edit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | if (edit_ifile(curr_ifile)) | ^ command.c:1102:9: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | quit(QUIT_ERROR); | ^ command.c:1115:17: warning: passing arguments to 'edit_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | if (edit_next(number)) | ^ command.c:1118:10: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | quit(QUIT_OK); | ^ command.c:1120:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | error("No %snext file", &parg); | ^ command.c:1130:17: warning: passing arguments to 'edit_prev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1130 | if (edit_prev(number)) | ^ command.c:1133:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | error("No %sprevious file", &parg); | ^ command.c:1143:18: warning: passing arguments to 'edit_index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | if (edit_index(number)) | ^ command.c:1144:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1144 | error("No such file", NULL_PARG); | ^ command.c:1161:17: warning: passing arguments to 'toggle_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1161 | toggle_option(c, "", OPT_NO_TOGGLE); | ^ command.c:1194:11: warning: passing arguments to 'setmark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | setmark(c); | ^ command.c:1206:10: warning: passing arguments to 'gomark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | gomark(c); | ^ command.c:1217:15: warning: passing arguments to 'badmark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | if (badmark(c)) | ^ command.c:1244:20: warning: passing arguments to 'cmd_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1244 | (void) cmd_char(c); | ^ 87 warnings generated. --- less --- cc -o less main.o screen.o brac.o ch.o charset.o cmdbuf.o command.o decode.o edit.o filename.o forwback.o help.o ifile.o input.o jump.o line.o linenum.o lsystem.o mark.o optfunc.o option.o opttbl.o os.o output.o position.o prompt.o search.o signal.o tags.o ttyin.o version.o -lcurses -lncurses =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for zh-cless-290_1 ===> Generating temporary packing list ./mkinstalldirs /wrkdirs/usr/ports/chinese/cless/work/stage/usr/local/bin /wrkdirs/usr/ports/chinese/cless/work/stage/usr/local/share /wrkdirs/usr/ports/chinese/cless/work/stage/usr/local/share/man/man1 install -s -m 555 less /wrkdirs/usr/ports/chinese/cless/work/stage/usr/local/bin/cless install -s -m 555 lesskey /wrkdirs/usr/ports/chinese/cless/work/stage/usr/local/bin/clesskey install -m 0644 ./less.hlp /wrkdirs/usr/ports/chinese/cless/work/stage/usr/local/share/cless.hlp install -m 0644 ./less.bg5 /wrkdirs/usr/ports/chinese/cless/work/stage/usr/local/share/cless.bg5 install -m 0644 ./less.gb /wrkdirs/usr/ports/chinese/cless/work/stage/usr/local/share/cless.gb install -m 0644 ./less.nro /wrkdirs/usr/ports/chinese/cless/work/stage/usr/local/share/man/man1/cless.1 install -m 0644 ./lesskey.nro /wrkdirs/usr/ports/chinese/cless/work/stage/usr/local/share/man/man1/clesskey.1 install -m 0644 /wrkdirs/usr/ports/chinese/cless/work/cless-290/README.CLESS /wrkdirs/usr/ports/chinese/cless/work/stage/usr/local/share/doc/cless ====> 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-03-11T22:36:36+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=aa24de6a2cf2' '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 zh-cless-290_1 ===> Building zh-cless-290_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for zh-cless-290_1 build of chinese/cless | zh-cless-290_1 ended at Wed Mar 11 18:36:42 EDT 2026 build time: 00:00:07