=>> Building games/fkiss build started at Tue Mar 17 11:32:20 EDT 2026 port directory: /usr/ports/games/fkiss package name: fkiss-0.33a_7 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1815 Aug 27 2024 /usr/ports/games/fkiss/Makefile Ports top last git commit: 8c988f802ea2 Ports top unclean checkout: no Port dir last git commit: a36cd930e200 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 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_15_0_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_15_0_x64-HEAD-ALL/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_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 fkiss-0.33a_7: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/fkiss/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/fkiss/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/fkiss/work/.cache HOME=/wrkdirs/usr/ports/games/fkiss/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/fkiss/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/fkiss/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/fkiss/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/fkiss/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/fkiss/work/.cache HOME=/wrkdirs/usr/ports/games/fkiss/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/fkiss/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/fkiss/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="" PORTEXAMPLES="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/fkiss" EXAMPLESDIR="share/examples/fkiss" DATADIR="share/fkiss" WWWDIR="www/fkiss" ETCDIR="etc/fkiss" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fkiss DOCSDIR=/usr/local/share/doc/fkiss EXAMPLESDIR=/usr/local/share/examples/fkiss WWWDIR=/usr/local/www/fkiss ETCDIR=/usr/local/etc/fkiss --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 fkiss 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 ===> fkiss-0.33a_7 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> fkiss-0.33a_7 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of fkiss-0.33a_7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The fkiss 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 fkiss-0.33a_7 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The fkiss 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 fkiss-0.33a_7 for building => SHA256 Checksum OK for fkiss-0.33.tar.gz. => SHA256 Checksum OK for fkiss-0.33a-patch.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 fkiss 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 fkiss-0.33a_7 for building ===> Extracting for fkiss-0.33a_7 => SHA256 Checksum OK for fkiss-0.33.tar.gz. => SHA256 Checksum OK for fkiss-0.33a-patch.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 fkiss-0.33a_7 ===> Applying extra patch /wrkdirs/usr/ports/games/fkiss/work/fkiss-0.33a.diff =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> fkiss-0.33a_7 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> fkiss-0.33a_7 depends on package: gmake>=4.4.1 - found ===> Returning to build of fkiss-0.33a_7 ===> fkiss-0.33a_7 depends on package: xorgproto>=0 - not found ===> Installing existing package /packages/All/xorgproto-2024.1.pkg [pkg.DaveG.ca] Installing xorgproto-2024.1... [pkg.DaveG.ca] Extracting xorgproto-2024.1: .......... done ===> fkiss-0.33a_7 depends on package: xorgproto>=0 - found ===> Returning to build of fkiss-0.33a_7 ===> fkiss-0.33a_7 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.13,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.13,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] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.13,1: .......... done ===> fkiss-0.33a_7 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of fkiss-0.33a_7 ===> fkiss-0.33a_7 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> fkiss-0.33a_7 depends on file: /usr/local/bin/ccache - found ===> Returning to build of fkiss-0.33a_7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for fkiss-0.33a_7 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether /usr/local/bin/gmake sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gawk... (cached) /usr/bin/awk checking for gcc... cc checking whether the C compiler (cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ) works... yes checking whether the C compiler (cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for esd_open_sound in -lesd... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... (cached) yes checking for strings.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stat.h... no checking for signal.h... (cached) yes checking for esd.h... no checking for X... libraries /usr/local/lib, headers /usr/local/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... (cached) yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether cc needs -traditional... no checking return type of signal handlers... void checking for vprintf... (cached) yes checking for index... (cached) yes checking for rindex... (cached) yes checking for bcopy... (cached) yes checking for bcmp... (cached) yes checking for bzero... (cached) yes checking for strdup... (cached) yes checking for usleep... (cached) yes checking for gettimeofday... (cached) yes checking for strtol... (cached) yes checking for uname... (cached) yes checking for opendir... (cached) yes checking for closedir... (cached) yes checking for readdir... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for fkiss-0.33a_7 cd . && true cd . && true cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c fkiss.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c menu.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c selcnf.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c cursor.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c sound.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c dir.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c kisscnf.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c sub.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c color.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c comment.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c kisseve.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c bg.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c timer.c cd . && true cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c codeconv.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c jiscode.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c work.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c message.c jiscode.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 is_sjis_1st(c) | ^ jiscode.c:28:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | int is_sjis_2nd(c) | ^ jiscode.c:34:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | unsigned short ysjis2jis(c) | ^ jiscode.c:57:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | unsigned short yjis2sjis(c) | ^ 4 warnings generated. timer.c:28:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | long diff_time(p1, p0) | ^ In file included from timer.c:24: ./timer.h:51: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] 51 | long diff_time(); | ^ timer.c:45:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | void add_time(p, n) | ^ In file included from timer.c:24: ./timer.h:52: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] 52 | void add_time(); | ^ 4 warnings generated. bg.c:69:13: warning: passing arguments to 'cut_crlf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | cut_crlf(buf); | ^ bg.c:84:18: warning: passing arguments to 'sound_play' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | i = sound_play(p); | ^ bg.c:89:9: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | msg("W sound file ``%s'' open error.\n", p); | ^ bg.c:92:9: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | msg("W sound device ``%s'' open error.\n", sound_device); | ^ bg.c:95:9: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | msg("W ``%s'' not supported sound format.\n", p); | ^ bg.c:98:9: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | msg("W unknown sound error (%d)!?\n", i); | ^ bg.c:144:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | int bg_shell(str) | ^ In file included from bg.c:40: ./extern.h:206: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] 206 | public int bg_shell(); | ^ bg.c:154:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | int bg_play(name) | ^ In file included from bg.c:40: ./extern.h:208: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] 208 | public int bg_play(); | ^ bg.c:180:12: warning: passing arguments to 'kiss_exit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | kiss_exit(1); | ^ bg.c:174:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | RETSIGTYPE signal_handler(sig) | ^ 12 warnings generated. dir.c:97:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | void dir_free(list) | ^ In file included from dir.c:41: ./extern.h:240: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] 240 | public void dir_free(); | ^ dir.c:135:30: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | list = (char **)ks_malloc(sizeof(char *)); | ^ dir.c:138:22: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | buf = ks_malloc(i + 1); | ^ dir.c:141:25: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | subdir = ks_malloc(strlen(path) + 1 + strlen(buf) + 1); | ^ dir.c:148:20: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | ss = ks_malloc(strlen(buf) + 1 + strlen(*sublist) + 1); | ^ dir.c:151:32: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | list = (char **)ks_realloc(list, sizeof(char *) * (r+1)); | ^ dir.c:158:29: 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] 158 | if (func == NULL || (*func)(buf)) { | ^ dir.c:160:30: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | list = (char **)ks_realloc(list, sizeof(char *) * (r+1)); | ^ dir.c:112:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | char **dir_ls(path, func) | ^ In file included from dir.c:41: ./extern.h:239: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] 239 | public char **dir_ls(); | ^ 11 warnings generated. message.c:37:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | void msg_init(p) | ^ In file included from message.c:29: ./extern.h:74:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | public void msg_init(); | ^ message.c:86:14: warning: passing arguments to 'kiss_exit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | kiss_exit(1); | ^ message.c:120:26: warning: incompatible pointer types passing 'char *' to parameter of type 'struct __va_list_tag *' [-Wincompatible-pointer-types] 120 | vsprintf(msgp, format, ap); | ^~ /usr/include/stdio.h:310:15: note: passing argument to parameter here 310 | __va_list); | ^ message.c:114:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | void msgset(format) | ^ In file included from message.c:29: ./extern.h:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | public void msgset(); | ^ message.c:156:26: warning: incompatible pointer types passing 'char *' to parameter of type 'struct __va_list_tag *' [-Wincompatible-pointer-types] 156 | vsprintf(msgp, format, ap); | ^~ /usr/include/stdio.h:310:15: note: passing argument to parameter here 310 | __va_list); | ^ message.c:150:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | void msg(format) | ^ In file included from message.c:29: ./extern.h:88: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] 88 | public void msg(); | ^ message.c:197:30: warning: incompatible pointer types passing 'char *' to parameter of type 'struct __va_list_tag *' [-Wincompatible-pointer-types] 197 | vfprintf(stderr, format, ap); | ^~ /usr/include/stdio.h:307:15: note: passing argument to parameter here 307 | __va_list); | ^ message.c:190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | void debug_printf(format) | ^ In file included from message.c:29: ./extern.h:89: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] 89 | public void debug_printf(); | ^ 12 warnings generated. comment.c:62:16: warning: passing arguments to 'draw_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | draw_string(d, x, y, buf); | ^ comment.c:79:22: warning: passing arguments to 'draw_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | i = draw_string(d, x, y, buf); | ^ comment.c:47:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | int expose_comment_line(d, n, x, y, mark, rw, rh) | ^ comment.c:104:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | int expose_comment_sub(d, celn, x, y, rw, rh) | ^ comment.c:143:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | void expose_comment(ev) | ^ In file included from comment.c:32: ./extern.h:195: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] 195 | public void expose_comment(); | ^ comment.c:172:28: warning: passing arguments to 'search_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | comment_cel = search_cell(x, y); | ^ comment.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 map_comment(ev) | ^ In file included from comment.c:32: ./extern.h:197: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] 197 | public void map_comment(); | ^ 9 warnings generated. codeconv.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 *coding_name(n) | ^ In file included from codeconv.c:53: ./extern.h:248: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] 248 | public char *coding_name(); | ^ codeconv.c:86:63: warning: passing 'unsigned char *' 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] 86 | for (p0 = (unsigned char *)str; (p = (unsigned char *)index(p0, 033)) != NULL; p0 = p) { | ^~ /usr/include/strings.h:64:25: note: passing argument to parameter here 64 | char *index(const char *, int) __pure; /* LEGACY */ | ^ codeconv.c:78:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | int check_coding(str) | ^ In file included from codeconv.c:53: ./extern.h:249: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] 249 | public int check_coding(); | ^ codeconv.c:149:23: warning: passing arguments to 'yjis2sjis' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | code = yjis2sjis(code); | ^ codeconv.c:137:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | void strnjis2sjis(dst, src, n) | ^ codeconv.c:170:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 170 | strnjis2sjis(dst, p0, i); | ^~~ codeconv.c:170:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 170 | strnjis2sjis(dst, p0, i); | ^~ codeconv.c:190:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 190 | strnjis2sjis(dst, p0, i); | ^~~ codeconv.c:190:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 190 | strnjis2sjis(dst, p0, i); | ^~ codeconv.c:157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | void convert_from_jis(dst, str) | ^ codeconv.c:208:23: warning: passing arguments to 'yjis2sjis' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | code = yjis2sjis(code); | ^ codeconv.c:197:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | void convert_from_euc(dst, src) | ^ codeconv.c:228:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 228 | convert_from_euc(dst, src); | ^~~ codeconv.c:228:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 228 | convert_from_euc(dst, src); | ^~~ codeconv.c:219:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | void convert_coding(dst, src) | ^ In file included from codeconv.c:53: ./extern.h:250: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] 250 | public void convert_coding(); | ^ 18 warnings generated. sub.c:37:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | int ks_system2(str) | ^ In file included from sub.c:31: ./extern.h:51:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | public int ks_system2(); | ^ sub.c:52:20: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | buf = ks_malloc(strlen(extract_dir) + 16); | ^ sub.c:45:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | void kiss_exit(code) | ^ In file included from sub.c:31: ./extern.h:57: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] 57 | public void kiss_exit(); | ^ sub.c:71:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | msg("E cannot exec ``%s''\n", str); | ^ sub.c:67:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | void ks_system(str) | ^ In file included from sub.c:31: ./extern.h:52:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | public void ks_system(); | ^ sub.c:76:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | msg("E More core!\n"); | ^ sub.c:80:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | char *ks_malloc(n) | ^ In file included from sub.c:31: ./extern.h:48: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] 48 | public char *ks_malloc(); | ^ sub.c:91:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | char *ks_realloc(p, n) | ^ In file included from sub.c:31: ./extern.h:49: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] 49 | public char *ks_realloc(); | ^ sub.c:101:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | char *ks_strdup(str) | ^ In file included from sub.c:31: ./extern.h:50: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] 50 | public char *ks_strdup(); | ^ sub.c:120:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | char *get_directory(path) | ^ In file included from sub.c:31: ./extern.h:53: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] 53 | public char *get_directory(); | ^ sub.c:134:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | char *get_filename(path) | ^ In file included from sub.c:31: ./extern.h:54: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] 54 | public char *get_filename(); | ^ sub.c:144:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | void strlower(str) | ^ sub.c:153:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | char *dos_filename(src) | ^ In file included from sub.c:31: ./extern.h:58: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] 58 | public char *dos_filename(); | ^ sub.c:176:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | char *dos_pathname(src) | ^ In file included from sub.c:31: ./extern.h:59: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] 59 | public char *dos_pathname(); | ^ sub.c:190:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | int strcmp_dos_filename(dst, src) | ^ In file included from sub.c:31: ./extern.h:60: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] 60 | public int strcmp_dos_filename(); | ^ sub.c:206:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | int is_suffix(name, suffix) | ^ In file included from sub.c:31: ./extern.h:55: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] 55 | public int is_suffix(); | ^ sub.c:223:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | void cut_crlf(p) | ^ In file included from sub.c:31: ./extern.h:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | public void cut_crlf(); | ^ sub.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 ks_srand(seed) | ^ In file included from sub.c:31: ./extern.h:61: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] 61 | public void ks_srand(); | ^ sub.c:249:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | void lstr_init(p) | ^ In file included from sub.c:31: ./extern.h:63: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] 63 | public void lstr_init(); | ^ sub.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 lstr_ch(p, c) | ^ In file included from sub.c:31: ./extern.h:64: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] 64 | public void lstr_ch(); | ^ sub.c:270:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | void lstr_bs(p) | ^ In file included from sub.c:31: ./extern.h:66: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] 66 | public void lstr_bs(); | ^ 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 lstr_cat(p, str) | ^ In file included from sub.c:31: ./extern.h:65: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] 65 | public void lstr_cat(); | ^ 40 warnings generated. selcnf.c:60:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | int is_regular_file(str) | ^ In file included from selcnf.c:29: ./extern.h:140: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] 140 | public int is_regular_file(); | ^ selcnf.c:70:19: warning: passing arguments to 'is_suffix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | return is_suffix(p, default_cnf_suffix); | ^ selcnf.c:76:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | debug_printf("find_cnf_file ``%s''\n", path); | ^ selcnf.c:77:16: warning: passing arguments to 'dir_ls' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | return dir_ls(path, match_cnf); | ^ selcnf.c:73:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | char **find_cnf_file(path) | ^ selcnf.c:87:28: warning: passing arguments to 'calc_text_size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | maxwidth = calc_text_size(str_cancel); | ^ selcnf.c:89:23: warning: passing arguments to 'calc_text_size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | i = calc_text_size(*list); | ^ selcnf.c:95:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | debug_printf("font: %s\nfont ascent %d, descent %d\n", | ^ selcnf.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | void set_menu_font(list) | ^ selcnf.c:102:23: warning: passing arguments to 'which_winlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | return which_winlist(win, mwsel); | ^ selcnf.c:99:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | int which_menuwin(win) | ^ selcnf.c:109:21: warning: passing arguments to 'change_menu_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | change_menu_status((mwsel+n)->win, (mwsel+n)->st = mode); | ^ selcnf.c:105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | void set_menu_status(n, mode) | ^ selcnf.c:158:19: warning: passing arguments to 'alloc_mw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | mwsel = alloc_mw(menucnt); | ^ selcnf.c:169:13: warning: passing arguments to 'cursor_set' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | cursor_set(selwin, 3); /* 3: CUR_ARROW */ | ^ selcnf.c:181:20: warning: passing arguments to 'draw_menu_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | draw_menu_string((mwsel+i)->win, (mwsel+i)->st, menuw, menuh, | ^ selcnf.c:112:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | int select_menu(title, geomstr, mlist) | ^ In file included from selcnf.c:29: ./extern.h:141: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] 141 | public int select_menu(); | ^ selcnf.c:220:24: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | conf_file = ks_strdup(name); | ^ selcnf.c:223:27: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | conf_file = ks_realloc(strlen(extract_dir) + 1 + strlen(name) + 1); | ^ selcnf.c:215:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | int cnf_exist_check(name) | ^ selcnf.c:247:12: warning: passing arguments to 'lstr_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | lstr_init(&buf); | ^ selcnf.c:251:15: warning: passing arguments to 'lstr_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | lstr_cat(&buf, name); | ^ selcnf.c:252:15: warning: passing arguments to 'lstr_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | lstr_cat(&buf, default_cnf_suffix); | ^ selcnf.c:256:31: warning: passing arguments to 'get_directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | conf_dir = get_directory(conf_file); | ^ selcnf.c:259:22: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | conf_dir = ks_strdup(current_dir); | ^ selcnf.c:264:25: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | conf_dir = ks_strdup(name); | ^ selcnf.c:269:25: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | conf_dir = ks_strdup(extract_dir); | ^ selcnf.c:274:25: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | conf_dir = ks_strdup(current_dir); | ^ selcnf.c:278:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | msg("W ``%s'' open error!\n", conf_dir); | ^ selcnf.c:290:26: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | conf_file = ks_malloc(strlen(conf_dir) + 1 + strlen(*(conflist+r)) + 1); | ^ selcnf.c:294:25: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | conf_dir = ks_strdup(conf_file); | ^ selcnf.c:301:13: warning: passing arguments to 'dir_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | dir_free(conflist); | ^ selcnf.c:302:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | debug_printf("selconf conf_dir [%s]\n", conf_dir); | ^ selcnf.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 select_cnf(name) | ^ In file included from selcnf.c:29: ./extern.h:142: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] 142 | public int select_cnf(); | ^ 37 warnings generated. cursor.c:100:39: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | crs = (CURSOR_RESOURCE *)ks_malloc(sizeof(CURSOR_RESOURCE)*MAX_CUR); | ^ cursor.c:120:38: warning: passing 'unsigned char *' 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] 120 | XCreateBitmapFromData(dsp, rootwin, ctbl[i].mask, | ^~~~~~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ cursor.c:123:38: warning: passing 'unsigned char *' 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] 123 | XCreateBitmapFromData(dsp, rootwin, ctbl[i].font, | ^~~~~~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ cursor.c:135:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | void cursor_set(win, n) | ^ In file included from cursor.c:37: ./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 cursor_set(); | ^ cursor.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 | void set_cursor(n) | ^ 6 warnings generated. color.c:50:14: warning: passing 'unsigned char[1024]' 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] 50 | if (strcmp(buf, kiss_magic_number) == 0) { | ^~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ color.c:65:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | debug_printf("%s :\n\tbits/color:%d, colors/palette:%d, pages:%2d, preload:%d,", | ^ color.c:68:34: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | colindex = (short *)ks_malloc(sizeof(short)); | ^ color.c:70:35: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | colindex = (short *)ks_realloc(colindex, sizeof(short)*(loaded_colfcnt+1)); | ^ color.c:75:38: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | kcol[i] = (KISSCOLOR *)ks_realloc(kcol[i], | ^ color.c:85:17: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | debug_printf("\npg%3d:", n); | ^ color.c:112:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | debug_printf("colcnt changed from %d to %d (%d + %d - %d) !\n", | ^ color.c:117:17: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | debug_printf("palcnt changed from %d to %d !\n", palcnt, p->pg); | ^ color.c:36:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | int read_color_file(fp, p) | ^ color.c:130:37: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | kcol[i] = (KISSCOLOR *)ks_malloc(sizeof(KISSCOLOR)); | ^ color.c:135:18: warning: passing arguments to 'ks_fopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | fp = ks_fopen(p->filename, "rb"); | ^ color.c:137:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | msg("E color file ``%s'' not found!\n", p->filename); | ^ color.c:141:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | msg("E color file ``%s'' read error!\n", p->filename); | ^ color.c:158:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | int set_private_colorcells(n) | ^ In file included from color.c:30: ./extern.h:231: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] 231 | public int set_private_colorcells(); | ^ color.c:172:38: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | pixels = (unsigned long *)ks_malloc(sizeof(unsigned long)*colcnt); | ^ color.c:177:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | debug_printf("get %d private colorcells\n", colcnt); | ^ color.c:200:38: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | pixels = (unsigned long *)ks_malloc(sizeof(*pixels)*npal*ncol); | ^ color.c:218:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | msg("M free all %d colors.\n", pixelcount); | ^ color.c:190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | void free_alloced_colors(status, npal, ncol) | ^ color.c:278:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | int get_near_color(xp, xp0, cells) | ^ color.c:313:22: warning: passing arguments to 'parse_system_colors' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | parse_system_colors(col); | ^ color.c:305:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | void very_poor_system_pixels(xp0, cells) | ^ color.c:332:26: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | status[i] = ks_malloc(colcnt); | ^ color.c:358:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | msg("W allocation missed %3d colors in phase %d.\n", | ^ color.c:362:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | msg("M free system colors.\n"); | ^ color.c:365:32: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | xp0 = (XColor *)ks_malloc(sizeof(XColor)*cells); | ^ color.c:371:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | msg("M make a new colormap.\n"); | ^ color.c:386:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | msg("M abandon to use private color cells.\n"); | ^ color.c:396:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | msg("W reduce color levels.\n"); | ^ color.c:407:10: warning: passing arguments to 'msgset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | msgset("W pal %d color %3d %04x %04x %04x", | ^ color.c:412:7: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | msg(" -> %04x %04x %04x.\n", | ^ color.c:424:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | msg("W give up color allocation.\n"); | ^ 33 warnings generated. sound.c:131:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | void adjust_parms(sf) | ^ sound.c:144:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | int setup_dsp(fd, p) | ^ sound.c:158:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | void conv_center80(buf, n) | ^ sound.c:168:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | int get_highest_bytes(sf, buf, n) | ^ sound.c:199:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | void conv_ulaw_dsp(buf, n) | ^ sound.c:204:9: warning: unsequenced modification and access to 'buf' [-Wunsequenced] 204 | *buf++ = ulaw_dsp[*buf]; | ^ ~~~ sound.c:217:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 217 | conv_ulaw_dsp(buf, n); | ^~~ sound.c:223:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 223 | n = get_highest_bytes(sf, buf, n); | ^~~ sound.c:226:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 226 | conv_center80(buf, n); | ^~~ sound.c:207:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | int convert_sound(sf, buf, n) | ^ sound.c:233:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | void play_sync(fd) | ^ sound.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 play_sound(fd, buf, n) | ^ sound.c:261:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | short get_short(sf, p) | ^ sound.c:270:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | long get_long(sf, p) | ^ sound.c:303:15: warning: passing 'unsigned char *' 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] 303 | if (strncmp(buf, ".snd", 4) != 0) { | ^~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ sound.c:304:17: warning: passing 'unsigned char *' 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] 304 | if (strncmp(buf, "dns.", 4) != 0) | ^~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ sound.c:284:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | int check_au_header(sf, buf) | ^ sound.c:340:15: warning: passing 'unsigned char *' 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] 340 | if (strncmp(buf, "RIFF", 4)) | ^~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ sound.c:343:15: warning: passing 'unsigned char *' 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] 343 | if (strncmp(buf+8, "WAVE", 4)) | ^~~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ sound.c:349:18: warning: passing 'unsigned char *' 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] 349 | while (strncmp(p, "fmt ", 4) != 0) { | ^ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ sound.c:406:18: warning: passing 'unsigned char *' 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] 406 | while (strncmp(p, "data", 4)) { | ^ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ sound.c:409:63: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 409 | fprintf(stderr, "%08x %ld bytes section [%.4s] skip\n", p-buf, len, p); | ~~~~ ^~~~~ | %08lx sound.c:423:46: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 423 | fprintf(stderr, "RIFF-WAVE offset %d\n", p - buf); | ~~ ^~~~~~~ | %ld sound.c:328:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | int check_wav_header(sf, buf, n) | ^ sound.c:427:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | void disp_file_info(name) | ^ sound.c:437:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | void disp_sound_info(sf, name) | ^ sound.c:473:26: warning: passing arguments to 'is_regular_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | if (is_regular_file(*p)) { | ^ sound.c:474:25: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | midi_player = ks_malloc(strlen(*p) + 1 + strlen(*(p+1)) + 1); | ^ sound.c:554:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | long sound_filesize(name) | ^ In file included from sound.c:77: ./extern.h:277: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] 277 | public long sound_filesize(); | ^ sound.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 cached_no(name) | ^ sound.c:612:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 612 | cp->data_ofs = check_wav_header(&cp->sf, cp->buffer, cp->size); | ^~~~~~~~~~ sound.c:614:65: warning: too many arguments in call to 'check_au_header' 614 | cp->data_ofs = check_au_header(&cp->sf, cp->buffer, cp->size); | ~~~~~~~~~~~~~~~ ^ sound.c:614:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 614 | cp->data_ofs = check_au_header(&cp->sf, cp->buffer, cp->size); | ^~~~~~~~~~ sound.c:580:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | int sound_cache(name) | ^ In file included from sound.c:77: ./extern.h:276: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] 276 | public int sound_cache(); | ^ sound.c:689:21: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | buf2 = ks_malloc(strlen(midi_player) + 1 + strlen(name) + 1); | ^ sound.c:691:15: warning: passing arguments to 'ks_system2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | ks_system2(buf2); | ^ sound.c:723:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 723 | ofs = check_wav_header(sfp, bufp, loadbytes); | ^~~~ sound.c:725:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 725 | ofs = check_au_header(sfp, bufp); | ^~~~ sound.c:660:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | int sound_play(name) | ^ In file included from sound.c:77: ./extern.h:275: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] 275 | public int sound_play(); | ^ 42 warnings generated. kisscnf.c:52:31: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | object = (OBJECT *)ks_malloc(n); | ^ kisscnf.c:56:38: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | kset[i].obj = (OBJPOS *)ks_malloc(n); | ^ kisscnf.c:61:27: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | cell = (CELL *)ks_malloc(n); | ^ kisscnf.c:72:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | msg("W cell count %d range over (max %d).\n", n, MAXCEL); | ^ kisscnf.c:78:30: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | cell = (CELL *)ks_realloc(cell, sizeof(*cell)*i); | ^ kisscnf.c:66:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | int change_celmax(n) | ^ kisscnf.c:91:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | msg("W object mark %d range over (max %d).\n", n, MAXOBJ); | ^ kisscnf.c:97:34: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | object = (OBJECT *)ks_realloc(object, sizeof(OBJECT)*i); | ^ kisscnf.c:100:41: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | kset[j].obj = (OBJPOS *)ks_realloc(kset[j].obj, sizeof(OBJPOS)*i); | ^ kisscnf.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 change_objmax(n) | ^ kisscnf.c:108:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | void skip_space(p) | ^ kisscnf.c:115:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | void skip_notspace(p) | ^ kisscnf.c:151:12: warning: passing arguments to 'lstr_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | lstr_init(&namebuf); | ^ kisscnf.c:153:12: warning: passing arguments to 'lstr_ch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | lstr_ch(&namebuf, *str++); | ^ kisscnf.c:162:13: warning: passing arguments to 'msgset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | msgset("W color file #%d nothing! use #0.\n", i); | ^ kisscnf.c:196:12: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | msg("W cell fix value %d + old fix value %d >= %d, ignored.\n", | ^ kisscnf.c:122:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | int cnf_cell(str, lcnt) | ^ kisscnf.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 cnf_set(str) | ^ kisscnf.c:260:12: warning: passing arguments to 'lstr_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | lstr_init(&buf); | ^ kisscnf.c:262:33: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | kcflist = (COLOR *)ks_malloc(sizeof(COLOR)); | ^ kisscnf.c:264:34: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | kcflist = (COLOR *)ks_realloc(kcflist, sizeof(COLOR)*(colorfilecnt+1)); | ^ kisscnf.c:267:12: warning: passing arguments to 'lstr_ch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | lstr_ch(&buf, *str++); | ^ kisscnf.c:254:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | int cnf_color(str) | ^ kisscnf.c:283:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | debug_printf("set screen size %3dx%3d.\n", w, h); | ^ kisscnf.c:289:11: warning: passing arguments to 'msgset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | msgset("W bad screen size %dx%d.\n", w, h); | ^ kisscnf.c:273:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | int cnf_size(str) | ^ kisscnf.c:301:17: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | debug_printf("set border %d.\n", i); | ^ kisscnf.c:293:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | int cnf_border(str) | ^ kisscnf.c:307:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | char *cut_comment(p) | ^ kisscnf.c:346:16: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | debug_printf("set transparency hint %d\n", i); | ^ kisscnf.c:359:19: warning: passing arguments to 'parse_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | p2 = parse_string(&p, NULL); | ^ kisscnf.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 anal_comment(p) | ^ kisscnf.c:376:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | msg("%s:%d:\n%s", name, lcnt, *(lptr+lcnt-1)); | ^ kisscnf.c:371:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | void report_cnf_error(name, lptr, lcnt) | ^ kisscnf.c:413:14: warning: passing arguments to 'cnf_event' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | cnf_event(p, lcnt); | ^ kisscnf.c:416:11: warning: passing arguments to 'msgset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | msgset("W unknown function.\n"); | ^ kisscnf.c:379:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | int parse_config(str, name, lptr, lcnt) | ^ kisscnf.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 fill_sets(n0, n) | ^ kisscnf.c:499:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | debug_printf("read_config [%s]\n", name); | ^ kisscnf.c:502:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | msg("E ``%s'' open error!\n", name); | ^ kisscnf.c:506:31: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | lineptr = (char **)ks_malloc(sizeof(char *)); | ^ kisscnf.c:508:34: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | lineptr = (char **)ks_realloc(lineptr, sizeof(char *) * (linecnt + 1)); | ^ kisscnf.c:509:35: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | *(lineptr+linecnt) = ks_strdup(buf); | ^ kisscnf.c:512:33: warning: passing arguments to 'check_coding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | coding_type = check_coding(buf); | ^ kisscnf.c:515:52: warning: passing arguments to 'coding_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | debug_printf("cnf file coding: %s\n", coding_name(coding_type)); | ^ kisscnf.c:515:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | debug_printf("cnf file coding: %s\n", coding_name(coding_type)); | ^ kisscnf.c:518:35: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | cnf_comment = (char **)ks_malloc(sizeof(char *) * MAXCNFCOMMENT); | ^ kisscnf.c:524:19: warning: passing arguments to 'convert_coding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | convert_coding(buf, *(lineptr+linecount)); | ^ kisscnf.c:532:13: warning: passing arguments to 'cut_crlf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | cut_crlf(buf); | ^ kisscnf.c:539:44: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | cnf_comment[cnf_comment_cnt++] = ks_strdup(buf); | ^ kisscnf.c:540:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | msg("V%s\n", buf); | ^ kisscnf.c:564:24: warning: passing arguments to 'compile_event' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | r = compile_event(i); | ^ kisscnf.c:572:17: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | debug_printf("event compiled.\n"); | ^ kisscnf.c:487:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | int read_config(name) | ^ In file included from kisscnf.c:31: ./extern.h:151: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] 151 | public int read_config(); | ^ kisscnf.c:582:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | int write_set(fp, set) | ^ kisscnf.c:637:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | int write_config(src, dst) | ^ kisscnf.c:687:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | debug_printf("write_config [%s]\n", name); | ^ kisscnf.c:690:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | msg("W ``%s'' open error!\n", name); | ^ kisscnf.c:694:22: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | bakfile = ks_malloc(i); | ^ kisscnf.c:695:22: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | newfile = ks_malloc(i); | ^ kisscnf.c:700:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | msg("W ``%s'' open error!\n", newfile); | ^ kisscnf.c:709:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | msg("W ``%s'' write error!\n", newfile); | ^ kisscnf.c:715:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | msg("W rename ``%s'' -> ``%s'' failed!\n", name, bakfile); | ^ kisscnf.c:721:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | msg("W rename ``%s'' -> ``%s'' failed!\n", newfile, name); | ^ kisscnf.c:678:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | int save_config(name) | ^ In file included from kisscnf.c:31: ./extern.h:169: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] 169 | public int save_config(); | ^ 67 warnings generated. menu.c:93:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | int calc_text_size(str) | ^ In file included from menu.c:32: ./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 calc_text_size(); | ^ menu.c:115:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | msg("W font ``%s'' not found.\n", *name); | ^ menu.c:104:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | XFontStruct *load_fs(name, list) | ^ menu.c:133:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | msg("W use CG default font.\n"); | ^ menu.c:122:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | void load_font_sub(p, name, list, fromgc, ngc) | ^ menu.c:150:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | void change_menu_status(win, mode) | ^ In file included from menu.c:32: ./extern.h:113: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] 113 | public void change_menu_status(); | ^ menu.c:187:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | Window create_menuwins(x, y, w, h, b, mask) | ^ menu.c:202:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | Window create_button_window(x, y, w, h, b) | ^ menu.c:215:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | int calc_menu_width(str) | ^ menu.c:271:22: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | p = (MW *)ks_malloc(sizeof(MW)*(n+1)); | ^ menu.c:265:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | MW *alloc_mw(n) | ^ In file included from menu.c:32: ./extern.h:115:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | public MW *alloc_mw(); | ^ menu.c:334:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | int which_winlist(win, p) | ^ In file included from menu.c:32: ./extern.h:116:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | public int which_winlist(); | ^ menu.c:346:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | void draw_menu_string(win, mode, w, h, leftm, topm, str) | ^ In file included from menu.c:32: ./extern.h:112: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] 112 | public void draw_menu_string(); | ^ menu.c:363:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | void draw_button(win, mode, w, h, str) | ^ menu.c:380:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | void expand(dst, src, len) | ^ menu.c:418:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | void dup_char2b(dst, src, len) | ^ menu.c:432:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | int draw_str16(d, x, y, str, len, kanji) | ^ menu.c:489:20: warning: passing arguments to 'is_sjis_1st' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | if (is_sjis_1st(c) && is_sjis_2nd(c2)) { | ^ menu.c:489:38: warning: passing arguments to 'is_sjis_2nd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | if (is_sjis_1st(c) && is_sjis_2nd(c2)) { | ^ menu.c:498:23: warning: passing arguments to 'ysjis2jis' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | code = ysjis2jis(code); | ^ menu.c:469:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | int draw_string(d, x, y, str) | ^ In file included from menu.c:32: ./extern.h:111: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] 111 | public int draw_string(); | ^ menu.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 draw_about_line(y, str) | ^ menu.c:583:15: warning: passing arguments to 'cut_crlf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | cut_crlf(buf); | ^ menu.c:571:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | char *pipe_exec(cmd, buf, len) | ^ menu.c:615:18: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | r = ks_strdup(buf); | ^ menu.c:629:18: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | r = ks_strdup(buf); | ^ menu.c:668:18: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | r = ks_strdup(buf); | ^ menu.c:682:18: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | r = ks_strdup(buf); | ^ menu.c:724:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | void change_menu_func(i) | ^ In file included from menu.c:32: ./extern.h:126:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | public void change_menu_func(); | ^ menu.c:758:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | void expose_menu(p) | ^ In file included from menu.c:32: ./extern.h:118: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] 118 | public void expose_menu(); | ^ menu.c:825:20: warning: passing arguments to 'change_setpal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | change_setpal(i, -1); | ^ menu.c:828:20: warning: passing arguments to 'change_setpal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | change_setpal(-1, i); | ^ menu.c:798:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | void press_menu(p) | ^ In file included from menu.c:32: ./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 press_menu(); | ^ menu.c:832:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | int enter_mw(win, p) | ^ menu.c:844:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | void enter_menu(p) | ^ In file included from menu.c:32: ./extern.h:121: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] 121 | public void enter_menu(); | ^ menu.c:857:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | int leave_mw(win, p) | ^ menu.c:869:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | void leave_menu(p) | ^ In file included from menu.c:32: ./extern.h:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | public void leave_menu(); | ^ 48 warnings generated. kisseve.c:286:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | int parse_keyword(str) | ^ kisseve.c:327:21: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | ep = ks_strdup(p); | ^ kisseve.c:333:21: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | ep = ks_strdup(p); | ^ kisseve.c:337:21: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | ep = ks_strdup(p); | ^ kisseve.c:299:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | char *eval_env(str) | ^ kisseve.c:382:12: warning: passing arguments to 'lstr_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | lstr_init(&str); | ^ kisseve.c:383:12: warning: passing arguments to 'lstr_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | lstr_init(&env_name); | ^ kisseve.c:413:14: warning: passing arguments to 'lstr_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | lstr_cat(&str, eval_env(env_name.buf)); | ^ kisseve.c:415:15: warning: passing arguments to 'lstr_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | lstr_init(&env_name); | ^ kisseve.c:417:15: warning: passing arguments to 'lstr_ch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | lstr_ch(&str, c); | ^ kisseve.c:420:13: warning: passing arguments to 'lstr_ch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | lstr_ch(&env_name, c); | ^ kisseve.c:443:12: warning: passing arguments to 'lstr_ch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | lstr_ch(&str, c); | ^ kisseve.c:444:40: warning: passing arguments to 'is_sjis_1st' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | inkanji = inkanji ? 0 : is_sjis_1st(c & 0xff); | ^ kisseve.c:448:12: warning: passing arguments to 'lstr_bs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | lstr_bs(&str); | ^ kisseve.c:451:13: warning: passing arguments to 'lstr_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | lstr_cat(&str, eval_env(env_name.buf)); | ^ kisseve.c:367:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | char *parse_string(p, charset) | ^ In file included from kisseve.c:137: ./extern.h:161:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | public char *parse_string(); | ^ kisseve.c:461:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | char *get_token(p) | ^ kisseve.c:488:27: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | hp = (HITP *)ks_malloc(sizeof(*hp)); | ^ kisseve.c:490:28: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | hp = (HITP *)ks_realloc(hp, (hn + 1) * sizeof(*hp)); | ^ kisseve.c:473:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | void addhit(c1, c2) | ^ kisseve.c:512:27: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | hp = (HITP *)ks_malloc(sizeof(*hp)); | ^ kisseve.c:514:28: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | hp = (HITP *)ks_realloc(hp, (hn + 1) * sizeof(*hp)); | ^ kisseve.c:497:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | void addobjhit(o1, o2) | ^ kisseve.c:528:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | msg("W (%d) init_hitck: Not Cel '%s'!\n", | ^ kisseve.c:531:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | msg("W (%d) init_hitck: Not Cel '%s'!\n", | ^ kisseve.c:543:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | msg("W (%d) init_hitck: Not object '%s'!\n", | ^ kisseve.c:546:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | msg("W (%d) init_hitck: Not object '%s'!\n", | ^ kisseve.c:521:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | void init_hitck1(p) | ^ kisseve.c:578:13: warning: passing arguments to 'msgset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | msgset("E out of core while allocating %d bytes for %d events !\n", | ^ kisseve.c:592:13: warning: passing arguments to 'msgset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | msgset("W ``%s'' unknown keyword.\n", token); | ^ kisseve.c:599:8: warning: passing arguments to 'msgset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | msgset("W events over %d!\n", WARN_EVENT); | ^ kisseve.c:606:10: warning: passing arguments to 'msgset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | msgset("E out of core while allocating %d bytes for %d events !\n", | ^ kisseve.c:620:15: warning: passing arguments to 'msgset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | msgset("E out of core while allocating %d bytes for 1 action !\n", | ^ kisseve.c:627:15: warning: passing arguments to 'msgset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | msgset("W action without an event.\n"); | ^ kisseve.c:633:8: warning: passing arguments to 'msgset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | msgset("W actions over %d!\n", WARN_ACTION); | ^ kisseve.c:637:8: warning: passing arguments to 'msgset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | msgset("W actions over %d, action ignored!\n", MAXACTION); | ^ kisseve.c:647:8: warning: passing arguments to 'msgset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | msgset( "E out of core while allocating %d bytes for %d actions !\n", | ^ kisseve.c:653:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | debug_printf("evp->actn=%d,\n", evp->actn); | ^ kisseve.c:568:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | int cnf_event(p, lineno) | ^ In file included from kisseve.c:137: ./extern.h:163: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] 163 | public int cnf_event(); | ^ kisseve.c:667:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | debug_printf("\n", i); | ^ kisseve.c:672:28: warning: passing arguments to 'strcmp_dos_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | if (strcmp_dos_filename(*(soundlist+i), name) == 0) { | ^ kisseve.c:674:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | msg("W use sound file ``%s'' instead of ``%s''\n", | ^ kisseve.c:677:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | debug_printf("\n", *(soundlist+i),name); | ^ kisseve.c:659:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | int get_named_sound(name) | ^ kisseve.c:694:28: warning: passing arguments to 'strcmp_dos_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | if (strcmp_dos_filename((cell+i)->filename, name) == 0) { | ^ kisseve.c:696:12: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | msg("W use cel file ``%s'' instead of ``%s''\n", | ^ kisseve.c:684:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | int get_named_cell(name) | ^ kisseve.c:717:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | msg("W sound files over %d!\n", WARN_SOUNDFILE); | ^ kisseve.c:724:38: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | *(soundlist+soundn++) = ks_strdup(str); | ^ kisseve.c:735:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | msg("W timer channels over %d!\n", WARN_TIMER); | ^ kisseve.c:741:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | msg("W set number must be 0 to %d!\n", setcnt-1); | ^ kisseve.c:742:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | msg("W ignore set number %d.\n", r); | ^ kisseve.c:748:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | msg("W col number must be 0 to %d!\n", palcnt-1); | ^ kisseve.c:749:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | msg("W ignore col number %d.\n", r); | ^ kisseve.c:706:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | int regist_object(type, str, errorcode) | ^ kisseve.c:795:17: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | debug_printf(" obj(%d,%d)=[%s]", p->type, p->no, str); | ^ kisseve.c:799:17: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | debug_printf(" obj(%d,%d)", p->type, p->no); | ^ kisseve.c:767:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | int parse_argument(p, str, rtype) | ^ kisseve.c:815:35: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | soundlist = (char **)ks_malloc(sizeof(char *)*MAXSOUNDFILE); | ^ kisseve.c:816:34: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | timertbl = (TIMER *)ks_malloc(sizeof(TIMER)*MAXTIMER); | ^ kisseve.c:823:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | debug_printf("%6d,%6d:\tevent %d: %s(", | ^ kisseve.c:827:17: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | debug_printf("%s%s", !j?"":",", ep->eobj[j].name); | ^ kisseve.c:838:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | debug_printf(").\n"); | ^ kisseve.c:841:17: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | debug_printf("%6d,%6d:\t action %d: %s(", | ^ kisseve.c:844:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | debug_printf("%s%s", !k?"":",", ap->aobj[k].name); | ^ kisseve.c:848:12: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | msg("W (somewhere between line%6d and line%6d)\n\t\t%s!\n", | ^ kisseve.c:856:17: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | debug_printf(").\n"); | ^ kisseve.c:805:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | int compile_event(n) | ^ In file included from kisseve.c:137: ./extern.h:164: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] 164 | public int compile_event(); | ^ kisseve.c:861:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | void init_redraw_area(evw) | ^ In file included from kisseve.c:137: ./extern.h:170: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] 170 | public void init_redraw_area(); | ^ kisseve.c:869:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | void add_redraw_area(evw, x, y, w, h) | ^ kisseve.c:894:17: warning: passing arguments to 'redraw_cells' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | redraw_cells(evw->redraw_xtop, evw->redraw_ytop, w, h); | ^ kisseve.c:886:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | void update_redraw_area(evw) | ^ In file included from kisseve.c:137: ./extern.h:172: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] 172 | public void update_redraw_area(); | ^ kisseve.c:897:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | void delete_timer(ch) | ^ kisseve.c:932:11: warning: passing arguments to 'add_time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | add_time(&tm.starttime, -evw->event_delay); | ^ kisseve.c:934:11: warning: passing arguments to 'add_time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | add_time(&tm.alarmtime, n); | ^ kisseve.c:938:35: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | timertbl = (TIMER *)ks_realloc(timertbl, sizeof(TIMER)*timertbln); | ^ kisseve.c:941:18: warning: passing arguments to 'diff_time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | if (diff_time(&p->alarmtime, &tm.alarmtime) > 0) | ^ kisseve.c:918:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | void set_timer(evw, ch, n) | ^ kisseve.c:980:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 980 | debug_printf("! %s [%s] !\n", p->unmap ? "unmap" : "map", p->filename); | ^ kisseve.c:956:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | int change_cel_mapping0(evw, p, status) | ^ kisseve.c:991:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | int change_cel_mapping(p, status) | ^ In file included from kisseve.c:137: ./extern.h:171: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] 171 | public int change_cel_mapping(); | ^ kisseve.c:1022:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | msg("W change_aobj_mapping: type %d cannot to change mapping\n", p->type); | ^ kisseve.c:1004:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | int change_aobj_mapping(evw, p, status) | ^ kisseve.c:1045:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | debug_printf("! transparency [%s] %d -> %d !\n", | ^ kisseve.c:1051:19: warning: passing arguments to 'set_transparency' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | set_transparency(p, n); | ^ kisseve.c:1031:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | int change_cel_transparency(evw, p, d) | ^ kisseve.c:1079:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | msg("W change_aobj_transparency: type %d cannot to change transparency\n", p->type); | ^ kisseve.c:1061:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | int change_aobj_transparency(evw, p, n) | ^ kisseve.c:1122:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | debug_printf("! %s(%d,%d,%d) ", | ^ kisseve.c:1126:17: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1126 | debug_printf("%.19s.%06ld ", | ^ kisseve.c:1129:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | debug_printf(" !\n"); | ^ kisseve.c:1085:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | void cond_set_timer(evw, ap) | ^ kisseve.c:1152:20: warning: passing arguments to 'move_object_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | move_object_end(&mouse_move_hit); | ^ kisseve.c:1154:20: warning: passing arguments to 'move_object_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | move_object_start(&hit, n); | ^ kisseve.c:1191:19: warning: passing arguments to 'move_object2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | if (move_object2(n, x, y,&ar)) { | ^ kisseve.c:1194:17: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | debug_printf("! %s(%d,%d,%d) !\n", get_syntax(ap->n)->str, n, x, y); | ^ kisseve.c:1196:18: warning: passing arguments to 'move_object_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | move_object_end(&hit); | ^ kisseve.c:1198:22: warning: passing arguments to 'move_object_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | move_object_start(&mouse_move_hit, mo); | ^ kisseve.c:1132:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1132 | int act_move(evw, ap) | ^ kisseve.c:1226:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | debug_printf("! sound(%s) !\n", *(soundlist+ap->aobj[0].no)); | ^ kisseve.c:1227:14: warning: passing arguments to 'bg_play' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1227 | bg_play(*(soundlist+ap->aobj[0].no)); | ^ kisseve.c:1248:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1248 | debug_printf("! timer(%d,%d) ", ap->aobj[0].no, n); | ^ kisseve.c:1250:14: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | debug_printf("%.19s.%06ld ", | ^ kisseve.c:1253:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | debug_printf(" !\n"); | ^ kisseve.c:1264:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | debug_printf("! setfix(%d,%d) !\n", ap->aobj[0].no, ap->aobj[1].no); | ^ kisseve.c:1268:20: warning: passing arguments to 'kissevent_handler2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1268 | kissevent_handler2(EVE_UNFIX, ap->aobj[0].no, 1); | ^ kisseve.c:1281:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | debug_printf("! transparent(%d,%d) !\n", ap->aobj[0].no, ap->aobj[1].no); | ^ kisseve.c:1286:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | debug_printf("! windowsize(%d,%d) !\n", ap->aobj[0].no, ap->aobj[1].no); | ^ kisseve.c:1296:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1296 | debug_printf("! viewport(%d,%d) !\n", ap->aobj[0].no, ap->aobj[1].no); | ^ kisseve.c:1301:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | debug_printf("! shell(%s) !\n", ap->aobj[0].name); | ^ kisseve.c:1303:10: warning: passing arguments to 'bg_shell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1303 | bg_shell(ap->aobj[0].name); | ^ kisseve.c:1306:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1306 | debug_printf("! notify(%s) !\n", ap->aobj[0].name); | ^ kisseve.c:1310:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | debug_printf("! debug(%s) !\n", ap->aobj[0].name); | ^ kisseve.c:1314:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | debug_printf("! quit !\n"); | ^ kisseve.c:1315:23: warning: passing arguments to 'change_menu_func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | change_menu_func(1); /* Quit */ | ^ kisseve.c:1334:18: warning: passing arguments to 'change_setpal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1334 | change_setpal(newset, newcol); | ^ kisseve.c:1209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | int event_action(evw, p, r) | ^ kisseve.c:1349:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | debug_printf("event: %s, arg: %d,%d at %.19s.%06ld\n", | ^ kisseve.c:1339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | int handler_sub(evw, type, arg, arg2) | ^ kisseve.c:1415:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1415 | int kissevent_handler2(type, arg, arg2) | ^ In file included from kisseve.c:137: ./extern.h:166: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] 166 | public int kissevent_handler2(); | ^ kisseve.c:1429:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | int kissevent_handler(type, arg) | ^ In file included from kisseve.c:137: ./extern.h:167: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] 167 | public int kissevent_handler(); | ^ kisseve.c:1447:11: warning: passing arguments to 'ks_srand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | ks_srand(i); | ^ kisseve.c:1455:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | int sound_cache_prio(p0, p1) | ^ kisseve.c:1476:22: warning: passing arguments to 'ks_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1476 | buf = ks_filename(*(soundlist+i)); | ^ kisseve.c:1487:33: warning: passing arguments to 'sound_filesize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | p->filesize = sound_filesize(*(soundlist+i)); | ^ kisseve.c:1496:20: warning: passing arguments to 'sound_cache' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | if (sound_cache(p->pathname) >= 0) { | ^ kisseve.c:1497:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | debug_printf("preload sound file ``%s''\t(%8ld bytes).\n", | ^ kisseve.c:1502:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1502 | debug_printf("preloaded sound total %8ld bytes (limit %8ld bytes).\n", | ^ kisseve.c:1525:32: warning: passing arguments to 'diff_time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1525 | evw.event_delay = diff_time(&evw.tm0, &(timertbl+i)->alarmtime); | ^ kisseve.c:1527:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | debug_printf("event_delay = %ld\n", evw.event_delay); | ^ kisseve.c:1549:25: warning: passing arguments to 'diff_time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | lefttime = diff_time(&p->alarmtime, &tm0); | ^ 139 warnings generated. fkiss.c:127:12: warning: passing arguments to 'kiss_exit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | kiss_exit(0); | ^ fkiss.c:159:12: warning: passing arguments to 'kiss_exit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | kiss_exit(0); | ^ fkiss.c:168:26: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | av = (char **)ks_malloc(sizeof(char *)*(oargc+2)); | ^ fkiss.c:179:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | msg("E ``%s'' exec error!\n", *av); | ^ fkiss.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 is_free_doc_suffix(p) | ^ fkiss.c:203:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | debug_printf("\tstr=\"%s\", result=%d, maxtimer=%d\n", | ^ fkiss.c:189:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | void set_maxtimer(str) | ^ fkiss.c:233:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | debug_printf("\tstr=\"%s\", result=%d, maxevent=%d\n", | ^ fkiss.c:219:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | void set_maxevent(str) | ^ fkiss.c:263:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | debug_printf("\tstr=\"%s\", result=%d, maxsoundfile=%d\n", | ^ fkiss.c:249:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | void set_maxsoundfile(str) | ^ fkiss.c:294:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | debug_printf("\tstr=\"%s\", result=%d, maxaction=%d\n", | ^ fkiss.c:281:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | void set_maxaction(str) | ^ fkiss.c:307:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | void opt_add_doc_suffix(str) | ^ fkiss.c:320:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | void opt_del_doc_suffix(str) | ^ fkiss.c:346:23: warning: passing arguments to 'dos_pathname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | p = dos_pathname(*list); | ^ fkiss.c:354:23: warning: passing arguments to 'dos_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | p = dos_filename(*list); | ^ fkiss.c:333:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | char *search_dir_list(name, list0) | ^ fkiss.c:374:21: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | buf = get_filename(name); | ^ fkiss.c:375:18: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | dir = ks_strdup(name); | ^ fkiss.c:382:21: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | dir = ks_realloc(dir, strlen(dir) + strlen(buf) + 1); | ^ fkiss.c:385:20: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | r = ks_malloc(strlen(conf_dir) + 1 + strlen(p) + 1); | ^ fkiss.c:390:20: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | r = ks_malloc(strlen(extract_dir) + 1 + strlen(p) + 1); | ^ fkiss.c:397:18: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | r = ks_malloc(strlen(conf_dir) + 1 + strlen(p) + 1); | ^ fkiss.c:400:18: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | r = ks_malloc(strlen(extract_dir) + 1 + strlen(p) + 1); | ^ fkiss.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 *ks_filename0(name) | ^ fkiss.c:414:23: warning: passing arguments to 'dos_pathname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | buf = dos_pathname(name); | ^ fkiss.c:406:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | char *ks_filename(name) | ^ In file included from fkiss.c:36: ./extern.h:31: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] 31 | public char *ks_filename(); | ^ fkiss.c:429:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | debug_printf("ks_fopen [%s] -> [%s]\n", name, buf); | ^ fkiss.c:421:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | FILE *ks_fopen(name, mode) | ^ In file included from fkiss.c:36: ./extern.h:34: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] 34 | public FILE *ks_fopen(); | ^ fkiss.c:438:17: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | debug_printf("read_directory extract_dir ``%s''\n", extract_dir); | ^ fkiss.c:439:27: warning: passing arguments to 'dir_ls' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | extract_files = dir_ls(extract_dir, NULL); | ^ fkiss.c:441:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | debug_printf("read_directory conf_dir ``%s''\n", conf_dir); | ^ fkiss.c:442:22: warning: passing arguments to 'dir_ls' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | conf_files = dir_ls(conf_dir, NULL); | ^ fkiss.c:447:11: warning: passing arguments to 'dir_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | dir_free(extract_files); | ^ fkiss.c:448:11: warning: passing arguments to 'dir_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | dir_free(conf_files); | ^ fkiss.c:451:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | void get_effective_area(buf, w, h, newx, newy, neww, newh, byteperpixel) | ^ fkiss.c:526:25: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | lp = (long *)ks_malloc(sizeof(*lp) * newh); | ^ fkiss.c:528:41: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | np = nbuf = (unsigned char *)ks_malloc(neww * 2 * newh); | ^ fkiss.c:547:37: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | return (unsigned char *)ks_realloc(nbuf, np - nbuf); | ^ fkiss.c:509:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | unsigned char *store_image(iline, buf, w, h, newx, newy, neww, newh) | ^ fkiss.c:550:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | unsigned long get_colorpixel(p) | ^ fkiss.c:562:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | void set_colorpixel(p, pixel) | ^ fkiss.c:599:25: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | lp = (long *)ks_malloc(sizeof(*lp) * newh); | ^ fkiss.c:601:41: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | np = nbuf = (unsigned char *)ks_malloc(neww * newh * (sizeof(unsigned long) + 1)); | ^ fkiss.c:620:37: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | return (unsigned char *)ks_realloc(nbuf, np - nbuf); | ^ fkiss.c:582:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | unsigned char *store_image32(iline, buf, w, h, newx, newy, neww, newh) | ^ fkiss.c:641:14: warning: passing 'unsigned char[1024]' 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] 641 | if (strcmp(buf, kiss_magic_number) == 0) { | ^~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ fkiss.c:643:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | msg("W ``%s'' cannot read header.\n", p->filename); | ^ fkiss.c:647:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | msg("W ``%s'' header mark 0x%02x is not cel mark (0x20 or 0x21).\n", | ^ fkiss.c:665:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | debug_printf("%-16s %d %2d %3dx%3d%+4d%+4d ", | ^ fkiss.c:674:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | msg("W ``%s'' %3dx%3d%+4d%+4d over screen %3dx%3d.\n", | ^ fkiss.c:680:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | msg("W change screen size %3dx%3d.\n", imgw0, imgh0); | ^ fkiss.c:688:40: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | ip = ip0 = (unsigned char *)ks_malloc(i); | ^ fkiss.c:707:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | msg("W ``%s'' read %d lines less than %d.\n", p->filename, y, h); | ^ fkiss.c:727:17: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | debug_printf("-> %3dx%3d%+4d%+4d", w, h, ox, oy); | ^ fkiss.c:738:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | debug_printf("\n"); | ^ fkiss.c:623:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | int read_cell_file(fp, p) | ^ fkiss.c:764:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | msg(p, cp->filename); | ^ fkiss.c:833:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | void set_transparency(cp, n) | ^ In file included from fkiss.c:36: ./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 set_transparency(); | ^ fkiss.c:864:14: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | debug_printf("set initial transparency ``%s'' %d\n", | ^ fkiss.c:873:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | Pixmap make_cell_clip(cp) | ^ fkiss.c:958:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | void set_gcpixel(b) | ^ fkiss.c:986:25: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | skip_pixel = ks_malloc(colcnt); | ^ fkiss.c:986:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 986 | skip_pixel = ks_malloc(colcnt); | ^ ~~~~~~~~~~~~~~~~~ fkiss.c:1081:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | msg("E make_cell_pixmap_image create image error!\n"); | ^ fkiss.c:1082:26: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | image->data = ks_malloc(image->bytes_per_line * imgh); | ^ fkiss.c:1135:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | void expose_image(x, y, w, h) | ^ fkiss.c:1144:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1144 | void redraw_cells(x0, y0, w0, h0) | ^ In file included from fkiss.c:36: ./extern.h:30: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] 30 | public void redraw_cells(); | ^ fkiss.c:1205:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | msg("W bad border %d.\n", border_color); | ^ fkiss.c:1243:27: warning: passing arguments to 'set_private_colorcells' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | set_private_colorcells(n); | ^ fkiss.c:1235:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1235 | void change_palette(n) | ^ fkiss.c:1313:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | msg("E color ``%s'' unknown!\n", str_color[i]); | ^ fkiss.c:1306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1306 | void parse_system_colors(p) | ^ In file included from fkiss.c:36: ./extern.h:38:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | public void parse_system_colors(); | ^ fkiss.c:1326:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | msg("W color ``%s'' allocation miss.\n", str_color[i]); | ^ fkiss.c:1334:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1334 | void pix_shift(dir, n, c, m) | ^ fkiss.c:1367:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | debug_printf("*pixel_shift %d\n", pixel_shift); | ^ fkiss.c:1368:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | debug_printf("* R %s %2d %08x\n", (red_d?"<<":">>"), red_n, red_m); | ^ fkiss.c:1369:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | debug_printf("* G %s %2d %08x\n", (green_d?"<<":">>"), green_n, green_m); | ^ fkiss.c:1370:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | debug_printf("* B %s %2d %08x\n", (blue_d?"<<":">>"), blue_n, blue_m); | ^ fkiss.c:1393:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | msg("E Cannot open display ``%s''!\n", str_display); | ^ fkiss.c:1439:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1439 | void calc_window_geom(w, h) | ^ fkiss.c:1477:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | void resize_topwin(w, h) | ^ fkiss.c:1514:21: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1514 | p = get_filename(conf_file); | ^ fkiss.c:1517:18: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1517 | p = get_filename(*(arcfilelist+arcfilecnt-1)); | ^ fkiss.c:1519:17: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | buf = ks_strdup(conf_file); | ^ fkiss.c:1529:15: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1529 | p = ks_strdup(p); | ^ fkiss.c:1547:47: 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] 1547 | iconp = XCreateBitmapFromData(dsp, rootwin, icon_bits, iconw, iconh); | ^~~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ fkiss.c:1549:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | msg("W icon bitmap create missed.\n"); | ^ fkiss.c:1589:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | debug_printf("wm_delete_window %ld\n", wm_delete_window); | ^ fkiss.c:1618:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1618 | int get_cell_pixel(p, x, y) | ^ fkiss.c:1652:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1652 | int search_cell(x, y) | ^ In file included from fkiss.c:36: ./extern.h:32: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] 32 | public int search_cell(); | ^ fkiss.c:1671:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1671 | int move_object2(n, x, y, a) | ^ In file included from fkiss.c:36: ./extern.h:29: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] 29 | public int move_object2(); | ^ fkiss.c:1724:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1724 | void move_object(n, x, y) | ^ fkiss.c:1883: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] 1883 | ((VOIDFUNCPTR)(p->parm))(**av); | ^ fkiss.c:1867:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1867 | int parse_option(ac, av) | ^ fkiss.c:1934:18: warning: passing arguments to 'is_suffix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1934 | if (is_suffix(name, p->suffix)) | ^ fkiss.c:1928:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1928 | ARTBL *get_archive_type(name) | ^ fkiss.c:1944:12: warning: passing arguments to 'lstr_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1944 | lstr_init(&work); | ^ fkiss.c:1954:14: warning: passing arguments to 'lstr_ch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1954 | lstr_ch(&work, '\\'); | ^ fkiss.c:1957:14: warning: passing arguments to 'lstr_ch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1957 | lstr_ch(&work, *p); | ^ fkiss.c:1939:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1939 | char *quote_filename(p) | ^ fkiss.c:1978:12: warning: passing arguments to 'lstr_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | lstr_init(&s); | ^ fkiss.c:2003:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2003 | msg("E ``%s'' bad archiver command!\n", form); | ^ fkiss.c:2008:12: warning: passing arguments to 'lstr_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2008 | lstr_cat(&s, " "); | ^ fkiss.c:2010:12: warning: passing arguments to 'lstr_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2010 | lstr_cat(&s, prefix); | ^ fkiss.c:2012:14: warning: passing arguments to 'lstr_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2012 | lstr_cat(&s, "/"); | ^ fkiss.c:2015:10: warning: passing arguments to 'lstr_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2015 | lstr_cat(&s, p2); | ^ fkiss.c:2019:14: warning: passing arguments to 'lstr_ch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2019 | lstr_ch(&s, *p); | ^ fkiss.c:1965:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1965 | char *gen_arcommand(form, name, file) | ^ fkiss.c:2033:23: warning: passing arguments to 'is_regular_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2033 | if (!is_regular_file(name)) | ^ fkiss.c:2034:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2034 | msg("E archive ``%s'' not found!\n", name); | ^ fkiss.c:2036:20: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2036 | buf = ks_malloc(strlen(tmpdir) + 32); | ^ fkiss.c:2038:28: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2038 | extract_dir = ks_strdup(buf); | ^ fkiss.c:2039:21: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2039 | buf = ks_realloc(buf, 6 + strlen(extract_dir) + 1); | ^ fkiss.c:2041:14: warning: passing arguments to 'ks_system' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | ks_system(buf); | ^ fkiss.c:2048:17: warning: passing arguments to 'ks_system2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2048 | r = ks_system2(cmd); | ^ fkiss.c:2025:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | int extract_archive(name) | ^ fkiss.c:2064:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2064 | debug_printf("extract_arc_in_arc extract_dir ``%s''\n", extract_dir); | ^ fkiss.c:2065:16: warning: passing arguments to 'dir_ls' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2065 | list = dir_ls(extract_dir, NULL); | ^ fkiss.c:2068:22: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2068 | buf = ks_malloc(strlen(extract_dir) + 1 + strlen(*p) + 1); | ^ fkiss.c:2077:13: warning: passing arguments to 'dir_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2077 | dir_free(list); | ^ fkiss.c:2082:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2082 | int extract_archives(list, n) | ^ fkiss.c:2168:18: warning: passing arguments to 'read_config' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2168 | if (read_config(conf_file)) | ^ fkiss.c:2182:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2182 | msg("E Visual TrueColor or DirectColor needed to display true color cell!\n"); | ^ fkiss.c:2186:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2186 | debug_printf("image_mode = %d\n", image_mode); | ^ fkiss.c:2189:34: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2189 | xcol[i] = (XColor *)ks_malloc(sizeof(XColor)*colcnt); | ^ fkiss.c:2192:31: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2192 | paint_gc = (GC *)ks_malloc(sizeof(GC) * colcnt); | ^ fkiss.c:2198:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2198 | debug_printf("colcnt %d, palcnt %d\n", colcnt, palcnt); | ^ fkiss.c:2246:15: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2246 | debug_printf("set = %d, pal = %d\n", cset, kset[cset].pal); | ^ fkiss.c:2249:22: warning: passing arguments to 'kissevent_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2249 | kissevent_handler(EVE_SET, s); | ^ fkiss.c:2251:22: warning: passing arguments to 'kissevent_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2251 | kissevent_handler(EVE_COL, p); | ^ fkiss.c:2224:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2224 | int change_setpal(s, p) | ^ In file included from fkiss.c:36: ./extern.h:26: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] 26 | public int change_setpal(); | ^ fkiss.c:2265:23: warning: passing arguments to 'change_cel_mapping' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2265 | change_cel_mapping(cell+mapping_changed_cell, ACT_ALTMAP); | ^ fkiss.c:2269:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2269 | int next_set(d) | ^ fkiss.c:2289:20: warning: passing arguments to 'is_suffix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2289 | if (is_suffix(name, *p)) { | ^ fkiss.c:2282:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2282 | int match_doc(name) | ^ fkiss.c:2310:20: warning: passing arguments to 'dir_ls' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2310 | filelist = dir_ls(doc_dir, match_doc); | ^ fkiss.c:2312:19: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2312 | cmd0 = ks_strdup(doc_command); | ^ fkiss.c:2314:21: warning: passing arguments to 'ks_strdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2314 | cmd0 = ks_strdup(cmd0, strlen(cmd0) + 4); | ^ fkiss.c:2318:22: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2318 | cmd0 = ks_realloc(cmd0, strlen(cmd0) + 2); | ^ fkiss.c:2323:23: warning: passing arguments to 'select_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2323 | if ((r = select_menu("fkiss doc", buf, filelist)) >= 0) { | ^ fkiss.c:2328:11: warning: passing arguments to 'dir_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2328 | dir_free(filelist); | ^ fkiss.c:2330:16: warning: passing arguments to 'ks_system2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2330 | ks_system2 (cmd); | ^ fkiss.c:2431:21: warning: passing arguments to 'change_menu_func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2431 | change_menu_func(0); /* About */ | ^ fkiss.c:2434:16: warning: passing arguments to 'save_config' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2434 | save_config(conf_file); | ^ fkiss.c:2443:21: warning: passing arguments to 'change_menu_func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2443 | change_menu_func(1); /* Quit */ | ^ fkiss.c:2336:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2336 | void key_event(p) | ^ fkiss.c:2484:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2484 | int celhitovl(c0, x0, y0, c1, x1, y1, w, h) | ^ fkiss.c:2507:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2507 | int celhit1(cp, objx, objy, n) | ^ fkiss.c:2545:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2545 | void check_cell_hit_before(objn) | ^ fkiss.c:2580:22: warning: passing arguments to 'kissevent_handler2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2580 | kissevent_handler2(EVE_COLLIDE, i, (cp->hitp+j)->n); | ^ fkiss.c:2583:22: warning: passing arguments to 'kissevent_handler2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2583 | kissevent_handler2(EVE_APART, i, (cp->hitp+j)->n); | ^ fkiss.c:2563:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2563 | void check_cell_hit_after(objn) | ^ fkiss.c:2590:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2590 | int check_obj_hit_cel(cp, objx, objy, o2) | ^ fkiss.c:2622:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2622 | int check_obj_hit1(o1, objx, objy, o2) | ^ fkiss.c:2640:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2640 | void check_obj_hit_before(objn) | ^ fkiss.c:2680:20: warning: passing arguments to 'kissevent_handler2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2680 | kissevent_handler2(EVE_IN, o1, o2); | ^ fkiss.c:2681:25: warning: passing arguments to 'kissevent_handler2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2681 | kissevent_handler2(EVE_STILLIN, o1, o2); | ^ fkiss.c:2684:20: warning: passing arguments to 'kissevent_handler2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2684 | kissevent_handler2(EVE_OUT, o1, o2); | ^ fkiss.c:2685:25: warning: passing arguments to 'kissevent_handler2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2685 | kissevent_handler2(EVE_STILLOUT, o1, o2); | ^ fkiss.c:2658:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2658 | void check_obj_hit_after(objn) | ^ fkiss.c:2691:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2691 | void move_object_start(p, n) | ^ In file included from fkiss.c:36: ./extern.h:27: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] 27 | public void move_object_start(); | ^ fkiss.c:2702:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2702 | void move_object_end(p) | ^ In file included from fkiss.c:36: ./extern.h:28:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | public void move_object_end(); | ^ fkiss.c:2712:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | void catch_check(x, y) | ^ fkiss.c:2737:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2737 | void update_pesi(p) | ^ fkiss.c:2792:24: warning: passing arguments to 'kissevent_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2792 | kissevent_handler(EVE_FIXDROP, catched_cell); | ^ fkiss.c:2794:22: warning: passing arguments to 'kissevent_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2794 | kissevent_handler(EVE_DROP, catched_cell); | ^ fkiss.c:2845:24: warning: passing arguments to 'kissevent_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2845 | kissevent_handler(EVE_UNFIX, catched_cell); | ^ fkiss.c:2850:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2850 | void move_check(x, y) | ^ fkiss.c:2895:20: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2895 | buf = ks_malloc(strlen(dir) + strlen(*p) + 1); | ^ fkiss.c:2898:24: warning: passing arguments to 'is_regular_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2898 | if (is_regular_file(buf)) | ^ fkiss.c:2887:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2887 | char *get_startup_sound_sub(dir) | ^ fkiss.c:2920:12: warning: passing arguments to 'bg_play' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2920 | bg_play(startup_sound_file); | ^ fkiss.c:2957:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2957 | int button_func(p) | ^ fkiss.c:2995:26: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2995 | av = (char **)ks_malloc(sizeof(char *)); | ^ fkiss.c:2997:13: warning: passing arguments to 'cut_crlf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2997 | cut_crlf(buf); | ^ fkiss.c:3001:25: warning: passing arguments to 'parse_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3001 | str = parse_string(&p, charset); | ^ fkiss.c:3004:31: warning: passing arguments to 'ks_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3004 | av = (char **)ks_realloc(av, sizeof(char *)*(ac+1)); | ^ fkiss.c:3012:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3012 | msg("W unknown option ``%s''.\n", *av); | ^ fkiss.c:3013:11: warning: passing arguments to 'kiss_exit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3013 | kiss_exit(1); | ^ fkiss.c:2979:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2979 | int parse_rc(file) | ^ fkiss.c:3028:20: warning: passing arguments to 'ks_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3028 | buf = ks_malloc(strlen(p) + 9 + 1); | ^ fkiss.c:3050:11: warning: passing arguments to 'msg_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3050 | msg_init(msgbuf); | ^ fkiss.c:3056:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3056 | msg("W unknown option ``%s''.\n", *argv); | ^ fkiss.c:3069:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3069 | msg("W sound device ``%s'' initialize error.\n", sound_device); | ^ fkiss.c:3073:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3073 | msg("W cannot to fork background process!\n"); | ^ fkiss.c:3085:20: warning: passing arguments to 'select_cnf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3085 | switch(select_cnf(argc?*argv:NULL)) { | ^ fkiss.c:3089:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3089 | msg("E *.cnf not found!\n"); | ^ fkiss.c:3092:14: warning: passing arguments to 'kiss_exit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3092 | kiss_exit(0); | ^ fkiss.c:3097:14: warning: passing arguments to 'kiss_exit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3097 | kiss_exit(1); | ^ fkiss.c:3128:16: warning: passing arguments to 'expose_comment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3128 | expose_comment(&ev.xexpose); | ^ fkiss.c:3130:13: warning: passing arguments to 'expose_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3130 | expose_menu(&ev.xexpose); | ^ fkiss.c:3156:23: warning: passing arguments to 'kissevent_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3156 | kissevent_handler(EVE_PRESS, catched_cell2); | ^ fkiss.c:3160:20: warning: passing arguments to 'kissevent_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3160 | kissevent_handler(EVE_FIXCATCH, catched_cell); | ^ fkiss.c:3161:25: warning: passing arguments to 'kissevent_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3161 | kissevent_handler(EVE_CATCH, catched_cell); | ^ fkiss.c:3176:19: warning: passing arguments to 'press_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3176 | press_menu(&ev.xbutton); | ^ fkiss.c:3184:15: warning: passing arguments to 'map_comment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3184 | map_comment(&ev.xbutton); | ^ fkiss.c:3187:12: warning: passing arguments to 'press_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3187 | press_menu(&ev.xbutton); | ^ fkiss.c:3203:21: warning: passing arguments to 'kissevent_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3203 | kissevent_handler(EVE_RELEASE, catched_cell2); | ^ fkiss.c:3207:12: warning: passing arguments to 'press_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3207 | press_menu(&ev.xbutton); | ^ fkiss.c:3211:12: warning: passing arguments to 'press_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3211 | press_menu(&ev.xbutton); | ^ fkiss.c:3225:17: warning: passing arguments to 'enter_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3225 | enter_menu(&ev.xcrossing); | ^ fkiss.c:3228:17: warning: passing arguments to 'leave_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3228 | leave_menu(&ev.xcrossing); | ^ fkiss.c:3242:19: warning: passing arguments to 'kissevent_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3242 | kissevent_handler(EVE_VERSION, 2); | ^ fkiss.c:3243:25: warning: passing arguments to 'kissevent_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3243 | if (!(kissevent_handler(EVE_BEGIN, 0) & ACTBIT_SOUND)) | ^ fkiss.c:3257:19: warning: passing arguments to 'debug_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3257 | debug_printf("ClientMessage message_type %ld, format %d, data %ld\n", | ^ fkiss.c:3271:18: warning: passing arguments to 'change_menu_func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3271 | change_menu_func(1); /* Quit */ | ^ fkiss.c:3276:20: warning: passing arguments to 'kissevent_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3276 | kissevent_handler(EVE_END, 0); | ^ fkiss.c:3277:12: warning: passing arguments to 'kiss_exit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3277 | kiss_exit(0); | ^ fkiss.c:3035:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3035 | int main(argc, argv) | ^ 221 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -o fkiss fkiss.o menu.o selcnf.o cursor.o dir.o sound.o kisscnf.o sub.o color.o kisseve.o comment.o bg.o timer.o codeconv.o jiscode.o work.o message.o -lX11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> fkiss-0.33a_7 depends on executable: lha - not found ===> Installing existing package /packages/All/lha-1.14i_10.pkg [pkg.DaveG.ca] Installing lha-1.14i_10... [pkg.DaveG.ca] Extracting lha-1.14i_10: ... done ===> fkiss-0.33a_7 depends on executable: lha - found ===> Returning to build of fkiss-0.33a_7 ===> fkiss-0.33a_7 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for fkiss-0.33a_7 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/fkiss/work/fkiss-0.33/fkiss /wrkdirs/usr/ports/games/fkiss/work/stage/usr/local/bin/fkiss install -m 444 /wrkdirs/usr/ports/games/fkiss/work/fkiss-0.33/fkiss.man /wrkdirs/usr/ports/games/fkiss/work/stage/usr/local/share/man/man1/fkiss.1 install -m 0644 /wrkdirs/usr/ports/games/fkiss/work/fkiss-0.33/README /wrkdirs/usr/ports/games/fkiss/work/stage/usr/local/share/doc/fkiss install -m 0644 /wrkdirs/usr/ports/games/fkiss/work/fkiss-0.33/README.euc /wrkdirs/usr/ports/games/fkiss/work/stage/usr/local/share/doc/fkiss/README.ja_JP.eucJP install -m 0644 /wrkdirs/usr/ports/games/fkiss/work/fkiss-0.33/frkismi4.lzh /wrkdirs/usr/ports/games/fkiss/work/stage/usr/local/share/examples/fkiss/frkismi4.lzh ====> 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-17T15:32:20+0000' 'PKG_NOTE_ports_top_git_hash=8c988f802ea2' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=a36cd930e200' '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 fkiss-0.33a_7 ===> Building fkiss-0.33a_7 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for fkiss-0.33a_7 build of games/fkiss | fkiss-0.33a_7 ended at Tue Mar 17 11:32:29 EDT 2026 build time: 00:00:10