=>> Building sysutils/44bsd-more build started at Thu Mar 12 00:15:10 EDT 2026 port directory: /usr/ports/sysutils/44bsd-more package name: 44bsd-more-20000521_2 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: cy@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1240 Aug 27 2024 /usr/ports/sysutils/44bsd-more/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: df10dcdf73f3 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 13 ---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/13/.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--- ---End OPTIONS List--- --MAINTAINER-- cy@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/44bsd-more/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/44bsd-more/work XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/44bsd-more/work/.cache HOME=/wrkdirs/usr/ports/sysutils/44bsd-more/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/44bsd-more/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/44bsd-more/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/44bsd-more/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/44bsd-more/work XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/44bsd-more/work/.cache HOME=/wrkdirs/usr/ports/sysutils/44bsd-more/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/44bsd-more/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/44bsd-more/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="-Wno-return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-Wno-return-type -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/44bsd-more" EXAMPLESDIR="share/examples/44bsd-more" DATADIR="share/44bsd-more" WWWDIR="www/44bsd-more" ETCDIR="etc/44bsd-more" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/44bsd-more DOCSDIR=/usr/local/share/doc/44bsd-more EXAMPLESDIR=/usr/local/share/examples/44bsd-more WWWDIR=/usr/local/www/44bsd-more ETCDIR=/usr/local/etc/44bsd-more --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> 44bsd-more-20000521_2 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 ===> 44bsd-more-20000521_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of 44bsd-more-20000521_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by 44bsd-more-20000521_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by 44bsd-more-20000521_2 for building => SHA256 Checksum OK for 44bsd-more-20000521.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> 44bsd-more-20000521_2 depends on executable: rcs - not found ===> Installing existing package /packages/All/rcs57-5.7_3.pkg [pkg.DaveG.ca] Installing rcs57-5.7_3... [pkg.DaveG.ca] Extracting rcs57-5.7_3: .......... done ===> 44bsd-more-20000521_2 depends on executable: rcs - found ===> Returning to build of 44bsd-more-20000521_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by 44bsd-more-20000521_2 for building ===> Extracting for 44bsd-more-20000521_2 => SHA256 Checksum OK for 44bsd-more-20000521.tar.bz2. cd /wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 && co RCS/*,v RCS/Makefile,v --> Makefile revision 1.15 done RCS/ch.c,v --> ch.c revision 1.8 done RCS/command.c,v --> command.c revision 1.18 done RCS/default.morerc,v --> default.morerc revision 1.4 done RCS/help.c,v --> help.c revision 1.4 done RCS/input.c,v --> input.c revision 1.5 done RCS/less.h,v --> less.h revision 1.8 done RCS/less.morerc,v --> less.morerc revision 1.1 done RCS/line.c,v --> line.c revision 1.8 done RCS/linenum.c,v --> linenum.c revision 1.4 done RCS/macro.c,v --> macro.c revision 1.2 done RCS/main.c,v --> main.c revision 1.18 done RCS/marks.c,v --> marks.c revision 1.2 done RCS/more.1,v --> more.1 revision 1.20 done RCS/more.help,v --> more.help revision 1.5 done RCS/most.morerc,v --> most.morerc revision 1.1 done RCS/ncommand.c,v --> ncommand.c revision 1.12 done RCS/option.c,v --> option.c revision 1.7 done RCS/os.c,v --> os.c revision 1.7 done RCS/output.c,v --> output.c revision 1.14 done RCS/pathnames.h,v --> pathnames.h revision 1.2 done RCS/position.c,v --> position.c revision 1.3 done RCS/prim.c,v --> prim.c revision 1.12 done RCS/screen.c,v --> screen.c revision 1.9 done RCS/search.c,v --> search.c revision 1.2 done RCS/signal.c,v --> signal.c revision 1.4 done RCS/tags.c,v --> tags.c revision 1.9 done RCS/ttyin.c,v --> ttyin.c revision 1.4 done =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for 44bsd-more-20000521_2 ===> Applying FreeBSD patches for 44bsd-more-20000521_2 from /usr/ports/sysutils/44bsd-more/files /usr/bin/sed -i.bak -e 's!/usr/share/misc/more.help!/usr/local/share/misc/44bsd-more.help!' /wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2/pathnames.h cp -f /usr/ports/sysutils/44bsd-more/files/queue.h /wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 /usr/bin/sed -i.bak -e 's/static char \*getvar/static const char \*getvar/' /wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2/ncommand.c =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> 44bsd-more-20000521_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> 44bsd-more-20000521_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of 44bsd-more-20000521_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for 44bsd-more-20000521_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for 44bsd-more-20000521_2 --- objwarn --- --- defrc.h --- --- objwarn --- Warning: Object directory not changed from original /wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 --- defrc.h --- sed -e 's/\\/\\\\/g' -e 's/\"/\\\"/g' -e 's/$/\\n\\/' < default.morerc >> defrc.h --- .depend --- echo more: /usr/lib/libc.a /usr/lib/libtermcap.a >> .depend --- ch.pieo --- --- command.pieo --- --- help.pieo --- --- input.pieo --- --- line.pieo --- --- linenum.pieo --- --- macro.pieo --- --- main.pieo --- --- marks.pieo --- --- ncommand.pieo --- --- option.pieo --- --- os.pieo --- --- output.pieo --- --- position.pieo --- --- prim.pieo --- --- screen.pieo --- --- search.pieo --- --- signal.pieo --- --- tags.pieo --- --- ttyin.pieo --- --- more.1.gz --- --- ch.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.ch.pieo -MTch.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c ch.c -o ch.pieo --- command.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.command.pieo -MTcommand.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c command.c -o command.pieo --- help.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.help.pieo -MThelp.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c help.c -o help.pieo --- input.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.input.pieo -MTinput.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c input.c -o input.pieo --- line.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.line.pieo -MTline.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c line.c -o line.pieo --- linenum.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.linenum.pieo -MTlinenum.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c linenum.c -o linenum.pieo --- macro.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.macro.pieo -MTmacro.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c macro.c -o macro.pieo --- main.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.main.pieo -MTmain.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c main.c -o main.pieo --- marks.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.marks.pieo -MTmarks.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c marks.c -o marks.pieo --- ncommand.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.ncommand.pieo -MTncommand.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c ncommand.c -o ncommand.pieo --- option.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.option.pieo -MToption.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c option.c -o option.pieo --- os.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.os.pieo -MTos.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c os.c -o os.pieo --- output.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.output.pieo -MToutput.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c output.c -o output.pieo --- position.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.position.pieo -MTposition.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c position.c -o position.pieo --- prim.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.prim.pieo -MTprim.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c prim.c -o prim.pieo --- screen.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.screen.pieo -MTscreen.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c screen.c -o screen.pieo --- search.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.search.pieo -MTsearch.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c search.c -o search.pieo --- signal.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.signal.pieo -MTsignal.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c signal.c -o signal.pieo --- tags.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.tags.pieo -MTtags.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c tags.c -o tags.pieo --- ttyin.pieo --- cc -fpie -DPIC -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -MD -MF.depend.ttyin.pieo -MTttyin.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c ttyin.c -o ttyin.pieo --- more.1.gz --- gzip -cn more.1 > more.1.gz --- option.pieo --- option.c:60:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 60 | option(argc, argv) | ^ | int option.c:77:15: warning: call to undeclared function 'getopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | while ((ch = getopt(argc, argv, "/:ceinst:ux:f")) != -1) | ^ option.c:109:4: warning: call to undeclared function 'findtag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | findtag(optarg); | ^ option.c:115:14: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | tabstop = atoi(optarg); | ^ option.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | option(argc, argv) | ^ option.c:133:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | exit(1); | ^ option.c:133:2: note: include the header or explicitly provide a declaration for 'exit' 6 warnings generated. --- input.pieo --- input.c:84:35: warning: call to undeclared function 'ch_seek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | if (curr_pos == NULL_POSITION || ch_seek(curr_pos)) | ^ input.c:87:6: warning: call to undeclared function 'ch_forw_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | c = ch_forw_get(); | ^ input.c:91:2: warning: call to undeclared function 'prewind'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | prewind(); | ^ input.c:112:7: warning: call to undeclared function 'pappend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | if (pappend(c)) | ^ input.c:132:9: warning: call to undeclared function 'pappend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | (void) pappend('\0'); | ^ input.c:145:11: warning: call to undeclared function 'ch_back_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | (void) ch_back_get(); | ^ input.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_line(curr_pos) | ^ input.c:169:3: warning: call to undeclared function 'ch_seek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | ch_seek(curr_pos-1)) | ^ input.c:177:10: warning: call to undeclared function 'ch_forw_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | (void) ch_forw_get(); /* Skip the newline */ | ^ input.c:179:10: warning: call to undeclared function 'ch_back_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | (void) ch_back_get(); /* Restore our position */ | ^ input.c:205:7: warning: call to undeclared function 'ch_back_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | c = ch_back_get(); | ^ input.c:240:2: warning: call to undeclared function 'prewind'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | prewind(); | ^ input.c:244:7: warning: call to undeclared function 'ch_forw_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | c = ch_forw_get(); | ^ input.c:250:7: warning: call to undeclared function 'pappend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 250 | if (pappend(c)) | ^ input.c:259:12: warning: call to undeclared function 'ch_back_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | (void) ch_back_get(); | ^ input.c:267:9: warning: call to undeclared function 'pappend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | (void) pappend('\0'); | ^ input.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | back_line(curr_pos) | ^ 17 warnings generated. --- ttyin.pieo --- ttyin.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | open_getchr() | ^ | int ttyin.c:59:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 59 | getchr() | ^ | int ttyin.c:66:12: warning: call to undeclared function 'iread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | result = iread(tty, &c, 1); | ^ ttyin.c:75:4: warning: call to undeclared function 'quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | quit(); | ^ 4 warnings generated. --- input.pieo --- --- ttyin.pieo --- --- line.pieo --- line.c:110:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | prewind() | ^ | int line.c:131:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 131 | pappend(c) | ^ | int line.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] line.c:436:35: warning: call to undeclared function 'ch_seek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 436 | if (curr_pos == NULL_POSITION || ch_seek(curr_pos) || | ^ line.c:437:8: warning: call to undeclared function 'ch_forw_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 437 | (c = ch_forw_get()) == EOI) | ^ line.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | forw_raw_line(curr_pos) | ^ line.c:486:3: warning: call to undeclared function 'ch_seek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 486 | ch_seek(curr_pos-1)) | ^ line.c:491:7: warning: call to undeclared function 'ch_back_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 491 | c = ch_back_get(); | ^ line.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | back_raw_line(curr_pos) | ^ 9 warnings generated. --- help.pieo --- help.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | help() | ^ | int help.c:50:2: warning: call to undeclared library function 'snprintf' with type 'int (char *restrict, unsigned long, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | snprintf(cmd, sizeof(cmd), "-more -e%c %s", | ^ help.c:50:2: note: include the header or explicitly provide a declaration for 'snprintf' help.c:53:2: warning: call to undeclared function 'lsystem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | lsystem(cmd); | ^ 3 warnings generated. --- position.pieo --- position.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 | position(where) | ^ position.c:87:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | add_forw_pos(pos) | ^ | int position.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] position.c:103:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | add_back_pos(pos) | ^ | int position.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] position.c:120:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 120 | copytable() | ^ | int position.c:134:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 134 | pos_clear() | ^ | int position.c:137:15: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 137 | extern char *malloc(), *realloc(); | ^ position.c:137:15: note: 'malloc' is a builtin with type 'void *(unsigned long)' position.c:137:26: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 137 | extern char *malloc(), *realloc(); | ^ position.c:137:26: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' position.c:141:26: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | table = (off_t *)malloc(tablesize * sizeof *table); | ^ position.c:144:27: warning: passing arguments to 'realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | table = (off_t *)realloc(table, tablesize * sizeof *table); | ^ position.c:159:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 159 | onscreen(pos) | ^ | int position.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] 13 warnings generated. --- linenum.pieo --- linenum.c:110:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | clr_linenum() | ^ | int linenum.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 | calcgap(p) | ^ linenum.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 | add_lnum(line, pos) | ^ linenum.c:255:2: warning: call to undeclared function 'ierror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | ierror("Calculating line numbers"); | ^ linenum.c:314:2: warning: call to undeclared function 'flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | flush(); | ^ linenum.c:315:12: warning: passing arguments to 'time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | (void)time(&startime); | ^ linenum.c:322:7: warning: call to undeclared function 'ch_seek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 322 | if (ch_seek(p->pos)) | ^ linenum.c:330: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] 330 | cpos = forw_raw_line(cpos); | ^ linenum.c:335:13: warning: passing arguments to 'time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | if (time((time_t *)NULL) | ^ linenum.c:354:7: warning: call to undeclared function 'ch_seek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | if (ch_seek(p->pos)) | ^ linenum.c:362: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] 362 | cpos = back_raw_line(cpos); | ^ linenum.c:367:13: warning: passing arguments to 'time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | if (time((time_t *)NULL) | ^ linenum.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | find_linenum(pos) | ^ linenum.c:395:21: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | if ((pos = position(where)) == NULL_POSITION) | ^ linenum.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 | currline(where) | ^ 15 warnings generated. --- position.pieo --- --- linenum.pieo --- --- signal.pieo --- signal.c:80:3: warning: call to undeclared function 'intread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | intread(); | ^ signal.c:94:3: warning: call to undeclared function 'intread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | intread(); | ^ signal.c:115:2: warning: call to undeclared function 'purge'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | purge(); /* purge buffered output */ | ^ signal.c:116:2: warning: call to undeclared function 'quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | quit(); | ^ signal.c:122:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | init_signals(on) | ^ | int 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] signal.c:181:3: warning: call to undeclared function 'get_term'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | get_term(); | ^ signal.c:184:11: warning: call to undeclared function 'setvari'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | (void) setvari("_sc_width", (long) sc_width); | ^ signal.c:199:3: warning: call to undeclared function 'lower_left'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | lower_left(); | ^ signal.c:200:3: warning: call to undeclared function 'clear_eol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | clear_eol(); | ^ signal.c:201:3: warning: call to undeclared function 'deinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 201 | deinit(); | ^ signal.c:202:9: warning: call to undeclared function 'flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | (void)flush(); | ^ signal.c:203:3: warning: call to undeclared function 'raw_mode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | raw_mode(0); | ^ signal.c:208:14: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | (void)kill(getpid(), SIGTSTP); | ^ signal.c:218:3: warning: call to undeclared function 'init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | init(); | ^ 15 warnings generated. --- macro.pieo --- macro.c:134:11: warning: call to undeclared function 'setvari'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | (void) setvari("number", number); | ^ macro.c:136:11: warning: call to undeclared function 'setvari'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | (void) setvari("number", matched->defnumber); | ^ macro.c:137:3: warning: call to undeclared function 'clear_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | clear_error(); | ^ macro.c:139:7: warning: call to undeclared function 'command'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | if (command(matched->command)) | ^ macro.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | runmacro(macro, number, anyN) | ^ macro.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | setmacro(macro, command) | ^ macro.c:237:28: warning: passing arguments to 'matchmac' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | struct macro *m = matchmac(macro); | ^ macro.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | stickymac(macro, state) | ^ macro.c:257:28: warning: passing arguments to 'matchmac' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | struct macro *m = matchmac(macro); | ^ macro.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | setmacnumb(macro, N) | ^ macro.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 | matchmac(macro) | ^ macro.c:69: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] 69 | static struct macro *matchmac(); | ^ 12 warnings generated. --- search.pieo --- search.c:73:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 73 | search(search_forward, pattern, n, wantmatch) | ^ | int search.c:99:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | error(errbuf); | ^ search.c:106:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | error("No previous regular expression"); | ^ search.c:119:6: warning: call to undeclared function 'position'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | if (position(TOP) == NULL_POSITION) { | ^ search.c:144:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | error("Nothing to search"); | ^ search.c:148:12: warning: call to undeclared function 'find_linenum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | linenum = find_linenum(pos); | ^ search.c:169:10: warning: call to undeclared function 'forw_raw_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | pos = forw_raw_line(pos); | ^ search.c:178:10: warning: call to undeclared function 'back_raw_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | pos = back_raw_line(pos); | ^ search.c:189:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | error("Pattern not found"); | ^ search.c:199:4: warning: call to undeclared function 'add_lnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | add_lnum(linenum, pos); | ^ search.c:231:2: warning: call to undeclared function 'jump_loc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | jump_loc(linepos); | ^ search.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | search(search_forward, pattern, n, wantmatch) | ^ 12 warnings generated. --- prim.pieo --- prim.c:86: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] 86 | pos = position(BOTTOM_PLUS_ONE); | ^ prim.c:98:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 97 | static | ~~~~~~ | int 98 | squish_check() | ^ prim.c:102:3: warning: call to undeclared function 'repaint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | repaint(); | ^ prim.c:112:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 111 | static | ~~~~~~ | int 112 | forw(n, pos, only_last) | ^ prim.c:137:4: warning: call to undeclared function 'clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | clear(); | ^ prim.c:138:4: warning: call to undeclared function 'home'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | home(); | ^ prim.c:140:4: warning: call to undeclared function 'lower_left'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | lower_left(); | ^ prim.c:141:4: warning: call to undeclared function 'clear_eol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | clear_eol(); | ^ prim.c:149: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] 149 | if (pos != position(BOTTOM_PLUS_ONE)) { | ^ prim.c:150:4: warning: call to undeclared function 'pos_clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | pos_clear(); | ^ prim.c:151:4: warning: call to undeclared function 'add_forw_pos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | add_forw_pos(pos); | ^ prim.c:153:5: warning: call to undeclared function 'clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | clear(); | ^ prim.c:154:5: warning: call to undeclared function 'home'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | home(); | ^ prim.c:156:5: warning: call to undeclared function 'putstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | putstr("...skipping...\n"); | ^ prim.c:164:18: 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] 164 | pos = forw_line(pos); | ^ prim.c:171: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] 171 | if (position(TOP) == NULL_POSITION) { | ^ prim.c:172:5: warning: call to undeclared function 'copytable'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | copytable(); | ^ prim.c:173: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] 173 | if (!position(TOP)) | ^ prim.c:182:3: warning: call to undeclared function 'add_forw_pos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | add_forw_pos(pos); | ^ prim.c:197:3: warning: call to undeclared function 'put_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | put_line(); | ^ prim.c:205:3: warning: call to undeclared function 'repaint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | repaint(); | ^ prim.c:207:9: warning: call to undeclared function 'currline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | (void) currline(BOTTOM); | ^ prim.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 | forw(n, pos, only_last) | ^ prim.c:214:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 213 | static | ~~~~~~ | int 214 | back(n, pos, only_last) | ^ prim.c:222:20: warning: call to undeclared function 'get_back_scroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | do_repaint = (n > get_back_scroll() || (only_last && n > sc_height-1)); | ^ prim.c:229: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] 229 | pos = back_line(pos); | ^ prim.c:236:3: warning: call to undeclared function 'add_back_pos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | add_back_pos(pos); | ^ prim.c:241:5: warning: call to undeclared function 'lower_left'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 241 | lower_left(); | ^ prim.c:242:5: warning: call to undeclared function 'clear_eol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 242 | clear_eol(); | ^ prim.c:244:4: warning: call to undeclared function 'home'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | home(); | ^ prim.c:245:4: warning: call to undeclared function 'add_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | add_line(); | ^ prim.c:246:4: warning: call to undeclared function 'put_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | put_line(); | ^ prim.c:252:3: warning: call to undeclared function 'repaint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | repaint(); | ^ prim.c:253:9: warning: call to undeclared function 'currline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | (void) currline(BOTTOM); | ^ prim.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 | back(n, pos, only_last) | ^ prim.c:272:3: warning: call to undeclared function 'next_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | next_file(1); | ^ prim.c:276: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] 276 | pos = position(BOTTOM_PLUS_ONE); | ^ prim.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 | forward(n, only_last) | ^ prim.c:296: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] 296 | pos = position(TOP); | ^ prim.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | backward(n, only_last) | ^ prim.c:309:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 309 | prepaint(pos) | ^ | int prim.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] prim.c:320:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 320 | repaint() | ^ | int prim.c:326:19: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | prepaint(position(TOP)); | ^ prim.c:339:6: warning: call to undeclared function 'ch_end_seek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 339 | if (ch_end_seek()) | ^ prim.c:341:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | error("Cannot seek to end of file"); | ^ prim.c:344:2: warning: call to undeclared function 'lastmark'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 344 | lastmark(); | ^ prim.c:346:2: warning: call to undeclared function 'clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 346 | clear(); | ^ prim.c:347:2: warning: call to undeclared function 'pos_clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 347 | pos_clear(); | ^ prim.c:348:2: warning: call to undeclared function 'add_back_pos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 348 | add_back_pos(pos); | ^ prim.c:369:6: warning: call to undeclared function 'ch_seek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 369 | if (ch_seek((off_t)0)) { | ^ prim.c:375:17: warning: call to undeclared function 'ch_beg_seek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 375 | if (n <= 1 && ch_beg_seek() == 0) | ^ prim.c:377:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 377 | error("Cannot get to beginning of file"); | ^ prim.c:385:15: warning: call to undeclared function 'ch_forw_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 385 | while ((c = ch_forw_get()) != '\n') | ^ prim.c:390:5: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | error(message); | ^ prim.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | jump_back(n) | ^ prim.c:414:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 414 | error("Don't know length of file"); | ^ prim.c:422:6: warning: call to undeclared function 'ch_seek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 422 | if (ch_seek(pos) == 0) | ^ prim.c:424:15: warning: call to undeclared function 'ch_back_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 424 | while ((c = ch_back_get()) != '\n' && c != EOI) | ^ prim.c:427:11: warning: call to undeclared function 'ch_forw_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 427 | (void) ch_forw_get(); | ^ prim.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | jump_percent(percent) | ^ prim.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 | jump_loc(pos) | ^ prim.c:443:15: warning: call to undeclared function 'onscreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | if ((nline = onscreen(pos)) >= 0) { | ^ prim.c:448:23: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | forw(nline, position(BOTTOM_PLUS_ONE), 0); | ^ prim.c:456:6: warning: call to undeclared function 'ch_seek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 456 | if (ch_seek(pos)) { | ^ prim.c:457:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 457 | error("Cannot seek to that position"); | ^ prim.c:471: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] 471 | tpos = position(TOP); | ^ prim.c:479: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] 479 | npos = forw_line(npos); | ^ prim.c:485:4: warning: call to undeclared function 'lastmark'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 485 | lastmark(); | ^ prim.c:486:4: warning: call to undeclared function 'clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 486 | clear(); | ^ prim.c:487:4: warning: call to undeclared function 'pos_clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 487 | pos_clear(); | ^ prim.c:488:4: warning: call to undeclared function 'add_back_pos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 488 | add_back_pos(npos); | ^ prim.c:500:2: warning: call to undeclared function 'lastmark'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 500 | lastmark(); | ^ prim.c:510:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 510 | get_back_scroll() | ^ | int 74 warnings generated. --- ch.pieo --- ch.c:117:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 116 | static | ~~~~~~ | int 117 | fch_get() | ^ ch.c: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 previous declaration [-Wdeprecated-non-prototype] 122 | off_t pos, lseek(); | ^ /usr/include/sys/types.h:374:8: note: conflicting prototype is here 374 | off_t lseek(int, off_t, int); | ^ ch.c:127:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 127 | if (abs(buf_lastacc->next->block - ch_block) < | ^ ch.c:127:6: note: use function 'labs' instead 127 | if (abs(buf_lastacc->next->block - ch_block) < | ^~~ | labs ch.c:128:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 128 | abs(buf_lastacc->prev->block - ch_block)) | ^ ch.c:128:6: note: use function 'labs' instead 128 | abs(buf_lastacc->prev->block - ch_block)) | ^~~ | labs ch.c:154:9: warning: call to undeclared function 'ch_addbuf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | (void)ch_addbuf(1); | ^ ch.c:167:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | error("pipe error"); | ^ ch.c:168:4: warning: call to undeclared function 'quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | quit(); | ^ ch.c:179:6: warning: call to undeclared function 'iread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | n = iread(file, &bp->data[bp->datasize], BUFSIZ - bp->datasize); | ^ ch.c:183:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | error("read error"); | ^ ch.c:184:3: warning: call to undeclared function 'quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | quit(); | ^ ch.c:242:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 241 | static | ~~~~~~ | int 242 | buffered(block) | ^ ch.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ch.c:265:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 265 | ch_seek(pos) | ^ | int ch.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ch.c:285:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 285 | ch_end_seek() | ^ | int ch.c:295:9: warning: call to undeclared function 'ch_forw_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | while (ch_forw_get() != EOI) | ^ ch.c:306:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 306 | ch_beg_seek() | ^ | int ch.c:342:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 342 | off_t lseek(); | ^ /usr/include/sys/types.h:374:8: note: conflicting prototype is here 374 | off_t lseek(int, off_t, int); | ^ ch.c:361:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 361 | ch_forw_get() | ^ | int ch.c:376:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 376 | ch_back_get() | ^ | int ch.c:404:28: warning: call to undeclared function 'ch_addbuf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 404 | if (nbufs < want_nbufs && ch_addbuf(want_nbufs - nbufs)) { | ^ ch.c:412:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | error(message); | ^ ch.c:414:4: warning: call to undeclared function 'quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 414 | quit(); | ^ ch.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | ch_init(want_nbufs, keep) | ^ ch.c:436:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 436 | ch_addbuf(nnew) | ^ | int ch.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] 26 warnings generated. --- output.pieo --- output.c:78:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 77 | static | ~~~~~~ | int 78 | markup(ent_ul, ent_bo) | ^ output.c:94:3: warning: call to undeclared function 'ul_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | ul_exit(); | ^ output.c:98:3: warning: call to undeclared function 'bo_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | bo_exit(); | ^ output.c:102:3: warning: call to undeclared function 'ul_enter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | ul_enter(); | ^ output.c:106:3: warning: call to undeclared function 'bo_enter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | bo_enter(); | ^ output.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 | markup(ent_ul, ent_bo) | ^ output.c:131:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 131 | put_line() | ^ | int output.c:153:3: warning: call to undeclared function 'clear_eol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | clear_eol(); | ^ output.c:190:5: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | MAYPUTCHR(' '); | ^ output.c:128:3: note: expanded from macro 'MAYPUTCHR' 128 | putchr(char); \ | ^ output.c:203:5: warning: call to undeclared function 'putbs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | putbs(); | ^ output.c:213:5: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | MAYPUTCHR('^'); | ^ output.c:128:3: note: expanded from macro 'MAYPUTCHR' 128 | putchr(char); \ | ^ output.c:215:5: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 215 | MAYPUTCHR(CARAT_CHAR(c)); | ^ output.c:128:3: note: expanded from macro 'MAYPUTCHR' 128 | putchr(char); \ | ^ output.c:223:5: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | MAYPUTCHR('^'); | ^ output.c:128:3: note: expanded from macro 'MAYPUTCHR' 128 | putchr(char); \ | ^ output.c:225:5: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | MAYPUTCHR(CARAT_CHAR(c)); | ^ output.c:128:3: note: expanded from macro 'MAYPUTCHR' 128 | putchr(char); \ | ^ output.c:229:5: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 229 | MAYPUTCHR(c); | ^ output.c:128:3: note: expanded from macro 'MAYPUTCHR' 128 | putchr(char); \ | ^ output.c:238:3: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 238 | putchr('\n'); | ^ output.c:247:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 247 | flush() | ^ | int output.c:254:6: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | if (write(1, obuf, n) != n) | ^ output.c:262:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 262 | purge() | ^ | int output.c:271:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 271 | putchr(c) | ^ | int output.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] output.c:282:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 282 | putstr(s) | ^ | int output.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] output.c:300:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 300 | for (; c = *s; s++) { | ~~^~~~ output.c:300:11: note: place parentheses around the assignment to silence this warning 300 | for (; c = *s; s++) { | ^ | ( ) output.c:300:11: note: use '==' to turn this assignment into an equality comparison 300 | for (; c = *s; s++) { | ^ | == output.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 | putxstr(s) | ^ output.c:315:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 315 | ierror(s) | ^ | int output.c:318:2: warning: call to undeclared function 'lower_left'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | lower_left(); | ^ output.c:319:2: warning: call to undeclared function 'clear_eol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | clear_eol(); | ^ output.c:320:2: warning: call to undeclared function 'so_enter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | so_enter(); | ^ output.c:323:2: warning: call to undeclared function 'so_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 323 | so_exit(); | ^ output.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 | ierror(s) | ^ 31 warnings generated. --- marks.pieo --- marks.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | badmark(c) | ^ marks.c:123:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | error("Choose a letter between 'a' and 'z'"); | ^ marks.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | setmark(c) | ^ marks.c:146:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | lastmark() | ^ | int marks.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 | initmark (mark_p) | ^ marks.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 | dosetmark(mark_p) | ^ marks.c:177:16: warning: call to undeclared function 'position'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | mark_p->pos = position(TOP); | ^ marks.c:180:20: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | if (mark_p->file) free(mark_p->file); | ^ marks.c:180:20: note: include the header or explicitly provide a declaration for 'free' marks.c:200:10: warning: call to undeclared function 'forw_raw_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | npos = forw_raw_line (npos); | ^ marks.c:206:2: warning: call to undeclared function 'forw_raw_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | forw_raw_line(maxpos); | ^ marks.c:209:20: warning: call to undeclared function 'find_linenum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 209 | mark_p->linenum = find_linenum (mark_p->pos); | ^ marks.c:295:2: warning: call to undeclared function 'lsystem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | lsystem(cmd); | ^ marks.c:303:2: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | SETERRSTR (E_SYSTEM, "mkstemp(): %s", strerror(errno)); | ^ marks.c:343:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | error("mark not set"); | ^ marks.c:370:2: warning: call to undeclared function 'edit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 370 | edit(file, NO_FORCE_OPEN); | ^ marks.c:397:3: warning: call to undeclared function 'prepaint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | prepaint(pos); | ^ marks.c:403:3: warning: call to undeclared function 'jump_loc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 403 | jump_loc(pos); | ^ marks.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | gomark(c) | ^ 18 warnings generated. --- screen.pieo --- screen.c:66:9: warning: 'TAB3' macro redefined [-Wmacro-redefined] 66 | #define TAB3 0 | ^ /usr/include/sys/_termios.h:113:13: note: previous definition is here 113 | #define TAB3 0x00000004 /* expand tabs to spaces */ | ^ screen.c:148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | raw_mode(on) | ^ | int screen.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] screen.c:248:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 248 | get_term() | ^ | int screen.c:305:9: warning: call to undeclared function 'setvari'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 305 | (void) setvari("_sc_height", (long) sc_height - 1); | ^ screen.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | gettermcap(tcap) | ^ screen.c:509:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 509 | init() | ^ | int screen.c:518:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 518 | deinit() | ^ | int screen.c:527:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 527 | home() | ^ | int screen.c:536:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 536 | add_line() | ^ | int screen.c:542:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 542 | lower_left() | ^ | int screen.c:545: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] 545 | putchr('\r'); | ^ screen.c:546:3: warning: call to undeclared function 'flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 546 | flush(); | ^ screen.c:555:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 555 | bell() | ^ | int screen.c:557: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] 557 | putchr('\7'); | ^ screen.c:563:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 563 | clear() | ^ | int screen.c:566:3: warning: call to undeclared function 'so_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 566 | so_exit(); | ^ screen.c:568:3: warning: call to undeclared function 'ul_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 568 | ul_exit(); | ^ screen.c:570:3: warning: call to undeclared function 'bo_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 570 | bo_exit(); | ^ screen.c:578:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 578 | clear_eol() | ^ | int screen.c:581:3: warning: call to undeclared function 'so_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 581 | so_exit(); | ^ screen.c:583:3: warning: call to undeclared function 'ul_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 583 | ul_exit(); | ^ screen.c:585:3: warning: call to undeclared function 'bo_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 585 | bo_exit(); | ^ screen.c:592:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 592 | so_enter() | ^ | int screen.c:601:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 601 | so_exit() | ^ | int screen.c:611:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 611 | ul_enter() | ^ | int screen.c:620:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 620 | ul_exit() | ^ | int screen.c:629:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 629 | bo_enter() | ^ | int screen.c:638:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 638 | bo_exit() | ^ | int screen.c:648:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 648 | backspace() | ^ | int screen.c:654: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] 654 | putchr(' '); | ^ screen.c:661:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 661 | putbs() | ^ | int 32 warnings generated. --- os.pieo --- os.c:80:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 80 | lsystem(cmd) | ^ | int os.c:95:3: warning: call to undeclared function 'lower_left'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | lower_left(); | ^ os.c:96:3: warning: call to undeclared function 'clear_eol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | clear_eol(); | ^ os.c:97:3: warning: call to undeclared function 'putstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | putstr("!"); | ^ os.c:105:2: warning: call to undeclared function 'deinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | deinit(); | ^ os.c:106:2: warning: call to undeclared function 'flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | flush(); | ^ os.c:107:2: warning: call to undeclared function 'raw_mode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | raw_mode(0); | ^ os.c:112:2: warning: call to undeclared function 'init_signals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | init_signals(0); | ^ os.c:118:8: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | inp = dup(0); | ^ os.c:119:8: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | (void)close(0); | ^ os.c:129:21: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | if ((shell = getenv("SHELL")) != NULL && *shell != '\0') | ^ os.c:143:8: warning: call to undeclared function 'system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | (void)system(cmd); | ^ os.c:154:2: warning: call to undeclared function 'init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | init(); | ^ os.c:161:2: warning: call to undeclared function 'winch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | winch(); | ^ os.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | lsystem(cmd) | ^ os.c:170:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 170 | iread(fd, buf, len) | ^ | int os.c:184:2: warning: call to undeclared function 'flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | flush(); | ^ os.c:186:6: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | n = read(fd, buf, len); | ^ os.c:202:22: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | if (neofs > 2) kill(getpid(), SIGHUP); | ^ os.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | iread(fd, buf, len) | ^ os.c:210:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 210 | intread() | ^ | int os.c:222: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] 222 | FILE *popen(); | ^ /usr/include/stdio.h:327:7: note: conflicting prototype is here 327 | FILE *popen(const char *, const char *); | ^ os.c:231:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 231 | char *cmd, *malloc(), *getenv(); | ^ os.c:231:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' os.c:241:12: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | p = getenv("SHELL"); | ^ os.c:262:2: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | free(cmd); | ^ os.c:262:2: note: include the header or explicitly provide a declaration for 'free' os.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | glob(filename) | ^ os.c:281:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 281 | char *strcat(), *strerror(); | ^ os.c:281:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 281 | char *strcat(), *strerror(); | ^ os.c:291:3: warning: call to undeclared function 'strtcpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | strtcpy(message, filename, (int)(len-sizeof(is_dir)-1)); | ^ os.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | bad_file(filename, message, len) | ^ os.c:302:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 302 | strtcpy(to, from, len) | ^ | int os.c:306:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 306 | char *strncpy(); | ^ os.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | strtcpy(to, from, len) | ^ 33 warnings generated. --- tags.pieo --- tags.c:61:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | static ctagsearch(), gtagsearch(); | ~~~~~~ ^ | int tags.c:61:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | static ctagsearch(), gtagsearch(); | ~~~~~~ ^ | int tags.c:81:21: warning: passing arguments to 'findctag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | tagfile = findctag(tag, "tags"); | ^ tags.c:82:38: warning: passing arguments to 'findgtag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if (!tagfile && (tagfile = findgtag(tag))) tagstyle = GTAGS; | ^ tags.c:89:21: warning: passing arguments to 'findgtag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | tagfile = findgtag(tag); | ^ tags.c:90:38: warning: passing arguments to 'findctag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | if (!tagfile && (tagfile = findctag(tag, "tags"))) | ^ tags.c:96:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | error("could not find relevent tag information"); | ^ tags.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | findtag(tag) | ^ tags.c:107:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 107 | nexttag(number) | ^ | int tags.c:120:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | error("no next tag"); | ^ tags.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | nexttag(number) | ^ tags.c:126:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | prevtag(number) | ^ | int tags.c:139:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | error("no previous tag"); | ^ tags.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 | prevtag(number) | ^ tags.c:153:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | error("could not locate ctag"); | ^ tags.c:205:28: warning: incompatible pointer types passing 'int *' to parameter of type 'size_t *' (aka 'unsigned long *') [-Wincompatible-pointer-types] 205 | while ((tline = fgetln(f, &tline_len))) | ^~~~~~~~~~ /usr/include/stdio.h:391:30: note: passing argument to parameter here 391 | char *fgetln(FILE *, size_t *); | ^ tags.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 | findctag(tag, tagfile) | ^ tags.c: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 | static char *findctag(), *findgtag(), *nextgtag(), *prevgtag(); | ^ tags.c:298:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 297 | static | ~~~~~~ | int 298 | ctagsearch() | ^ tags.c:304:12: warning: call to undeclared function 'find_linenum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 304 | linenum = find_linenum(pos); | ^ tags.c:320: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] 320 | pos = forw_raw_line(pos); | ^ tags.c:333:4: warning: call to undeclared function 'add_lnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 333 | add_lnum(linenum, pos); | ^ tags.c:366:2: warning: call to undeclared function 'jump_loc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | jump_loc(linepos); | ^ tags.c:392:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 392 | static getentry(); | ~~~~~~ ^ | int tags.c:447:17: warning: passing arguments to 'getentry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | if (getentry(buf, &name, &file, &line)) { | ^ tags.c:459:5: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 459 | error("malloc() failed"); | ^ tags.c:465:5: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 465 | error("malloc() failed"); | ^ tags.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 | findgtag(tag) | ^ tags.c:60:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | static char *findctag(), *findgtag(), *nextgtag(), *prevgtag(); | ^ tags.c:533:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 532 | static | ~~~~~~ | int 533 | gtagsearch() | ^ tags.c:538:2: warning: call to undeclared function 'jump_back'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 538 | jump_back(curgtag->line); | ^ tags.c:565:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 564 | static | ~~~~~~ | int 565 | getentry(buf, tag, file, line) | ^ tags.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] tags.c:392:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 392 | static getentry(); | ^ 34 warnings generated. --- main.pieo --- main.c:98:16: warning: parameter 'force_open' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | edit(filename, force_open) | ^ 99 | register char *filename; 100 | { main.c:98:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | edit(filename, force_open) | ^ | int main.c:107:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 107 | char *rindex(), *strerror(), *save(), *bad_file(); | ^ main.c:107:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 107 | char *rindex(), *strerror(), *save(), *bad_file(); | ^ main.c:121:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | error("No current file"); | ^ main.c:124:18: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | filename = save(av[curr_ac]); | ^ main.c:128:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | error("no previous file"); | ^ main.c:131:18: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | filename = save(previous_file); | ^ main.c:134:18: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | filename = save(filename); | ^ main.c:139:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | error("can view standard input only once"); | ^ main.c:144:24: 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] 144 | else if ((m = bad_file(filename, message, sizeof(message))) != NULL) { | ^ main.c:145:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | error(m); | ^ main.c:152:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | error(message); | ^ main.c:164:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | error("Can't take input from a terminal"); | ^ main.c:181:2: warning: call to undeclared function 'pos_clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | pos_clear(); | ^ main.c:182:21: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | prev_pos = position(TOP); | ^ main.c:194:2: warning: call to undeclared function 'ch_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 194 | ch_init(cbufs, 0); | ^ main.c:206:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | error(filename); | ^ main.c:212:4: warning: call to undeclared function 'jump_loc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | jump_loc(initial_pos); | ^ main.c:213:3: warning: call to undeclared function 'clr_linenum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | clr_linenum(); | ^ main.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 | edit(filename, force_open) | ^ main.c:229:30: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if (quit_at_eof || position(TOP) == NULL_POSITION) | ^ main.c:231:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | error("No (N-th) next file"); | ^ main.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | next_file(n) | ^ main.c:240:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 240 | prev_file(n) | ^ | int main.c:244:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | error("No (N-th) previous file"); | ^ main.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 | prev_file(n) | ^ main.c:254:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 253 | static | ~~~~~~ | int 254 | cat_file() | ^ main.c:261:15: warning: call to undeclared function 'ch_forw_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 261 | while ((c = ch_forw_get()) != EOI) | ^ main.c:263:5: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 263 | putchr(c); | ^ main.c:267:5: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | putchr(c); | ^ main.c:271:19: warning: call to undeclared function 'ch_forw_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | else while ((c = ch_forw_get()) != EOI) | ^ main.c:272:3: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | putchr(c); | ^ main.c:273:2: warning: call to undeclared function 'flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | flush(); | ^ main.c:276:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 276 | main(argc, argv) | ^ | int main.c:293:9: warning: call to undeclared function 'option'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 293 | (void)option(envargc, envargv); | ^ main.c:295:11: warning: call to undeclared function 'option'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | argcnt = option(argc, argv); | ^ main.c:306:2: warning: call to undeclared function 'marks_initmarks'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | marks_initmarks(); | ^ main.c:330:2: warning: call to undeclared function 'raw_mode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 330 | raw_mode(1); | ^ main.c:331:2: warning: call to undeclared function 'get_term'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | get_term(); | ^ main.c:332:2: warning: call to undeclared function 'open_getchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 332 | open_getchr(); | ^ main.c:333:2: warning: call to undeclared function 'init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 333 | init(); | ^ main.c:334:2: warning: call to undeclared function 'init_signals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | init_signals(1); | ^ main.c:342:46: warning: call to undeclared function 'tagsearch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | if (!tagfile || !edit(tagfile, NOFLAGS) || tagsearch()) | ^ main.c:343:4: warning: call to undeclared function 'quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | quit(); | ^ main.c:365:3: warning: call to undeclared function 'commands'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 365 | commands(); | ^ main.c:367:2: warning: call to undeclared function 'quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | quit(); | ^ main.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | main(argc, argv) | ^ main.c:379:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 379 | char *p, *strcpy(); | ^ main.c:384:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 384 | error("cannot allocate memory"); | ^ main.c:385:3: warning: call to undeclared function 'quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 385 | quit(); | ^ main.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | save(s) | ^ main.c:393:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 393 | quit() | ^ | int main.c:399:2: warning: call to undeclared function 'lower_left'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 399 | lower_left(); | ^ main.c:400:2: warning: call to undeclared function 'clear_eol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 400 | clear_eol(); | ^ main.c:401:2: warning: call to undeclared function 'deinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 401 | deinit(); | ^ main.c:402:2: warning: call to undeclared function 'flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 402 | flush(); | ^ main.c:403:2: warning: call to undeclared function 'raw_mode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 403 | raw_mode(0); | ^ main.c:428:5: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 428 | SETERRSTR(E_EXTERN, "unable to read %s: %s", | ^ main.c:430:5: warning: call to undeclared function 'handle_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 430 | handle_error(); | ^ main.c:450:4: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 450 | SETERRSTR(E_EXTERN, "unable to read %s: %s", | ^ main.c:452:4: warning: call to undeclared function 'handle_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 452 | handle_error(); | ^ main.c:468:5: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 468 | SETERRSTR(E_EXTERN, | ^ main.c:471:5: warning: call to undeclared function 'handle_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 471 | handle_error(); | ^ main.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | readrc(fd) | ^ main.c:505:4: warning: call to undeclared function 'handle_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 505 | handle_error(); | ^ main.c:520:7: warning: call to undeclared function 'command'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 520 | if (command(buf)) | ^ main.c:521:4: warning: call to undeclared function 'handle_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 521 | handle_error(); | ^ main.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | str_read(cookie, buf, len) | ^ 69 warnings generated. --- command.pieo --- command.c:81:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | static cmd_char(), cmd_erase(), getcc(); | ~~~~~~ ^ | int command.c:81:20: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | static cmd_char(), cmd_erase(), getcc(); | ~~~~~~ ^ | int command.c:81:33: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | static cmd_char(), cmd_erase(), getcc(); | ~~~~~~ ^ | int command.c:97:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 97 | biggetinputhack() | ^ | int command.c:114:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 114 | extern bo_width, be_width; | ~~~~~~ ^ | int command.c:114:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 114 | extern bo_width, be_width; | ~~~~~~ ^ | int command.c:118:2: warning: call to undeclared function 'prmpt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | prmpt(prompt); | ^ command.c:128:15: 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] 128 | cmd_char(c, buf, &bufcur, buf + bufsiz - 1)) { | ^ command.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 | getinput(prompt, buf, bufsiz) | ^ command.c:159:19: warning: passing arguments to 'cmd_erase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | return(cmd_erase(bufbeg, bufcur)); | ^ command.c:164:18: warning: passing arguments to 'cmd_erase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | !cmd_erase(bufbeg, bufcur)) ; | ^ command.c:166:18: warning: passing arguments to 'cmd_erase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | !cmd_erase(bufbeg, bufcur)) ; | ^ command.c:168:18: warning: passing arguments to 'cmd_erase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | !cmd_erase(bufbeg, bufcur)) ; | ^ command.c:173:20: warning: passing arguments to 'cmd_erase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | while (!cmd_erase(bufbeg, bufcur)); | ^ command.c:185:3: warning: call to undeclared function 'bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | bell(); | ^ command.c:189:4: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | putchr('^'); | ^ command.c:194:3: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 194 | putchr(c); | ^ command.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 | cmd_char(c, bufbeg, bufcur, bufend) | ^ command.c:81:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static cmd_char(), cmd_erase(), getcc(); | ^ command.c:208:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 207 | static | ~~~~~~ | int 208 | cmd_erase(bufbegin, bufcur) | ^ command.c:233:3: warning: call to undeclared function 'backspace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | backspace(); | ^ command.c:237:2: warning: call to undeclared function 'backspace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 237 | backspace(); | ^ command.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | cmd_erase(bufbegin, bufcur) | ^ command.c:81: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] 81 | static cmd_char(), cmd_erase(), getcc(); | ^ command.c:249:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 248 | static | ~~~~~~ | int 249 | getcc() | ^ command.c:261:9: warning: call to undeclared function 'getchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 261 | return(getchr()); | ^ command.c:267:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 267 | ungetcc(c) | ^ | int command.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] command.c:289:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 289 | prmpt(prmpt) | ^ | int command.c:292:2: warning: call to undeclared function 'lower_left'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | lower_left(); | ^ command.c:293:2: warning: call to undeclared function 'clear_eol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 293 | clear_eol(); | ^ command.c:294:2: warning: call to undeclared function 'bo_enter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | bo_enter(); | ^ command.c:295:2: warning: call to undeclared function 'putxstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | putxstr(prmpt); | ^ command.c:296:2: warning: call to undeclared function 'bo_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | bo_exit(); | ^ command.c:297:2: warning: call to undeclared function 'flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 297 | flush(); | ^ command.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | prmpt(prmpt) | ^ command.c:311:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 311 | prompt() | ^ | int command.c:322:14: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | if (position(TOP) == NULL_POSITION) { | ^ command.c:330:24: warning: call to undeclared function 'search'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 330 | if (!firstsearch || !search(1, firstsearch, 1, 1)) | ^ --- ncommand.pieo --- ncommand.c:73:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 73 | static getstr_free(); | ~~~~~~ ^ | int ncommand.c:208:4: warning: call to undeclared function 'lower_left'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | CMD_EXEC; | ^ ncommand.c:172:18: note: expanded from macro 'CMD_EXEC' 172 | #define CMD_EXEC lower_left(); flush() | ^ ncommand.c:208:4: warning: call to undeclared function 'flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ncommand.c:172:32: note: expanded from macro 'CMD_EXEC' 172 | #define CMD_EXEC lower_left(); flush() | ^ --- command.pieo --- command.c:331:4: warning: call to undeclared function 'jump_back'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | jump_back(1); | ^ command.c:334:3: warning: call to undeclared function 'repaint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | repaint(); | ^ command.c:338:3: warning: call to undeclared function 'quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 338 | quit(); | ^ command.c:341:2: warning: call to undeclared function 'lower_left'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | lower_left(); | ^ --- ncommand.pieo --- ncommand.c:211:15: warning: passing arguments to 'getstr_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | getstr_free(ctxt); | ^ ncommand.c:218:2: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | SETERRSTR(E_BOGCOM, "invalid command: ``%s''", line); | ^ ncommand.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 | command(line) | ^ ncommand.c:263:3: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 263 | SETERRSTR(E_COMPLIM, | ^ --- command.pieo --- command.c:342:2: warning: call to undeclared function 'clear_eol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | clear_eol(); | ^ command.c:353:3: warning: call to undeclared function 'so_enter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | so_enter(); | ^ command.c:354:3: warning: call to undeclared function 'putstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | putstr(current_name); | ^ command.c:363:20: warning: call to undeclared function 'currline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 363 | " line %d", currline(BOTTOM)); | ^ --- ncommand.pieo --- ncommand.c:362:21: warning: passing arguments to 'readvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | if (!(c = readvar(line))) { | ^ ncommand.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | getstr(line) | ^ ncommand.c:412:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 411 | static | ~~~~~~ | int 412 | getstr_free(context) | ^ ncommand.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- command.pieo --- command.c:368: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] 368 | if ((pos = position(BOTTOM)) != NULL_POSITION) { | ^ command.c:370:21: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] 370 | " byte %qd", pos); | ~~~ ^~~ | %ld command.c:374:27: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] 374 | "/%qd pct %qd%%", len, ((100 * pos) / len)); | ~~~ ^~~ | %ld command.c:374:32: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] --- ncommand.pieo --- ncommand.c:73:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static getstr_free(); | ^ ncommand.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 | getint(numb, line) | ^ ncommand.c:464:4: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 464 | SETERRSTR (E_BADMATH, | ^ ncommand.c:498:4: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 498 | SETERRSTR (E_BADMATH, | ^ --- command.pieo --- 374 | "/%qd pct %qd%%", len, ((100 * pos) / len)); | ~~~ ^~~~~~~~~~~~~~~~~~~ | %ld command.c:378:3: warning: call to undeclared function 'so_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 378 | so_exit(); | ^ command.c:381:3: warning: call to undeclared function 'so_enter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 381 | so_enter(); | ^ command.c:382:3: warning: call to undeclared function 'putstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 382 | putstr(current_name); | ^ --- ncommand.pieo --- ncommand.c:504:20: warning: passing arguments to 'readvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | if (!(p = readvar(line))) | ^ ncommand.c:507:4: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 507 | SETERRSTR (E_BADMATH, | ^ ncommand.c:527:3: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | SETERRSTR (E_BADMATH, | ^ ncommand.c:600:9: warning: call to undeclared function 'setvar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 600 | (void) setvar(s, va_arg(opts, const char *)); | ^ --- command.pieo --- command.c:392: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] 392 | (pos = position(BOTTOM)) != NULL_POSITION && | ^ command.c:395:20: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] 395 | " (%qd%%)", ((100 * pos) / len)); | ~~~ ^~~~~~~~~~~~~~~~~~~ | %ld command.c:398:3: warning: call to undeclared function 'so_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 398 | so_exit(); | ^ command.c:417:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 417 | statprompt(nostatprompt) | ^ | int --- ncommand.pieo --- ncommand.c:602:9: warning: call to undeclared function 'setvari'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 602 | (void) setvari(s, (long) optval_orig); | ^ ncommand.c:603:2: warning: call to undeclared function 'clear_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 603 | clear_error(); | ^ ncommand.c:628:3: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 628 | SETERRSTR (E_BADVAR, | ^ ncommand.c:634:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 634 | return getvar(vstart, vlength); | ^~~~~~~~~~~~~~~~~~~~~~~ --- command.pieo --- command.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] command.c:439:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 439 | SETERRSTR(enum error e, const char *s, ...) | ^ | int command.c:460:2: warning: call to undeclared function 'bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 460 | bell(); | ^ command.c:464:9: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 464 | error(deferr[erreur]); | ^~~~~~~~~~~~~~ command.c:82:18: note: passing argument to parameter here 82 | void error(char *); | ^ --- ncommand.pieo --- ncommand.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | readvar(line) | ^ ncommand.c:233: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] 233 | static char *readvar(); | ^ ncommand.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | getvar(var, len) | ^ ncommand.c:669:22: warning: passing arguments to 'gettermcap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | if ((s = gettermcap(tcap))) { | ^ --- command.pieo --- command.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | error(s) | ^ command.c:515:2: warning: call to undeclared function 'lower_left'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 515 | lower_left(); | ^ command.c:516:2: warning: call to undeclared function 'clear_eol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 516 | clear_eol(); | ^ command.c:517:2: warning: call to undeclared function 'so_enter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 517 | so_enter(); | ^ command.c:519:3: warning: call to undeclared function 'putstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 519 | putstr(s); --- ncommand.pieo --- ncommand.c:671:5: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 671 | SETERRSTR(E_COMPLIM, | ^ ncommand.c:692:2: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 692 | SETERRSTR (E_BADVAR, "variable ``%.*s'' not set", len, var); | ^ ncommand.c:713:3: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 713 | SETERRSTR (E_BADVAR, | ^ ncommand.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | setvar(var, val) | ^ --- command.pieo --- | ^ command.c:522:2: warning: call to undeclared function 'putstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 522 | putstr(return_to_continue); | ^ command.c:523:2: warning: call to undeclared function 'so_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 523 | so_exit(); | ^ command.c:525:12: warning: call to undeclared function 'getchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 525 | if ((ch = getchr()) != '\n') { | ^ command.c:528:4: warning: call to undeclared function 'quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 528 | quit(); | ^ --- ncommand.pieo --- ncommand.c:766:9: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 766 | setvar(var, n); | ^~~ ncommand.c:759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | setvari(var, val) | ^ ncommand.c:803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | cdeftog(cident, args) | ^ ncommand.c:81:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | *cstat(), *cdeftog(), *ccondition(), *chelp(), *cfile(), | ^ --- command.pieo --- command.c:543:3: warning: call to undeclared function 'repaint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 543 | repaint(); | ^ command.c:545:2: warning: call to undeclared function 'flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 545 | flush(); | ^ command.c:579:4: warning: call to undeclared function 'psignals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 579 | psignals(); | ^ command.c:587:4: warning: call to undeclared function 'next_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 587 | next_file(1); | ^ --- ncommand.pieo --- ncommand.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | ceval(cident, args) | ^ ncommand.c:78:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static const char *cscroll(), *cquit(), *cerror(), *ceval(), *cset(), | ^ ncommand.c:860:3: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 860 | SETERRSTR (E_BADVAR, | ^ ncommand.c:864:13: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 864 | if (setvar(var, str)) --- command.pieo --- command.c:631:20: warning: passing arguments to 'runmacro' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | switch (runmacro(inbuf, numberN, Nstate)) { | ^ command.c:665:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 665 | char buf[MAXPATHLEN * 2 + 20], *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ command.c:706:14: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | if (position(MIDDLE) == NULL_POSITION) | ^ --- ncommand.pieo --- | ^~~ ncommand.c:864:18: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 864 | if (setvar(var, str)) | ^~~ ncommand.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | cset(cident, args) | ^ ncommand.c:78:63: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static const char *cscroll(), *cquit(), *cerror(), *ceval(), *cset(), | ^ ncommand.c:888:6: warning: call to undeclared function 'setmacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- command.pieo --- command.c:707:16: warning: call to undeclared function 'currline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 707 | linenumber = currline(TOP); | ^ command.c:715:2: warning: call to undeclared function 'lsystem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 715 | lsystem(buf); | ^ command.c:738:6: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 738 | putchr('['); | ^ command.c:739:5: warning: call to undeclared function 'putstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 739 | putstr(p); | ^ --- ncommand.pieo --- 888 | if (setmacro(keys, com)) | ^ ncommand.c:890:6: warning: call to undeclared function 'setmacnumb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 890 | if (setmacnumb(keys, num)) | ^ ncommand.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | cmacro(cident, args) | ^ ncommand.c:79:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | *cflush(), *cmacro(), *caskfile(), *cusercom(), | ^ ncommand.c:910:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- command.pieo --- command.c:745:4: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 745 | putchr('\n'); | ^ command.c:749:4: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 749 | putchr(' '); | ^ command.c:752:3: warning: call to undeclared function 'putstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 752 | putstr(p); | ^ command.c:758:2: warning: call to undeclared function 'putchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 758 | putchr('\n'); | ^ 86 warnings generated. --- ncommand.pieo --- 910 | error(s); | ^ ncommand.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | cerror(cident, args) | ^ ncommand.c:78:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static const char *cscroll(), *cquit(), *cerror(), *ceval(), *cset(), | ^ ncommand.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | ccondition(cident, args) | ^ ncommand.c:81:42: warning: a function declaration without a prototype is 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 | *cstat(), *cdeftog(), *ccondition(), *chelp(), *cfile(), | ^ ncommand.c:963:6: warning: call to undeclared function 'getinput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 963 | if (getinput("Command: ", buf, sizeof(buf))) | ^ ncommand.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | cusercom(cident, args) | ^ ncommand.c:79:55: warning: a function declaration without a prototype is 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 | *cflush(), *cmacro(), *caskfile(), *cusercom(), | ^ ncommand.c:994:3: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 994 | SETERRSTR (E_NULL, "could not open file ``%s''", file); | ^ ncommand.c:997:2: warning: call to undeclared function 'readrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 997 | readrc(fd); | ^ ncommand.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | creadrc(cident, args) | ^ ncommand.c:82:55: warning: a function declaration without a prototype is 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 | *cfile_list(), *cedit(), *cmark(), *creadrc(), *clistbmarks(); | ^ ncommand.c:1014:2: warning: call to undeclared function 'quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1014 | quit(); | ^ ncommand.c:1009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | cquit(cident, args) | ^ ncommand.c:78:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static const char *cscroll(), *cquit(), *cerror(), *ceval(), *cset(), | ^ ncommand.c:1033:3: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1033 | SETERRSTR(E_NULL, "already viewing help"); | ^ ncommand.c:1036:2: warning: call to undeclared function 'help'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1036 | help(); | ^ ncommand.c:1024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | chelp(cident, args) | ^ ncommand.c:81:57: warning: a function declaration without a prototype is 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 | *cstat(), *cdeftog(), *ccondition(), *chelp(), *cfile(), | ^ ncommand.c:1056:3: warning: call to undeclared function 'ch_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1056 | ch_init(0, 0); /* XXX should this be ch_init(ctags,0) */ | ^ ncommand.c:1057:3: warning: call to undeclared function 'clr_linenum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1057 | clr_linenum(); | ^ ncommand.c:1059:2: warning: call to undeclared function 'repaint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1059 | repaint(); | ^ ncommand.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | cflush(cident, args) | ^ ncommand.c:79: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] 79 | *cflush(), *cmacro(), *caskfile(), *cusercom(), | ^ ncommand.c:1087:3: warning: call to undeclared function 'forward'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1087 | forward(n, 0); | ^ ncommand.c:1090:3: warning: call to undeclared function 'backward'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1090 | backward(n, 0); | ^ ncommand.c:1085:10: warning: 33 enumeration values not handled in switch: 'DEFTOG', 'EVAL', 'SET'... [-Wswitch] 1085 | switch (cident) { | ^~~~~~ ncommand.c:1075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | cscroll(cident, args) | ^ ncommand.c:78: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] 78 | static const char *cscroll(), *cquit(), *cerror(), *ceval(), *cset(), | ^ ncommand.c:1124:10: warning: 35 enumeration values not handled in switch: 'DEFTOG', 'EVAL', 'SET'... [-Wswitch] 1124 | switch (cident) { | ^~~~~~ ncommand.c:1144:2: warning: call to undeclared function 'repaint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1144 | repaint(); /* screen_trashed = 1 */ | ^ ncommand.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | chscroll(cident, args) | ^ ncommand.c:80:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | *ctags(), *chscroll(), *cgomisc(), *cgoend(), *csearch(), | ^ ncommand.c:1170:3: warning: call to undeclared function 'jump_back'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1170 | jump_back(n); | ^ ncommand.c:1175:3: warning: call to undeclared function 'jump_percent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1175 | jump_percent(n); | ^ ncommand.c:1168:10: warning: 35 enumeration values not handled in switch: 'DEFTOG', 'EVAL', 'SET'... [-Wswitch] 1168 | switch (cident) { | ^~~~~~ ncommand.c:1159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | cgomisc(cident, args) | ^ ncommand.c:80:43: warning: a function declaration without a prototype is 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 | *ctags(), *chscroll(), *cgomisc(), *cgoend(), *csearch(), | ^ ncommand.c:1193:6: warning: call to undeclared function 'marks_bookhints'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1193 | if (marks_bookhints()) | ^ ncommand.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | clistbmarks(cident, args) | ^ ncommand.c:82:67: warning: a function declaration without a prototype is 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 | *cfile_list(), *cedit(), *cmark(), *creadrc(), *clistbmarks(); | ^ ncommand.c:1210:2: warning: call to undeclared function 'jump_forw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1210 | jump_forw(); | ^ ncommand.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | cgoend(cident, args) | ^ ncommand.c:80:55: warning: a function declaration without a prototype is 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 | *ctags(), *chscroll(), *cgomisc(), *cgoend(), *csearch(), | ^ ncommand.c:1226:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1226 | extern ispipe; | ~~~~~~ ^ | int ncommand.c:1230:3: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1230 | SETERRSTR(E_NULL, "cannot edit standard input"); | ^ ncommand.c:1233:2: warning: call to undeclared function 'editfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1233 | editfile(); | ^ ncommand.c:1239:2: warning: call to undeclared function 'ch_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1239 | ch_init(0, 0); /* Clear the internal file buffer */ | ^ ncommand.c:1240:2: warning: call to undeclared function 'clr_linenum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1240 | clr_linenum(); | ^ ncommand.c:1222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | cedit(cident, args) | ^ ncommand.c:82:35: warning: a function declaration without a prototype is 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 | *cfile_list(), *cedit(), *cmark(), *creadrc(), *clistbmarks(); | ^ ncommand.c:1257:6: warning: call to undeclared function 'getinput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1257 | if (getinput("Examine: ", buf, sizeof(buf))) | ^ ncommand.c:1263:8: warning: call to undeclared function 'edit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1263 | (void)edit(glob(buf), FORCE_OPEN); | ^ ncommand.c:1263:13: warning: call to undeclared function 'glob'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1263 | (void)edit(glob(buf), FORCE_OPEN); | ^ ncommand.c:1250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | caskfile(cident, args) | ^ ncommand.c:79:42: warning: a function declaration without a prototype is 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 | *cflush(), *cmacro(), *caskfile(), *cusercom(), | ^ ncommand.c:1291:3: warning: call to undeclared function 'next_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1291 | next_file(N); | ^ ncommand.c:1294:3: warning: call to undeclared function 'prev_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1294 | prev_file(N); | ^ ncommand.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | cfile(cident, args) | ^ ncommand.c:81:67: warning: a function declaration without a prototype is 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 | *cstat(), *cdeftog(), *ccondition(), *chelp(), *cfile(), | ^ ncommand.c:1312:2: warning: call to undeclared function 'showlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1312 | showlist(); | ^ ncommand.c:1313:2: warning: call to undeclared function 'repaint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1313 | repaint(); /* screen_trashed = 1; */ | ^ ncommand.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | cfile_list(cident, args) | ^ ncommand.c:82: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] 82 | *cfile_list(), *cedit(), *cmark(), *creadrc(), *clistbmarks(); | ^ ncommand.c:1333:2: warning: call to undeclared function 'statprompt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1333 | statprompt(onoff); | ^ ncommand.c:1325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | cstat(cident, args) | ^ ncommand.c:81: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] 81 | *cstat(), *cdeftog(), *ccondition(), *chelp(), *cfile(), | ^ ncommand.c:1380:3: warning: call to undeclared function 'biggetinputhack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1380 | biggetinputhack(); /* It's magic, boys */ | ^ ncommand.c:1382:11: warning: call to undeclared function 'getinput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1382 | abrt = getinput("Search: /", buf, 2); | ^ ncommand.c:1396:4: warning: call to undeclared function 'ungetcc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1396 | ungetcc(*buf); | ^ ncommand.c:1378:10: warning: 34 enumeration values not handled in switch: 'DEFTOG', 'EVAL', 'SET'... [-Wswitch] 1378 | switch (cident) { | ^~~~~~ ncommand.c:1428:2: warning: call to undeclared function 'search'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1428 | search(!direction, str, N, !sense); | ^ ncommand.c:1357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1357 | csearch(cident, args) | ^ ncommand.c:80:66: warning: a function declaration without a prototype is 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 | *ctags(), *chscroll(), *cgomisc(), *cgoend(), *csearch(), | ^ ncommand.c:1453:3: warning: call to undeclared function 'SETERRSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1453 | SETERRSTR(E_NULL, "bad mark character"); | ^ ncommand.c:1458:3: warning: call to undeclared function 'biggetinputhack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1458 | biggetinputhack(); /* so getinput() returns after one char */ | ^ ncommand.c:1461:4: warning: call to undeclared function 'getinput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1461 | getinput("goto mark: ", smark, sizeof smark); | ^ ncommand.c:1459:11: warning: 35 enumeration values not handled in switch: 'DEFTOG', 'EVAL', 'SET'... [-Wswitch] 1459 | switch (cident) { | ^~~~~~ ncommand.c:1474:3: warning: call to undeclared function 'gomark'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1474 | gomark(*mark); | ^ ncommand.c:1477:3: warning: call to undeclared function 'setmark'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1477 | setmark(*mark); | ^ ncommand.c:1472:10: warning: 35 enumeration values not handled in switch: 'DEFTOG', 'EVAL', 'SET'... [-Wswitch] 1472 | switch (cident) { | ^~~~~~ ncommand.c:1441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1441 | cmark(cident, args) | ^ ncommand.c:82:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | *cfile_list(), *cedit(), *cmark(), *creadrc(), *clistbmarks(); | ^ ncommand.c:1504:3: warning: call to undeclared function 'getinput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1504 | getinput("Tag: ", buf, sizeof(buf)); | ^ ncommand.c:1507:3: warning: call to undeclared function 'findtag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1507 | findtag(buf); | ^ ncommand.c:1511:4: warning: call to undeclared function 'nexttag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1511 | nexttag(n); | ^ ncommand.c:1514:4: warning: call to undeclared function 'prevtag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1514 | prevtag(n); | ^ ncommand.c:1509:11: warning: 35 enumeration values not handled in switch: 'DEFTOG', 'EVAL', 'SET'... [-Wswitch] 1509 | switch (cident) { | ^~~~~~ ncommand.c:1522:6: warning: call to undeclared function 'edit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1522 | if (edit(tagfile, NO_FORCE_OPEN)) | ^ ncommand.c:1523:3: warning: call to undeclared function 'tagsearch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1523 | tagsearch(); | ^ ncommand.c:1491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1491 | ctags(cident, args) | ^ ncommand.c:80: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] 80 | *ctags(), *chscroll(), *cgomisc(), *cgoend(), *csearch(), | ^ 138 warnings generated. --- command.pieo --- --- ncommand.pieo --- --- more --- cc -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -I/wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2 -DTERMIOS -fPIE -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -Wl,-zrelro -pie -o more ch.pieo command.pieo help.pieo input.pieo line.pieo linenum.pieo macro.pieo main.pieo marks.pieo ncommand.pieo option.pieo os.pieo output.pieo position.pieo prim.pieo screen.pieo search.pieo signal.pieo tags.pieo ttyin.pieo -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 44bsd-more-20000521_2 ===> Generating temporary packing list /bin/mkdir -p /wrkdirs/usr/ports/sysutils/44bsd-more/work/stage/usr/local/share/examples/44bsd-more install -m 444 /wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2/more.1 /wrkdirs/usr/ports/sysutils/44bsd-more/work/stage/usr/local/share/man/man1/44bsd-more.1 install -m 0644 /wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2/default.morerc /wrkdirs/usr/ports/sysutils/44bsd-more/work/stage/usr/local/share/examples/44bsd-more install -m 0644 /wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2/less.morerc /wrkdirs/usr/ports/sysutils/44bsd-more/work/stage/usr/local/share/examples/44bsd-more install -m 0644 /wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2/most.morerc /wrkdirs/usr/ports/sysutils/44bsd-more/work/stage/usr/local/share/examples/44bsd-more install -m 0644 /wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2/more.help /wrkdirs/usr/ports/sysutils/44bsd-more/work/stage/usr/local/share/misc/44bsd-more.help install -s -m 555 /wrkdirs/usr/ports/sysutils/44bsd-more/work/44bsd-more-20000521_2/more /wrkdirs/usr/ports/sysutils/44bsd-more/work/stage/usr/local/bin/44bsd-more ====> 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-12T04:15:10+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=df10dcdf73f3' '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 44bsd-more-20000521_2 ===> Building 44bsd-more-20000521_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for 44bsd-more-20000521_2 build of sysutils/44bsd-more | 44bsd-more-20000521_2 ended at Thu Mar 12 00:15:15 EDT 2026 build time: 00:00:06