=>> Building graphics/xpx build started at Fri Mar 13 05:11:22 EDT 2026 port directory: /usr/ports/graphics/xpx package name: xpx-1.41_2 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 857 Aug 27 2024 /usr/ports/graphics/xpx/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: fb16dfecae4a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 03 ---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/03/.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 xpx-1.41_2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/xpx/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/xpx/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/xpx/work/.cache HOME=/wrkdirs/usr/ports/graphics/xpx/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/xpx/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/xpx/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/xpx/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/xpx/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/xpx/work/.cache HOME=/wrkdirs/usr/ports/graphics/xpx/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/xpx/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/xpx/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ja/xpx" EXAMPLESDIR="share/examples/xpx" DATADIR="share/xpx" WWWDIR="www/xpx" ETCDIR="etc/xpx" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xpx DOCSDIR=/usr/local/share/doc/ja/xpx EXAMPLESDIR=/usr/local/share/examples/xpx WWWDIR=/usr/local/www/xpx ETCDIR=/usr/local/etc/xpx --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xpx port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xpx-1.41_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> xpx-1.41_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xpx-1.41_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xpx port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by xpx-1.41_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xpx port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by xpx-1.41_2 for building => SHA256 Checksum OK for xpx141.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xpx port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by xpx-1.41_2 for building ===> Extracting for xpx-1.41_2 => SHA256 Checksum OK for xpx141.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for xpx-1.41_2 ===> Applying FreeBSD patches for xpx-1.41_2 from /usr/ports/graphics/xpx/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xpx-1.41_2 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg.DaveG.ca] Installing imake-1.0.10_1,1... [pkg.DaveG.ca] `-- Installing gccmakedep-1.0.4... [pkg.DaveG.ca] `-- Extracting gccmakedep-1.0.4: .. done [pkg.DaveG.ca] `-- Installing makedepend-1.0.9,1... [pkg.DaveG.ca] `-- Extracting makedepend-1.0.9,1: .. done [pkg.DaveG.ca] `-- Installing perl5-5.42.0_1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.0_1: .......... done [pkg.DaveG.ca] `-- Installing xorg-cf-files-1.0.8_1... [pkg.DaveG.ca] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg.DaveG.ca] Extracting imake-1.0.10_1,1: .......... done ===> xpx-1.41_2 depends on executable: imake - found ===> Returning to build of xpx-1.41_2 ===> xpx-1.41_2 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg.DaveG.ca] Installing tradcpp-0.5.3... [pkg.DaveG.ca] Extracting tradcpp-0.5.3: .. done ===> xpx-1.41_2 depends on executable: tradcpp - found ===> Returning to build of xpx-1.41_2 ===> xpx-1.41_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.12,1... [pkg.DaveG.ca] `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.12,1: .......... done ===> xpx-1.41_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xpx-1.41_2 ===> xpx-1.41_2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.6,1.pkg [pkg.DaveG.ca] Installing libXext-1.3.6,1... [pkg.DaveG.ca] Extracting libXext-1.3.6,1: .......... done ===> xpx-1.41_2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of xpx-1.41_2 ===> xpx-1.41_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> xpx-1.41_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of xpx-1.41_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xpx-1.41_2 creating cache ./config.cache checking how to run the C preprocessor... cc -E checking whether cross-compiling... no checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for -ldir... no checking whether time.h and sys/time.h may both be included... yes checking for stdlib.h... yes checking for string.h... yes checking for strings.h... yes checking for stdarg.h... yes checking for varargs.h... no checking for sys/dir.h... no checking for unistd.h... yes checking for malloc.h... yes checking for sys/wait.h... yes checking for sys/time.h... yes checking for math.h... yes checking return type of signal handlers... void checking for strchr... yes checking for memcpy... yes checking for bzero... yes checking for usleep... yes checking for gettimeofday... yes checking for opendir... yes checking for closedir... yes checking for readdir... yes checking for getcwd... yes checking for vfork... yes updating cache ./config.cache creating ./config.status creating config.h imake -DUseInstalled -I/usr/local/lib/X11/config =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xpx-1.41_2 --- icondef.h --- --- iconsize --- --- iconbits --- --- main.o --- --- work.o --- --- image.o --- --- menu.o --- --- palset.o --- --- colset.o --- --- zoom.o --- --- convert.o --- --- grid.o --- --- cursor.o --- --- tile.o --- --- inputstr.o --- --- dir.o --- --- edit.o --- --- message.o --- --- undo.o --- --- line.o --- --- circle.o --- --- ellipse.o --- --- paint.o --- --- mag.o --- --- cbb.o --- --- magtoppm.o --- --- tim.o --- --- nbn.o --- --- hold.o --- --- iconbits --- awk -f xbmbits.awk mars.xbm up.xbm down.xbm left.xbm right.xbm fliph.xbm flipv.xbm turnl.xbm turnr.xbm >iconbits --- iconsize --- awk -f xbmsize.awk mars.xbm up.xbm down.xbm left.xbm right.xbm fliph.xbm flipv.xbm turnl.xbm turnr.xbm >iconsize --- icondef.h --- echo "#define ICON_REVERSE 0x80" >icondef.h echo mars.xbm up.xbm down.xbm left.xbm right.xbm fliph.xbm flipv.xbm turnl.xbm turnr.xbm | awk -f icondef.awk >>icondef.h --- tim.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c tim.c -o tim.o --- main.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c main.c -o main.o --- work.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c work.c -o work.o --- image.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c image.c -o image.o --- menu.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c menu.c -o menu.o --- palset.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c palset.c -o palset.o --- colset.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c colset.c -o colset.o --- zoom.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c zoom.c -o zoom.o --- convert.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c convert.c -o convert.o --- grid.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c grid.c -o grid.o --- cursor.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c cursor.c -o cursor.o --- tile.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c tile.c -o tile.o --- inputstr.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c inputstr.c -o inputstr.o --- dir.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c dir.c -o dir.o --- edit.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c edit.c -o edit.o --- message.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c message.c -o message.o --- undo.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c undo.c -o undo.o --- line.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c line.c -o line.o --- circle.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c circle.c -o circle.o --- ellipse.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c ellipse.c -o ellipse.o --- paint.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c paint.c -o paint.o --- mag.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c mag.c -o mag.o --- cbb.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c cbb.c -o cbb.o --- magtoppm.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c magtoppm.c -o magtoppm.o --- icon.o --- --- info.o --- --- scrl.o --- --- sub.o --- --- file.o --- --- area.o --- --- nbn.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c nbn.c -o nbn.o --- hold.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c hold.c -o hold.o --- icon.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c icon.c -o icon.o --- info.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c info.c -o info.o --- scrl.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c scrl.c -o scrl.o --- sub.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c sub.c -o sub.o --- file.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c file.c -o file.o --- area.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c area.c -o area.o --- circle.o --- circle.c:12:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | int circle(pp, xc, yc, r) | ^ 1 warning generated. --- line.o --- line.c:22:8: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | dx = abs(x2 - x1); dy = abs(y2 - y1); | ^ line.c:22:8: note: include the header or explicitly provide a declaration for 'abs' line.c:13:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | int line(pp, x1, y1, x2, y2) | ^ 2 warnings generated. --- ellipse.o --- ellipse.c:13:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | int ellipse(pp, xc, yc, rx, ry) | ^ 1 warning generated. --- work.o --- --- cursor.o --- cursor.c:21:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | char *curs_strfunc(p) | ^ cursor.c:84:20: warning: passing arguments to 'topmenuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | topmenuwin_create(cursmenu, x, y); | ^ cursor.c:79:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | int create_cursor_window(win, x, y) | ^ In file included from cursor.c:14: ./extern.h:168:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 168 | public int create_cursor_window(); | ^ 4 warnings generated. --- palset.o --- palset.c:23:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | char *palset_strfunc(p) | ^ palset.c:44:20: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | redraw_window(palmenu[oldpal].win); | ^ palset.c:46:20: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | redraw_window(p->win); | ^ palset.c:32:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | int palset_event(p, ev) | ^ palset.c:78:20: warning: passing arguments to 'topmenuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | topmenuwin_create(palmenu, x, y); | ^ palset.c:55:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | int create_palset_window(win, x, y) | ^ In file included from palset.c:13: ./extern.h:128:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | public int create_palset_window(); | ^ 7 warnings generated. --- grid.o --- grid.c:65:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | redraw_window(gridmenu[GRID_NUM].win); | ^ grid.c:74:20: warning: passing arguments to 'topmenuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | topmenuwin_create(gridmenu, x, y); | ^ grid.c:69:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | void create_grid_window(win, x, y) | ^ In file included from grid.c:15: ./extern.h:360:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 360 | public void create_grid_window(); | ^ grid.c:81:25: warning: passing arguments to 'menuwin_expose_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | menuwin_expose_default(&gridmenu[GRID_IN]); | ^ grid.c:83:15: warning: passing arguments to 'img_expose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | img_expose(0, 0, imgwinwidth, imgwinheight); | ^ grid.c:85:25: warning: passing arguments to 'menuwin_expose_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | menuwin_expose_default(&gridmenu[GRID_IN]); | ^ grid.c:91:25: warning: passing arguments to 'menuwin_expose_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | menuwin_expose_default(&gridmenu[GRID_OUT]); | ^ grid.c:93:15: warning: passing arguments to 'img_expose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | img_expose(0, 0, imgwinwidth, imgwinheight); | ^ grid.c:95:25: warning: passing arguments to 'menuwin_expose_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | menuwin_expose_default(&gridmenu[GRID_OUT]); | ^ grid.c:24:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | int gridev(); | ^ grid.c:98:5: note: conflicting prototype is here 98 | int gridev( | ^ grid.c:120:17: warning: passing arguments to 'img_expose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | img_expose(0, 0, imgwinwidth, imgwinheight); | ^ grid.c:126:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | redraw_window(p->win); | ^ grid.c:138:14: warning: passing arguments to 'img_expose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | img_expose(0, 0, imgwinwidth, imgwinheight); | ^ 14 warnings generated. --- menu.o --- menu.c:107:25: warning: passing arguments to 'create_toplevel_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | create_toplevel_window(&wd, "Quit?", buf, w, h); | ^ menu.c:108:17: warning: passing arguments to 'menuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | menuwin_create(p, wd, 0, 0); | ^ menu.c:94:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | Window create_dialog(p, w, h) | ^ In file included from menu.c:14: ./extern.h:204:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 204 | public Window create_dialog(); | ^ menu.c:145:20: warning: passing arguments to 'topmenuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | topmenuwin_create(menutbl, x, y); | ^ menu.c:140:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | int create_menu_window(win, x, y) | ^ In file included from menu.c:14: ./extern.h:202:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 202 | public int create_menu_window(); | ^ menu.c:164:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | redraw_window(menutbl[i].win); | ^ menu.c:149:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | void menu_stat_change(i, s) | ^ In file included from menu.c:14: ./extern.h:203:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 203 | public void menu_stat_change(); | ^ menu.c:197:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | int sureev(p, ev) | ^ menu.c:214:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | int mnev(p, ev) | ^ 12 warnings generated. --- nbn.o --- nbn.c:59:20: warning: passing arguments to 'readleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | c = readleshort(fp); | ^ nbn.c:65:12: warning: passing arguments to 'get_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | get_color(color_buf, 256); | ^ nbn.c:67:12: warning: passing arguments to 'imgupdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | imgupdate(w, h); | ^ nbn.c:32:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | int rd_nbn(fp) | ^ In file included from nbn.c:20: ./extern.h:386:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 386 | public int rd_nbn(); | ^ 5 warnings generated. --- tile.o --- tile.c:110:22: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | p0 = get_top_menu(p) + tileno; | ^ tile.c:112:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | redraw_window(p0->win); | ^ tile.c:114:17: warning: passing arguments to 'set_tilemask' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | set_tilemask(&tileptrn[p->n]); | ^ tile.c:116:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | redraw_window(p->win); | ^ tile.c:102:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | int tileev(p, ev) | ^ tile.c:179:20: warning: passing arguments to 'topmenuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | topmenuwin_create(tilemenu, x, y); | ^ tile.c:180:15: warning: passing arguments to 'set_tilemask' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | set_tilemask(&tileptrn[0]); | ^ tile.c:174:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | int create_tile_window(win, x, y) | ^ In file included from tile.c:14: ./extern.h:368:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 368 | public int create_tile_window(); | ^ 9 warnings generated. --- inputstr.o --- In file included from inputstr.c:13: ./extern.h:64:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | public int edit_string(); | ^ inputstr.c:91:5: note: conflicting prototype is here 91 | int edit_string( | ^ 1 warning generated. --- tile.o --- --- inputstr.o --- --- dir.o --- --- zoom.o --- zoom.c:69:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | redraw_window(zoommenu[ZOOM_NUM].win); | ^ zoom.c:78:20: warning: passing arguments to 'topmenuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | topmenuwin_create(zoommenu, x, y); | ^ zoom.c:73:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | void create_zoom_window(win, x, y) | ^ In file included from zoom.c:15: ./extern.h:352:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 352 | public void create_zoom_window(); | ^ zoom.c:99:25: warning: passing arguments to 'menuwin_expose_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | menuwin_expose_default(&zoommenu[ZOOM_IN]); | ^ zoom.c:102:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | redraw_window(zoommenu[ZOOM_IN].win); | ^ zoom.c:108:25: warning: passing arguments to 'menuwin_expose_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | menuwin_expose_default(&zoommenu[ZOOM_OUT]); | ^ zoom.c:111:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | redraw_window(zoommenu[ZOOM_OUT].win); | ^ zoom.c:114:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | int zmev(p, ev) | ^ zoom.c:22:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | int zmev(); | ^ 10 warnings generated. --- paint.o --- paint.c:21:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | int paint_left(x, y) | ^ paint.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | int paint_right(x, y) | ^ paint.c:61:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | int paint_next(x, y) | ^ paint.c:87:13: warning: passing arguments to 'fill_area2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | fill_area2(left, y, right+1-left, 1, current_col); | ^ paint.c:77:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | void paint(x, y) | ^ In file included from paint.c:12: ./extern.h:300:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 300 | public void paint(); | ^ 6 warnings generated. --- hold.o --- hold.c:22:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | int save_holdspace(src) | ^ In file included from hold.c:12: ./extern.h:394:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 394 | public int save_holdspace(); | ^ hold.c:88:14: warning: passing arguments to 'update_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | update_area(dst->x, dst->y, dst->w, dst->h); /* XImage update */ | ^ hold.c:56:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | int load_holdspace(dst) | ^ In file included from hold.c:12: ./extern.h:395:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 395 | public int load_holdspace(); | ^ 5 warnings generated. --- icon.o --- In file included from icon.c:26: ./iconsize:1:10: warning: initializing 'char *' with an expression of type 'unsigned char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1 | {16, 16, mars_bits}, | ^~~~~~~~~ ./iconsize:2:10: warning: initializing 'char *' with an expression of type 'unsigned char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2 | {16, 16, up_bits}, | ^~~~~~~ ./iconsize:3:10: warning: initializing 'char *' with an expression of type 'unsigned char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3 | {16, 16, down_bits}, | ^~~~~~~~~ ./iconsize:4:10: warning: initializing 'char *' with an expression of type 'unsigned char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4 | {16, 16, left_bits}, | ^~~~~~~~~ ./iconsize:5:10: warning: initializing 'char *' with an expression of type 'unsigned char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5 | {16, 16, right_bits}, | ^~~~~~~~~~ ./iconsize:6:10: warning: initializing 'char *' with an expression of type 'unsigned char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6 | {16, 16, fliph_bits}, | ^~~~~~~~~~ ./iconsize:7:10: warning: initializing 'char *' with an expression of type 'unsigned char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 7 | {16, 16, flipv_bits}, | ^~~~~~~~~~ ./iconsize:8:10: warning: initializing 'char *' with an expression of type 'unsigned char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 8 | {16, 16, turnl_bits}, | ^~~~~~~~~~ ./iconsize:9:10: warning: initializing 'char *' with an expression of type 'unsigned char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 9 | {16, 16, turnr_bits}, | ^~~~~~~~~~ icon.c:35:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | Pixmap icon_pixmap(n) | ^ In file included from icon.c:13: ./extern.h:52:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | public Pixmap icon_pixmap(); | ^ icon.c:43:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | int icon_width(n) | ^ In file included from icon.c:13: ./extern.h:53:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | public int icon_width(); | ^ icon.c:49:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | int icon_height(n) | ^ In file included from icon.c:13: ./extern.h:54:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | public int icon_height(); | ^ 15 warnings generated. --- info.o --- info.c:223:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | redraw_window(p->win); | ^ info.c:217:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | void info_parm_set(p, n) | ^ info.c:242:25: warning: passing arguments to 'create_toplevel_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | create_toplevel_window(&infowin, "info", str_info_geom, | ^ info.c:251:17: warning: passing arguments to 'menuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | menuwin_create(infomenu, infowin, 0, 0); | ^ info.c:274:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | char *infostr(p) | ^ info.c:29:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | char *infostr(); | ^ info.c:330:21: warning: passing arguments to 'gen_image_subv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | gen_image_subv(0, 0, imgfilew, imgfileh); | ^ info.c:349:21: warning: passing arguments to 'menuwin_center' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | menuwin_center(viewwin, imgmaxw, imgmaxh, "view off"); | ^ info.c:336:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | void redraw_view(ev) | ^ info.c:356:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | void info_expose(ev) | ^ In file included from info.c:16: ./extern.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 143 | public void info_expose(); | ^ info.c:369:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | redraw_window(viewwin); | ^ info.c:364:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | void info_press(ev) | ^ In file included from info.c:16: ./extern.h:144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 144 | public void info_press(); | ^ info.c:392:18: warning: passing arguments to 'set_image_size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | set_image_size(i, -1); | ^ info.c:395:18: warning: passing arguments to 'set_image_size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | set_image_size(-1, i); | ^ info.c:399:18: warning: passing arguments to 'set_image_size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | set_image_size(-1, -1); | ^ info.c:403:18: warning: passing arguments to 'set_image_size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | set_image_size(-1, -1); | ^ info.c:433:17: warning: passing arguments to 'img_expose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | img_expose(0, 0, imgwinwidth, imgwinheight); | ^ info.c:439:17: warning: passing arguments to 'img_expose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | img_expose(0, 0, imgwinwidth, imgwinheight); | ^ info.c:443:23: warning: passing arguments to 'menu_stat_change' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | menu_stat_change(2, 0); | ^ info.c:448:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | redraw_window(p->win); | ^ info.c:453:33: warning: passing arguments to 'icon_pixmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | XCopyArea(dsp, icon_pixmap(ICON_mars), p->win, gc0, | ^ info.c:373:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | int infoev(p, ev) | ^ info.c:30:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | int infoev(); | ^ 25 warnings generated. --- tim.o --- tim.c:66:22: warning: passing arguments to 'readlelong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | p->len = readlelong(fp); | ^ tim.c:67:21: warning: passing arguments to 'readleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | p->x = readleshort(fp); | ^ tim.c:68:21: warning: passing arguments to 'readleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | p->y = readleshort(fp); | ^ tim.c:69:21: warning: passing arguments to 'readleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | p->w = readleshort(fp); | ^ tim.c:70:21: warning: passing arguments to 'readleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | p->h = readleshort(fp); | ^ tim.c:62:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | int read_tim_block_info(fp, p) | ^ tim.c:97:20: warning: passing arguments to 'readleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | c = readleshort(fp); | ^ tim.c:107:12: warning: passing arguments to 'get_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | get_color(color_buf, i); | ^ tim.c:81:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | int read_clut(fp) | ^ tim.c:125:17: warning: passing arguments to 'readlelong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | l = readlelong(fp); | ^ tim.c:131:17: warning: passing arguments to 'readlelong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | l = readlelong(fp); | ^ tim.c:181:12: warning: passing arguments to 'imgupdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | imgupdate(w, h); | ^ tim.c:113:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | int rd_tim(fp) | ^ In file included from tim.c:21: ./extern.h:377:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 377 | public int rd_tim(); | ^ tim.c:195:12: warning: passing arguments to 'setlelong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | setlelong(buf, 0x10L); | ^ tim.c:209:12: warning: passing arguments to 'setlelong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | setlelong(buf+4, l); | ^ tim.c:215:12: warning: passing arguments to 'setlelong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | setlelong(buf, l); | ^ tim.c:216:13: warning: passing arguments to 'setleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | setleshort(buf+4, colposx); | ^ tim.c:217:13: warning: passing arguments to 'setleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | setleshort(buf+6, colposy); | ^ tim.c:218:13: warning: passing arguments to 'setleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | setleshort(buf+8, colfilew); | ^ tim.c:219:13: warning: passing arguments to 'setleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | setleshort(buf+10, colfileh); | ^ tim.c:230:17: warning: passing arguments to 'setleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | setleshort(buf+x*2, (int)l); | ^ tim.c:240:12: warning: passing arguments to 'setlelong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | setlelong(buf, l); | ^ tim.c:241:13: warning: passing arguments to 'setleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | setleshort(buf+4, imgposx); | ^ tim.c:242:13: warning: passing arguments to 'setleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | setleshort(buf+6, imgposy); | ^ tim.c:243:13: warning: passing arguments to 'setleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | setleshort(buf+8, i); | ^ tim.c:244:13: warning: passing arguments to 'setleshort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | setleshort(buf+10, imgfileh); | ^ tim.c:186:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | int wr_tim(fp) | ^ In file included from tim.c:21: ./extern.h:376:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 376 | public int wr_tim(); | ^ tim.c:274:17: warning: passing arguments to 'readlelong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | l = readlelong(fp); | ^ tim.c:281:17: warning: passing arguments to 'readlelong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | l = readlelong(fp); | ^ tim.c:268:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | int rd_cls(fp) | ^ In file included from tim.c:21: ./extern.h:378:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 378 | public int rd_cls(); | ^ 33 warnings generated. --- info.o --- --- tim.o --- --- message.o --- message.c:96:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | redraw_window(msgline[i].win); | ^ message.c:112:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | redraw_window(msgline[current_line].win); | ^ message.c:102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | void message_store(str) | ^ message.c:198:25: warning: passing arguments to 'create_toplevel_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | create_toplevel_window(&messagewin, "message", "", MSGWIDTH, MSGHEIGHT); | ^ message.c:217:17: warning: passing arguments to 'menuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | menuwin_create(msgline, messagewin, 0, 0); | ^ message.c:231:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | int msgev(p, ev) | ^ 6 warnings generated. --- scrl.o --- scrl.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | void calc_resize_scrl(x0, y0, w0, h0) | ^ scrl.c:72:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | void resize_scrl_sub(n) | ^ scrl.c:99:18: warning: passing arguments to 'menuwin_create2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | menuwin_create2(scrlbar, win, 0, 0, scrollbarmode & 1 ? 1 : 0); | ^ scrl.c:131:21: warning: passing arguments to 'menu_icon_center' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | menu_icon_center(p, r); | ^ scrl.c:107:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | int scrlev(p, ev) | ^ scrl.c:25:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | int scrlev(); | ^ scrl.c:173:21: warning: passing arguments to 'menu_icon_center' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | menu_icon_center(p, r); | ^ scrl.c:155:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | int hslidev(p, ev) | ^ scrl.c:200:21: warning: passing arguments to 'menu_icon_center' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | menu_icon_center(p, r); | ^ scrl.c:182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | int vslidev(p, ev) | ^ scrl.c:232:13: warning: passing arguments to 'img_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | img_scroll(i-imgofsx, 0); | ^ scrl.c:209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | int hslidev2(p, ev) | ^ scrl.c:259:13: warning: passing arguments to 'img_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | img_scroll(0, i-imgofsy); | ^ scrl.c:236:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | int vslidev2(p, ev) | ^ scrl.c:333:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | void calc_resize_hslider(w0) | ^ scrl.c:360:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | void calc_resize_vslider(h0) | ^ scrl.c:400:17: warning: passing arguments to 'menuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | menuwin_create(hslider, hsliderbase, 0, 0); | ^ scrl.c:413:17: warning: passing arguments to 'menuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | menuwin_create(vslider, vsliderbase, 0, 0); | ^ 18 warnings generated. --- magtoppm.o --- magtoppm.c:130:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | int readbyte(fp) | ^ magtoppm.c:136:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | int readleshort(fp) | ^ In file included from magtoppm.c:12: ./extern.h:267:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 267 | public int readleshort(); | ^ magtoppm.c:145:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | long readlelong(fp) | ^ In file included from magtoppm.c:12: ./extern.h:268:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 268 | public long readlelong(); | ^ magtoppm.c:155:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | int read_mag_header(fp, p) | ^ magtoppm.c:198:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | int readpixel(fp, px) | ^ magtoppm.c:213:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | int DecodePixGroup(fp, pbuf, y, x2, f) | ^ magtoppm.c:244:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | int outline(pix, n) | ^ magtoppm.c:302:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | int pixel_decode_sub(fp) | ^ magtoppm.c:352:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | int dataseek(fp, pos) | ^ magtoppm.c:368:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | int pixel_decode(fp) | ^ magtoppm.c:433:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 433 | printf(pnm_comment_memo); | ^~~~~~~~~~~~~~~~ magtoppm.c:433:9: note: treat the string as an argument to avoid this 433 | printf(pnm_comment_memo); | ^ | "%s", magtoppm.c:405:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | int decode_mag(fp, filename) | ^ In file included from magtoppm.c:12: ./extern.h:266:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 266 | public int decode_mag(); | ^ 15 warnings generated. --- undo.o --- undo.c:57:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | void free_undo_data(u) | ^ undo.c:100:21: warning: passing arguments to 'reset_color_pushed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | reset_color_pushed(-1); | ^ undo.c:90:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | int undo_push_area(x, y, width, height) | ^ In file included from undo.c:11: ./extern.h:243:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 243 | public int undo_push_area(); | ^ undo.c:142:21: warning: passing arguments to 'reset_color_pushed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | reset_color_pushed(-1); | ^ undo.c:133:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | int undo_push_plot(x, y, c, newcol) | ^ In file included from undo.c:11: ./extern.h:242:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 242 | public int undo_push_plot(); | ^ undo.c:183:14: warning: passing arguments to 'update_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | update_area(uu->u_area.x, uu->u_area.y, uu->u_area.w, uu->u_area.h); | ^ undo.c:185:14: warning: passing arguments to 'area_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | area_update(uu->u_area.x, uu->u_area.y, uu->u_area.w, uu->u_area.h); | ^ undo.c:170:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | void undo_area(uu) | ^ undo.c:188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | int undo_push_color(top, n) | ^ In file included from undo.c:11: ./extern.h:244:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 244 | public int undo_push_color(); | ^ undo.c:236:14: warning: passing arguments to 'update_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | update_area(x0, y0, x1-x0+1, y1-y0+1); /* XImage update */ | ^ undo.c:237:14: warning: passing arguments to 'area_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | area_update(x0, y0, x1-x0+1, y1-y0+1); /* Window update */ | ^ undo.c:211:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | void undo_plot(uu) | ^ undo.c:246:15: warning: passing arguments to 'change_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | change_color(uu->u_color.top); | ^ undo.c:240:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | void undo_color(uu) | ^ undo.c:254:21: warning: passing arguments to 'reset_color_pushed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | reset_color_pushed(-1); | ^ 18 warnings generated. --- colset.o --- colset.c:137:17: warning: passing arguments to 'menu_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | menu_highlight(p); | ^ colset.c:109:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | char *redraw_col(p) | ^ colset.c:151:20: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | redraw_window(colmenu[oldcol].win); | ^ colset.c:155:20: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | redraw_window(colmenu[n].win); | ^ colset.c:157:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | redraw_window(cursmenu[CURS_CURC].win); | ^ colset.c:141:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | void set_current_color(n) | ^ In file included from colset.c:15: ./extern.h:115:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | public void set_current_color(); | ^ colset.c:161:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | void unmap_coled_window(n) | ^ colset.c:168:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | void clear_color_digits(p) | ^ colset.c:196:25: warning: passing arguments to 'create_toplevel_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | create_toplevel_window(&coledwin[n], name, buf, COLEDW, COLEDH); | ^ colset.c:206:17: warning: passing arguments to 'menuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | menuwin_create(p, coledwin[n], 0, 0); | ^ colset.c:176:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | int create_coledit_window(n) | ^ colset.c:226:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | redraw_window(colmenu[n].win); | ^ colset.c:222:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | void color_mask_alt(n) | ^ colset.c:269:22: warning: passing arguments to 'undo_push_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | undo_push_color(current_pal*MAXCOLSET+p->n, 1); | ^ colset.c:275:19: warning: passing arguments to 'change_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | change_color(current_pal*MAXCOLSET+p->n); | ^ colset.c:238:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | int colev(p, ev) | ^ colset.c:295:20: warning: passing arguments to 'parse_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | if (parse_color(&col, name[i]) == 0) { | ^ colset.c:324:20: warning: passing arguments to 'topmenuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | topmenuwin_create(colmenu, x, y); | ^ colset.c:302:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | int create_colset_window(win, x, y) | ^ In file included from colset.c:15: ./extern.h:114:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | public int create_colset_window(); | ^ colset.c:339:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | redraw_window(coledwin[n]); | ^ colset.c:343:20: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | redraw_window(p->win); | ^ colset.c:333:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | void update_coled_sub(n) | ^ colset.c:361:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | redraw_window(colmenu[n].win); | ^ colset.c:357:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | void update_colmenu(n) | ^ In file included from colset.c:15: ./extern.h:117:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | public void update_colmenu(); | ^ colset.c:372:9: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | i = coled_col(p)->rgb.red; | ^ colset.c:42:33: note: expanded from macro 'coled_col' 42 | #define coled_col(p) (color_buf+coled_colnum(p)) | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:375:9: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | i = coled_col(p)->rgb.green; | ^ colset.c:42:33: note: expanded from macro 'coled_col' 42 | #define coled_col(p) (color_buf+coled_colnum(p)) | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:378:9: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | i = coled_col(p)->rgb.blue; | ^ colset.c:42:33: note: expanded from macro 'coled_col' 42 | #define coled_col(p) (color_buf+coled_colnum(p)) | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:365:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | char *coledstr(p) | ^ colset.c:56:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | char *coledstr(); | ^ colset.c:392:9: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | col = coled_col(p); | ^ colset.c:42:33: note: expanded from macro 'coled_col' 42 | #define coled_col(p) (color_buf+coled_colnum(p)) | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:408:34: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | XResizeWindow(dsp, colorbarwin[coled_num(p)][i], w<1?1:w, COLBARH-BDW*3); | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:386:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | void draw_rgb_bar(p) | ^ colset.c:422:11: warning: passing arguments to 'calcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | calcol(&col, color_buf+n); | ^ colset.c:427:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | redraw_window(colmenu[n].win); | ^ colset.c:430:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | redraw_window(coledmn[n][COLED_RED].win); | ^ colset.c:431:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | redraw_window(coledmn[n][COLED_GREEN].win); | ^ colset.c:432:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | redraw_window(coledmn[n][COLED_BLUE].win); | ^ colset.c:433:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | redraw_window(coledmn[n][COLED_NRED].win); | ^ colset.c:434:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | redraw_window(coledmn[n][COLED_NGREEN].win); | ^ colset.c:435:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | redraw_window(coledmn[n][COLED_NBLUE].win); | ^ colset.c:416:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | void change_color(n) | ^ In file included from colset.c:15: ./extern.h:119:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | public void change_color(); | ^ colset.c:442:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | void reset_color_pushed(n) | ^ In file included from colset.c:15: ./extern.h:120:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | public void reset_color_pushed(); | ^ colset.c:484:57: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | fprintf(stderr, "coledev: clear color_pushed[%d]\n", coled_num(p)); | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:485:21: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | reset_color_pushed(coled_num(p)); | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:487:26: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | unmap_coled_window(coled_num(p)); | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:490:34: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | XRaiseWindow(dsp, coledwin[coled_num(p)]); | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:500:60: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | fprintf(stderr, "coledev: check color_pushed[%d]\n", coled_num(p)); | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:501:23: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | if (!color_pushed[coled_num(p)]) { | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:502:20: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | color_pushed[coled_num(p)] = 1; | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:505:25: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | current_pal*MAXCOLSET+coled_num(p)); | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:506:45: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | undo_push_color(current_pal*MAXCOLSET+coled_num(p), 1); | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:506:22: warning: passing arguments to 'undo_push_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | undo_push_color(current_pal*MAXCOLSET+coled_num(p), 1); | ^ colset.c:512:18: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | if (!(coltbl[coled_num(p)] & CM_PRIVATE)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:532:11: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | if (coled_col(p)->rgb.red != i) { | ^ colset.c:42:33: note: expanded from macro 'coled_col' 42 | #define coled_col(p) (color_buf+coled_colnum(p)) | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:534:2: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | coled_col(p)->rgb.red = i; | ^ colset.c:42:33: note: expanded from macro 'coled_col' 42 | #define coled_col(p) (color_buf+coled_colnum(p)) | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:538:11: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | if (coled_col(p)->rgb.green != i) { | ^ colset.c:42:33: note: expanded from macro 'coled_col' 42 | #define coled_col(p) (color_buf+coled_colnum(p)) | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:540:2: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | coled_col(p)->rgb.green = i; | ^ colset.c:42:33: note: expanded from macro 'coled_col' 42 | #define coled_col(p) (color_buf+coled_colnum(p)) | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:544:11: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | if (coled_col(p)->rgb.blue != i) { | ^ colset.c:42:33: note: expanded from macro 'coled_col' 42 | #define coled_col(p) (color_buf+coled_colnum(p)) | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:546:2: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | coled_col(p)->rgb.blue = i; | ^ colset.c:42:33: note: expanded from macro 'coled_col' 42 | #define coled_col(p) (color_buf+coled_colnum(p)) | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:550:18: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | change_color(coled_colnum(p)); | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:455:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | int coledev(p, ev) | ^ colset.c:54:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | int coledev(); | ^ colset.c:573:40: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | undo_push_color(current_pal*MAXCOLSET+coled_num(p), 1); | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:573:17: warning: passing arguments to 'undo_push_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | undo_push_color(current_pal*MAXCOLSET+coled_num(p), 1); | ^ colset.c:574:2: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | coled_col(p)->rgb.red = strtol(p->str, NULL, 0); | ^ colset.c:42:33: note: expanded from macro 'coled_col' 42 | #define coled_col(p) (color_buf+coled_colnum(p)) | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:577:40: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | undo_push_color(current_pal*MAXCOLSET+coled_num(p), 1); | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:577:17: warning: passing arguments to 'undo_push_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | undo_push_color(current_pal*MAXCOLSET+coled_num(p), 1); | ^ colset.c:578:2: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | coled_col(p)->rgb.green = strtol(p->str, NULL, 0); | ^ colset.c:42:33: note: expanded from macro 'coled_col' 42 | #define coled_col(p) (color_buf+coled_colnum(p)) | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:581:40: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | undo_push_color(current_pal*MAXCOLSET+coled_num(p), 1); | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:581:17: warning: passing arguments to 'undo_push_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | undo_push_color(current_pal*MAXCOLSET+coled_num(p), 1); | ^ colset.c:582:2: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | coled_col(p)->rgb.blue = strtol(p->str, NULL, 0); | ^ colset.c:42:33: note: expanded from macro 'coled_col' 42 | #define coled_col(p) (color_buf+coled_colnum(p)) | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:586:20: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | change_color(coled_colnum(p)); | ^ colset.c:41:48: note: expanded from macro 'coled_colnum' 41 | #define coled_colnum(p) (current_pal*MAXCOLSET+coled_num(p)) | ^ colset.c:40:35: note: expanded from macro 'coled_num' 40 | #define coled_num(p) (get_top_menu(p)->cursor) | ^ colset.c:556:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | int colednev(p, ev) | ^ colset.c:55:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | int colednev(); | ^ 79 warnings generated. --- cbb.o --- cbb.c:20:12: warning: passing arguments to 'get_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | get_color(color_buf+current_pal*MAXCOLSET, MAXCOLSET); | ^ cbb.c:37:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | func(p, buf+i*2); | ^ cbb.c:25:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | int read_ccb_sub(fp, func) | ^ cbb.c:51:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | void conv_ccb(p, buf) | ^ cbb.c:64:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | int rd_ccb(fp) | ^ In file included from cbb.c:11: ./extern.h:336:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 336 | public int rd_ccb(); | ^ cbb.c:71:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | void conv_cxb(p, buf) | ^ cbb.c:85:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | int rd_cxb(fp) | ^ In file included from cbb.c:11: ./extern.h:339:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 339 | public int rd_cxb(); | ^ cbb.c:108:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | func(p, buf+i*2); | ^ cbb.c:120:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | int cv8to3(n) | ^ In file included from cbb.c:11: ./extern.h:341:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 341 | public int wr_ccb(); | ^ cbb.c:149:5: note: conflicting prototype is here 149 | int wr_ccb( | ^ In file included from cbb.c:11: ./extern.h:342:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 342 | public int wr_cxb(); | ^ cbb.c:178:5: note: conflicting prototype is here 178 | int wr_cxb( | ^ cbb.c:193:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | void conv_cbbfont(p, cbb) | ^ cbb.c:215:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | void set_font8x8(p, x0, y0) | ^ cbb.c:234:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | void gen_image_cbb(cbb) | ^ cbb.c:261:12: warning: passing arguments to 'imgupdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | imgupdate(128, 128); | ^ cbb.c:250:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | int rd_cbb(fp) | ^ In file included from cbb.c:11: ./extern.h:337:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 337 | public int rd_cbb(); | ^ cbb.c:265:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | void conv_csbfont(p, csb) | ^ cbb.c:289:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | void csb_font1(csb, x, y) | ^ cbb.c:306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | void gen_image_csb(csb) | ^ cbb.c:333:12: warning: passing arguments to 'imgupdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | imgupdate(128, 128); | ^ cbb.c:322:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | int rd_csb(fp) | ^ In file included from cbb.c:11: ./extern.h:338:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 338 | public int rd_csb(); | ^ ./extern.h:340:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 340 | public int wr_cbb(); | ^ cbb.c:370:5: note: conflicting prototype is here 370 | int wr_cbb( | ^ 26 warnings generated. --- main.o --- main.c:58:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | char *filename(name) | ^ In file included from main.c:13: ./work.h:86:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | extern char *filename(); | ^ main.c:71:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | char *basefilename(name) | ^ In file included from main.c:17: ./extern.h:20:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | public char *basefilename(); | ^ main.c:85:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | void calcol(col, p) | ^ In file included from main.c:17: ./extern.h:12:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | public void calcol(); | ^ main.c:95:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | int get_color_sub(i, p) | ^ main.c:141:21: warning: passing arguments to 'update_colmenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | update_colmenu(i); | ^ main.c:129:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | int get_color(p, n) | ^ In file included from main.c:17: ./extern.h:18:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | public int get_color(); | ^ main.c:164:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | int request_color(p) | ^ In file included from main.c:17: ./extern.h:14:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | public int request_color(); | ^ main.c:181:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | void request_color2(i, p) | ^ In file included from main.c:17: ./extern.h:15:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | public void request_color2(); | ^ main.c:319:21: warning: passing arguments to 'menu_stat_change' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | menu_stat_change(MENU_QUIT, 2); | ^ main.c:322:21: warning: passing arguments to 'menu_stat_change' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | menu_stat_change(MENU_FILE, 2); | ^ main.c:325:21: warning: passing arguments to 'menu_stat_change' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | menu_stat_change(MENU_INFO, 2); | ^ main.c:328:21: warning: passing arguments to 'menu_stat_change' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | menu_stat_change(MENU_EDIT, 2); | ^ main.c:331:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | redraw_window(imgwin); | ^ main.c:342:15: warning: passing arguments to 'img_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | img_scroll(0, scroll_speed); | ^ main.c:345:15: warning: passing arguments to 'img_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | img_scroll(0, 1); | ^ main.c:349:15: warning: passing arguments to 'img_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | img_scroll(0, -scroll_speed); | ^ main.c:352:15: warning: passing arguments to 'img_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | img_scroll(0, -1); | ^ main.c:356:15: warning: passing arguments to 'img_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | img_scroll(scroll_speed, 0); | ^ main.c:359:15: warning: passing arguments to 'img_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | img_scroll(1, 0); | ^ main.c:363:15: warning: passing arguments to 'img_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | img_scroll(-scroll_speed, 0); | ^ main.c:366:15: warning: passing arguments to 'img_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | img_scroll(-1, 0); | ^ main.c:369:15: warning: passing arguments to 'img_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | img_scroll(-scroll_speed, scroll_speed); | ^ main.c:372:15: warning: passing arguments to 'img_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | img_scroll(scroll_speed, scroll_speed); | ^ main.c:375:15: warning: passing arguments to 'img_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | img_scroll(-scroll_speed, -scroll_speed); | ^ main.c:378:15: warning: passing arguments to 'img_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | img_scroll(scroll_speed, -scroll_speed); | ^ main.c:381:21: warning: passing arguments to 'edit_mode_change' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | edit_mode_change(EDIT_PLOT); | ^ main.c:384:21: warning: passing arguments to 'edit_mode_change' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | edit_mode_change(EDIT_PAINT); | ^ main.c:387:21: warning: passing arguments to 'edit_mode_change' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | edit_mode_change(EDIT_COPY); | ^ main.c:390:21: warning: passing arguments to 'edit_mode_change' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | edit_mode_change(EDIT_FILL); | ^ main.c:393:21: warning: passing arguments to 'edit_mode_change' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | edit_mode_change(EDIT_LINE); | ^ main.c:289:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | void key_event(ev) | ^ main.c:422:6: warning: passing 'unsigned char[288]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 422 | icon_bits, icon_width, icon_height); | ^~~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ main.c:445:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | int parse_color(col, name) | ^ In file included from main.c:17: ./extern.h:13:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | public int parse_color(); | ^ main.c:465:10: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 465 | cursor0_bits, cursor0_width, cursor0_height); | ^~~~~~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ main.c:467:11: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 467 | cursor1_bits, cursor1_width, cursor1_height); | ^~~~~~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ main.c:609:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | int parse_option(ac, av) | ^ In file included from main.c:17: ./extern.h:11:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | public int parse_option(); | ^ main.c:663:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 663 | void main(argc, argv) | ^ main.c:663:1: note: change return type to 'int' 663 | void main(argc, argv) | ^~~~ | int main.c:677:30: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] 677 | strncat(windowname, " @ ", sizeof(windowname)); | ^~~~~~~~~~~~~~~~~~ main.c:677:30: note: change the argument to be the free space in the destination buffer minus the terminating null byte 677 | strncat(windowname, " @ ", sizeof(windowname)); | ^~~~~~~~~~~~~~~~~~ | sizeof(windowname) - strlen(windowname) - 1 main.c:716:21: warning: passing arguments to 'create_menu_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | create_menu_window(win, MENUX, MENUY); | ^ main.c:717:23: warning: passing arguments to 'create_colset_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | create_colset_window(win, COLSETX, COLSETY); | ^ main.c:718:23: warning: passing arguments to 'create_palset_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | create_palset_window(win, PALSETX, PALSETY); | ^ main.c:719:25: warning: passing arguments to 'create_filename_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | create_filename_window(win, PALSETX, PALSETY-24); | ^ main.c:720:21: warning: passing arguments to 'create_zoom_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | create_zoom_window(win, 256, 4); | ^ main.c:721:21: warning: passing arguments to 'create_grid_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | create_grid_window(win, 340, 4); | ^ main.c:722:23: warning: passing arguments to 'create_cursor_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | create_cursor_window(win, 256, 30); | ^ main.c:724:21: warning: passing arguments to 'create_tile_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | create_tile_window(win, 8, 364); | ^ main.c:736:19: warning: passing arguments to 'read_data_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | read_data_file(*argv++); | ^ main.c:756:12: warning: passing arguments to 'img_expose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | img_expose(ev.xgraphicsexpose.x, ev.xgraphicsexpose.y, | ^ main.c:764:12: warning: passing arguments to 'img_expose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | img_expose(ev.xexpose.x, ev.xexpose.y, | ^ main.c:767:13: warning: passing arguments to 'info_expose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | info_expose(&ev); | ^ main.c:791:17: warning: passing arguments to 'info_press' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | info_press(&ev); | ^ main.c:809:17: warning: passing arguments to 'edit_event' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | edit_event(&ev); | ^ main.c:818:19: warning: passing arguments to 'menuev_event' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | menuev_event(&ev); | ^ main.c:663:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | void main(argc, argv) | ^ 62 warnings generated. --- mag.o --- mag.c:31:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | void setleshort(p, n) | ^ In file included from mag.c:12: ./extern.h:257:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 257 | public void setleshort(); | ^ mag.c:41:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | void setlelong(p, n) | ^ In file included from mag.c:12: ./extern.h:258:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 258 | public void setlelong(); | ^ mag.c:54:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | int write_mag_palette_section(fp) | ^ mag.c:101:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | int is_same_pixel(x, y, dd) | ^ mag.c:115:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | int search_same_pixel(x, y) | ^ mag.c:184:10: warning: unsequenced modification and access to 'pf' [-Wunsequenced] 184 | *pf++ ^= *(pf-w); | ^ ~~ mag.c:218:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | int wr_mag(fp) | ^ In file included from mag.c:12: ./extern.h:255:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 255 | public int wr_mag(); | ^ mag.c:312:13: warning: passing arguments to 'decode_mag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | decode_mag(fp, "*noname*"); | ^ mag.c:313:12: warning: passing arguments to 'get_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | get_color(color_buf, mag_palcnt); | ^ mag.c:325:12: warning: passing arguments to 'imgupdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | imgupdate(w, h); | ^ mag.c:306:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | int rd_mag(fp) | ^ In file included from mag.c:12: ./extern.h:256:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 256 | public int rd_mag(); | ^ 15 warnings generated. --- image.o --- image.c:123:14: warning: passing arguments to 'get_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | get_color(color_buf+MAXCOLSET*current_pal, MAXCOLSET); | ^ image.c:152:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | redraw_window(imgwin); | ^ image.c:135:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | int set_image_size(w, h) | ^ In file included from image.c:12: ./work.h:85:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | extern int set_image_size(); | ^ image.c:156:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | void draw_grid(x0, y0, w0, h0) | ^ image.c:194:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | Bool inarea(x, w, n1, n2) | ^ In file included from image.c:18: ./extern.h:184:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | public Bool inarea(); | ^ image.c:205:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | void calc_img_area(x, y, w, h) | ^ In file included from image.c:18: ./extern.h:185:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 185 | public void calc_img_area(); | ^ image.c:217:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | void little_big(p1, p2) | ^ In file included from image.c:18: ./extern.h:188:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | public void little_big(); | ^ image.c:230:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | void calc_area(x0, y0, x1, y1) | ^ image.c:243:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | void area_expose(x0, y0, w0, h0) | ^ image.c:258:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | void mark_pts_on(x0, y0, w0, h0) | ^ image.c:277:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | void img_expose(x, y, w, h) | ^ In file included from image.c:12: ./work.h:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | extern void img_expose(); | ^ image.c:341:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | redraw_window(viewwin); | ^ image.c:353:16: warning: passing arguments to 'gen_image_sub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | gen_image_sub(0, 0, imgfilew, imgfileh); | ^ image.c:360:16: warning: passing arguments to 'gen_image_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | gen_image_col(0, 0, imgfilew, imgfileh); | ^ image.c:367:12: warning: passing arguments to 'get_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | get_color(color_buf+MAXCOLSET*current_pal, MAXCOLSET); | ^ image.c:372:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | void img_scroll_redraw(dx, dy) | ^ image.c:417:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | redraw_window(cursmenu[CURS_TOPX].win); | ^ image.c:422:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | redraw_window(cursmenu[CURS_TOPY].win); | ^ image.c:394:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | void img_scroll_sub(dx, dy) | ^ image.c:428:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | void img_scroll(dx, dy) | ^ In file included from image.c:18: ./extern.h:191:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 191 | public void img_scroll(); | ^ image.c:436:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | void img_scroll_posset(newx, newy) | ^ image.c:506:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | void norm_area(x0, y0, x1, y1) | ^ image.c:518:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | void area_exsub(x, y, w, h) | ^ image.c:553:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | void max_area(rx0, ry0, rx1, ry1, n, p) | ^ In file included from image.c:18: ./extern.h:182:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | public void max_area(); | ^ image.c:583:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | void mark_pts_set(n, p) | ^ In file included from image.c:18: ./extern.h:189:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 189 | public void mark_pts_set(); | ^ 33 warnings generated. --- sub.o --- sub.c:21:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | void get_drawable_size(dr, wp, hp) | ^ sub.c:37:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | MENU *get_top_menu(p) | ^ In file included from sub.c:14: ./extern.h:36:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | public MENU *get_top_menu(); | ^ sub.c:49:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | void menu_highlight(p) | ^ In file included from sub.c:14: ./extern.h:35:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | public void menu_highlight(); | ^ sub.c:55:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | void menuwin_strpos_center(wd, fs, str, xp, yp, lp, ascp, desp, w, h) | ^ sub.c:88:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | void draw_center_string(wd, w, h, fs, gc, str) | ^ sub.c:102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | void menuwin_center(wd, w, h, str) | ^ In file included from sub.c:14: ./extern.h:42:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | public void menuwin_center(); | ^ sub.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | void erase_cursor(p, str) | ^ sub.c:156:29: warning: passing arguments to 'icon_pixmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | XCopyArea(dsp, icon_pixmap(icon), p->win, gc0, | ^ sub.c:157:22: warning: passing arguments to 'icon_width' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | 0, 0, icon_width(icon), icon_height(icon), | ^ sub.c:157:41: warning: passing arguments to 'icon_height' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | 0, 0, icon_width(icon), icon_height(icon), | ^ sub.c:158:22: warning: passing arguments to 'icon_width' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | (p->w-icon_width(icon))/2, (p->h-icon_height(icon))/2); | ^ sub.c:158:50: warning: passing arguments to 'icon_height' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | (p->w-icon_width(icon))/2, (p->h-icon_height(icon))/2); | ^ sub.c:148:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | void menu_icon_center(p, icon) | ^ In file included from sub.c:14: ./extern.h:41:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | public void menu_icon_center(); | ^ sub.c:170:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | int set_menutbl(menu) | ^ sub.c:184:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | int unset_menutbl(menu) | ^ In file included from sub.c:14: ./extern.h:31:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | public void menuwin_create2(); | ^ sub.c:198:6: note: conflicting prototype is here 198 | void menuwin_create2( | ^ In file included from sub.c:14: ./extern.h:32:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | public void menuwin_create(); | ^ sub.c:243:6: note: conflicting prototype is here 243 | void menuwin_create( | ^ In file included from sub.c:14: ./extern.h:33:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | public void topmenuwin_create(); | ^ sub.c:255:6: note: conflicting prototype is here 255 | void topmenuwin_create( | ^ sub.c:267:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | void menuwin_destroy(menu) | ^ sub.c:283:30: 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] 283 | s = p->strfunc ? p->strfunc(p) : p->str; | ^ sub.c:277:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | void menuwin_expose_default(p) | ^ In file included from sub.c:14: ./extern.h:43:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | public void menuwin_expose_default(); | ^ sub.c:303:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | void redraw_window(w) | ^ In file included from sub.c:14: ./extern.h:34:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | public void redraw_window(); | ^ sub.c:327:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | if (p->event != NULL && p->event(p, ev)) | ^ sub.c:375:32: 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] 375 | s = p->strfunc ? p->strfunc(p) : p->str; | ^ sub.c:377:20: warning: passing arguments to 'edit_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | i = edit_string(ev, s, p->strlen, &p->cursor); | ^ sub.c:384:15: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] 384 | if (p->mode & ~MenuModeMaskEnter == last_mode & ~MenuModeMaskEnter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sub.c:384:15: note: place parentheses around the '==' expression to silence this warning 384 | if (p->mode & ~MenuModeMaskEnter == last_mode & ~MenuModeMaskEnter) | ^ | ( ) sub.c:384:15: note: place parentheses around the & expression to evaluate it first 384 | if (p->mode & ~MenuModeMaskEnter == last_mode & ~MenuModeMaskEnter) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ sub.c:319:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | void menuev_event_sub(p, ev) | ^ sub.c:390:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | Drawable get_event_window(ev) | ^ In file included from sub.c:14: ./extern.h:44:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | public Drawable get_event_window(); | ^ sub.c:428:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | void menuev_event(ev) | ^ In file included from sub.c:14: ./extern.h:39:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | public void menuev_event(); | ^ ./extern.h:37:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | public int create_toplevel_window(); | ^ sub.c:464:5: note: conflicting prototype is here 464 | int create_toplevel_window( | ^ 38 warnings generated. --- edit.o --- edit.c:53:61: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | sprintf(p->str, "width %d", penwidthtbl[penno[get_top_menu(p)->cursor]]); | ^ edit.c:50:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | char *edevpenstr(p) | ^ edit.c:65:21: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | i = get_top_menu(p)->cursor; | ^ edit.c:69:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | redraw_window(p->win); | ^ edit.c:57:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | int edevpen(p, ev) | ^ edit.c:161:25: warning: passing arguments to 'create_toplevel_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | create_toplevel_window(&editwin, "edit", str_edit_geom, EDITWINW, EDITWINH); | ^ edit.c:183:19: warning: passing arguments to 'menuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | menuwin_create(p, editfuncwin[i], 0, 0); | ^ edit.c:186:17: warning: passing arguments to 'menuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | menuwin_create(editmenu2, editwin, 0, 0); | ^ edit.c:224:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | redraw_window(p->win); | ^ edit.c:228:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | redraw_window(p->win); | ^ edit.c:214:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | void edit_mode_change2(btn, mode) | ^ edit.c:232:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | void edit_mode_change(n) | ^ In file included from edit.c:20: ./extern.h:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | public void edit_mode_change(); | ^ edit.c:244:35: warning: passing arguments to 'get_top_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | edit_mode_change2(get_top_menu(p)->cursor, p->n); | ^ edit.c:238:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | int edev(p, ev) | ^ edit.c:47:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | int edev(); | ^ edit.c:270:20: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | redraw_window(p->win); | ^ edit.c:278:20: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | redraw_window(p->win); | ^ edit.c:282:23: warning: passing arguments to 'menu_stat_change' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | menu_stat_change(MENU_EDIT, 0); | ^ edit.c:287:20: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | redraw_window(p->win); | ^ edit.c:306:20: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | redraw_window(p->win); | ^ edit.c:256:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | int edev2(p, ev) | ^ edit.c:48:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | int edev2(); | ^ edit.c:314:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | char *edev2str(p) | ^ edit.c:116:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | char *edev2str(); | ^ edit.c:333:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | redraw_window(editmenu2[EDIT2_UNDO].win); | ^ edit.c:348:16: warning: passing arguments to 'calc_img_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | calc_img_area(&x, &y, &w, &h); | ^ edit.c:349:13: warning: passing arguments to 'img_expose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | img_expose(x, y, w, h); | ^ edit.c:342:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | void area_img_expose(x, y, w, h) | ^ edit.c:357:16: warning: passing arguments to 'setpixelcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | setpixelcolor(x, y, c); | ^ edit.c:360:13: warning: passing arguments to 'img_expose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | img_expose(x*zoomfactor-imgofsx, y*zoomfactor-imgofsy, | ^ edit.c:352:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | void plot(x, y, c) | ^ edit.c:365:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | void area_update(x, y, w, h) | ^ In file included from edit.c:20: ./extern.h:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | public void area_update(); | ^ edit.c:386:19: warning: passing arguments to 'undo_push_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | undo_push_area(dstx, dsty, w, h); | ^ edit.c:387:14: warning: passing arguments to 'copy_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | copy_area(dstx, dsty, srcx, srcy, w, h); | ^ edit.c:377:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | void copy(dstx, dsty, srcx, srcy, w, h) | ^ edit.c:401:19: warning: passing arguments to 'undo_push_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | undo_push_area(x, y, w, h); | ^ edit.c:402:14: warning: passing arguments to 'fill_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | fill_area(x, y, w, h, c); | ^ edit.c:393:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | void fill(x, y, w, h, c) | ^ edit.c:418:21: warning: passing arguments to 'undo_push_plot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | undo_push_plot(x, y, *(imgdata+y*imgmaxw+x), current_col); | ^ edit.c:425:21: warning: passing arguments to 'undo_push_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | undo_push_area(0, 0, imgfilew, imgfileh); | ^ edit.c:429:14: warning: passing arguments to 'fill_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | fill_area(x-(pen-1)/2, y-(pen-1)/2, pen, pen, current_col); | ^ edit.c:407:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | void edit_plot(x, y, pen) | ^ edit.c:445:17: warning: passing arguments to 'inarea' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | if (inarea(x, 1, copysrc0.x, copysrc1.x)&& | ^ edit.c:446:10: warning: passing arguments to 'inarea' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | inarea(y, 1, copysrc0.y, copysrc1.y)) { | ^ edit.c:477:17: warning: passing arguments to 'little_big' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | little_big(©src0.x, ©src1.x); | ^ edit.c:478:17: warning: passing arguments to 'little_big' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | little_big(©src0.y, ©src1.y); | ^ edit.c:435:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | void edit_copy_and_fill(x, y, type, btn) | ^ edit.c:548:11: warning: passing arguments to 'max_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | max_area(&x0, &y0, &x1, &y1, n, p); | ^ edit.c:559:17: warning: passing arguments to 'undo_push_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | undo_push_area(x0, y0, x1-x0+1, y1-y0+1); | ^ edit.c:573:15: warning: passing arguments to 'setpixelcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | setpixelcolor(x, y, current_col); | ^ edit.c:579:13: warning: passing arguments to 'img_expose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | img_expose(x0*zoomfactor-imgofsx, y0*zoomfactor-imgofsy, | ^ edit.c:536:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | void plots(p, n, pen) | ^ edit.c:601:15: warning: passing arguments to 'line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | i = line(ptsbuf, x0, y0, x, y); | ^ edit.c:612:15: warning: passing arguments to 'line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | i = line(ptsbuf, x0, y0, x, y); | ^ edit.c:613:19: warning: passing arguments to 'mark_pts_set' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | mark_pts_set(i, ptsbuf); | ^ edit.c:583:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | void edit_line(x, y, ev, btn) | ^ edit.c:647:14: warning: passing arguments to 'circle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | i = circle(ptsbuf, x0, y0, rx); | ^ edit.c:649:15: warning: passing arguments to 'ellipse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | i = ellipse(ptsbuf, x0, y0, rx, ry); | ^ edit.c:669:14: warning: passing arguments to 'circle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | i = circle(ptsbuf, x0, y0, rx); | ^ edit.c:671:15: warning: passing arguments to 'ellipse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | i = ellipse(ptsbuf, x0, y0, rx, ry); | ^ edit.c:672:14: warning: passing arguments to 'mark_pts_set' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | mark_pts_set(i, ptsbuf); | ^ edit.c:623:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | void edit_circle_and_ellipse(x, y, ev, btn) | ^ edit.c:694:21: warning: passing arguments to 'undo_push_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | undo_push_area(0, 0, imgfilew, imgfileh); | ^ edit.c:695:12: warning: passing arguments to 'paint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | paint(x, y); | ^ edit.c:684:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | void edit_paint(x, y, type) | ^ edit.c:714:22: warning: passing arguments to 'set_current_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | set_current_color(*(imgdata+y*imgmaxw+x)); | ^ edit.c:757:21: warning: passing arguments to 'set_image_size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | set_image_size(-1, -1); | ^ edit.c:767:21: warning: passing arguments to 'set_image_size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | set_image_size(-1, -1); | ^ edit.c:704:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | void img_button_sub(x, y, type, btn, ox, oy) | ^ edit.c:821:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | redraw_window(cursmenu[CURS_CURX].win); | ^ edit.c:825:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | redraw_window(cursmenu[CURS_CURY].win); | ^ edit.c:779:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | void img_button(type, ox, oy, button, st) | ^ edit.c:836:23: warning: passing arguments to 'get_event_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | if (get_event_window(ev) != imgwin) | ^ edit.c:843:41: warning: too few arguments in call to 'img_button' 843 | img_button(ev->type, x, y, Button1); | ~~~~~~~~~~ ^ edit.c:845:41: warning: too few arguments in call to 'img_button' 845 | img_button(ev->type, x, y, Button2); | ~~~~~~~~~~ ^ edit.c:847:41: warning: too few arguments in call to 'img_button' 847 | img_button(ev->type, x, y, Button3); | ~~~~~~~~~~ ^ edit.c:856:74: warning: too few arguments in call to 'img_button' 856 | img_button(ev->type, ev->xbutton.x, ev->xbutton.y, ev->xbutton.button); | ~~~~~~~~~~ ^ edit.c:830:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | void edit_event(ev) | ^ In file included from edit.c:20: ./extern.h:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | public void edit_event(); | ^ 81 warnings generated. --- area.o --- area.c:123:25: warning: passing arguments to 'create_toplevel_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | create_toplevel_window(&areawin, "area", "", | ^ area.c:126:17: warning: passing arguments to 'menuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | menuwin_create(areamenu, areawin, 0, 0); | ^ area.c:147:13: warning: passing arguments to 'little_big' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | little_big(&p->x, &p->w); | ^ area.c:149:13: warning: passing arguments to 'little_big' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | little_big(&p->y, &p->h); | ^ area.c:175:17: warning: passing arguments to 'undo_push_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | undo_push_area(ar.x, ar.y, ar.w, ar.h); | ^ area.c:176:21: warning: passing arguments to 'load_holdspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | r = load_holdspace(&ar); | ^ area.c:177:14: warning: passing arguments to 'area_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | area_update(ar.x, ar.y, ar.w, ar.h); | ^ area.c:187:24: warning: passing arguments to 'save_holdspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | return save_holdspace(&ar); | ^ area.c:199:17: warning: passing arguments to 'undo_push_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | undo_push_area(ar.x, ar.y, ar.w, ar.h); | ^ area.c:209:14: warning: passing arguments to 'update_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | update_area(ar.x, ar.y, ar.w, ar.h); /* update XImage */ | ^ area.c:210:14: warning: passing arguments to 'area_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | area_update(ar.x, ar.y, ar.w, ar.h); | ^ area.c:222:17: warning: passing arguments to 'undo_push_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | undo_push_area(ar.x, ar.y, ar.w, ar.h); | ^ area.c:232:14: warning: passing arguments to 'update_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | update_area(ar.x, ar.y, ar.w, ar.h); /* update XImage */ | ^ area.c:233:14: warning: passing arguments to 'area_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | area_update(ar.x, ar.y, ar.w, ar.h); | ^ area.c:248:17: warning: passing arguments to 'undo_push_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | undo_push_area(ar.x, ar.y, ar.w, ar.h); | ^ area.c:269:14: warning: passing arguments to 'update_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | update_area(ar.x, ar.y, ar.w, ar.h); /* update XImage */ | ^ area.c:270:14: warning: passing arguments to 'area_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | area_update(ar.x, ar.y, ar.w, ar.h); | ^ area.c:237:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | void hshift(sh) | ^ area.c:284:17: warning: passing arguments to 'undo_push_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | undo_push_area(ar.x, ar.y, ar.w, ar.h); | ^ area.c:313:14: warning: passing arguments to 'update_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | update_area(ar.x, ar.y, ar.w, ar.h); /* update XImage */ | ^ area.c:314:14: warning: passing arguments to 'area_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | area_update(ar.x, ar.y, ar.w, ar.h); | ^ area.c:274:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | void vshift(sh) | ^ area.c:325:17: warning: passing arguments to 'undo_push_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | undo_push_area(ar.x, ar.y, ar.w, ar.h); | ^ area.c:338:14: warning: passing arguments to 'update_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | update_area(ar.x, ar.y, ar.w, ar.h); /* update XImage */ | ^ area.c:339:14: warning: passing arguments to 'area_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | area_update(ar.x, ar.y, ar.w, ar.h); | ^ area.c:317:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | void turn90r(n) | ^ area.c:383:21: warning: passing arguments to 'menu_icon_center' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | menu_icon_center(p, i); | ^ area.c:390:20: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | redraw_window(editmenu2[EDIT2_AREA].win); | ^ area.c:424:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | redraw_window(p->win); | ^ area.c:434:20: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | redraw_window(p->win); | ^ area.c:343:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | int areaev(p, ev) | ^ area.c:46:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | int areaev(); | ^ 32 warnings generated. --- convert.o --- convert.c:25:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | int set_tilemask(p) | ^ In file included from convert.c:14: ./extern.h:213:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 213 | public int set_tilemask(); | ^ convert.c:36:17: warning: passing arguments to 'set_image_size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | set_image_size(w, h); | ^ convert.c:32:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | void imgupdate(w, h) | ^ In file included from convert.c:14: ./extern.h:218:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 218 | public void imgupdate(); | ^ convert.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | int read_pnm_header(fp, data, colorhints, nhints) | ^ convert.c:114:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | int read_pnm_pixels(fp, t, cp, n) | ^ convert.c:238:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | int color_pixel(col) | ^ convert.c:266:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | int colcnt(p, len, ctbl, ntbl, n, itbl) | ^ convert.c:296:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | int ncolcmp(p1, p2) | ^ convert.c:303:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | int icolcmp(p1, p2) | ^ convert.c:341:21: warning: passing arguments to 'request_color2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | request_color2(i, ctbl+ntbl[i].i); | ^ convert.c:310:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | void slow_convert(px, w, h) | ^ convert.c:386:12: warning: passing arguments to 'get_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | get_color(color_buf, colcnt); | ^ convert.c:420:25: warning: passing arguments to 'request_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | c = request_color(px+x); | ^ convert.c:364:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | int rd_pnm(fp) | ^ In file included from convert.c:14: ./extern.h:223:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 223 | public int rd_pnm(); | ^ convert.c:455:15: warning: passing 'unsigned char[4096]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 455 | if (strncmp(buf, kiss_magic_number, preload) == 0) { | ^~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ convert.c:474:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | redraw_window(infomenu[INFOMENU_GSKCF].win); | ^ convert.c:498:12: warning: passing arguments to 'get_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | get_color(color_buf+16*current_pal, col); | ^ convert.c:445:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | int rd_kcf(fp) | ^ In file included from convert.c:14: ./extern.h:224:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 224 | public int rd_kcf(); | ^ convert.c:504:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | int wr_kcf(fp) | ^ In file included from convert.c:14: ./extern.h:225:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 225 | public int wr_kcf(); | ^ convert.c:561:15: warning: passing 'unsigned char[4096]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 561 | if (strncmp(buf, kiss_magic_number, preload) == 0) { | ^~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ convert.c:581:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | redraw_window(infomenu[INFOMENU_GSCEL].win); | ^ convert.c:550:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | int rd_cel(fp) | ^ In file included from convert.c:14: ./extern.h:226:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 226 | public int rd_cel(); | ^ convert.c:649:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | int wr_cel(fp) | ^ In file included from convert.c:14: ./extern.h:227:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 227 | public int wr_cel(); | ^ convert.c:705:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | int wr_ppm(fp) | ^ In file included from convert.c:14: ./extern.h:230:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 230 | public int wr_ppm(); | ^ convert.c:737:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | int write_xbm_out(fp, data, datalen, end) | ^ convert.c:771:19: warning: passing arguments to 'basefilename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | p = basefilename(namebuf); | ^ convert.c:760:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | int wr_xbm(fp, name) | ^ In file included from convert.c:14: ./extern.h:229:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 229 | public int wr_xbm(); | ^ convert.c:800:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | int strcmp_tail(p, tail) | ^ convert.c:814:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | int rd_xbm(fp) | ^ In file included from convert.c:14: ./extern.h:228:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 228 | public int rd_xbm(); | ^ convert.c:876:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | void setpixel_sub2(x0, y0, pixel) | ^ convert.c:893:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | void setpixel_sub(x0, y0, pixel) | ^ convert.c:914:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | void setpixelcolor(x, y, col) | ^ In file included from convert.c:14: ./extern.h:219:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 219 | public void setpixelcolor(); | ^ convert.c:931:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | void gen_image_subv(x0, y0, w, h) | ^ In file included from convert.c:14: ./extern.h:215:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | public void gen_image_subv(); | ^ convert.c:949:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | void gen_image_sub(x0, y0, w, h) | ^ In file included from convert.c:14: ./extern.h:216:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 216 | public void gen_image_sub(); | ^ convert.c:974:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | void update_area(x, y, w, h) | ^ In file included from convert.c:14: ./extern.h:217:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 217 | public void update_area(); | ^ convert.c:985:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | void fill_area2(dstx, dsty, w, h, c) | ^ In file included from convert.c:14: ./extern.h:220:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 220 | public void fill_area2(); | ^ convert.c:1010:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | void fill_area(dstx, dsty, w, h, c) | ^ In file included from convert.c:14: ./extern.h:221:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 221 | public void fill_area(); | ^ convert.c:1035:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | void copy_area(dstx, dsty, srcx, srcy, w, h) | ^ In file included from convert.c:14: ./extern.h:222:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 222 | public void copy_area(); | ^ convert.c:1076:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1076 | void gen_image_col(x0, y0, w, h) | ^ In file included from convert.c:14: ./extern.h:214:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | public void gen_image_col(); | ^ 57 warnings generated. --- file.o --- file.c:237:20: warning: passing arguments to 'filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | return filename(imgfilename); | ^ file.c:239:20: warning: passing arguments to 'filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | return filename(colfilename); | ^ file.c:232:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | char *namemenu_str(p) | ^ file.c:213:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 213 | char *namemenu_str(); | ^ file.c:268:16: warning: passing arguments to 'scroll_up' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | scroll_up(i - scroll_pos); | ^ file.c:270:18: warning: passing arguments to 'scroll_down' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | scroll_down(scroll_pos - i); | ^ file.c:245:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | int sliderev(p, ev) | ^ file.c:394:14: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | n = get_dir(current_path, filenamebuf, MAXFILENAME, MAXFILE); | ^ file.c:399:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | redraw_window(filemenu[FILE_PATH].win); | ^ file.c:407:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | char *slotwin_strfunc(p) | ^ file.c:421:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | redraw_window(p->win); | ^ file.c:426:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | void set_slotmode(n) | ^ file.c:462:25: warning: passing arguments to 'create_toplevel_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | create_toplevel_window(&filewin, "file", str_file_geom, | ^ file.c:464:17: warning: passing arguments to 'menuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | menuwin_create(filemenu, filewin, 0, 0); | ^ file.c:486:17: warning: passing arguments to 'menuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | menuwin_create(fileslot, file2win, 0, 0); | ^ file.c:487:17: warning: passing arguments to 'menuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | menuwin_create(slotwin, filewin, BDW, 0); | ^ file.c:490:17: warning: passing arguments to 'menuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | menuwin_create(slidermenu, filemenu[FILE_SLIDER].win, 0, 0); | ^ file.c:492:19: warning: passing arguments to 'change_directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | change_directory(""); /* get current */ | ^ file.c:512:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | char *get_parent_pathname(path) | ^ file.c:532:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | redraw_window(filemenu[FILE_NAME].win); | ^ file.c:526:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | void set_current_name(name) | ^ file.c:576:20: warning: passing arguments to 'get_current_dir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | get_current_dir(buf); | ^ file.c:598:14: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | if (get_dir(buf, buf2, sizeof(buf2), 1)) { | ^ file.c:602:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | redraw_window(filemenu[FILE_PATH].win); | ^ file.c:566:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | int change_directory(dir) | ^ In file included from file.c:16: ./extern.h:309:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 309 | public int change_directory(); | ^ file.c:616:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | redraw_window(namemenu[NAMEMENU_IMAGE].win); | ^ file.c:617:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | redraw_window(infomenu[INFOMENU_IMGFILE].win); | ^ file.c:612:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | void set_imgfilename(name) | ^ In file included from file.c:12: ./work.h:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | extern void set_imgfilename(); | ^ file.c:624:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | redraw_window(namemenu[NAMEMENU_COLOR].win); | ^ file.c:625:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | redraw_window(infomenu[INFOMENU_COLFILE].win); | ^ file.c:626:16: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | redraw_window(infomenu[INFOMENU_COLCOUNT].win); | ^ file.c:620:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | void set_colfilename(name) | ^ In file included from file.c:12: ./work.h:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | extern void set_colfilename(); | ^ file.c:634:20: warning: passing arguments to 'topmenuwin_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | topmenuwin_create(namemenu, x, y); | ^ file.c:629:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | void create_filename_window(win, x, y) | ^ In file included from file.c:16: ./extern.h:317:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 317 | public void create_filename_window(); | ^ file.c:637:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | char *skip_space(p) | ^ file.c:649:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | char *match_struct(tbl, len, p) | ^ file.c:665:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | int match_string(tbl, p) | ^ file.c:678:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | char *get_string( | ^ file.c:853:22: warning: passing arguments to 'parse_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | return parse_option(&i, &argv); | ^ file.c:826:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | int parse_option_configuration( | ^ file.c:872:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | int parse_window_configuration( | ^ file.c:970:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | void gen_geometry_string( | ^ file.c:1005:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | int write_window_geometry( | ^ file.c:1087:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | char **split_command(str, filename) | ^ file.c:1121:21: warning: passing arguments to 'reset_color_pushed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | reset_color_pushed(-1); | ^ file.c:1130:9: warning: passing arguments to 'wr_kcf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1130 | wr_kcf(fp); | ^ file.c:1148:9: warning: passing arguments to 'wr_cel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1148 | wr_cel(fp); | ^ file.c:1209:23: 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] 1209 | r = p->readroutine(fp); | ^ file.c:1164:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | int read_any_file(p, name) | ^ file.c:1266:22: 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] 1266 | r = p->writeroutine(fp, name); | ^ file.c:1228:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | int write_any_file(p, name) | ^ file.c:1286:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | int get_filetype(name) | ^ file.c:1300:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | int read_data_file(name) | ^ In file included from file.c:16: ./extern.h:318:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 318 | public int read_data_file(); | ^ file.c:1329:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1329 | int change_select_slot( | ^ file.c:1416:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | int cmp_slot(p1, p2) | ^ file.c:1456:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1456 | redraw_window(p->win); | ^ file.c:1440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | void scroll_up(n) | ^ file.c:129:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | void scroll_up(); | ^ file.c:1483:18: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1483 | redraw_window(p->win); | ^ file.c:1467:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1467 | void scroll_down(n) | ^ file.c:128:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | void scroll_down(); | ^ file.c:1507:15: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1507 | redraw_window((fileslot+i)->win); | ^ file.c:1513:15: warning: passing arguments to 'redraw_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1513 | redraw_window((fileslot+i)->win); | ^ file.c:1493:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | int slotev(p, ev) | ^ file.c:126:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | int slotev(); | ^ file.c:1531:23: warning: passing arguments to 'menu_icon_center' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | menu_icon_center(p, ICON_up); | ^ file.c:1534:23: warning: passing arguments to 'menu_icon_center' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1534 | menu_icon_center(p, ICON_down); | ^ file.c:1523:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1523 | int slotev2(p, ev) | ^ file.c:127:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 127 | int slotev2(); | ^ file.c:1576:18: warning: passing arguments to 'menu_stat_change' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1576 | menu_stat_change(1, 0); | ^ file.c:1547:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1547 | int fileev(p, ev) | ^ file.c:125:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | int fileev(); | ^ 77 warnings generated. --- xpx --- rm -f xpx cc -o xpx -L/usr/local/lib main.o work.o image.o menu.o palset.o colset.o file.o sub.o zoom.o convert.o grid.o cursor.o tile.o info.o inputstr.o dir.o edit.o scrl.o icon.o message.o undo.o line.o circle.o ellipse.o paint.o area.o mag.o cbb.o magtoppm.o tim.o nbn.o hold.o -lXext -lX11 -Wl,-rpath,/usr/local/lib =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xpx-1.41_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xpx-1.41_2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xpx-1.41_2 ===> Generating temporary packing list /usr/bin/install -c -s xpx /wrkdirs/usr/ports/graphics/xpx/work/stage/usr/local/bin/xpx install in . done install.man in . done install -m 0644 /wrkdirs/usr/ports/graphics/xpx/work/xpx/xpx.doc /wrkdirs/usr/ports/graphics/xpx/work/stage/usr/local/share/doc/ja/xpx install -m 0644 /wrkdirs/usr/ports/graphics/xpx/work/xpx/xpxrc.eg /wrkdirs/usr/ports/graphics/xpx/work/stage/usr/local/share/doc/ja/xpx ====> 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-13T09:11:22+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=fb16dfecae4a' '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 xpx-1.41_2 ===> Building xpx-1.41_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xpx-1.41_2 build of graphics/xpx | xpx-1.41_2 ended at Fri Mar 13 05:11:34 EDT 2026 build time: 00:00:13