=>> Building shells/pdksh build started at Wed Mar 11 05:00:35 EDT 2026 port directory: /usr/ports/shells/pdksh package name: pdksh-5.2.14p2_7 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: rodrigo@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 675 Aug 27 2024 /usr/ports/shells/pdksh/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: 555dd8d1ed78 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--- ===> The following configuration options are available for pdksh-5.2.14p2_7: STATIC=off: Build static executables and/or libraries ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- rodrigo@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/shells/pdksh/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/shells/pdksh/work XDG_CACHE_HOME=/wrkdirs/usr/ports/shells/pdksh/work/.cache HOME=/wrkdirs/usr/ports/shells/pdksh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/shells/pdksh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/shells/pdksh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/shells/pdksh/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/shells/pdksh/work XDG_CACHE_HOME=/wrkdirs/usr/ports/shells/pdksh/work/.cache HOME=/wrkdirs/usr/ports/shells/pdksh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/shells/pdksh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/shells/pdksh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp -P" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pdksh" EXAMPLESDIR="share/examples/pdksh" DATADIR="share/pdksh" WWWDIR="www/pdksh" ETCDIR="etc/pdksh" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pdksh DOCSDIR=/usr/local/share/doc/pdksh EXAMPLESDIR=/usr/local/share/examples/pdksh WWWDIR=/usr/local/www/pdksh ETCDIR=/usr/local/etc/pdksh --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 ===> pdksh-5.2.14p2_7 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 ===> pdksh-5.2.14p2_7 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pdksh-5.2.14p2_7 =========================================================================== =================================================== ===== 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 pdksh-5.2.14p2_7 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by pdksh-5.2.14p2_7 for building => SHA256 Checksum OK for pdksh-5.2.14.tar.gz. => SHA256 Checksum OK for pdksh-5.2.14-patches.1.gz. => SHA256 Checksum OK for pdksh-5.2.14-patches.2.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by pdksh-5.2.14p2_7 for building ===> Extracting for pdksh-5.2.14p2_7 => SHA256 Checksum OK for pdksh-5.2.14.tar.gz. => SHA256 Checksum OK for pdksh-5.2.14-patches.1.gz. => SHA256 Checksum OK for pdksh-5.2.14-patches.2.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for pdksh-5.2.14p2_7 ===> Applying distribution patches for pdksh-5.2.14p2_7 ===> Applying FreeBSD patches for pdksh-5.2.14p2_7 from /usr/ports/shells/pdksh/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pdksh-5.2.14p2_7 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. ===> pdksh-5.2.14p2_7 depends on file: /usr/local/bin/ccache - found ===> Returning to build of pdksh-5.2.14p2_7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for pdksh-5.2.14p2_7 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for gcc... cc checking whether we are using GNU C... yes checking how to run the C preprocessor... cpp -P checking whether cc needs -traditional... no checking if this is a problematic os... checking for minix/config.h... (cached) no no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for opendir in -lndir... no checking for sane unistd.h... yes checking terminal interface... termios checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for paths.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/resource.h... (cached) yes checking for values.h... no checking for ulimit.h... yes checking for sys/time.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for off_t in sys/types.h... (cached) yes checking for mode_t in sys/types.h... (cached) yes checking for pid_t in sys/types.h... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking return type of signal handlers... void checking size of int... 4 checking size of long... 8 checking for clock_t in any of , and ... yes checking for sigset_t in and ... (cached) yes checking for rlim_t in and ... yes checking for working memmove... yes checking for memset... yes checking for confstr... yes checking for dup2... (cached) yes checking for flock... yes checking for getcwd... (cached) yes checking for getwd... (cached) yes checking for killpg... (cached) yes checking for nice... yes checking for setrlimit... (cached) yes checking for strerror... (cached) yes checking for strcasecmp... (cached) yes checking for strstr... (cached) yes checking for sysconf... (cached) yes checking for tcsetpgrp... yes checking for ulimit... yes checking for waitpid... (cached) yes checking for wait3... (cached) yes checking for sigsetjmp... yes checking for valloc... yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for lstat... yes checking for sys_errlist declaration in errno.h... no checking for sys_errlist in library... yes checking for sys_siglist declaration in signal.h or unistd.h... yes checking for sys_siglist in library... yes checking time() declaration in time.h... yes checking if times() is present/working... yes checking whether stat file-mode macros are broken... no checking for st_rdev in struct stat... yes checking for working const... yes checking if compiler understands void... yes checking if compiler understands volatile... yes checking if compiler understands prototypes... yes checking if C compiler groks __attribute__(( .. ))... yes checking whether #! works in shell scripts... yes checking for a BSD compatible install... /usr/bin/install -c checking if dup2() works (ie, resets the close-on-exec flag)... yes checking flavour of signal routines... posix checking flavour of pgrp routines... posix checking if process group synchronization is required... no checking if opendir() fails to open non-directories... yes checking if you have /dev/fd/n... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for pdksh-5.2.14p2_7 --- emacs.out --- --- ksh.1 --- --- stamp-h --- --- emacs.out --- ./emacs-gen.sh ./emacs.c > tmpemacs.out --- ksh.1 --- ./mkman ksh ./ksh.Man > tmpksh.1 --- stamp-h --- CONFIG_FILES="" CONFIG_HEADERS=config.h ./config.status --- emacs.out --- mv tmpemacs.out emacs.out --- stamp-h --- creating config.h --- ksh.1 --- mv tmpksh.1 ksh.1 --- stamp-h --- config.h is unchanged date > stamp-h --- siglist.out --- --- alloc.o --- --- c_ksh.o --- --- c_sh.o --- --- c_test.o --- --- c_ulimit.o --- --- edit.o --- --- emacs.o --- --- eval.o --- --- exec.o --- --- expr.o --- --- history.o --- --- io.o --- --- jobs.o --- --- lex.o --- --- mail.o --- --- main.o --- --- misc.o --- --- missing.o --- --- path.o --- --- shf.o --- --- sigact.o --- --- syn.o --- --- table.o --- --- tree.o --- --- tty.o --- --- var.o --- --- version.o --- --- vi.o --- --- siglist.out --- ./siglist.sh "cpp -P -DHAVE_CONFIG_H -I. -I." < ./siglist.in > tmpsiglist.out --- alloc.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing alloc.c --- c_ksh.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing c_ksh.c --- c_sh.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing c_sh.c --- c_test.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing c_test.c --- c_ulimit.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing c_ulimit.c --- edit.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing edit.c --- emacs.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing emacs.c --- eval.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing eval.c --- exec.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing exec.c --- expr.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing expr.c --- history.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing history.c --- io.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing io.c --- jobs.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing jobs.c --- lex.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing lex.c --- mail.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mail.c --- main.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing main.c --- misc.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing misc.c --- missing.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing missing.c --- path.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing path.c --- shf.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing shf.c --- sigact.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing sigact.c --- table.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing table.c --- tree.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing tree.c --- syn.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing syn.c --- tty.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing tty.c --- var.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing var.c --- version.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing version.c --- vi.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing vi.c --- siglist.out --- mv tmpsiglist.out siglist.out --- trap.o --- cc -c -DHAVE_CONFIG_H -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing trap.c --- tty.o --- tty.c:8:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | get_tty(fd, ts) | ^ tty.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | set_tty(fd, ts, flags) | ^ tty.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | tty_init(init_ttystate) | ^ 3 warnings generated. --- c_ulimit.o --- c_ulimit.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | c_ulimit(wp) | ^ 1 warning generated. --- mail.o --- mail.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | mcset(interval) | ^ mail.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | mbset(p) | ^ mail.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | mpset(mptoparse) | ^ mail.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | munset(mlist) | ^ mail.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | mballoc(p, m) | ^ mail.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | mprintit( mbp ) | ^ 6 warnings generated. --- path.o --- path.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 | make_path(cwd, file, cdpathp, xsp, phys_pathp) | ^ path.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | simplify_path(path) | ^ path.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | set_current_wd(path) | ^ path.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | get_phys_path(path) | ^ path.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 | do_phys_path(xsp, xp, path) | ^ 5 warnings generated. --- table.o --- table.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | hash(n) | ^ table.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | tinit(tp, ap, tsize) | ^ table.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | texpand(tp, nsize) | ^ table.c:65:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 65 | } else if (!(tblp->flag & FINUSE)) { | ^ table.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | tsearch(tp, n, h) | ^ table.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | tenter(tp, n, h) | ^ table.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | tdelete(p) | ^ table.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | twalk(ts, tp) | ^ table.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | tnext(ts) | ^ table.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | tnamecmp(p1, p2) | ^ table.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | tsort(tp) | ^ 11 warnings generated. --- alloc.o --- alloc.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | ainit(ap) | ^ alloc.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | afreeall(ap) | ^ alloc.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | alloc(size, ap) | ^ alloc.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 | asplit(ap, bp, fp, fpp, cells) | ^ alloc.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | aresize(ptr, size, ap) | ^ alloc.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | afree(ptr, ap) | ^ alloc.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | ablockfree(bp, ap) | ^ 7 warnings generated. --- io.o --- io.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | error_prefix(fileline) | ^ io.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | can_seek(fd) | ^ io.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | ksh_dup2(ofd, nfd, errok) | ^ io.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | savefd(fd, noclose) | ^ io.c:303:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 303 | else | ^ io.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | restfd(fd, ofd) | ^ io.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | openpipe(pv) | ^ io.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | closepipe(pv) | ^ io.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | check_fd(name, mode, emsgp) | ^ io.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | coproc_read_close(fd) | ^ io.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | coproc_readw_close(fd) | ^ io.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | coproc_write_close(fd) | ^ io.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | coproc_getfd(mode, emsgp) | ^ io.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 | coproc_cleanup(reuse) | ^ io.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | maketemp(ap, type, tlist) | ^ 15 warnings generated. --- expr.o --- expr.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | evaluate(expr, rval, error_ok) | ^ expr.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | v_evaluate(vp, expr, error_ok) | ^ expr.c:188:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 188 | errorf(null); | ^~~~ expr.c:188:11: note: treat the string as an argument to avoid this 188 | errorf(null); | ^ | "%s", expr.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | evalerr(es, type, str) | ^ expr.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | evalexpr(es, prec) | ^ expr.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | token(es) | ^ expr.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | do_ppmm(es, op, vasn, is_prefix) | ^ expr.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | assign_check(es, op, vasn) | ^ expr.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | intvar(es, vp) | ^ 9 warnings generated. --- c_test.o --- c_test.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | c_test(wp) | ^ c_test.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 | test_isop(te, meta, s) | ^ c_test.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | test_eval(te, op, opnd1, opnd2, do_eval) | ^ c_test.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | test_stat(path, statb) | ^ c_test.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 | test_eaccess(path, mode) | ^ c_test.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | test_parse(te) | ^ c_test.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | test_oexpr(te, do_eval) | ^ c_test.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | test_aexpr(te, do_eval) | ^ c_test.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | test_nexpr(te, do_eval) | ^ c_test.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | test_primary(te, do_eval) | ^ c_test.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | ptest_isa(te, meta) | ^ c_test.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | ptest_getopnd(te, op, do_eval) | ^ c_test.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | ptest_eval(te, op, opnd1, opnd2, do_eval) | ^ c_test.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | ptest_error(te, offset, msg) | ^ 14 warnings generated. --- history.o --- history.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | c_fc(wp) | ^ history.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | hist_execute(cmd) | ^ history.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | hist_replace(hp, pat, rep, global) | ^ history.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | hist_get(str, approx, allow_cur) | ^ history.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | hist_get_newest(allow_cur) | ^ history.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | histnum(n) | ^ history.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | findhist(start, fwd, str, anchored) | ^ history.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | sethistsize(n) | ^ history.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | sethistfile(name) | ^ history.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | histsave(lno, cmd, dowrite) | ^ history.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | histappend(cmd, nl_separate) | ^ history.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | hist_init(s) | ^ 12 warnings generated. --- main.o --- main.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | main(argc, argv) | ^ main.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | include(name, argc, argv, intr_ok) | ^ main.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | command(comm) | ^ main.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | shell(s, toplevel) | ^ main.c:546:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 546 | shellf(newline); | ^~~~~~~ main.c:546:13: note: treat the string as an argument to avoid this 546 | shellf(newline); | ^ | "%s", main.c:582:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 582 | else | ^ main.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | unwind(i) | ^ main.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | newenv(type) | ^ main.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | remove_temps(tp) | ^ main.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | is_restricted(name) | ^ main.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | aerror(ap, msg) | ^ main.c:839:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 839 | errorf(null); /* this is never executed - keeps gcc quiet */ | ^~~~ main.c:839:9: note: treat the string as an argument to avoid this 839 | errorf(null); /* this is never executed - keeps gcc quiet */ | ^ | "%s", 12 warnings generated. --- tree.o --- tree.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | ptree(t, indent, shf) | ^ tree.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | pioact(shf, indent, iop) | ^ tree.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] 271 | tputC(c, shf) | ^ tree.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | tputS(wp, shf) | ^ tree.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | vfptreef(shf, indent, fmt, va) | ^ tree.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | tcopy(t, ap) | ^ tree.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | wdcopy(wp, ap) | ^ tree.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | wdscan(wp, c) | ^ tree.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | wdstrip(wp) | ^ tree.c:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | iocopy(iow, ap) | ^ tree.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | tfree(t, ap) | ^ tree.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | iofree(iow, ap) | ^ 12 warnings generated. --- trap.o --- trap.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | alarm_catcher(sig) | ^ trap.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | gettrap(name, igncase) | ^ trap.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | trapsig(i) | ^ trap.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | runtraps(flag) | ^ trap.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | runtrap(p) | ^ trap.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | settrap(p, s) | ^ trap.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | restore_pipe(restore_dfl) | ^ trap.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | setsig(p, f, flags) | ^ trap.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | setexecsig(p, restore) | ^ 9 warnings generated. --- c_sh.o --- c_sh.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | c_label(wp) | ^ c_sh.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | c_shift(wp) | ^ c_sh.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | c_umask(wp) | ^ c_sh.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | c_dot(wp) | ^ c_sh.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | c_wait(wp) | ^ c_sh.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | c_read(wp) | ^ c_sh.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | c_eval(wp) | ^ c_sh.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | c_trap(wp) | ^ c_sh.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | c_exitreturn(wp) | ^ c_sh.c:566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | c_brkcont(wp) | ^ c_sh.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | c_set(wp) | ^ c_sh.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | c_unset(wp) | ^ c_sh.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | c_times(wp) | ^ c_sh.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | timex(t, f) | ^ c_sh.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | timex_hook(t, app) | ^ c_sh.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | clocktos(t) | ^ c_sh.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | c_exec(wp) | ^ c_sh.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | c_builtin(wp) | ^ 18 warnings generated. --- shf.o --- shf.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | shf_open(name, oflags, mode, sflags) | ^ shf.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | shf_fdopen(fd, sflags, shf) | ^ shf.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | shf_reopen(fd, sflags, shf) | ^ shf.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | shf_sopen(buf, bsize, sflags, shf) | ^ shf.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | shf_close(shf) | ^ shf.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | shf_fdclose(shf) | ^ shf.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | shf_sclose(shf) | ^ shf.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | shf_finish(shf) | ^ shf.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | shf_flush(shf) | ^ shf.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 | shf_emptybuf(shf, flags) | ^ shf.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | shf_fillbuf(shf) | ^ shf.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | shf_seek(shf, where, from) | ^ shf.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | shf_read(buf, bsize, shf) | ^ shf.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | shf_getse(buf, bsize, shf) | ^ shf.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | shf_getchar(shf) | ^ shf.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | shf_ungetc(c, shf) | ^ shf.c:640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | shf_putchar(c, shf) | ^ shf.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | shf_puts(s, shf) | ^ shf.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | shf_write(buf, nbytes, shf) | ^ shf.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | shf_vfprintf(shf, fmt, args) | ^ 20 warnings generated. --- syn.o --- syn.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | pipeline(cf) | ^ syn.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | c_list(multi) | ^ syn.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | synio(cf) | ^ syn.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | musthave(c, cf) | ^ syn.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 | nested(type, smark, emark) | ^ syn.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | get_command(cf) | ^ syn.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | casepart(endtok) | ^ syn.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | function_body(name, ksh_func) | ^ syn.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | block(type, t1, t2, wp) | ^ syn.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | syntaxerr(what) | ^ syn.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | nesting_push(save, tok) | ^ syn.c:761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | nesting_pop(saved) | ^ syn.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | newtp(type) | ^ syn.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | compile(s) | ^ syn.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | assign_command(s) | ^ syn.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | inalias(s) | ^ syn.c:855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | dbtestp_isa(te, meta) | ^ syn.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | dbtestp_getopnd(te, op, do_eval) | ^ syn.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | dbtestp_eval(te, op, opnd1, opnd2, do_eval) | ^ syn.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | dbtestp_error(te, offset, msg) | ^ 20 warnings generated. --- var.o --- var.c:69:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 69 | else | ^ var.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 | array_index_calc(n, arrayp, valp) | ^ var.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | global(n) | ^ var.c:223:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 223 | else | ^ var.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | local(n, copy) | ^ var.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | str_val(vp) | ^ var.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | intval(vp) | ^ var.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | setstr(vq, s, error_ok) | ^ var.c:361:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 361 | errorf(null); | ^~~~ var.c:361:11: note: treat the string as an argument to avoid this 361 | errorf(null); | ^ | "%s", var.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 | setint(vq, n) | ^ var.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | getint(vp, nump) | ^ var.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 | setint_v(vq, vp) | ^ var.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | formatstr(vp, s) | ^ var.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | export(vp, val) | ^ var.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | typeset(var, set, clr, field, base) | ^ var.c:714:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 714 | errorf(null); | ^~~~ var.c:714:14: note: treat the string as an argument to avoid this 714 | errorf(null); | ^ | "%s", var.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | unset(vp, array_ref) | ^ var.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | skip_varname(s, aok) | ^ var.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | skip_wdvarname(s, aok) | ^ var.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | is_wdvarname(s, aok) | ^ var.c:832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | is_wdvarassign(s) | ^ var.c:897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | special(name) | ^ var.c:908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | unspecial(name) | ^ var.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 | getspec(vp) | ^ var.c:966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | setspec(vp) | ^ var.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | unsetspec(vp) | ^ var.c:1126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1126 | arraysearch(vp, val) | ^ var.c:1170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | array_ref_len(cp) | ^ var.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | arrayname(str) | ^ var.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | set_array(var, reset, vals) | ^ 30 warnings generated. --- jobs.o --- jobs.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | j_init(mflagset) | ^ jobs.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | exchild(t, flags, close_fd) | ^ jobs.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | waitfor(cp, sigp) | ^ jobs.c:809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | j_kill(cp, sig) | ^ jobs.c:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | j_resume(cp, bg) | ^ jobs.c:894:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 894 | shprintf(newline); | ^~~~~~~ jobs.c:894:11: note: treat the string as an argument to avoid this 894 | shprintf(newline); | ^ | "%s", jobs.c:992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | j_jobs(cp, slp, nflag) | ^ jobs.c:1103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | j_set_async(j) | ^ jobs.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | j_startjob(j) | ^ jobs.c:1170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | j_waitj(j, flags, where) | ^ jobs.c:1308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1308 | j_sigchld(sig) | ^ jobs.c:1395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1395 | check_job(j) | ^ jobs.c:1504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1504 | j_print(j, how, shf) | ^ jobs.c:1570:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1570 | else | ^ jobs.c:1613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1613 | j_lookup(cp, ecodep) | ^ jobs.c:1755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1755 | remove_job(j, where) | ^ jobs.c:1797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1797 | put_job(j, where) | ^ jobs.c:1834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1834 | kill_job(j, sig) | ^ 18 warnings generated. --- exec.o --- exec.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | fd_clexec(fd) | ^ exec.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 | execute(t, flags) | ^ exec.c:148:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 148 | errorf(null); | ^~~~ exec.c:148:13: note: treat the string as an argument to avoid this 148 | errorf(null); | ^ | "%s", exec.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | comexec(t, tp, ap, flags) | ^ exec.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | scriptexec(tp, ap) | ^ exec.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | shcomexec(wp) | ^ exec.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | findfunc(name, h, create) | ^ exec.c:912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | define(name, t) | ^ exec.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | builtin(name, func) | ^ exec.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | findcom(name, flags) | ^ exec.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | flushcom(all) | ^ exec.c:1104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1104 | search_access(path, mode, errnop) | ^ exec.c:1201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | search(name, path, mode, errnop) | ^ exec.c:1271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | call_builtin(tp, wp) | ^ exec.c:1294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1294 | iosetup(iop, tp) | ^ exec.c:1432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | herein(content, sub) | ^ exec.c:1501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1501 | do_selectargs(ap, print_menu) | ^ exec.c:1543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1543 | select_fmt_entry(arg, i, buf, buflen) | ^ exec.c:1560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | pr_menu(ap) | ^ exec.c:1613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1613 | dbteste_isa(te, meta) | ^ exec.c:1654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | dbteste_getopnd(te, op, do_eval) | ^ exec.c:1678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1678 | dbteste_eval(te, op, opnd1, opnd2, do_eval) | ^ exec.c:1689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1689 | dbteste_error(te, offset, msg) | ^ 23 warnings generated. --- c_ksh.o --- c_ksh.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | c_cd(wp) | ^ c_ksh.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | c_pwd(wp) | ^ c_ksh.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | c_print(wp) | ^ c_ksh.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | c_whence(wp) | ^ c_ksh.c:561:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 561 | shprintf(newline); | ^~~~~~~ c_ksh.c:561:13: note: treat the string as an argument to avoid this 561 | shprintf(newline); | ^ | "%s", c_ksh.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | c_command(wp) | ^ c_ksh.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | c_typeset(wp) | ^ c_ksh.c:861:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 861 | shprintf(newline); | ^~~~~~~ c_ksh.c:861:17: note: treat the string as an argument to avoid this 861 | shprintf(newline); | ^ | "%s", c_ksh.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 | c_alias(wp) | ^ c_ksh.c:952:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 952 | shprintf(newline); | ^~~~~~~ c_ksh.c:952:14: note: treat the string as an argument to avoid this 952 | shprintf(newline); | ^ | "%s", c_ksh.c:976:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 976 | shprintf(newline); | ^~~~~~~ c_ksh.c:976:14: note: treat the string as an argument to avoid this 976 | shprintf(newline); | ^ | "%s", c_ksh.c:1013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | c_unalias(wp) | ^ c_ksh.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | c_let(wp) | ^ c_ksh.c:1087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | c_jobs(wp) | ^ c_ksh.c:1116:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1116 | else | ^ c_ksh.c:1125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1125 | c_fgbg(wp) | ^ c_ksh.c:1158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1158 | kill_fmt_entry(arg, i, buf, buflen) | ^ c_ksh.c:1182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | c_kill(wp) | ^ c_ksh.c:1221:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1221 | bi_errorf(null); | ^~~~ c_ksh.c:1221:13: note: treat the string as an argument to avoid this 1221 | bi_errorf(null); | ^ | "%s", c_ksh.c:1242:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1242 | shprintf(newline); | ^~~~~~~ c_ksh.c:1242:13: note: treat the string as an argument to avoid this 1242 | shprintf(newline); | ^ | "%s", c_ksh.c:1291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | getopts_reset(val) | ^ c_ksh.c:1302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | c_getopts(wp) | ^ c_ksh.c:1402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | c_bind(wp) | ^ 23 warnings generated. --- edit.o --- edit.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | x_sigwinch(sig) | ^ edit.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | x_read(buf, len) | ^ edit.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | x_putc(c) | ^ edit.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | x_puts(s) | ^ edit.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | x_mode(onoff) | ^ edit.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | promptlen(cp, spp) | ^ edit.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | set_editmode(ed) | ^ edit.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | x_do_comment(buf, bsize, lenp) | ^ edit.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | x_print_expansions(nwords, words, is_command) | ^ edit.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | x_file_glob(flags, str, slen, wordsp) | ^ edit.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | path_order_cmp(aa, bb) | ^ edit.c:632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | x_command_glob(flags, str, slen, wordsp) | ^ edit.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | x_locate_word(buf, buflen, pos, startp, is_commandp) | ^ edit.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | x_cf_glob(flags, buf, buflen, pos, startp, endp, wordsp, is_commandp) | ^ edit.c:808:54: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | nwords = (is_command ? x_command_glob : x_file_glob)(flags, | ^ edit.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | add_glob(str, slen) | ^ edit.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | x_longest_prefix(nwords, words) | ^ edit.c:890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | x_free_words(nwords, words) | ^ edit.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | x_basename(s, se) | ^ edit.c:942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | glob_table(pat, wp, tp) | ^ edit.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | glob_path(flags, pat, wp, path) | ^ 21 warnings generated. --- misc.o --- misc.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | setctypes(s, t) | ^ misc.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | ulton(n, base) | ^ misc.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 | str_save(s, ap) | ^ misc.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | str_nsave(s, n, ap) | ^ misc.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | Xcheck_grow_(xsp, xp, more) | ^ misc.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | option(n) | ^ misc.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 | options_fmt_entry(arg, i, buf, buflen) | ^ misc.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | printoptions(verbose) | ^ misc.c:251:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 251 | shprintf(newline); | ^~~~~~~ misc.c:251:12: note: treat the string as an argument to avoid this 251 | shprintf(newline); | ^ | "%s", misc.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] 271 | change_flag(f, what, newval) | ^ misc.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | parse_args(argv, what, setargsp) | ^ misc.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | getn(as, ai) | ^ misc.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | bi_getn(as, ai) | ^ misc.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | gmatch(s, p, isfile) | ^ misc.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | has_globbing(xp, xpe) | ^ misc.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | do_gmatch(s, se, p, pe, isfile) | ^ misc.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | cclass(p, sub) | ^ misc.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | pat_scan(p, pe, match_sep) | ^ misc.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | qsortp(base, n, f) | ^ misc.c:837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | qsort1(base, lim, f) | ^ misc.c:908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | xstrcmp(p1, p2) | ^ misc.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | ksh_getopt_reset(go, flags) | ^ misc.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | ksh_getopt(argv, go, options) | ^ misc.c:996:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 996 | bi_errorf(null); | ^~~~ misc.c:996:15: note: treat the string as an argument to avoid this 996 | bi_errorf(null); | ^ | "%s", misc.c:1022:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1022 | bi_errorf(null); | ^~~~ misc.c:1022:15: note: treat the string as an argument to avoid this 1022 | bi_errorf(null); | ^ | "%s", misc.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | print_value_quoted(s) | ^ misc.c:1073:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 1073 | shprintf("'\\'" + 1 - inquote); | ~~~~~~~^~~ misc.c:1073:20: note: use array indexing to silence this warning 1073 | shprintf("'\\'" + 1 - inquote); | ^ | & [ ] misc.c:1073:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1073 | shprintf("'\\'" + 1 - inquote); | ^~~~~~~~~~~~~~~~~~~~ misc.c:1073:13: note: treat the string as an argument to avoid this 1073 | shprintf("'\\'" + 1 - inquote); | ^ | "%s", misc.c:1091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | print_columns(shf, n, func, arg, max_width) | ^ misc.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | strip_nuls(buf, nbytes) | ^ misc.c:1175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1175 | str_zcpy(dst, src, dsize) | ^ misc.c:1195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | blocking_read(fd, buf, nbytes) | ^ misc.c:1227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1227 | reset_nonblock(fd) | ^ misc.c:1284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1284 | ksh_get_wd(buf, bsize) | ^ 34 warnings generated. --- lex.o --- lex.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 | yylex(cf) | ^ lex.c:651:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 651 | else | ^ lex.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | readhere(iop) | ^ lex.c:859:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 859 | errorf(null); | ^~~~ lex.c:859:9: note: treat the string as an argument to avoid this 859 | errorf(null); | ^ | "%s", lex.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | pushs(type, areap) | ^ lex.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | getsc_line(s) | ^ lex.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | set_prompt(to, s) | ^ lex.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | pprompt(cp, ntruncate) | ^ lex.c:1210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | get_brace_var(wsp, wp) | ^ lex.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | arraysub(strp) | ^ lex.c:1315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | ungetsc(c) | ^ lex.c:1368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | push_state_(si, old_end) | ^ lex.c:1381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | pop_state_(si, old_end) | ^ 13 warnings generated. --- eval.o --- eval.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | substitute(cp, f) | ^ eval.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | eval(ap, f) | ^ eval.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | evalstr(cp, f) | ^ eval.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | evalonestr(cp, f) | ^ eval.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | expand(cp, wp, f) | ^ eval.c:334:19: warning: implicit conversion from 'int' to 'char' changes value from 192 to -64 [-Wconstant-conversion] 334 | *dp++ = '@' + 0x80; | ~ ~~~~^~~~~~ eval.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | varsub(xp, sp, word, stypep, slenp) | ^ eval.c:839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | comsub(xp, cp) | ^ eval.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | trimsub(str, pat, how) | ^ eval.c:944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | glob(cp, wp, markdirs) | ^ eval.c:967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | glob_str(cp, wp, markdirs) | ^ eval.c:984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | globit(xs, xpp, sp, wp, check) | ^ eval.c:1176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | debunk(dp, sp) | ^ eval.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 | maybe_expand_tilde(p, dsp, dpp, isassign) | ^ eval.c:1247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | tilde(cp) | ^ eval.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | homedir(name) | ^ eval.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | alt_expand(wp, start, exp_start, end, fdo) | ^ 17 warnings generated. --- emacs.o --- emacs.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 | x_emacs(buf, len) | ^ emacs.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | x_insert(c) | ^ emacs.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | x_ins_string(c) | ^ emacs.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | x_do_ins(cp, len) | ^ emacs.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | x_ins(s) | ^ emacs.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | x_del_back(c) | ^ emacs.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 | x_del_char(c) | ^ emacs.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | x_delete(nc, force_push) | ^ emacs.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | x_del_bword(c) | ^ emacs.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | x_mv_bword(c) | ^ emacs.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | x_mv_fword(c) | ^ emacs.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | x_del_fword(c) | ^ emacs.c:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | x_goto(cp) | ^ emacs.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | x_bs(c) | ^ emacs.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | x_size_str(cp) | ^ emacs.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | x_size(c) | ^ emacs.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | x_zots(str) | ^ emacs.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | x_zotc(c) | ^ emacs.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | x_mv_back(c) | ^ emacs.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | x_mv_forw(c) | ^ emacs.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | x_search_char_forw(c) | ^ emacs.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | x_search_char_back(c) | ^ emacs.c:807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | x_newline(c) | ^ emacs.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | x_end_of_text(c) | ^ emacs.c:824:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | static int x_beg_hist(c) int c; { x_load_hist(history); return KSTD;} | ^ emacs.c:826:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | static int x_end_hist(c) int c; { x_load_hist(histptr); return KSTD;} | ^ emacs.c:828:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | static int x_prev_com(c) int c; { x_load_hist(x_histp - x_arg); return KSTD;} | ^ emacs.c:830:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | static int x_next_com(c) int c; { x_load_hist(x_histp + x_arg); return KSTD;} | ^ emacs.c:837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | x_goto_hist(c) | ^ emacs.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | x_load_hist(hp) | ^ emacs.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | x_nl_next_com(c) | ^ emacs.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | x_eot_del(c) | ^ emacs.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | x_search_hist(c) | ^ emacs.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | x_search(pat, sameline, offset) | ^ emacs.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 | x_match(str, pat) | ^ emacs.c:989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | x_del_line(c) | ^ emacs.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | x_mv_end(c) | ^ emacs.c:1016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | x_mv_begin(c) | ^ emacs.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 | x_draw_line(c) | ^ emacs.c:1037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | x_redraw(limit) | ^ emacs.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1093 | x_transpose(c) | ^ emacs.c:1146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | x_literal(c) | ^ emacs.c:1154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | x_meta1(c) | ^ emacs.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | x_meta2(c) | ^ emacs.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | x_kill(c) | ^ emacs.c:1201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | x_push(nchars) | ^ emacs.c:1212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | x_yank(c) | ^ emacs.c:1231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | x_meta_yank(c) | ^ emacs.c:1254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1254 | x_abort(c) | ^ emacs.c:1265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | x_error(c) | ^ emacs.c:1273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | x_stuffreset(c) | ^ emacs.c:1290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | x_stuff(c) | ^ emacs.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | x_mapin(cp) | ^ emacs.c:1336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | x_mapout(c) | ^ emacs.c:1358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1358 | x_print(prefix, key) | ^ emacs.c:1377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | x_bind(a1, a2, macro, list) | ^ emacs.c:1498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1498 | bind_if_not_bound(p, k, func) | ^ emacs.c:1511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | x_emacs_keys(ec) | ^ emacs.c:1529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1529 | x_set_mark(c) | ^ emacs.c:1537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1537 | x_kill_region(c) | ^ emacs.c:1561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1561 | x_xchg_point_mark(c) | ^ emacs.c:1577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | x_version(c) | ^ emacs.c:1607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1607 | x_noop(c) | ^ emacs.c:1672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | x_comp_comm(c) | ^ emacs.c:1679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1679 | x_list_comm(c) | ^ emacs.c:1686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1686 | x_complete(c) | ^ emacs.c:1693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | x_enumerate(c) | ^ emacs.c:1700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | x_comp_file(c) | ^ emacs.c:1707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1707 | x_list_file(c) | ^ emacs.c:1714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1714 | x_comp_list(c) | ^ emacs.c:1721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1721 | x_expand(c) | ^ emacs.c:1753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1753 | do_complete(flags, type) | ^ emacs.c:1877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | x_e_ungetc(c) | ^ emacs.c:1904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1904 | x_e_putc(c) | ^ emacs.c:1953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1953 | x_e_puts(s) | ^ emacs.c:1973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1973 | x_set_arg(c) | ^ emacs.c:1997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1997 | x_comment(c) | ^ emacs.c:2034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2034 | x_prev_histword(c) | ^ emacs.c:2084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2084 | x_fold_upper(c) | ^ emacs.c:2092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2092 | x_fold_lower(c) | ^ emacs.c:2100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2100 | x_fold_capitialize(c) | ^ emacs.c:2118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2118 | x_fold_case(c) | ^ 82 warnings generated. --- vi.o --- vi.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | x_vi(buf, len) | ^ vi.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | vi_hook(ch) | ^ vi.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | vi_reset(buf, len) | ^ vi.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | nextstate(ch) | ^ vi.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | vi_insert(ch) | ^ vi.c:710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | vi_cmd(argcnt, cmd) | ^ vi.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | domove(argcnt, cmd, sub) | ^ vi.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | redo_insert(count) | ^ vi.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | yank_range(a, b) | ^ vi.c:1335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1335 | bracktype(ch) | ^ vi.c:1398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | save_edstate(old) | ^ vi.c:1414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1414 | restore_edstate(new, old) | ^ vi.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | free_edstate(old) | ^ vi.c:1435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1435 | edit_reset(buf, len) | ^ vi.c:1474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | putbuf(buf, len, repl) | ^ vi.c:1499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1499 | del_range(a, b) | ^ vi.c:1508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1508 | findch(ch, cnt, forw, incl) | ^ vi.c:1540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1540 | forwword(argcnt) | ^ vi.c:1563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | backword(argcnt) | ^ vi.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | endword(argcnt) | ^ vi.c:1616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | Forwword(argcnt) | ^ vi.c:1632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1632 | Backword(argcnt) | ^ vi.c:1649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1649 | Endword(argcnt) | ^ vi.c:1670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1670 | grabhist(save, n) | ^ vi.c:1699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1699 | grabsearch(save, start, fwd, pat) | ^ vi.c:1735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1735 | redraw_line(newline) | ^ vi.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | refresh(leftside) | ^ vi.c:1803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1803 | newcol(ch, col) | ^ vi.c:1812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1812 | display(wb1, wb2, leftside) | ^ vi.c:1907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1907 | ed_mov_opt(col, wb) | ^ vi.c:1933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1933 | expand_word(command) | ^ vi.c:1988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | complete_word(command, count) | ^ vi.c:2094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2094 | print_expansions(e, command) | ^ vi.c:2118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2118 | char_len(c) | ^ vi.c:2134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2134 | x_vi_zotc(c) | ^ vi.c:2149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2149 | vi_pprompt(full) | ^ 36 warnings generated. --- ksh --- cc -o ksh alloc.o c_ksh.o c_sh.o c_test.o c_ulimit.o edit.o emacs.o eval.o exec.o expr.o history.o io.o jobs.o lex.o mail.o main.o misc.o missing.o path.o shf.o sigact.o syn.o table.o trap.o tree.o tty.o var.o version.o vi.o =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for pdksh-5.2.14p2_7 ===> Generating temporary packing list ./mkinstalldirs /wrkdirs/usr/ports/shells/pdksh/work/stage/usr/local/bin /wrkdirs/usr/ports/shells/pdksh/work/stage/usr/local/share/man/man1 install -s -m 555 ksh /wrkdirs/usr/ports/shells/pdksh/work/stage/usr/local/bin/`echo ksh|sed 's,x,x,'` install -m 0644 ksh.1 /wrkdirs/usr/ports/shells/pdksh/work/stage/usr/local/share/man/man1/`echo ksh|sed 's,x,x,'`.1 NOTE: /etc/shells does not contain /wrkdirs/usr/ports/shells/pdksh/work/stage/usr/local/bin/ksh you should add it if you want to set your shell to ksh ====> 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-11T09:00:35+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=555dd8d1ed78' '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 pdksh-5.2.14p2_7 ===> Building pdksh-5.2.14p2_7 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for pdksh-5.2.14p2_7 build of shells/pdksh | pdksh-5.2.14p2_7 ended at Wed Mar 11 05:01:05 EDT 2026 build time: 00:00:31