=>> Building japanese/kinput2 build started at Tue Mar 17 22:04:22 EDT 2026 port directory: /usr/ports/japanese/kinput2 package name: ja-kinput2-3.1_14 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: hrs@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2796 Oct 16 2024 /usr/ports/japanese/kinput2/Makefile Ports top last git commit: 8c988f802ea2 Ports top unclean checkout: no Port dir last git commit: 4485bd8221c2 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 07 ---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/07/.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 ja-kinput2-3.1_14: CANNA=on: Canna support FREEWNN=on: FreeWnn support SJ3=on: SJ3 support TCP=off: TCP transport support (not needed for most cases) WNN6=off: Wnn6 support WNN7=off: Wnn7 support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- hrs@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/kinput2/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/kinput2/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/kinput2/work/.cache HOME=/wrkdirs/usr/ports/japanese/kinput2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/kinput2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/kinput2/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/kinput2/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/kinput2/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/kinput2/work/.cache HOME=/wrkdirs/usr/ports/japanese/kinput2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/kinput2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/kinput2/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 -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/kinput2" EXAMPLESDIR="share/examples/kinput2" DATADIR="share/kinput2" WWWDIR="www/kinput2" ETCDIR="etc/kinput2" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/kinput2 DOCSDIR=/usr/local/share/doc/kinput2 EXAMPLESDIR=/usr/local/share/examples/kinput2 WWWDIR=/usr/local/www/kinput2 ETCDIR=/usr/local/etc/kinput2 --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-kinput2-3.1_14 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 ===> ja-kinput2-3.1_14 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ja-kinput2-3.1_14 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-kinput2-3.1_14 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-kinput2-3.1_14 for building => SHA256 Checksum OK for kinput2-v3.1.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-kinput2-3.1_14 for building ===> Extracting for ja-kinput2-3.1_14 ===> Fetching all distfiles required by ja-kinput2-3.1_14 for building => SHA256 Checksum OK for kinput2-v3.1.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 ja-kinput2-3.1_14 ===> Applying FreeBSD patches for ja-kinput2-3.1_14 from /usr/ports/japanese/kinput2/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-kinput2-3.1_14 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg.DaveG.ca] Installing imake-1.0.10_1,1... [pkg.DaveG.ca] `-- Installing gccmakedep-1.0.4... [pkg.DaveG.ca] `-- Extracting gccmakedep-1.0.4: .. done [pkg.DaveG.ca] `-- Installing makedepend-1.0.9,1... [pkg.DaveG.ca] `-- Extracting makedepend-1.0.9,1: .. done [pkg.DaveG.ca] `-- Installing perl5-5.42.1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.1: .......... done [pkg.DaveG.ca] `-- Installing xorg-cf-files-1.0.8_1... [pkg.DaveG.ca] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg.DaveG.ca] Extracting imake-1.0.10_1,1: .......... done ===> ja-kinput2-3.1_14 depends on executable: imake - found ===> Returning to build of ja-kinput2-3.1_14 ===> ja-kinput2-3.1_14 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg.DaveG.ca] Installing tradcpp-0.5.3... [pkg.DaveG.ca] Extracting tradcpp-0.5.3: .. done ===> ja-kinput2-3.1_14 depends on executable: tradcpp - found ===> Returning to build of ja-kinput2-3.1_14 ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/ice.pc - not found ===> Installing existing package /packages/All/libICE-1.1.2,1.pkg [pkg.DaveG.ca] Installing libICE-1.1.2,1... [pkg.DaveG.ca] Extracting libICE-1.1.2,1: .......... done ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> Returning to build of ja-kinput2-3.1_14 ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/sm.pc - not found ===> Installing existing package /packages/All/libSM-1.2.6,1.pkg [pkg.DaveG.ca] Installing libSM-1.2.6,1... [pkg.DaveG.ca] Extracting libSM-1.2.6,1: ........ done ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> Returning to build of ja-kinput2-3.1_14 ===> ja-kinput2-3.1_14 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] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.13,1: .......... done ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of ja-kinput2-3.1_14 ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - not found ===> Installing existing package /packages/All/libXaw-1.0.16,2.pkg [pkg.DaveG.ca] Installing libXaw-1.0.16,2... [pkg.DaveG.ca] `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] `-- Installing libXmu-1.1.4,1... [pkg.DaveG.ca] | `-- Installing libXt-1.3.0,1... [pkg.DaveG.ca] | `-- Extracting libXt-1.3.0,1: .......... done [pkg.DaveG.ca] `-- Extracting libXmu-1.1.4,1: .......... done [pkg.DaveG.ca] `-- Installing libXpm-3.5.17_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 libXpm-3.5.17_1: .......... done [pkg.DaveG.ca] Extracting libXaw-1.0.16,2: .......... done ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of ja-kinput2-3.1_14 ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> ja-kinput2-3.1_14 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. ===> ja-kinput2-3.1_14 depends on file: /usr/local/bin/ccache - found ===> Returning to build of ja-kinput2-3.1_14 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-kinput2-3.1_14 depends on shared library: libcanna16.so - not found ===> Installing existing package /packages/All/ja-canna-lib-3.7p3_9.pkg [pkg.DaveG.ca] Installing ja-canna-lib-3.7p3_9... [pkg.DaveG.ca] Extracting ja-canna-lib-3.7p3_9: .......... done ===> ja-kinput2-3.1_14 depends on shared library: libcanna16.so - found (/usr/local/lib/libcanna16.so) ===> Returning to build of ja-kinput2-3.1_14 ===> ja-kinput2-3.1_14 depends on shared library: libwnn.so - not found ===> Installing existing package /packages/All/ja-FreeWnn-lib-1.1.1.a021_15.pkg [pkg.DaveG.ca] Installing ja-FreeWnn-lib-1.1.1.a021_15... [pkg.DaveG.ca] Extracting ja-FreeWnn-lib-1.1.1.a021_15: .......... done ===> ja-kinput2-3.1_14 depends on shared library: libwnn.so - found (/usr/local/lib/libwnn.so) ===> Returning to build of ja-kinput2-3.1_14 ===> ja-kinput2-3.1_14 depends on shared library: libsj3lib.so - not found ===> Installing existing package /packages/All/ja-sj3-lib-2.0.1.20_8.pkg [pkg.DaveG.ca] Installing ja-sj3-lib-2.0.1.20_8... [pkg.DaveG.ca] Extracting ja-sj3-lib-2.0.1.20_8: .... done ===> ja-kinput2-3.1_14 depends on shared library: libsj3lib.so - found (/usr/local/lib/libsj3lib.so) ===> Returning to build of ja-kinput2-3.1_14 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ja-kinput2-3.1_14 install -m 0644 /wrkdirs/usr/ports/japanese/kinput2/work/Kinput2.conf /wrkdirs/usr/ports/japanese/kinput2/work/kinput2-v3.1/Kinput2.conf /usr/bin/printf "%s\n" '#define UseCanna' CANNASRC=/usr/local/include CANNALIB="-L/usr/local/lib -lcanna16" '#define UseWnn' WNNINCDIR=/usr/local/include/wnn WNNLIB="-L/usr/local/lib -lwnn -lcrypt" '#define UseSj3' SJ3SRC=/usr/local/include SJ3LIB="-L/usr/local/lib -lsj3lib" SJ3DEF_DIR=\${LIBDIR}/ccdef TRANSPORTDEFS="-DNO_TCP_TRANSPORT" > /wrkdirs/usr/ports/japanese/kinput2/work/kinput2-v3.1/Kinput2_im.conf imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles making Makefiles in lib... In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 making Makefiles in lib/imlib... In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 making Makefiles in lib/Xsj3clib... In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 making Makefiles in cmd... In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 making Makefiles in ccdef... In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 making Makefiles in sj3def... In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 make includes including in ./lib... including in lib/imlib... including in lib/Xsj3clib... including in ./cmd... including in ./ccdef... including in ./sj3def... make depend depending in ./lib... rm -f .depend gccmakedep -f- -- -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT -- AdoptedShe.c AuxPanel.c CandPanel.c Canvas.c CanvasShel.c ConvCtrl.c ConvDisp.c ConvMgr.c ICLabel.c InputConv.c KIProto.c OffConv.c OverConv.c OnConv.c WcharDisp.c XimpProto.c IMProto.c cachedatom.c cachedfont.c ctext.c dispatch.c fontset.c wstring.c xtwstr.c xwstr.c asyncerr.c fontbank.c parsekey.c ioecall.c CcWnn.c cconv.c wnnlib.c Canna.c Sj3.c > .depend depending in lib/imlib... rm -f .depend gccmakedep -f- -- -I../../include -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DNO_TCP_TRANSPORT -DXIM_BC -- imattr.c imbuf.c imconv.c imdata.c imdispatch.c imic.c improto.c imrequest.c imxport.c > .depend depending in lib/Xsj3clib... rm -f .depend gccmakedep -f- -- -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT -- buffer.c candidate.c code.c connect.c conv.c dict.c func.c libif.c mode.c segment.c sj3ctype.c sjrc.c symbol.c table.c util.c > .depend depending in ./cmd... rm -f .depend gccmakedep -f- -- -I../include -I.. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_WNN -DUSE_CANNA -DUSE_SJ3 -- kinput2.c > .depend depending in ./ccdef... depending in ./sj3def... rm -f .depend gccmakedep -f- -- -I../include -I../lib/Xsj3clib -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- jcode.c > .depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ja-kinput2-3.1_14 making all in ./lib... rm -f AdoptedShe.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT AdoptedShe.c AdoptedShe.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | Initialize(req, new, args, num_args) | ^ AdoptedShe.c: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 | static void Initialize(); | ^ AdoptedShe.c:129:15: warning: passing arguments to 'GetParentInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | GetParentInfo(asw); | ^ AdoptedShe.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | Realize(w, maskp, attr) | ^ AdoptedShe.c:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | static void Realize(); | ^ AdoptedShe.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | SetValues(cur, req, new, args, num_args) | ^ AdoptedShe.c:37:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static Boolean SetValues(); | ^ AdoptedShe.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | GeometryManager(w, reqp, repp) | ^ AdoptedShe.c:38:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | static XtGeometryResult GeometryManager(); | ^ AdoptedShe.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | GetParentInfo(w) | ^ AdoptedShe.c:40: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] 40 | static void GetParentInfo(); | ^ 11 warnings generated. rm -f AuxPanel.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT AuxPanel.c AuxPanel.c:168:13: warning: passing arguments to 'GetInvGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | GetInvGC(cpw); | ^ AuxPanel.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | Initialize(req, new, args, num_args) | ^ AuxPanel.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void Initialize(), Destroy(); | ^ AuxPanel.c:179:24: warning: passing arguments to 'freeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | freeDisplaySegments(cpw); | ^ AuxPanel.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | Destroy(w) | ^ AuxPanel.c:80:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void Initialize(), Destroy(); | ^ AuxPanel.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | Realize(w, mask, value) | ^ AuxPanel.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void Realize(); | ^ AuxPanel.c:247:21: warning: passing arguments to 'UpdateAuxDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | UpdateAuxDisplay(cpw); | ^ AuxPanel.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | Redisplay(w, ev, region) | ^ AuxPanel.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Redisplay(); | ^ AuxPanel.c:258:11: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | Layout(cpw, True, True); | ^ AuxPanel.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | Resize(w) | ^ AuxPanel.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void Resize(); | ^ AuxPanel.c:291:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | Layout(new, True, True); | ^ AuxPanel.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | SetValues(cur, req, wid, args, num_args) | ^ AuxPanel.c:84:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static Boolean SetValues(); | ^ AuxPanel.c:322:16: warning: passing arguments to 'ComputeSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | ComputeSize((AuxPanelWidget)w, | ^ AuxPanel.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | QueryGeometry(w, req, ret) | ^ AuxPanel.c:85:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static XtGeometryResult QueryGeometry(); | ^ AuxPanel.c:377:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | Layout(cpw, cpw->core.width == 0, cpw->core.height == 0); | ^ AuxPanel.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | InsertChild(w) | ^ AuxPanel.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void InsertChild(); | ^ AuxPanel.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | GetInvGC(cpw) | ^ AuxPanel.c: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 | static void GetInvGC(); | ^ AuxPanel.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | ComputeSize(cpw, resizex, resizey, width_inout, height_inout) | ^ AuxPanel.c: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 | static void ComputeSize(); | ^ AuxPanel.c:451:10: warning: enumeration values 'XtGeometryNo', 'XtGeometryAlmost', and 'XtGeometryDone' not handled in switch [-Wswitch] 451 | switch (re) { | ^~ AuxPanel.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | Layout(cpw, resizex, resizey) | ^ AuxPanel.c:90: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] 90 | static void Layout(); | ^ AuxPanel.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | allocDisplaySegments(cpw, n) | ^ AuxPanel.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | freeDisplaySegments(cpw) | ^ AuxPanel.c:92: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] 92 | static void freeDisplaySegments(); | ^ AuxPanel.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | copyString(from, to) | ^ AuxPanel.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | UpdateAuxDisplay(cpw) | ^ AuxPanel.c:93: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] 93 | static void UpdateAuxDisplay(); | ^ AuxPanel.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | APanelStart(w, segments, nseg, curseg, cursorpos) | ^ AuxPanel.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | APanelEnd(w) | ^ AuxPanel.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | APanelChange(w, segments, nseg, curseg, cursorpos) | ^ 39 warnings generated. rm -f CandPanel.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT CandPanel.c CandPanel.c:148:13: warning: passing arguments to 'GetInvGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | GetInvGC(cpw); | ^ CandPanel.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | Initialize(req, new, args, num_args) | ^ CandPanel.c: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 | static void Initialize(), Destroy(); | ^ CandPanel.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | Destroy(w) | ^ CandPanel.c:66:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static void Initialize(), Destroy(); | ^ CandPanel.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | Realize(w, mask, value) | ^ CandPanel.c:67: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] 67 | static void Realize(); | ^ CandPanel.c:233:18: warning: passing arguments to 'ToggleHighlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | ToggleHighlight(cpw, idx); | ^ CandPanel.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | Redisplay(w, ev, region) | ^ CandPanel.c:68: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] 68 | static void Redisplay(); | ^ CandPanel.c:245:11: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | Layout(cpw, False, False); | ^ CandPanel.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | Resize(w) | ^ CandPanel.c:69: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] 69 | static void Resize(); | ^ CandPanel.c:285:33: warning: passing arguments to 'MaxWidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | new->cpanel.maxwidth = MaxWidth(new); | ^ CandPanel.c:294:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | Layout(new, True, True); | ^ CandPanel.c:300:17: warning: passing arguments to 'ToggleHighlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | ToggleHighlight(new, old->cpanel.current); | ^ CandPanel.c:301:17: warning: passing arguments to 'ToggleHighlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | ToggleHighlight(new, new->cpanel.current); | ^ CandPanel.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | SetValues(cur, req, wid, args, num_args) | ^ CandPanel.c:70:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static Boolean SetValues(); | ^ CandPanel.c:329:16: warning: passing arguments to 'ComputeSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | ComputeSize((CandidatePanelWidget)w, | ^ CandPanel.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | QueryGeometry(w, req, ret) | ^ CandPanel.c:71:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static XtGeometryResult QueryGeometry(); | ^ CandPanel.c:382:33: warning: passing arguments to 'MaxWidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | cpw->cpanel.maxwidth = MaxWidth(cpw); | ^ CandPanel.c:383:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | Layout(cpw, cpw->core.width == 0, cpw->core.height == 0); | ^ CandPanel.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | InsertChild(w) | ^ CandPanel.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void InsertChild(); | ^ CandPanel.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | GetInvGC(cpw) | ^ CandPanel.c: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 | static void GetInvGC(); | ^ CandPanel.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | Move(w, ev, args, num_args) | ^ CandPanel.c:49: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] 49 | static void Move(/* Widget, XEvent*, String*, Cardinal* */); | ^ CandPanel.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | Set(w, ev, args, num_args) | ^ CandPanel.c:50: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] 50 | static void Set(/* Widget, XEvent*, String*, Cardinal* */); | ^ CandPanel.c:472:10: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 472 | (XtPointer)cpw->cpanel.current); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CandPanel.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | Notify(w, ev, args, num_args) | ^ CandPanel.c:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static void Notify(/* Widget, XEvent*, String*, Cardinal* */); | ^ CandPanel.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | MaxWidth(cpw) | ^ CandPanel.c:75: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] 75 | static int MaxWidth(); | ^ CandPanel.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | ComputeSize(cpw, resizex, resizey, width_inout, height_inout) | ^ CandPanel.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static void ComputeSize(); | ^ CandPanel.c:595:14: warning: enumeration value 'XtGeometryDone' not handled in switch [-Wswitch] 595 | switch (re) { | ^~ CandPanel.c:580:10: warning: enumeration value 'XtGeometryDone' not handled in switch [-Wswitch] 580 | switch (re) { | ^~ CandPanel.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | Layout(cpw, resizex, resizey) | ^ CandPanel.c:77: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] 77 | static void Layout(); | ^ CandPanel.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | ToggleHighlight(cpw, idx) | ^ CandPanel.c:78: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] 78 | static void ToggleHighlight(); | ^ CandPanel.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | CPanelSetList(w, list, nstrings, current, resize) | ^ CandPanel.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | CPanelSetCurrent(w, idx) | ^ CandPanel.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | CPanelMoveCurrent(w, dir) | ^ 48 warnings generated. rm -f Canvas.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT Canvas.c Canvas.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | Redisplay(w, event, region) | ^ Canvas.c:34:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | static void Redisplay(); | ^ Canvas.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | Resize(w) | ^ Canvas.c: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 | static void Resize(); | ^ 4 warnings generated. rm -f CanvasShel.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT CanvasShel.c CanvasShel.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | Redisplay(w, event, region) | ^ CanvasShel.c:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | static void Redisplay(); | ^ CanvasShel.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | Resize(w) | ^ CanvasShel.c: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 | static void Resize(); | ^ CanvasShel.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | Realize(w, maskp, attr) | ^ CanvasShel.c:37: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] 37 | static void Realize(); | ^ CanvasShel.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | SetValues(cur, req, new, args, num_args) | ^ CanvasShel.c:39:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | static Boolean SetValues(); | ^ 8 warnings generated. rm -f ConvCtrl.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT ConvCtrl.c ConvCtrl.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | StringToESM(args, num_args, from, to) | ^ ConvCtrl.c:78: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] 78 | static void StringToESM(); | ^ ConvCtrl.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | ClassPartInitialize(cl) | ^ ConvCtrl.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void ClassPartInitialize(); | ^ ConvCtrl.c:288:17: warning: passing arguments to 'WidgetError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | WidgetError(new, "noResourceError", "inputObjectClass", | ^ ConvCtrl.c:290:31: warning: passing arguments to 'ClassIsSubClassOf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | } else if (!ClassIsSubClassOf(ccw->ccontrol.inputobjclass, | ^ ConvCtrl.c:292:17: warning: passing arguments to 'WidgetError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | WidgetError(new, "classError", "inputObjectClass", | ^ ConvCtrl.c:295:25: warning: passing arguments to 'CreateInputObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | (void)CreateInputObject(ccw); | ^ ConvCtrl.c:299:13: warning: passing arguments to 'WidgetError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | WidgetError(new, "classError", "inputObject", | ^ ConvCtrl.c:304:13: warning: passing arguments to 'WidgetError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | WidgetError(new, "noResourceError", "displayObjectClass", | ^ ConvCtrl.c:306:34: warning: passing arguments to 'ClassIsSubClassOf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | } else if (!ClassIsSubClassOf(ccw->ccontrol.displayobjclass, | ^ ConvCtrl.c:308:13: warning: passing arguments to 'WidgetError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | WidgetError(new, "classError", "displayObjectClass", | ^ ConvCtrl.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | Initialize(req, new, args, num_args) | ^ ConvCtrl.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void Initialize(), Destroy(); | ^ ConvCtrl.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | Destroy(w) | ^ ConvCtrl.c:80:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void Initialize(), Destroy(); | ^ ConvCtrl.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | Realize(w, maskp, attr) | ^ ConvCtrl.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void Realize(); | ^ ConvCtrl.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | Resize(w) | ^ ConvCtrl.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Resize(); | ^ ConvCtrl.c:387:19: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | WidgetWarning(wid, "setValuesError", "inputObject", | ^ ConvCtrl.c:392:19: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | WidgetWarning(wid, "setValuesError", "eventSelectionMethod", | ^ ConvCtrl.c:400:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | WidgetWarning(wid, "setValuesError", "clientWindow", | ^ ConvCtrl.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | SetValues(cur, req, wid, args, num_args) | ^ ConvCtrl.c:83:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static Boolean SetValues(); | ^ ConvCtrl.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | ConversionStartup(w, mask, value) | ^ ConvCtrl.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void ConversionStartup(); | ^ ConvCtrl.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | ConversionFinish(w) | ^ ConvCtrl.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void ConversionFinish(); | ^ ConvCtrl.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | ChangeAttributes(w, mask, value) | ^ ConvCtrl.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void ChangeAttributes(); | ^ ConvCtrl.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | ChangeFocus(w, set) | ^ ConvCtrl.c: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 | static void ChangeFocus(); | ^ ConvCtrl.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | TextChange(w) | ^ ConvCtrl.c: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 | static void TextChange(); | ^ ConvCtrl.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | Fix(w, arg) | ^ ConvCtrl.c:90: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] 90 | static void Fix(); | ^ ConvCtrl.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | ModeChange(w) | ^ ConvCtrl.c:91: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] 91 | static void ModeChange(); | ^ ConvCtrl.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | SelectionControl(w, controlarg) | ^ ConvCtrl.c:92: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] 92 | static void SelectionControl(); | ^ ConvCtrl.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | AuxControl(w, controlarg) | ^ ConvCtrl.c:93: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] 93 | static void AuxControl(); | ^ ConvCtrl.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | CControlStartConversion(w, clientwindow, valuemask, value) | ^ ConvCtrl.c:512:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | WidgetWarning(w, "busyError", "CControlStartConversion", | ^ ConvCtrl.c:518:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | WidgetWarning(w, "dataError", "cControlStartConversion", | ^ ConvCtrl.c:524:33: warning: passing arguments to 'SafeGetWindowAttributes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | if (!SafeGetWindowAttributes(XtDisplay(w), clientwindow, | ^ ConvCtrl.c:526:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | WidgetWarning(w, "badWindowError", "clientWindow", | ^ ConvCtrl.c:538:20: warning: passing arguments to 'CheckAttributes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | CheckAttributes(ccw, &valuemask, value); | ^ ConvCtrl.c:548:25: warning: passing arguments to 'InterceptClientKeyEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | InterceptClientKeyEvent(ccw); | ^ ConvCtrl.c:550:21: warning: passing arguments to 'SelectFocusKeyEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | SelectFocusKeyEvent(ccw); | ^ ConvCtrl.c:553:21: warning: passing arguments to 'CheckCoordinates' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | CheckCoordinates(ccw, &valuemask, value, 1); | ^ ConvCtrl.c:555:25: warning: passing arguments to 'GetClientCoordinates' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | GetClientCoordinates(ccw); | ^ ConvCtrl.c:557:22: warning: passing arguments to 'CaptureClientDead' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | CaptureClientDead(ccw); | ^ ConvCtrl.c:575:46: 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] 575 | (*class->conversionControl_class.Startup)(w, valuemask, value); | ^ ConvCtrl.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | CControlEndConversion(w) | ^ ConvCtrl.c:587:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | WidgetWarning(w, "busyError", "cControlEndConversion", | ^ ConvCtrl.c:620:23: warning: passing arguments to 'UnselectFocusKeyEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | UnselectFocusKeyEvent(ccw); | ^ ConvCtrl.c:626:45: 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] 626 | (*class->conversionControl_class.Finish)(w); | ^ ConvCtrl.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | CControlChangeAttributes(w, valuemask, value) | ^ ConvCtrl.c:642:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | WidgetWarning(w, "busyError", "cControlChangeAttributes", | ^ ConvCtrl.c:647:20: warning: passing arguments to 'CheckAttributes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | CheckAttributes(ccw, &valuemask, value); | ^ ConvCtrl.c:648:21: warning: passing arguments to 'CheckCoordinates' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | CheckCoordinates(ccw, &valuemask, value, 0); | ^ ConvCtrl.c:654:27: warning: passing arguments to 'UnselectFocusKeyEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | UnselectFocusKeyEvent(ccw); | ^ ConvCtrl.c:658:25: warning: passing arguments to 'SelectFocusKeyEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | SelectFocusKeyEvent(ccw); | ^ ConvCtrl.c:662:55: 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] 662 | (*class->conversionControl_class.ChangeAttributes)(w, valuemask, value); | ^ ConvCtrl.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | CControlChangeFocus(w, set) | ^ ConvCtrl.c:674:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | WidgetWarning(w, "busyError", "cControlChangeFocus", | ^ ConvCtrl.c:679:50: 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] 679 | (*class->conversionControl_class.ChangeFocus)(w, set); | ^ ConvCtrl.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | SafeGetWindowAttributes(dpy, w, attr) | ^ ConvCtrl.c:108:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | static Boolean SafeGetWindowAttributes(); | ^ ConvCtrl.c:750:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | WidgetWarning((Widget)ccw, "badWindowError", "focusWindow", | ^ ConvCtrl.c:755:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | WidgetWarning((Widget)ccw, "badColorError", "colormap", | ^ ConvCtrl.c:760:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | WidgetWarning((Widget)ccw, "badMatchError", "colormap", | ^ ConvCtrl.c:765:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | WidgetWarning((Widget)ccw, "badPixmapError", "backgroundPixmap", | ^ ConvCtrl.c:770:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | WidgetWarning((Widget)ccw, "badMatchError", "backgroundPixmap", | ^ ConvCtrl.c:775:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | WidgetWarning((Widget)ccw, "badCursorError", "cursor", | ^ ConvCtrl.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | CheckAttributes(ccw, valuemaskp, value) | ^ ConvCtrl.c:109: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] 109 | static void CheckAttributes(); | ^ ConvCtrl.c:792:26: warning: passing arguments to 'clipRectangle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | (clip && !clipRectangle(&value->clientarea, &ccw->ccontrol.client_attr)))) { | ^ ConvCtrl.c:798:26: warning: passing arguments to 'clipRectangle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | (clip && !clipRectangle(&value->statusarea, &ccw->ccontrol.client_attr)))) { | ^ ConvCtrl.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | CheckCoordinates(ccw, valuemaskp, value, clip) | ^ ConvCtrl.c:110: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] 110 | static void CheckCoordinates(); | ^ ConvCtrl.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | clipRectangle(rectp, attrp) | ^ ConvCtrl.c:111:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | static Boolean clipRectangle(); | ^ ConvCtrl.c:840:15: warning: passing arguments to 'WidgetWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | WidgetWarning((Widget)ccw, "windowError", "differentRoot", | ^ ConvCtrl.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | GetClientCoordinates(ccw) | ^ ConvCtrl.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static void GetClientCoordinates(); | ^ ConvCtrl.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | EventToInputObject(w, event, args, num_args) | ^ ConvCtrl.c:69: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] 69 | static void EventToInputObject(); | ^ ConvCtrl.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | CreateInputObject(ccw) | ^ ConvCtrl.c:97: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] 97 | static Widget CreateInputObject(); | ^ ConvCtrl.c:972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | ClassIsSubClassOf(class, reference) | ^ ConvCtrl.c:99:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static Boolean ClassIsSubClassOf(); | ^ ConvCtrl.c:984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | CaptureClientDead(ccw) | ^ ConvCtrl.c:101: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] 101 | static void CaptureClientDead(); | ^ ConvCtrl.c:995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | InterceptClientKeyEvent(ccw) | ^ ConvCtrl.c:102: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] 102 | static void InterceptClientKeyEvent(); | ^ ConvCtrl.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | SelectFocusKeyEvent(ccw) | ^ ConvCtrl.c:103: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] 103 | static void SelectFocusKeyEvent(); | ^ ConvCtrl.c:1032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | UnselectFocusKeyEvent(ccw) | ^ ConvCtrl.c:104: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] 104 | static void UnselectFocusKeyEvent(); | ^ ConvCtrl.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | ClientKey(ev, data) | ^ ConvCtrl.c:105: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] 105 | static void ClientKey(); | ^ ConvCtrl.c:1101:45: 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] 1101 | (*class->conversionControl_class.Finish)((Widget)ccw); | ^ ConvCtrl.c:1054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | ClientDead(ev, data) | ^ ConvCtrl.c:106: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] 106 | static void ClientDead(); | ^ ConvCtrl.c:1136:42: 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] 1136 | (*class->conversionControl_class.Fix)(widget, &arg); | ^ ConvCtrl.c:1112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | FixCallback(w, client_data, call_data) | ^ ConvCtrl.c: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 | static void FixCallback(); | ^ ConvCtrl.c:1143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | ConversionEndCallback(w, client_data, call_data) | ^ ConvCtrl.c:114: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] 114 | static void ConversionEndCallback(); | ^ ConvCtrl.c:1183:49: 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] 1183 | (*class->conversionControl_class.TextChange)(widget); | ^ ConvCtrl.c:1156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | TextChangeCallback(w, client_data, call_data) | ^ ConvCtrl.c:115:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void TextChangeCallback(); | ^ ConvCtrl.c:1199:49: 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] 1199 | (*class->conversionControl_class.ModeChange)(widget); | ^ ConvCtrl.c:1188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1188 | ModeChangeCallback(w, client_data, call_data) | ^ ConvCtrl.c:116: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] 116 | static void ModeChangeCallback(); | ^ ConvCtrl.c:1216:55: 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] 1216 | (*class->conversionControl_class.SelectionControl)(widget, arg); | ^ ConvCtrl.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | SelectionControlCallback(w, client_data, call_data) | ^ ConvCtrl.c:117:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static void SelectionControlCallback(); | ^ ConvCtrl.c:1233:49: 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] 1233 | (*class->conversionControl_class.AuxControl)(widget, arg); | ^ ConvCtrl.c:1221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | AuxControlCallback(w, client_data, call_data) | ^ ConvCtrl.c: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 | static void AuxControlCallback(); | ^ ConvCtrl.c:1250:11: warning: call to undeclared library function 'sprintf' with type 'int (char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1250 | (void)sprintf(buf, "%%s: %s", msg); | ^ ConvCtrl.c:1250:11: note: include the header or explicitly provide a declaration for 'sprintf' ConvCtrl.c:1237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | WidgetError(w, name, type, msg) | ^ ConvCtrl.c: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 | static void WidgetError(), WidgetWarning(); | ^ ConvCtrl.c:1257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | WidgetWarning(w, name, type, msg) | ^ ConvCtrl.c:120:28: warning: a function declaration without a prototype is 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 | static void WidgetError(), WidgetWarning(); | ^ 129 warnings generated. rm -f ConvDisp.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT ConvDisp.c ConvDisp.c:117:25: warning: cast to 'caddr_t' (aka 'char *') from smaller integer type 'Cardinal' (aka 'unsigned int') [-Wint-to-pointer-cast] 117 | { XtBaseOffset, (caddr_t) XtOffset(Widget, core.screen), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ConvDisp.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | ClassPartInitialize(cl) | ^ ConvDisp.c:47: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] 47 | static void ClassPartInitialize(); | ^ ConvDisp.c:162:41: warning: passing arguments to 'DefaultCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | obj->convDisplay.cursor = DefaultCursor(obj); | ^ ConvDisp.c:168:10: warning: passing arguments to 'GetGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | GetGC(obj); | ^ ConvDisp.c:169:18: warning: passing arguments to 'ComputeBounds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | ComputeBounds(obj); | ^ ConvDisp.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | Initialize(req, new, args, num_args) | ^ ConvDisp.c:49: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] 49 | static void Initialize(); | ^ ConvDisp.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | Destroy(w) | ^ ConvDisp.c:50: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] 50 | static void Destroy(); | ^ ConvDisp.c:199:7: warning: passing arguments to 'GetGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | GetGC(new); | ^ ConvDisp.c:210:15: warning: passing arguments to 'ComputeBounds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | ComputeBounds(new); | ^ ConvDisp.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | SetValues(cur, req, wid, args, num_args) | ^ ConvDisp.c:51:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static Boolean SetValues(); | ^ ConvDisp.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | DefaultCursor(obj) | ^ ConvDisp.c:53: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] 53 | static Pixmap DefaultCursor(); | ^ ConvDisp.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | GetGC(obj) | ^ ConvDisp.c:54: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] 54 | static void GetGC(); | ^ ConvDisp.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | ComputeBounds(obj) | ^ ConvDisp.c:55: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] 55 | static void ComputeBounds(); | ^ ConvDisp.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | StringWidth(w, str, start, end) | ^ ConvDisp.c:57: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] 57 | static int StringWidth(); | ^ ConvDisp.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | LineHeight(w, ascentp) | ^ ConvDisp.c:58: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] 58 | static int LineHeight(); | ^ ConvDisp.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | DrawString(w, canvas, str, start, end, x, y) | ^ ConvDisp.c:59: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] 59 | static void DrawString(); | ^ ConvDisp.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | MaxChar(w, str, start, width) | ^ ConvDisp.c: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 | static int MaxChar(); | ^ ConvDisp.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | DrawCursor(w, canvas, x, y, on) | ^ ConvDisp.c: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 | static void DrawCursor(); | ^ ConvDisp.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | GetCursorBounds(w, bounds) | ^ ConvDisp.c:62: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] 62 | static void GetCursorBounds(); | ^ ConvDisp.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | SetFonts(w, fonts, num_fonts) | ^ ConvDisp.c: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 | static void SetFonts(); | ^ ConvDisp.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | CDStringWidth(w, str, start, end) | ^ ConvDisp.c:383:51: 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] 383 | return (*class->convDisplay_class.StringWidth)(w, str, start, end); | ^ ConvDisp.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | CDLineHeight(w, ascent) | ^ ConvDisp.c:394:50: 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] 394 | return (*class->convDisplay_class.LineHeight)(w, ascent); | ^ ConvDisp.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | CDDrawString(w, canvas, str, start, end, x, y) | ^ ConvDisp.c:410:43: 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] 410 | (*class->convDisplay_class.DrawString)(w, canvas, str, start, end, x, y); | ^ ConvDisp.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | CDMaxChar(w, str, start, width) | ^ ConvDisp.c:423:47: 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] 423 | return (*class->convDisplay_class.MaxChar)(w, str, start, width); | ^ ConvDisp.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | CDDrawCursor(w, canvas, x, y, on) | ^ ConvDisp.c:437:43: 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] 437 | (*class->convDisplay_class.DrawCursor)(w, canvas, x, y, on); | ^ ConvDisp.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | CDGetCursorBounds(w, bounds) | ^ ConvDisp.c:448:48: 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] 448 | (*class->convDisplay_class.GetCursorBounds)(w, bounds); | ^ ConvDisp.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | CDSetFonts(w, fonts, num_fonts) | ^ ConvDisp.c:460:41: 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] 460 | (*class->convDisplay_class.SetFonts)(w, fonts, num_fonts); | ^ ConvDisp.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | CDSetBlockCursor(w, shape) | ^ ConvDisp.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | _CDPickupFonts(widget, fontspecs, num_specs, fonts, num_fonts) | ^ 50 warnings generated. rm -f ConvMgr.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT ConvMgr.c ConvMgr.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | Initialize(req, new, args, num_args) | ^ ConvMgr.c: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 | static void Initialize(), Destroy(); | ^ ConvMgr.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | Destroy(w) | ^ ConvMgr.c:27:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static void Initialize(), Destroy(); | ^ ConvMgr.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | getScreen(dpy, win) | ^ ConvMgr.c:29:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | static Screen *getScreen(); | ^ ConvMgr.c:171:31: warning: passing arguments to 'getInputObjRec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | if ((iorp = getInputObjRec(cmw, inputobjclass)) == NULL) { | ^ ConvMgr.c:172:20: warning: passing arguments to 'newInputObj' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | iorp = newInputObj(cmw, inputobjclass, displayobjclass); | ^ ConvMgr.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | newConverter(cmw, screen, converterclass, inputobjclass, displayobjclass) | ^ ConvMgr.c:30:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static ConverterRec *newConverter(); | ^ ConvMgr.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | getInputObjRec(cmw, objclass) | ^ ConvMgr.c:31:21: warning: a function declaration without a prototype is 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 | static InputObjRec *getInputObjRec(); | ^ ConvMgr.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | newInputObj(cmw, objclass, dispobjclass) | ^ ConvMgr.c:32:21: warning: a function declaration without a prototype is 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 | static InputObjRec *newInputObj(); | ^ ConvMgr.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | isSomeoneBusy(clist, objclass) | ^ ConvMgr.c:33:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | static Boolean isSomeoneBusy(); | ^ ConvMgr.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | CMPrepareConverter(w, screen, converterclass, inputobjclass, displayobjclass) | ^ ConvMgr.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | CMGetConverter(w, client, converterclass, inputobjclass, displayobjclass) | ^ ConvMgr.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | CMReleaseConverter(w, converter) | ^ 19 warnings generated. rm -f ICLabel.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT ICLabel.c ICLabel.c:131:34: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | iclw->iclabel.label = copyString(iclw->iclabel.label); | ^ ICLabel.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | Initialize(req, new, args, num_args) | ^ ICLabel.c:46: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] 46 | static void Initialize(), Destroy(); | ^ ICLabel.c:142:48: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | if (iclw->iclabel.label != NULL) freeString(iclw->iclabel.label); | ^ ICLabel.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | Destroy(w) | ^ ICLabel.c:46:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static void Initialize(), Destroy(); | ^ ICLabel.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | Realize(w, maskp, attr) | ^ ICLabel.c:47: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] 47 | static void Realize(); | ^ ICLabel.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | Redisplay(w, ev, region) | ^ ICLabel.c:48: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] 48 | static void Redisplay(); | ^ ICLabel.c:214:44: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | if (old->iclabel.label != NULL) freeString(old->iclabel.label); | ^ ICLabel.c:216:37: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | new->iclabel.label = copyString(new->iclabel.label); | ^ ICLabel.c:231:13: warning: passing arguments to 'computeSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | computeSize(new, widthspecified, heightspecified); | ^ ICLabel.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | SetValues(cur, req, wid, args, num_args) | ^ ICLabel.c:49:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static Boolean SetValues(); | ^ ICLabel.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | QueryGeometry(w, req, ret) | ^ ICLabel.c:50:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static XtGeometryResult QueryGeometry(); | ^ ICLabel.c:302:16: warning: passing arguments to 'computeSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | computeSize(iclw, iclw->core.width != 0, iclw->core.height != 0); | ^ ICLabel.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | InsertChild(w) | ^ ICLabel.c:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static void InsertChild(); | ^ ICLabel.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | computeSize(iclw, fixwidth, fixheight) | ^ ICLabel.c:53: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] 53 | static void computeSize(); | ^ ICLabel.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | copyString(from) | ^ ICLabel.c:54:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static ICString *copyString(); | ^ ICLabel.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | freeString(s) | ^ ICLabel.c:55: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] 55 | static void freeString(); | ^ ICLabel.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | ICLRecomputeSize(w) | ^ 27 warnings generated. rm -f InputConv.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT InputConv.c InputConv.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | ClassPartInitialize(cl) | ^ InputConv.c:44: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] 44 | static void ClassPartInitialize(); | ^ InputConv.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | Initialize(req, new, args, num_args) | ^ InputConv.c:45:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static void Initialize(); | ^ InputConv.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | Destroy(w) | ^ InputConv.c:46: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] 46 | static void Destroy(); | ^ InputConv.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | InputEvent(w, event) | ^ InputConv.c:48: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] 48 | static int InputEvent(); | ^ InputConv.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | GetMode(w) | ^ InputConv.c:49:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static ICString *GetMode(); | ^ InputConv.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | CursorPos(w, segidx, offset) | ^ InputConv.c:50: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] 50 | static int CursorPos(); | ^ InputConv.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | NumSegments(w) | ^ InputConv.c: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 | static int NumSegments(); | ^ InputConv.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | GetSegment(w, n) | ^ InputConv.c:52:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static ICString *GetSegment(); | ^ InputConv.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | CompareSegment(w, seg1, seg2, n) | ^ InputConv.c:53:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static int CompareSegment(); | ^ InputConv.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | GetItemList(w, n) | ^ InputConv.c:54:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static ICString *GetItemList(); | ^ InputConv.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | SelectItem(w, n) | ^ InputConv.c: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 | static int SelectItem(); | ^ InputConv.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | ConvertedString(w, encoding, format, length, string) | ^ InputConv.c:56: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] 56 | static int ConvertedString(); | ^ InputConv.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | Clear(w) | ^ InputConv.c:57: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] 57 | static int Clear(); | ^ InputConv.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | GetAuxSegments(w, n, ns, nc) | ^ InputConv.c:58:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static ICString *GetAuxSegments(); | ^ InputConv.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | GetTriggerKeys(w, keys_return) | ^ InputConv.c:59: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] 59 | static int GetTriggerKeys(); | ^ InputConv.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | GetPreeditString(w, segn, offset, encoding, format, length, string) | ^ InputConv.c: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 | static int GetPreeditString(); | ^ InputConv.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | GetStatusString(w, encoding, format, length, string, nchars) | ^ InputConv.c:61: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] 61 | static int GetStatusString(); | ^ InputConv.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | ICSupportMultipleObjects(cl) | ^ InputConv.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | ICInputEvent(w, event) | ^ InputConv.c:390:48: 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] 390 | return (*class->inputConv_class.InputEvent)(w, event); | ^ InputConv.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | ICGetMode(w) | ^ InputConv.c:400:45: 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] 400 | return (*class->inputConv_class.GetMode)(w); | ^ InputConv.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | ICCursorPos(w, segidx, offset) | ^ InputConv.c:412:47: 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] 412 | return (*class->inputConv_class.CursorPos)(w, segidx, offset); | ^ InputConv.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | ICNumSegments(w) | ^ InputConv.c:422:49: 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] 422 | return (*class->inputConv_class.NumSegments)(w); | ^ InputConv.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | ICGetSegment(w, n) | ^ InputConv.c:433:48: 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] 433 | return (*class->inputConv_class.GetSegment)(w, n); | ^ InputConv.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | ICCompareSegment(w, seg1, seg2, n) | ^ InputConv.c:446:52: 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] 446 | return (*class->inputConv_class.CompareSegment)(w, seg1, seg2, n); | ^ InputConv.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | ICGetItemList(w, n) | ^ InputConv.c:457:49: 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] 457 | return (*class->inputConv_class.GetItemList)(w, n); | ^ InputConv.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | ICSelectItem(w, n) | ^ InputConv.c:468:48: 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] 468 | return (*class->inputConv_class.SelectItem)(w, n); | ^ InputConv.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | ICGetConvertedString(w, encoding, format, length, string) | ^ InputConv.c:482:56: 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] 482 | return (*class->inputConv_class.GetConvertedString)(w, encoding, format, | ^ InputConv.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | ICClearConversion(w) | ^ InputConv.c:493:53: 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] 493 | return (*class->inputConv_class.ClearConversion)(w); | ^ InputConv.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | ICGetAuxSegments(w, n, ns, nc) | ^ InputConv.c:504:52: 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] 504 | return (*class->inputConv_class.GetAuxSegments)(w, n, ns, nc); | ^ InputConv.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | ICGetPreeditString(w, segn, offset, encoding, format, length, string) | ^ InputConv.c:520:54: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | return (*class->inputConv_class.GetPreeditString)(w, segn, offset, encoding, format, length, string); | ^ InputConv.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | ICGetStatusString(w, encoding, format, length, string, nchars) | ^ InputConv.c:535:53: 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] 535 | return (*class->inputConv_class.GetStatusString)(w, encoding, format, length, string, nchars); | ^ InputConv.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | ICRegisterTriggerKeys(w) | ^ InputConv.c:557:2: 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] 557 | (w, &class->inputConv_class.trigger_keys); | ^ InputConv.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | ICGetTriggerKeysOfInputObjectClass(cl, keys_return) | ^ 64 warnings generated. rm -f KIProto.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT KIProto.c KIProto.c:229:17: warning: passing arguments to 'initializeError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | initializeError(new, XtNlanguage); | ^ KIProto.c:231:17: warning: passing arguments to 'initializeError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | initializeError(new, XtNinputObjectClass); | ^ KIProto.c:233:17: warning: passing arguments to 'initializeError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | initializeError(new, XtNdisplayObjectClass); | ^ KIProto.c:237:25: warning: passing arguments to 'getDefaultFontHeight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | getDefaultFontHeight(kpw); | ^ KIProto.c:238:13: warning: passing arguments to 'getAtoms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | getAtoms(kpw); | ^ KIProto.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | Initialize(req, new, args, num_args) | ^ KIProto.c:107: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] 107 | static void Initialize(), Destroy(); | ^ KIProto.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | Destroy(w) | ^ KIProto.c:107:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | static void Initialize(), Destroy(); | ^ KIProto.c:263:22: warning: passing arguments to 'setJinputProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | setJinputProperty(kpw); | ^ KIProto.c:264:23: warning: passing arguments to 'setKinput2Property' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | setKinput2Property(kpw); | ^ KIProto.c:265:19: warning: passing arguments to 'setXlcProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | setXlcProperty(kpw); | ^ KIProto.c:267:22: warning: passing arguments to 'ownSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | if (!ownSelection(kpw)) { | ^ KIProto.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | Realize(w, mask, value) | ^ KIProto.c:108: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] 108 | static void Realize(); | ^ KIProto.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | SetValues(cur, req, wid, args, num_args) | ^ KIProto.c:109:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | static Boolean SetValues(); | ^ KIProto.c:317:11: warning: call to undeclared library function 'sprintf' with type 'int (char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | (void)sprintf(buf, "_%s_CONVERSION", kpw->kinput.language); | ^ KIProto.c:317:11: note: include the header or explicitly provide a declaration for 'sprintf' KIProto.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | getAtoms(kpw) | ^ KIProto.c:111: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] 111 | static void getAtoms(); | ^ KIProto.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | ownSelection(kpw) | ^ KIProto.c:112:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static Boolean ownSelection(); | ^ KIProto.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | findClient(kpw, client) | ^ KIProto.c:114:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static ConvClient *findClient(); | ^ KIProto.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | newClient(kpw, client, selection) | ^ KIProto.c:115:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static ConvClient *newClient(); | ^ KIProto.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | attachConverter(ccp) | ^ KIProto.c:116:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | static Widget attachConverter(); | ^ KIProto.c:477:54: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | if (ccp->detach_proc != NULL) (*ccp->detach_proc)(ccp); | ^ KIProto.c:466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | detachConverter(ccp) | ^ KIProto.c:117:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static void detachConverter(); | ^ KIProto.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | jinputDetach(client) | ^ KIProto.c: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 | static void jinputDetach(); | ^ KIProto.c:502:66: 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] 502 | if (client->free_resources != NULL) (*client->free_resources)(client); | ^ KIProto.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | deleteClient(client) | ^ KIProto.c:119:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static void deleteClient(); | ^ KIProto.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | isCorrectClientEvent(kpw, event) | ^ KIProto.c:121:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | static Boolean isCorrectClientEvent(); | ^ KIProto.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | isCorrectWindowID(w, window) | ^ KIProto.c:122:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static Boolean isCorrectWindowID(); | ^ KIProto.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | myStartConversion(w, clwin, mask, attrs) | ^ KIProto.c:124: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] 124 | static void myStartConversion(); | ^ KIProto.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | myChangeAttributes(w, mask, attrs) | ^ KIProto.c:125: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] 125 | static void myChangeAttributes(); | ^ KIProto.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | getJinputInitialProperty(kpw, ccp, prop, reqtype) | ^ KIProto.c:127: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] 127 | static void getJinputInitialProperty(); | ^ KIProto.c:683:58: warning: passing arguments to 'sendColorRequest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | if (jdp->state & JINPUT_MULTI_COLOR) sendColorRequest(client); | ^ KIProto.c:684:56: warning: passing arguments to 'sendFontRequest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | if (jdp->state & JINPUT_MULTI_FONT) sendFontRequest(client); | ^ KIProto.c:685:55: warning: passing arguments to 'sendXYRequest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | if (client->style != separate_style) sendXYRequest(client); | ^ KIProto.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | jinputSendReq(client) | ^ KIProto.c:128: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] 128 | static void jinputSendReq(); | ^ KIProto.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | jinputFreeResources(client) | ^ KIProto.c:129: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] 129 | static void jinputFreeResources(); | ^ KIProto.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | xlcFreeResources(client) | ^ KIProto.c:131: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] 131 | static void xlcFreeResources(); | ^ KIProto.c:717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | kinput2FreeResources(client) | ^ KIProto.c:130: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] 130 | static void kinput2FreeResources(); | ^ KIProto.c:758:27: warning: passing arguments to 'getAttributeFromProperty1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | getAttributeFromProperty1(client, data[0], precp, fromevent); | ^ KIProto.c:832:23: warning: passing arguments to 'getFontsByFontAtoms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | getFontsByFontAtoms(XtDisplay(client->protocolwidget), | ^ KIProto.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | setAttribute(client, data, precp, fromevent) | ^ KIProto.c:132: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] 132 | static void setAttribute(); | ^ KIProto.c:890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | getFontsByFontAtoms(dpy, atoms, len, fontsp) | ^ KIProto.c:133: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] 133 | static int getFontsByFontAtoms(); | ^ KIProto.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | safeGetAttributeProperty(client, prop, data) | ^ KIProto.c:134: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] 134 | static int safeGetAttributeProperty(); | ^ KIProto.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | getAttributeFromProperty1(client, prop, precp, fromevent) | ^ KIProto.c:135: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] 135 | static void getAttributeFromProperty1(); | ^ KIProto.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | getAttributeFromProperty(client, prop) | ^ KIProto.c:136: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] 136 | static void getAttributeFromProperty(); | ^ KIProto.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | getAttributeFromEvent(client, ev) | ^ KIProto.c:137: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] 137 | static void getAttributeFromEvent(); | ^ KIProto.c:1066:29: warning: incompatible pointer types passing 'KinputProtocolWidget' (aka 'struct _KinputProtocolRec *') to parameter of type 'Widget' (aka 'struct _WidgetRec *') [-Wincompatible-pointer-types] 1066 | if (!isCorrectWindowID(kpw, (Window)data[1])) { | ^~~ KIProto.c:1023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | getXlcDataFromProperty(kpw, client, initial) | ^ KIProto.c:138:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | static ConvClient *getXlcDataFromProperty(); | ^ KIProto.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | initializeError(w, resname) | ^ KIProto.c:139: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] 139 | static void initializeError(); | ^ KIProto.c:1245:22: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | if ((p = mystrstr(buf, "")) != NULL) { | ^ KIProto.c:1247:29: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | } else if ((p = mystrstr(buf, "")) != NULL) { | ^ KIProto.c:1249:29: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1249 | } else if ((p = mystrstr(buf, "")) != NULL) { | ^ KIProto.c:1259:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | if (mystrstr(mod, "Shift")) *modmaskp |= ShiftMask; | ^ KIProto.c:1260:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | if (mystrstr(mod, "Lock")) *modmaskp |= LockMask; | ^ KIProto.c:1261:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | if (mystrstr(mod, "Ctrl")) *modmaskp |= ControlMask; | ^ KIProto.c:1262:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | if (mystrstr(mod, "Mod1")) *modmaskp |= Mod1Mask; | ^ KIProto.c:1263:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | if (mystrstr(mod, "Mod2")) *modmaskp |= Mod2Mask; | ^ KIProto.c:1264:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | if (mystrstr(mod, "Mod3")) *modmaskp |= Mod3Mask; | ^ KIProto.c:1265:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | if (mystrstr(mod, "Mod4")) *modmaskp |= Mod4Mask; | ^ KIProto.c:1266:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | if (mystrstr(mod, "Mod5")) *modmaskp |= Mod5Mask; | ^ KIProto.c:1267:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | if (mystrstr(mod, "Meta")) *modmaskp |= Mod1Mask; | ^ KIProto.c:1268:17: warning: passing arguments to 'mystrstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1268 | if (mystrstr(mod, "Alt")) *modmaskp |= Mod1Mask; | ^ KIProto.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | parseKeyEvent(dpy, s, codep, modmaskp) | ^ KIProto.c: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 | static int parseKeyEvent(); | ^ KIProto.c:1278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | mystrstr(s1, s2) | ^ KIProto.c:141:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | static char *mystrstr(); | ^ KIProto.c:1295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | getDefaultFontHeight(kpw) | ^ KIProto.c:142:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | static void getDefaultFontHeight(); | ^ KIProto.c:1312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | setJinputProperty(kpw) | ^ KIProto.c:144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 144 | static void setJinputProperty(); | ^ KIProto.c:1325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | setKinput2Property(kpw) | ^ KIProto.c:145: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] 145 | static void setKinput2Property(); | ^ KIProto.c:1351:25: warning: passing arguments to 'setXlcStatusProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | setXlcStatusProperty(kpw, 0); | ^ KIProto.c:1352:16: warning: passing arguments to 'setXlcBCKey' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | setXlcBCKey(kpw); | ^ KIProto.c:1348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | setXlcProperty(kpw) | ^ KIProto.c:146: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] 146 | static void setXlcProperty(); | ^ KIProto.c:1357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1357 | setXlcStatusProperty(kpw, status) | ^ KIProto.c:147: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] 147 | static void setXlcStatusProperty(); | ^ KIProto.c:1368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | setXlcBCKey(kpw) | ^ KIProto.c:148:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 148 | static void setXlcBCKey(); | ^ KIProto.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | sendClientMessage(dpy, window, type, l0, l1, l2, l3, l4) | ^ KIProto.c:150:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 150 | static void sendClientMessage(); | ^ KIProto.c:1428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1428 | sendNegativeConversionNotify(kpw, window, selection) | ^ KIProto.c:151: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] 151 | static void sendNegativeConversionNotify(); | ^ KIProto.c:1441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1441 | sendConversionNotify(ccp) | ^ KIProto.c:152:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 152 | static void sendConversionNotify(); | ^ KIProto.c:1462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1462 | sendNegativeConversionOpenNotify(kpw, window, selection) | ^ KIProto.c:153:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 153 | static void sendNegativeConversionOpenNotify(); | ^ KIProto.c:1475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | sendConversionOpenNotify(ccp) | ^ KIProto.c:154: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] 154 | static void sendConversionOpenNotify(); | ^ KIProto.c:1489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1489 | sendColorRequest(ccp) | ^ KIProto.c:155:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | static void sendColorRequest(); | ^ KIProto.c:1503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | sendFontRequest(ccp) | ^ KIProto.c:156: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] 156 | static void sendFontRequest(); | ^ KIProto.c:1517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1517 | sendXYRequest(ccp) | ^ KIProto.c:157: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] 157 | static void sendXYRequest(); | ^ KIProto.c:1545:12: warning: passing arguments to 'fixProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | fixProc(ccp, arg); | ^ KIProto.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | fixCallback(w, client_data, call_data) | ^ KIProto.c:159: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] 159 | static void fixCallback(); | ^ KIProto.c:1560:54: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | if (client->fix_proc != NULL) (*client->fix_proc)(client, arg); | ^ KIProto.c:1550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1550 | fixProc(client, arg) | ^ KIProto.c:160: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] 160 | static void fixProc(); | ^ KIProto.c:1565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1565 | jinputFix(client) | ^ KIProto.c:161: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] 161 | static void jinputFix(); | ^ KIProto.c:1587:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1587 | int abort = (int)call_data; | ^~~~~~~~~~~~~~ KIProto.c:1590:12: warning: passing arguments to 'endProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | endProc(ccp, abort); | ^ KIProto.c:1581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1581 | endCallback(w, client_data, call_data) | ^ KIProto.c:162: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] 162 | static void endCallback(); | ^ KIProto.c:1624:21: 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] 1624 | (*client->end_proc)(client, abort); | ^ KIProto.c:1595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1595 | endProc(client, abort) | ^ KIProto.c:163: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] 163 | static void endProc(); | ^ KIProto.c:1633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | jinputEnd(client, abort) | ^ KIProto.c:164: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] 164 | static void jinputEnd(); | ^ KIProto.c:1646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | jinputNewTextCallback(w, client_data, call_data) | ^ KIProto.c:165: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] 165 | static void jinputNewTextCallback(); | ^ KIProto.c:1660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | xlcEnd(client, abort) | ^ KIProto.c:166: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] 166 | static void xlcEnd(); | ^ KIProto.c:1677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1677 | ConversionOpenRequestProc(w, event, args, num_args) | ^ KIProto.c: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 | static void ConversionOpenRequestProc(); | ^ KIProto.c:1861:52: 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] 1861 | if (ccp->start_proc != NULL) (*ccp->start_proc)(ccp); | ^ KIProto.c:1747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1747 | ConversionRequestProc(w, event, args, num_args) | ^ KIProto.c:62: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] 62 | static void ConversionRequestProc(); | ^ KIProto.c:1867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1867 | ConversionEndRequestProc(w, event, args, num_args) | ^ KIProto.c: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 | static void ConversionEndRequestProc(); | ^ KIProto.c:1902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1902 | ConversionCloseRequestProc(w, event, args, num_args) | ^ KIProto.c: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 | static void ConversionCloseRequestProc(); | ^ KIProto.c:1945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1945 | ConversionXYNotifyProc(w, event, args, num_args) | ^ KIProto.c:67: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] 67 | static void ConversionXYNotifyProc(); | ^ KIProto.c:1996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | ConversionColorNotifyProc(w, event, args, num_args) | ^ KIProto.c:68: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] 68 | static void ConversionColorNotifyProc(); | ^ KIProto.c:2041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | ConversionFontsNotifyProc(w, event, args, num_args) | ^ KIProto.c:69: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] 69 | static void ConversionFontsNotifyProc(); | ^ KIProto.c:2112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2112 | ConversionAttributeNotifyProc(w, event, args, num_args) | ^ KIProto.c:70: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] 70 | static void ConversionAttributeNotifyProc(); | ^ KIProto.c:2187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2187 | ConversionCloseProc(w, event, args, num_args) | ^ KIProto.c: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 | static void ConversionCloseProc(); | ^ KIProto.c:2240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2240 | XlcOnTheSpotChangedProc(w, event, args, num_args) | ^ KIProto.c:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void XlcOnTheSpotChangedProc(); | ^ KIProto.c:2271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2271 | SelectionRequestProc(w, event, args, num_args) | ^ KIProto.c:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static void SelectionRequestProc(); | ^ KIProto.c:2302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2302 | SelectionClearProc(w, event, args, num_args) | ^ KIProto.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void SelectionClearProc(); | ^ KIProto.c:2339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2339 | ClientDead(ev, data) | ^ KIProto.c:168: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] 168 | static void ClientDead(); | ^ 171 warnings generated. rm -f OffConv.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT OffConv.c OffConv.c:314:30: warning: passing arguments to 'CreateDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | (void)CreateDisplayObject(ocw); | ^ OffConv.c:315:32: warning: passing arguments to 'CreateSelectionWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | (void)CreateSelectionWidget(ocw); | ^ OffConv.c:316:26: warning: passing arguments to 'CreateAuxWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | (void)CreateAuxWidget(ocw); | ^ OffConv.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | OffTheSpot_Initialize(req, new, args, num_args) | ^ OffConv.c:62: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] 62 | static void OffTheSpot_Initialize(); | ^ OffConv.c:344:16: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | freeString(&dsp[i].seg); | ^ OffConv.c:345:29: warning: passing arguments to 'destroyDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | destroyDisplayFragments(dsp->fragments); | ^ OffConv.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | OffTheSpot_Destroy(w) | ^ OffConv.c: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 | static void OffTheSpot_Destroy(); | ^ OffConv.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | OffTheSpot_SetValues(cur, req, new, args, num_args) | ^ OffConv.c:64:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | static Boolean OffTheSpot_SetValues(); | ^ OffConv.c:390:23: warning: passing arguments to 'SetupDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | SetupDisplayObject(ocw, valuemask, value); | ^ OffConv.c:391:20: warning: passing arguments to 'SetupModeWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | SetupModeWidget(ocw, valuemask, value); | ^ OffConv.c:392:22: warning: passing arguments to 'SetupCanvasWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | SetupCanvasWidget(ocw, valuemask, value); | ^ OffConv.c:395:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | clearAllDisplaySegments(ocw); | ^ OffConv.c:399:16: warning: passing arguments to 'eraseCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | eraseCursor(ocw); | ^ OffConv.c:401:20: warning: passing arguments to 'initialLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | initialLocation(ocw, &(ocw->offthespot.cursorlocation)); | ^ OffConv.c:405:33: warning: passing arguments to 'getToplevelWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | toplevel = getToplevelWindow(XtDisplay(widget), | ^ OffConv.c:407:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | setTransientFor(ocw->offthespot.selectionshell, toplevel); | ^ OffConv.c:408:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | setTransientFor(ocw->offthespot.auxshell, toplevel); | ^ OffConv.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | OffTheSpot_Startup(widget, valuemask, value) | ^ OffConv.c: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 | static void OffTheSpot_Startup(); | ^ OffConv.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | OffTheSpot_ConversionFinish(w) | ^ OffConv.c: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 | static void OffTheSpot_ConversionFinish(); | ^ OffConv.c:473:24: warning: passing arguments to 'ResetModeWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | if (ResetModeWidget(ocw, valuemask, value) && | ^ OffConv.c:479:32: warning: passing arguments to 'ResetDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | redraw = ResetDisplayObject(ocw, valuemask, value); | ^ OffConv.c:480:33: warning: passing arguments to 'ResetCanvasWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | reconfig = ResetCanvasWidget(ocw, valuemask, value); | ^ OffConv.c:483:12: warning: passing arguments to 'TextResize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | TextResize(ocw->offthespot.canvaswidget, (XtPointer)w, (XtPointer)NULL); | ^ OffConv.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | OffTheSpot_ChangeAttributes(w, valuemask, value) | ^ OffConv.c:67: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] 67 | static void OffTheSpot_ChangeAttributes(); | ^ OffConv.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | OffTheSpot_ChangeFocus(w, set) | ^ OffConv.c:68: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] 68 | static void OffTheSpot_ChangeFocus(); | ^ OffConv.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | Separate_Initialize(req, new, args, num_args) | ^ OffConv.c:70: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] 70 | static void Separate_Initialize(); | ^ OffConv.c:569:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | clearAllDisplaySegments((OffTheSpotConversionWidget)scw); | ^ OffConv.c:573:16: warning: passing arguments to 'eraseCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | eraseCursor((OffTheSpotConversionWidget)scw); | ^ OffConv.c:575:20: warning: passing arguments to 'initialLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | initialLocation((OffTheSpotConversionWidget)scw, | ^ OffConv.c:606:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | MoveShell(widget, x, y); | ^ OffConv.c:609:33: warning: passing arguments to 'getToplevelWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | toplevel = getToplevelWindow(XtDisplay(widget), | ^ OffConv.c:611:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | setTransientFor((Widget)scw, toplevel); | ^ OffConv.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | Separate_Startup(widget, valuemask, value) | ^ OffConv.c:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static void Separate_Startup(); | ^ OffConv.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | Separate_ConversionFinish(w) | ^ OffConv.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void Separate_ConversionFinish(); | ^ OffConv.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | Separate_ChangeAttributes(w, mask, value) | ^ OffConv.c:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void Separate_ChangeAttributes(); | ^ OffConv.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | Separate_ChangeFocus(w, set) | ^ OffConv.c: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 | static void Separate_ChangeFocus(); | ^ OffConv.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | CreateDisplayObject(ocw) | ^ OffConv.c:76: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] 76 | static Widget CreateDisplayObject(); | ^ OffConv.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | CreateSelectionWidget(ocw) | ^ OffConv.c:77: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] 77 | static Widget CreateSelectionWidget(); | ^ OffConv.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | CreateAuxWidget(ocw) | ^ OffConv.c:97: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] 97 | static Widget CreateAuxWidget(); | ^ OffConv.c:747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | SetupDisplayObject(ocw, mask, value) | ^ OffConv.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void SetupDisplayObject(); | ^ OffConv.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | ResetDisplayObject(ocw, mask, value) | ^ OffConv.c:80:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static Boolean ResetDisplayObject(); | ^ OffConv.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | SetupModeWidget(ocw, mask, value) | ^ OffConv.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void SetupModeWidget(); | ^ OffConv.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | ResetModeWidget(ocw, mask, value) | ^ OffConv.c:82:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static Boolean ResetModeWidget(); | ^ OffConv.c:912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | SetupCanvasWidget(ocw, mask, value) | ^ OffConv.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void SetupCanvasWidget(); | ^ OffConv.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | ResetCanvasWidget(ocw, mask, value) | ^ OffConv.c:84:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static Boolean ResetCanvasWidget(); | ^ OffConv.c:1009:16: warning: passing arguments to 'eraseCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | eraseCursor(ocw); | ^ OffConv.c:1010:27: warning: passing arguments to 'computeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | computeDisplaySegments(ocw); | ^ OffConv.c:1011:18: warning: passing arguments to 'computeCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | computeCursor(ocw); | ^ OffConv.c:1012:23: warning: passing arguments to 'reconfigureDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | reconfigureDisplay(ocw); | ^ OffConv.c:1013:18: warning: passing arguments to 'updateDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | updateDisplay(ocw); | ^ OffConv.c:1014:15: warning: passing arguments to 'showCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | showCursor(ocw); | ^ OffConv.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | UpdateText(w) | ^ OffConv.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void UpdateText(); | ^ OffConv.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | UpdateMode(w) | ^ OffConv.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void UpdateMode(); | ^ OffConv.c:1040:16: warning: passing arguments to 'SelectionStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | SelectionStart(ocw, arg->u.selection_kind); | ^ OffConv.c:1043:14: warning: passing arguments to 'SelectionEnd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | SelectionEnd(ocw, &arg->u.current_item); | ^ OffConv.c:1046:14: warning: passing arguments to 'SelectionSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | SelectionSet(ocw, arg->u.current_item); | ^ OffConv.c:1049:15: warning: passing arguments to 'SelectionMove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | SelectionMove(ocw, arg->u.dir); | ^ OffConv.c:1052:14: warning: passing arguments to 'SelectionGet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | SelectionGet(ocw, &arg->u.current_item); | ^ OffConv.c:1030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | SelectionControl(w, arg) | ^ OffConv.c: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 | static void SelectionControl(); | ^ OffConv.c:1088:25: warning: passing arguments to 'LocateSelectionPopup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | LocateSelectionPopup(ocw); | ^ OffConv.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | SelectionStart(ocw, kind) | ^ OffConv.c:90: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] 90 | static void SelectionStart(); | ^ OffConv.c:1109:21: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | computeLastPosition(ocw->offthespot.dispsegments[ocw->offthespot.numsegments - 1].fragments, &lastp); | ^ OffConv.c:1131:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | MoveShell(shell, x, y); | ^ OffConv.c:1095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | LocateSelectionPopup(ocw) | ^ OffConv.c:91: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] 91 | static void LocateSelectionPopup(); | ^ OffConv.c:1135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | SelectionEnd(ocw, current) | ^ OffConv.c:92: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] 92 | static void SelectionEnd(); | ^ OffConv.c:1155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1155 | SelectionSet(ocw, current) | ^ OffConv.c:93: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] 93 | static void SelectionSet(); | ^ OffConv.c:1171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | SelectionGet(ocw, current) | ^ OffConv.c:94: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] 94 | static void SelectionGet(); | ^ OffConv.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | SelectionMove(ocw, dir) | ^ OffConv.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static void SelectionMove(); | ^ OffConv.c:1215:10: warning: passing arguments to 'AuxStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | AuxStart(ocw); | ^ OffConv.c:1218:8: warning: passing arguments to 'AuxEnd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | AuxEnd(ocw); | ^ OffConv.c:1221:11: warning: passing arguments to 'AuxChange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | AuxChange(ocw); | ^ OffConv.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | AuxControl(w, arg) | ^ OffConv.c:98: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] 98 | static void AuxControl(); | ^ OffConv.c:1253:17: warning: passing arguments to 'LocateAuxPopup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | LocateAuxPopup(ocw); | ^ OffConv.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | AuxStart(ocw) | ^ OffConv.c:99: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] 99 | static void AuxStart(); | ^ OffConv.c:1261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | AuxEnd(ocw) | ^ OffConv.c:100: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] 100 | static void AuxEnd(); | ^ OffConv.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | AuxChange(ocw) | ^ OffConv.c:101: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] 101 | static void AuxChange(); | ^ OffConv.c:1304:21: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | computeLastPosition(ocw->offthespot.dispsegments[ocw->offthespot.numsegments - 1].fragments, &lastp); | ^ OffConv.c:1326:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | MoveShell(shell, x, y); | ^ OffConv.c:1290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | LocateAuxPopup(ocw) | ^ OffConv.c:102: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] 102 | static void LocateAuxPopup(); | ^ OffConv.c:1352:32: warning: passing arguments to 'exposeCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | cursorredraw = exposeCursor(ocw, w, ®ion); | ^ OffConv.c:1353:19: warning: passing arguments to 'redrawSegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1353 | redrawSegments(ocw, ®ion); | ^ OffConv.c:1354:33: warning: passing arguments to 'showCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1354 | if (cursorredraw) showCursor(ocw); | ^ OffConv.c:1336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | TextRedisplay(w, client_data, call_data) | ^ OffConv.c:104: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] 104 | static void TextRedisplay(); | ^ OffConv.c:1368:29: warning: passing arguments to 'recomputeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | recomputeDisplaySegments(ocw); | ^ OffConv.c:1369:18: warning: passing arguments to 'computeCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | computeCursor(ocw); | ^ OffConv.c:1360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | TextResize(w, client_data, call_data) | ^ OffConv.c:105: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] 105 | static void TextResize(); | ^ OffConv.c:1390:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1390 | int current = (int)call_data; | ^~~~~~~~~~~~~~ OffConv.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | SelectionSelected(w, client_data, call_data) | ^ OffConv.c:107: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] 107 | static void SelectionSelected(); | ^ OffConv.c:1419:25: warning: passing arguments to 'allocDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1419 | allocDisplaySegments(ocw, nnew); | ^ OffConv.c:1421:20: warning: passing arguments to 'initialLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | initialLocation(ocw, &disploc); | ^ OffConv.c:1426:16: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1426 | copyString(newseg, &dseg->seg); | ^ OffConv.c:1428:47: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1428 | dseg->fragments = computeDisplayFragments(ocw, newseg, &disploc); | ^ OffConv.c:1438:41: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | newfragments = computeDisplayFragments(ocw, newseg, &disploc); | ^ OffConv.c:1443:22: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | computeLastPosition(newfragments, &disploc); | ^ OffConv.c:1468:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | freeString(&dseg->seg); | ^ OffConv.c:1469:13: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | copyString(newseg, &dseg->seg); | ^ OffConv.c:1473:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1473 | freeString(&dseg->seg); | ^ OffConv.c:1474:13: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | copyString(newseg, &dseg->seg); | ^ OffConv.c:1477:44: warning: passing arguments to 'freeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | if (oldfragments) freeDisplayFragments(oldfragments); | ^ OffConv.c:1481:53: warning: passing arguments to 'freeDisplaySegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | for (; i < nold; i++, dseg++) freeDisplaySegment(dseg); | ^ OffConv.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | computeDisplaySegments(ocw) | ^ OffConv.c:109: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] 109 | static void computeDisplaySegments(); | ^ OffConv.c:1496:20: warning: passing arguments to 'initialLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | initialLocation(ocw, &disploc); | ^ OffConv.c:1499:22: warning: passing arguments to 'freeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1499 | freeDisplayFragments(dseg->fragments); | ^ OffConv.c:1501:43: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1501 | dseg->fragments = computeDisplayFragments(ocw, &dseg->seg, &disploc); | ^ OffConv.c:1488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | recomputeDisplaySegments(ocw) | ^ OffConv.c:110: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] 110 | static void recomputeDisplaySegments(); | ^ OffConv.c:1507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1507 | computeLastPosition(fragments, disploc) | ^ OffConv.c:111: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] 111 | static void computeLastPosition(); | ^ OffConv.c:1533:33: warning: passing arguments to 'widthAvailable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | widthavailable = widthAvailable(ocw, disploc); | ^ OffConv.c:1563:42: warning: passing arguments to 'nextLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | if (start < newseg->nchars) nextLocation(ocw, disploc); | ^ OffConv.c:1518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1518 | computeDisplayFragments(ocw, newseg, disploc) | ^ OffConv.c:112:26: warning: a function declaration without a prototype is 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 | static DisplayFragment * computeDisplayFragments(); | ^ OffConv.c:1571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | widthAvailable(ocw, disploc) | ^ OffConv.c:113: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] 113 | static int widthAvailable(); | ^ OffConv.c:1581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1581 | initialLocation(ocw, disploc) | ^ OffConv.c:114: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] 114 | static void initialLocation(); | ^ OffConv.c:1599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1599 | nextLocation(ocw, disploc) | ^ OffConv.c:115:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void nextLocation(); | ^ OffConv.c:1609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1609 | findLocation(ocw, dsp, offset, disploc) | ^ OffConv.c:116:26: warning: a function declaration without a prototype is 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 | static DisplayLocation * findLocation(); | ^ OffConv.c:1637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | reconfigureDisplay(ocw) | ^ OffConv.c:117:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static void reconfigureDisplay(); | ^ OffConv.c:1684:26: warning: passing arguments to 'updateDisplaySegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1684 | updateDisplaySegment(ocw, dsp); | ^ OffConv.c:1675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | updateDisplay(ocw) | ^ OffConv.c: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 | static void updateDisplay(); | ^ OffConv.c:1691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | updateDisplaySegment(ocw, dsp) | ^ OffConv.c:119:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static void updateDisplaySegment(); | ^ OffConv.c:1730:23: warning: passing arguments to 'intersectRect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | if (intersectRect(&dfp->region, region)) { | ^ OffConv.c:1718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1718 | redrawSegments(ocw, region) | ^ OffConv.c: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 | static void redrawSegments(); | ^ OffConv.c:1745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1745 | eraseCursor(ocw) | ^ OffConv.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static void eraseCursor(); | ^ OffConv.c:1763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1763 | showCursor(ocw) | ^ OffConv.c:123: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] 123 | static void showCursor(); | ^ OffConv.c:1794:22: warning: passing arguments to 'intersectRect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | if (intersectRect(region, &bounds)) { | ^ OffConv.c:1798:11: warning: passing arguments to 'unionRect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1798 | unionRect(region, &bounds, region); | ^ OffConv.c:1780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1780 | exposeCursor(ocw, w, region) | ^ OffConv.c:124:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | static Boolean exposeCursor(); | ^ OffConv.c:1806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1806 | computeCursor(ocw) | ^ OffConv.c:125: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] 125 | static void computeCursor(); | ^ OffConv.c:1842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1842 | MoveShell(w, x, y) | ^ OffConv.c:127: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] 127 | static void MoveShell(); | ^ OffConv.c:1863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1863 | getToplevelWindow(dpy, win) | ^ OffConv.c:128: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] 128 | static Window getToplevelWindow(); | ^ OffConv.c:1902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1902 | setTransientFor(w, win) | ^ OffConv.c:129: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] 129 | static void setTransientFor(); | ^ OffConv.c:1912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1912 | intersectRect(rect1, rect2) | ^ OffConv.c:130:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | static Boolean intersectRect(); | ^ OffConv.c:1924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1924 | unionRect(rect1, rect2, rect_ret) | ^ OffConv.c:131: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] 131 | static void unionRect(); | ^ OffConv.c:1961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1961 | freeDisplayFragments(fragments) | ^ OffConv.c:133: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] 133 | static void freeDisplayFragments(); | ^ OffConv.c:1974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1974 | destroyDisplayFragments(fragments) | ^ OffConv.c:134: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] 134 | static void destroyDisplayFragments(); | ^ OffConv.c:1988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | allocDisplaySegments(ocw, n) | ^ OffConv.c:135: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] 135 | static void allocDisplaySegments(); | ^ OffConv.c:2007:15: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2007 | freeString(&dsp->seg); | ^ OffConv.c:2004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2004 | freeDisplaySegment(dsp) | ^ OffConv.c:136: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] 136 | static void freeDisplaySegment(); | ^ OffConv.c:2014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2014 | clearAllDisplaySegments(ocw) | ^ OffConv.c:137: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] 137 | static void clearAllDisplaySegments(); | ^ OffConv.c:2028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2028 | copyString(from, to) | ^ OffConv.c:138: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] 138 | static void copyString(); | ^ OffConv.c:2039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2039 | freeString(seg) | ^ OffConv.c:139: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] 139 | static void freeString(); | ^ 204 warnings generated. rm -f OverConv.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT OverConv.c OverConv.c:300:24: warning: passing arguments to 'CreateDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | CreateDisplayObject(ocw); | ^ OverConv.c:301:26: warning: passing arguments to 'CreateSelectionWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | CreateSelectionWidget(ocw); | ^ OverConv.c:302:20: warning: passing arguments to 'CreateAuxWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | CreateAuxWidget(ocw); | ^ OverConv.c:303:21: warning: passing arguments to 'CreateModeWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | CreateModeWidget(ocw); | ^ OverConv.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | Initialize(req, new, args, num_args) | ^ OverConv.c:78: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] 78 | static void Initialize(); | ^ OverConv.c:319:16: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | freeString(&dsp[i].seg); | ^ OverConv.c:320:29: warning: passing arguments to 'destroyDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | destroyDisplayFragments(dsp->fragments); | ^ OverConv.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | Destroy(w) | ^ OverConv.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void Destroy(); | ^ OverConv.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | SetValues(cur, req, new, args, num_args) | ^ OverConv.c:80:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static Boolean SetValues(); | ^ OverConv.c:368:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | clearAllDisplaySegments(ocw); | ^ OverConv.c:375:23: warning: passing arguments to 'setupDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | setupDisplayObject(ocw, mask, value); | ^ OverConv.c:376:20: warning: passing arguments to 'setupTextCanvas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | setupTextCanvas(ocw, mask, value); | ^ OverConv.c:377:20: warning: passing arguments to 'setupModeWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | setupModeWidget(ocw, mask, value); | ^ OverConv.c:380:33: warning: passing arguments to 'getToplevelWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | toplevel = getToplevelWindow(XtDisplay(w), | ^ OverConv.c:383:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | setTransientFor(ocw->overthespot.modeshell, toplevel); | ^ OverConv.c:384:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | setTransientFor(ocw->overthespot.selectionshell, toplevel); | ^ OverConv.c:385:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | setTransientFor(ocw->overthespot.auxshell, toplevel); | ^ OverConv.c:388:28: warning: passing arguments to 'locateTextCanvasInitial' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | locateTextCanvasInitial(ocw); | ^ OverConv.c:391:66: warning: passing arguments to 'locateModeWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | if (!ocw->overthespot.modelocationspecified) locateModeWidget(ocw); | ^ OverConv.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | ConversionStartup(w, mask, value) | ^ OverConv.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void ConversionStartup(); | ^ OverConv.c:429:33: warning: passing arguments to 'resetDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | dispres = resetDisplayObject(ocw, mask, value); | ^ OverConv.c:430:28: warning: passing arguments to 'resetTextCanvas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | tcres = resetTextCanvas(ocw, mask, value); | ^ OverConv.c:432:32: warning: passing arguments to 'redrawAndReconfigureTextCanvas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | redrawAndReconfigureTextCanvas(ocw); | ^ OverConv.c:445:24: warning: passing arguments to 'resetModeWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | if (resetModeWidget(ocw, mask, value) != NeedNone && | ^ OverConv.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | ChangeAttributes(w, mask, value) | ^ OverConv.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void ChangeAttributes(); | ^ OverConv.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | ChangeFocus(w, set) | ^ OverConv.c:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static void ChangeFocus(); | ^ OverConv.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | ConversionFinish(w) | ^ OverConv.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void ConversionFinish(); | ^ OverConv.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | CreateDisplayObject(ocw) | ^ OverConv.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void CreateDisplayObject(); | ^ OverConv.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | CreateSelectionWidget(ocw) | ^ OverConv.c: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 | static void CreateSelectionWidget(); | ^ OverConv.c:566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | CreateAuxWidget(ocw) | ^ OverConv.c:115:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void CreateAuxWidget(); | ^ OverConv.c:630:16: warning: passing arguments to 'setMwmHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | setMwmHints(shell); | ^ OverConv.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | CreateModeWidget(ocw) | ^ OverConv.c: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 | static void CreateModeWidget(); | ^ OverConv.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | CreateTextCanvas(ocw) | ^ OverConv.c:90:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static TextCanvas * CreateTextCanvas(); | ^ OverConv.c:676:19: warning: passing arguments to 'getFocusOffset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | getFocusOffset(ocw); | ^ OverConv.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | setupTextCanvas(ocw, mask, value) | ^ OverConv.c:92: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] 92 | static void setupTextCanvas(); | ^ OverConv.c:781:16: warning: passing arguments to 'getFocusOffset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | getFocusOffset(ocw); | ^ OverConv.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | resetTextCanvas(ocw, mask, value) | ^ OverConv.c:93:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | static ResetStatus resetTextCanvas(); | ^ OverConv.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | setupDisplayObject(ocw, mask, value) | ^ OverConv.c:94: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] 94 | static void setupDisplayObject(); | ^ OverConv.c:863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | resetDisplayObject(ocw, mask, value) | ^ OverConv.c:95:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static ResetStatus resetDisplayObject(); | ^ OverConv.c:923:29: warning: passing arguments to 'enoughSpaceForStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | enoughSpaceForStatus(ocw)) { | ^ OverConv.c:894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | setupModeWidget(ocw, mask, value) | ^ OverConv.c:96: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] 96 | static void setupModeWidget(); | ^ OverConv.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | resetModeWidget(ocw, mask, value) | ^ OverConv.c:97:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static ResetStatus resetModeWidget(); | ^ OverConv.c:1051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | locateTextCanvasInitial(ocw) | ^ OverConv.c:98: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] 98 | static void locateTextCanvasInitial(); | ^ OverConv.c:1073:26: warning: passing arguments to 'locateTrackingModeWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | locateTrackingModeWidget(ocw, True, 0, 0); | ^ OverConv.c:1108:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | MoveShell(ocw->overthespot.modeshell, rootx, rooty); | ^ OverConv.c:1062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | locateModeWidget(ocw) | ^ OverConv.c:99: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] 99 | static void locateModeWidget(); | ^ OverConv.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | locateTrackingModeWidget(ocw, initial, x, y) | ^ OverConv.c:100: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] 100 | static void locateTrackingModeWidget(); | ^ OverConv.c:1195:29: warning: passing arguments to 'recomputeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | recomputeDisplaySegments(ocw); | ^ OverConv.c:1196:18: warning: passing arguments to 'computeCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | computeCursor(ocw); | ^ OverConv.c:1197:23: warning: passing arguments to 'reconfigureDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | reconfigureDisplay(ocw); | ^ OverConv.c:1177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | redrawAndReconfigureTextCanvas(ocw) | ^ OverConv.c:101: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] 101 | static void redrawAndReconfigureTextCanvas(); | ^ OverConv.c:1212:16: warning: passing arguments to 'eraseCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | eraseCursor(ocw); | ^ OverConv.c:1213:27: warning: passing arguments to 'computeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | computeDisplaySegments(ocw); | ^ OverConv.c:1214:18: warning: passing arguments to 'computeCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | computeCursor(ocw); | ^ OverConv.c:1215:23: warning: passing arguments to 'reconfigureDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | reconfigureDisplay(ocw); | ^ OverConv.c:1216:18: warning: passing arguments to 'updateDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | updateDisplay(ocw); | ^ OverConv.c:1217:15: warning: passing arguments to 'showCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | showCursor(ocw); | ^ OverConv.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | UpdateText(w) | ^ OverConv.c:103: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] 103 | static void UpdateText(); | ^ OverConv.c:1222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | UpdateMode(w) | ^ OverConv.c:104: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] 104 | static void UpdateMode(); | ^ OverConv.c:1252:16: warning: passing arguments to 'SelectionStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1252 | SelectionStart(ocw, arg->u.selection_kind); | ^ OverConv.c:1255:14: warning: passing arguments to 'SelectionEnd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1255 | SelectionEnd(ocw, &arg->u.current_item); | ^ OverConv.c:1258:14: warning: passing arguments to 'SelectionSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | SelectionSet(ocw, arg->u.current_item); | ^ OverConv.c:1261:15: warning: passing arguments to 'SelectionMove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | SelectionMove(ocw, arg->u.dir); | ^ OverConv.c:1264:14: warning: passing arguments to 'SelectionGet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | SelectionGet(ocw, &arg->u.current_item); | ^ OverConv.c:1244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1244 | SelectionControl(w, arg) | ^ OverConv.c:105: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] 105 | static void SelectionControl(); | ^ OverConv.c:1296:25: warning: passing arguments to 'locateSelectionPopup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1296 | locateSelectionPopup(ocw); | ^ OverConv.c:1276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1276 | SelectionStart(ocw, kind) | ^ OverConv.c:107: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] 107 | static void SelectionStart(); | ^ OverConv.c:1330:21: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | computeLastPosition(dsp[i].fragments, &lastp); | ^ OverConv.c:1351:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | MoveShell(shell, x, y); | ^ OverConv.c:1303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1303 | locateSelectionPopup(ocw) | ^ OverConv.c:108: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] 108 | static void locateSelectionPopup(); | ^ OverConv.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | SelectionEnd(ocw, current) | ^ OverConv.c:109: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] 109 | static void SelectionEnd(); | ^ OverConv.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | SelectionSet(ocw, current) | ^ OverConv.c:110: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] 110 | static void SelectionSet(); | ^ OverConv.c:1396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1396 | SelectionGet(ocw, current) | ^ OverConv.c:111: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] 111 | static void SelectionGet(); | ^ OverConv.c:1414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1414 | SelectionMove(ocw, dir) | ^ OverConv.c: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 | static void SelectionMove(); | ^ OverConv.c:1444:24: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1444 | computeLastPosition(dsp[nsegs - 1].fragments, &disploc); | ^ OverConv.c:1431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | ForwardSpot(w, client_data, call_data) | ^ OverConv.c: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 | static void ForwardSpot(); | ^ OverConv.c:1466:10: warning: passing arguments to 'AuxStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1466 | AuxStart(ocw); | ^ OverConv.c:1469:8: warning: passing arguments to 'AuxEnd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | AuxEnd(ocw); | ^ OverConv.c:1472:11: warning: passing arguments to 'AuxChange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1472 | AuxChange(ocw); | ^ OverConv.c:1456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1456 | AuxControl(w, arg) | ^ OverConv.c:116: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] 116 | static void AuxControl(); | ^ OverConv.c:1504:17: warning: passing arguments to 'locateAuxPopup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1504 | locateAuxPopup(ocw, False); | ^ OverConv.c:1487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | AuxStart(ocw) | ^ OverConv.c:117:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static void AuxStart(); | ^ OverConv.c:1512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | AuxEnd(ocw) | ^ OverConv.c:119:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static void AuxEnd(); | ^ OverConv.c:1540:17: warning: passing arguments to 'locateAuxPopup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1540 | locateAuxPopup(ocw, True); | ^ OverConv.c:1526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | AuxChange(ocw) | ^ OverConv.c: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 | static void AuxChange(); | ^ OverConv.c:1577:25: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | computeLastPosition(dsp[i].fragments, &lastp); | ^ OverConv.c:1600:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1600 | MoveShell(shell, x, y); | ^ OverConv.c:1545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | locateAuxPopup(ocw, usecurloc) | ^ OverConv.c: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 | static void locateAuxPopup(); | ^ OverConv.c:1626:32: warning: passing arguments to 'exposeCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1626 | cursorredraw = exposeCursor(ocw, w, ®ion); | ^ OverConv.c:1627:19: warning: passing arguments to 'redrawSegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | redrawSegments(ocw, w, ®ion); | ^ OverConv.c:1628:33: warning: passing arguments to 'showCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | if (cursorredraw) showCursor(ocw); | ^ OverConv.c:1610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1610 | TextRedisplay(w, client_data, call_data) | ^ OverConv.c:123: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] 123 | static void TextRedisplay(); | ^ OverConv.c:1645:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1645 | int current = (int)call_data; | ^~~~~~~~~~~~~~ OverConv.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | SelectionSelected(w, client_data, call_data) | ^ OverConv.c:125: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] 125 | static void SelectionSelected(); | ^ OverConv.c:1674:25: warning: passing arguments to 'allocDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1674 | allocDisplaySegments(ocw, nnew); | ^ OverConv.c:1687:16: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | copyString(newseg, &dseg->seg); | ^ OverConv.c:1689:47: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1689 | dseg->fragments = computeDisplayFragments(ocw, newseg, &disploc); | ^ OverConv.c:1700:41: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | newfragments = computeDisplayFragments(ocw, newseg, &disploc); | ^ OverConv.c:1705:22: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | computeLastPosition(newfragments, &disploc); | ^ OverConv.c:1732:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | freeString(&dseg->seg); | ^ OverConv.c:1733:13: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | copyString(newseg, &dseg->seg); | ^ OverConv.c:1737:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1737 | freeString(&dseg->seg); | ^ OverConv.c:1738:13: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1738 | copyString(newseg, &dseg->seg); | ^ OverConv.c:1741:44: warning: passing arguments to 'freeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1741 | if (oldfragments) freeDisplayFragments(oldfragments); | ^ OverConv.c:1745:53: warning: passing arguments to 'freeDisplaySegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1745 | for (; i < nold; i++, dseg++) freeDisplaySegment(dseg); | ^ OverConv.c:1660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | computeDisplaySegments(ocw) | ^ OverConv.c:127: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] 127 | static void computeDisplaySegments(); | ^ OverConv.c:1769:22: warning: passing arguments to 'freeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1769 | freeDisplayFragments(dseg->fragments); | ^ OverConv.c:1771:43: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1771 | dseg->fragments = computeDisplayFragments(ocw, &dseg->seg, &disploc); | ^ OverConv.c:1752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1752 | recomputeDisplaySegments(ocw) | ^ OverConv.c:128: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] 128 | static void recomputeDisplaySegments(); | ^ OverConv.c:1777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1777 | computeLastPosition(fragments, disploc) | ^ OverConv.c:129: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] 129 | static void computeLastPosition(); | ^ OverConv.c:1804:40: warning: passing arguments to 'computeWidthAvailable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1804 | widthavailable = computeWidthAvailable(ocw, disploc); | ^ OverConv.c:1837:42: warning: passing arguments to 'nextLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | if (start < newseg->nchars) nextLocation(ocw, disploc); | ^ OverConv.c:1789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1789 | computeDisplayFragments(ocw, newseg, disploc) | ^ OverConv.c:130:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | static DisplayFragment *computeDisplayFragments(); | ^ OverConv.c:1846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1846 | computeWidthAvailable(ocw, disploc) | ^ OverConv.c:131: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] 131 | static int computeWidthAvailable(); | ^ OverConv.c:1862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | nextLocation(ocw, disploc) | ^ OverConv.c:132: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] 132 | static void nextLocation(); | ^ OverConv.c:1890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1890 | findLocation(ocw, dsp, offset, disploc) | ^ OverConv.c:133:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | static DisplayLocation *findLocation(); | ^ OverConv.c:1977:15: warning: passing arguments to 'adjustDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1977 | adjustDisplay(ocw); | ^ OverConv.c:1919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1919 | reconfigureDisplay(ocw) | ^ OverConv.c:134: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] 134 | static void reconfigureDisplay(); | ^ OverConv.c:2027:26: warning: passing arguments to 'updateDisplaySegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2027 | updateDisplaySegment(dispobj, dsp); | ^ OverConv.c:2017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2017 | updateDisplay(ocw) | ^ OverConv.c:135: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] 135 | static void updateDisplay(); | ^ OverConv.c:2034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2034 | updateDisplaySegment(dispobj, dsp) | ^ OverConv.c:136: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] 136 | static void updateDisplaySegment(); | ^ OverConv.c:2072:16: warning: passing arguments to 'intersectRect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2072 | intersectRect(&dfp->region, region)) { | ^ OverConv.c:2059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2059 | redrawSegments(ocw, canvas, region) | ^ OverConv.c:137: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] 137 | static void redrawSegments(); | ^ OverConv.c:2113:32: warning: passing arguments to 'getInsertingSegmentRange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2113 | (void)getInsertingSegmentRange(ocw, overflowcanvas, | ^ OverConv.c:2118:32: warning: passing arguments to 'getAttributeSegmentRange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2118 | (void)getAttributeSegmentRange(ocw, overflowcanvas, | ^ OverConv.c:2121:32: warning: passing arguments to 'getAttributeSegmentRange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2121 | (void)getAttributeSegmentRange(ocw, overflowcanvas, | ^ OverConv.c:2144:17: warning: passing arguments to 'adjustOffset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2144 | adjustOffset(areap, outerleft, outerright, &offset, False); | ^ OverConv.c:2145:17: warning: passing arguments to 'adjustOffset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2145 | adjustOffset(areap, innerleft, innerright, &offset, True); | ^ OverConv.c:2087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2087 | adjustDisplay(ocw) | ^ OverConv.c:139: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] 139 | static void adjustDisplay(); | ^ OverConv.c:2152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2152 | getAttributeSegmentRange(ocw, canvas, attr, leftp, rightp) | ^ OverConv.c:140:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 140 | static Boolean getAttributeSegmentRange(); | ^ OverConv.c:2193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2193 | getInsertingSegmentRange(ocw, canvas, curseg, offset, leftp, rightp, posp) | ^ OverConv.c:141:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | static Boolean getInsertingSegmentRange(); | ^ OverConv.c:2244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2244 | adjustOffset(rectp, left, right, offsetp, force) | ^ OverConv.c:142:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | static void adjustOffset(); | ^ OverConv.c:2278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2278 | eraseCursor(ocw) | ^ OverConv.c:144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 144 | static void eraseCursor(); | ^ OverConv.c:2296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2296 | showCursor(ocw) | ^ OverConv.c:145: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] 145 | static void showCursor(); | ^ OverConv.c:2333:22: warning: passing arguments to 'intersectRect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2333 | if (intersectRect(region, &bounds)) { | ^ OverConv.c:2337:11: warning: passing arguments to 'unionRect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2337 | unionRect(region, &bounds, region); | ^ OverConv.c:2313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2313 | exposeCursor(ocw, w, region) | ^ OverConv.c:146:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 146 | static Boolean exposeCursor(); | ^ OverConv.c:2345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2345 | computeCursor(ocw) | ^ OverConv.c:147: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] 147 | static void computeCursor(); | ^ OverConv.c:2377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2377 | StringToModeLocation(args, num_args, from, to) | ^ OverConv.c:149: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] 149 | static void StringToModeLocation(); | ^ OverConv.c:2406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2406 | MoveShell(w, x, y) | ^ OverConv.c:151: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] 151 | static void MoveShell(); | ^ OverConv.c:2436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2436 | getToplevelWindow(dpy, win, wm_state) | ^ OverConv.c:152: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] 152 | static Window getToplevelWindow(); | ^ OverConv.c:2474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2474 | setTransientFor(w, win) | ^ OverConv.c:153:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 153 | static void setTransientFor(); | ^ OverConv.c:2485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2485 | setMwmHints(w) | ^ OverConv.c:154: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] 154 | static void setMwmHints(); | ^ OverConv.c:2511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2511 | getFocusOffset(ocw) | ^ OverConv.c:155:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | static void getFocusOffset(); | ^ OverConv.c:2532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2532 | intersectRect(rect1, rect2) | ^ OverConv.c:156:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 156 | static Boolean intersectRect(); | ^ OverConv.c:2544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2544 | unionRect(rect1, rect2, rect_ret) | ^ OverConv.c:157: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] 157 | static void unionRect(); | ^ OverConv.c:2566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2566 | enoughSpaceForStatus(ocw) | ^ OverConv.c:158: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] 158 | static int enoughSpaceForStatus(); | ^ OverConv.c:2624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2624 | freeDisplayFragments(fragments) | ^ OverConv.c:160: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] 160 | static void freeDisplayFragments(); | ^ OverConv.c:2637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2637 | destroyDisplayFragments(fragments) | ^ OverConv.c:161: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] 161 | static void destroyDisplayFragments(); | ^ OverConv.c:2651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2651 | allocDisplaySegments(ocw, n) | ^ OverConv.c:162: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] 162 | static void allocDisplaySegments(); | ^ OverConv.c:2670:15: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2670 | freeString(&dsp->seg); | ^ OverConv.c:2667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2667 | freeDisplaySegment(dsp) | ^ OverConv.c:163: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] 163 | static void freeDisplaySegment(); | ^ OverConv.c:2677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2677 | clearAllDisplaySegments(ocw) | ^ OverConv.c:164: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] 164 | static void clearAllDisplaySegments(); | ^ OverConv.c:2691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2691 | copyString(from, to) | ^ OverConv.c:165: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] 165 | static void copyString(); | ^ OverConv.c:2702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2702 | freeString(seg) | ^ OverConv.c:166: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] 166 | static void freeString(); | ^ 229 warnings generated. rm -f OnConv.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT OnConv.c OnConv.c:239:32: warning: passing arguments to 'CreateSelectionWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | (void)CreateSelectionWidget(ocw); | ^ OnConv.c:240:26: warning: passing arguments to 'CreateAuxWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | (void)CreateAuxWidget(ocw); | ^ OnConv.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | Initialize(req, new, args, num_args) | ^ OnConv.c:77: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] 77 | static void Initialize(); | ^ OnConv.c:266:16: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | freeString(&dsp[i].seg); | ^ OnConv.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | Destroy(w) | ^ OnConv.c:78: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] 78 | static void Destroy(); | ^ OnConv.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | SetValues(cur, req, new, args, num_args) | ^ OnConv.c:79:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static Boolean SetValues(); | ^ OnConv.c:304:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | clearAllDisplaySegments(ocw); | ^ OnConv.c:307:33: warning: passing arguments to 'getToplevelWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | toplevel = getToplevelWindow(XtDisplay(widget), | ^ OnConv.c:309:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | setTransientFor(ocw->onthespot.selectionshell, toplevel); | ^ OnConv.c:310:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | setTransientFor(ocw->onthespot.auxshell, toplevel); | ^ OnConv.c:330:15: warning: passing arguments to 'UpdateMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | UpdateMode(widget); | ^ OnConv.c:333:19: warning: passing arguments to 'CBPreeditStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | CBPreeditStart(widget); | ^ OnConv.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | ConversionStartup(widget, valuemask, value) | ^ OnConv.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void ConversionStartup(); | ^ OnConv.c:356:19: warning: passing arguments to 'CBPreeditDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | CBPreeditDraw(ocw, 0, 0, len, encoding, format, 0, (XPointer)"", | ^ OnConv.c:362:18: warning: passing arguments to 'CBPreeditDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | CBPreeditDone(w); | ^ OnConv.c:365:17: warning: passing arguments to 'CBStatusDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | CBStatusDraw(ocw, encoding, format, 0, (XPointer)"", 0); | ^ OnConv.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | ConversionFinish(w) | ^ OnConv.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void ConversionFinish(); | ^ OnConv.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | ChangeAttributes(w, valuemask, value) | ^ OnConv.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void ChangeAttributes(); | ^ OnConv.c:395:12: warning: passing arguments to 'UpdateMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | UpdateMode(w); | ^ OnConv.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | ChangeFocus(w, set) | ^ OnConv.c:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static void ChangeFocus(); | ^ OnConv.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | StringToFeedbackAttrs(args, num_args, from, to) | ^ OnConv.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void StringToFeedbackAttrs(); | ^ OnConv.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | CreateSelectionWidget(ocw) | ^ OnConv.c:88: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] 88 | static Widget CreateSelectionWidget(); | ^ OnConv.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | CreateAuxWidget(ocw) | ^ OnConv.c:102: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] 102 | static Widget CreateAuxWidget(); | ^ OnConv.c:552:25: warning: passing arguments to 'allocDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | allocDisplaySegments(ocw, nnew); | ^ OnConv.c:564:16: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | copyString(newseg, &dseg->seg); | ^ OnConv.c:565:24: warning: passing arguments to 'addAttributeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | addAttributeBuffer(buffer, inputobj, newseg, 0, fba); | ^ OnConv.c:577:25: warning: passing arguments to 'addAttributeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | addAttributeBuffer(buffer, inputobj, newseg, 0, fba); | ^ OnConv.c:582:21: warning: passing arguments to 'addAttributeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | addAttributeBuffer(buffer, inputobj, newseg, 0, fba); | ^ OnConv.c:590:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | freeString(&dseg->seg); | ^ OnConv.c:591:13: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | copyString(newseg, &dseg->seg); | ^ OnConv.c:593:25: warning: passing arguments to 'addAttributeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | addAttributeBuffer(buffer, inputobj, newseg, nsame, fba); | ^ OnConv.c:599:25: warning: passing arguments to 'addAttributeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | addAttributeBuffer(buffer, inputobj, newseg, 0, fba); | ^ OnConv.c:603:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | freeString(&dseg->seg); | ^ OnConv.c:604:13: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | copyString(newseg, &dseg->seg); | ^ OnConv.c:605:21: warning: passing arguments to 'addAttributeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | addAttributeBuffer(buffer, inputobj, newseg, 0, fba); | ^ OnConv.c:623:20: warning: passing arguments to 'freeDisplaySegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | freeDisplaySegment(dseg); | ^ OnConv.c:630:20: warning: passing arguments to 'CBPreeditCaret' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | CBPreeditCaret(ocw, caret); | ^ OnConv.c:646:19: warning: passing arguments to 'CBPreeditDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | CBPreeditDraw(ocw, caret, chgoffset, oldlen - chgoffset, | ^ OnConv.c:658:27: warning: passing arguments to 'destroyAttributeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | destroyAttributeBuffer(buffer); | ^ OnConv.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | UpdateText(w) | ^ OnConv.c:90: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] 90 | static void UpdateText(); | ^ OnConv.c:681:15: warning: passing arguments to 'CBPreeditDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | CBPreeditDraw(ocw, 0, 0, len, encoding, format, 0, (XPointer)"", | ^ OnConv.c:685:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | clearAllDisplaySegments(ocw); | ^ OnConv.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | CommitText(w, arg) | ^ OnConv.c:91: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] 91 | static void CommitText(); | ^ OnConv.c:713:17: warning: passing arguments to 'CBStatusDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | CBStatusDraw(ocw, encoding, format, length, string, nchars); | ^ OnConv.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | UpdateMode(w) | ^ OnConv.c:92: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] 92 | static void UpdateMode(); | ^ OnConv.c:731:16: warning: passing arguments to 'SelectionStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | SelectionStart(ocw, arg->u.selection_kind); | ^ OnConv.c:734:14: warning: passing arguments to 'SelectionEnd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | SelectionEnd(ocw, &arg->u.current_item); | ^ OnConv.c:737:14: warning: passing arguments to 'SelectionSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | SelectionSet(ocw, arg->u.current_item); | ^ OnConv.c:740:15: warning: passing arguments to 'SelectionMove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | SelectionMove(ocw, arg->u.dir); | ^ OnConv.c:743:14: warning: passing arguments to 'SelectionGet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | SelectionGet(ocw, &arg->u.current_item); | ^ OnConv.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | SelectionControl(w, arg) | ^ OnConv.c:93: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] 93 | static void SelectionControl(); | ^ OnConv.c:779:25: warning: passing arguments to 'LocateSelectionPopup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | LocateSelectionPopup(ocw); | ^ OnConv.c:759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | SelectionStart(ocw, kind) | ^ OnConv.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static void SelectionStart(); | ^ OnConv.c:802:34: warning: passing arguments to 'SafeGetWindowAttributes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | (void)SafeGetWindowAttributes(XtDisplay(ocw), ocw->ccontrol.clientwindow, | ^ OnConv.c:822:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | MoveShell(shell, x, y); | ^ OnConv.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | LocateSelectionPopup(ocw) | ^ OnConv.c:96: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] 96 | static void LocateSelectionPopup(); | ^ OnConv.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | SelectionEnd(ocw, current) | ^ OnConv.c:97: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] 97 | static void SelectionEnd(); | ^ OnConv.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | SelectionSet(ocw, current) | ^ OnConv.c:98: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] 98 | static void SelectionSet(); | ^ OnConv.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | SelectionGet(ocw, current) | ^ OnConv.c:99: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] 99 | static void SelectionGet(); | ^ OnConv.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | SelectionMove(ocw, dir) | ^ OnConv.c:100: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] 100 | static void SelectionMove(); | ^ OnConv.c:914:10: warning: passing arguments to 'AuxStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | AuxStart(ocw); | ^ OnConv.c:917:8: warning: passing arguments to 'AuxEnd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | AuxEnd(ocw); | ^ OnConv.c:920:11: warning: passing arguments to 'AuxChange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | AuxChange(ocw); | ^ OnConv.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | AuxControl(w, arg) | ^ OnConv.c:103: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] 103 | static void AuxControl(); | ^ OnConv.c:952:17: warning: passing arguments to 'LocateAuxPopup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | LocateAuxPopup(ocw); | ^ OnConv.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | AuxStart(ocw) | ^ OnConv.c:104: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] 104 | static void AuxStart(); | ^ OnConv.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | AuxEnd(ocw) | ^ OnConv.c:105: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] 105 | static void AuxEnd(); | ^ OnConv.c:974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | AuxChange(ocw) | ^ OnConv.c:106: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] 106 | static void AuxChange(); | ^ OnConv.c:1006:34: warning: passing arguments to 'SafeGetWindowAttributes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | (void)SafeGetWindowAttributes(XtDisplay(ocw), ocw->ccontrol.clientwindow, | ^ OnConv.c:1026:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | MoveShell(shell, x, y); | ^ OnConv.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | LocateAuxPopup(ocw) | ^ OnConv.c:107: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] 107 | static void LocateAuxPopup(); | ^ OnConv.c:1042:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1042 | int current = (int)call_data; | ^~~~~~~~~~~~~~ OnConv.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | SelectionSelected(w, client_data, call_data) | ^ OnConv.c:109: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] 109 | static void SelectionSelected(); | ^ OnConv.c:1056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | SafeGetWindowAttributes(dpy, w, attr) | ^ OnConv.c:111:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | static Boolean SafeGetWindowAttributes(); | ^ OnConv.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | MoveShell(w, x, y) | ^ OnConv.c: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 | static void MoveShell(); | ^ OnConv.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | getToplevelWindow(dpy, win) | ^ OnConv.c:113: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] 113 | static Window getToplevelWindow(); | ^ OnConv.c:1133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | setTransientFor(w, win) | ^ OnConv.c:114: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] 114 | static void setTransientFor(); | ^ OnConv.c:1143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | allocDisplaySegments(ocw, n) | ^ OnConv.c:115:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void allocDisplaySegments(); | ^ OnConv.c:1162:15: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | freeString(&dsp->seg); | ^ OnConv.c:1159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | freeDisplaySegment(dsp) | ^ OnConv.c:116: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] 116 | static void freeDisplaySegment(); | ^ OnConv.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | clearAllDisplaySegments(ocw) | ^ OnConv.c:117:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static void clearAllDisplaySegments(); | ^ OnConv.c:1181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1181 | copyString(from, to) | ^ OnConv.c: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 | static void copyString(); | ^ OnConv.c:1192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1192 | freeString(seg) | ^ OnConv.c:119:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static void freeString(); | ^ OnConv.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | destroyAttributeBuffer(buffer) | ^ OnConv.c: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 | static void destroyAttributeBuffer(); | ^ OnConv.c:1247:24: warning: passing arguments to 'attrToFeedback' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | fb = attrToFeedback(fba, seg->attr); | ^ OnConv.c:1224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1224 | addAttributeBuffer(buffer, inputobj, seg, offset, fba) | ^ OnConv.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static void addAttributeBuffer(); | ^ OnConv.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | attrToFeedback(fba, attr) | ^ OnConv.c:123:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | static unsigned long attrToFeedback(); | ^ OnConv.c:1282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | CBPreeditStart(ocw) | ^ OnConv.c:124: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] 124 | static void CBPreeditStart(); | ^ OnConv.c:1300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | CBPreeditDone(ocw) | ^ OnConv.c:125: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] 125 | static void CBPreeditDone(); | ^ OnConv.c:1318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1318 | CBPreeditDraw(ocw, caret, chg_first, chg_length, encoding, format, text_length, text, attrs_length, attrs) | ^ OnConv.c: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 | static void CBPreeditDraw(); | ^ OnConv.c:1370:10: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1370 | (XtPointer)caret); | ^~~~~~~~~~~~~~~~ OnConv.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | CBPreeditCaret(ocw, caret) | ^ OnConv.c:127: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] 127 | static void CBPreeditCaret(); | ^ OnConv.c:1375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | CBStatusStart(ocw) | ^ OnConv.c:128: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] 128 | static void CBStatusStart(); | ^ OnConv.c:1393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | CBStatusDone(ocw) | ^ OnConv.c:129: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] 129 | static void CBStatusDone(); | ^ OnConv.c:1411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | CBStatusDraw(ocw, encoding, format, length, text, nchars) | ^ OnConv.c:130: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] 130 | static void CBStatusDraw(); | ^ 140 warnings generated. rm -f WcharDisp.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT WcharDisp.c WcharDisp.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | StringToFontMapping(args, num_args, from, to) | ^ WcharDisp.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void StringToFontMapping(); | ^ WcharDisp.c:228:13: warning: passing arguments to 'GetAtoms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | GetAtoms(obj); | ^ WcharDisp.c:229:10: warning: passing arguments to 'GetGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | GetGC(obj); | ^ WcharDisp.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | Initialize(req, new, args, num_args) | ^ WcharDisp.c: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 | static void Initialize(); | ^ WcharDisp.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | Destroy(w) | ^ WcharDisp.c:75: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] 75 | static void Destroy(); | ^ WcharDisp.c:261:43: warning: self-comparison always evaluates to false [-Wtautological-compare] 261 | new->wd.defaultmapping.grmapping[i] != | ^ WcharDisp.c:273:7: warning: passing arguments to 'GetGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | GetGC(new); | ^ WcharDisp.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | SetValues(cur, req, wid, args, num_args) | ^ WcharDisp.c:76:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static Boolean SetValues(); | ^ WcharDisp.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | GetAtoms(obj) | ^ WcharDisp.c:78: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] 78 | static void GetAtoms(); | ^ WcharDisp.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | GetGC(obj) | ^ WcharDisp.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void GetGC(); | ^ WcharDisp.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | ChangeFont(obj, fonts, mapping) | ^ WcharDisp.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void ChangeFont(); | ^ WcharDisp.c:422:34: warning: passing arguments to 'countControlChars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | if ((nctl = countControlChars(wstr, len)) == 0) { | ^ WcharDisp.c:428:20: warning: passing arguments to 'expandControlChars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | expandControlChars(wstr, len, s); | ^ WcharDisp.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | StringWidth(w, seg, start, end) | ^ WcharDisp.c:82: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] 82 | static int StringWidth(); | ^ WcharDisp.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | LineHeight(w, ascentp) | ^ WcharDisp.c:83: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] 83 | static int LineHeight(); | ^ WcharDisp.c:495:34: warning: passing arguments to 'countControlChars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | if ((nctl = countControlChars(wstr, len)) == 0) { | ^ WcharDisp.c:501:20: warning: passing arguments to 'expandControlChars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | expandControlChars(wstr, len, s); | ^ WcharDisp.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | DrawString(w, canvas, seg, start, end, x, y) | ^ WcharDisp.c:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static void DrawString(); | ^ WcharDisp.c:542:20: warning: passing arguments to 'charWidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | cwidth = charWidth(*sp++, gcset); | ^ WcharDisp.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | MaxChar(w, seg, start, width) | ^ WcharDisp.c:85:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static int MaxChar(); | ^ WcharDisp.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | SetFonts(w, fonts, num_fonts) | ^ WcharDisp.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void SetFonts(); | ^ WcharDisp.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | countControlChars(wstr, len) | ^ WcharDisp.c:88: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] 88 | static int countControlChars(); | ^ WcharDisp.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | expandControlChars(org, orglen, res) | ^ WcharDisp.c: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 | static void expandControlChars(); | ^ WcharDisp.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | defaultCharWidth(font) | ^ WcharDisp.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | charWidth(c, gcset) | ^ WcharDisp.c:90: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] 90 | static int charWidth(); | ^ 40 warnings generated. rm -f XimpProto.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT XimpProto.c XimpProto.c:268:17: warning: passing arguments to 'initializeError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | initializeError(new, XtNlocaleName); | ^ XimpProto.c:270:17: warning: passing arguments to 'initializeError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | initializeError(new, XtNinputObjectClass); | ^ XimpProto.c:272:17: warning: passing arguments to 'initializeError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | initializeError(new, XtNdisplayObjectClass); | ^ XimpProto.c:275:16: warning: passing arguments to 'checkLocale' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | checkLocale(xpw, xpw->ximp.localename); | ^ XimpProto.c:298:13: warning: passing arguments to 'getAtoms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | getAtoms(xpw); | ^ XimpProto.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | Initialize(req, new, args, num_args) | ^ XimpProto.c:111: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] 111 | static void Initialize(); | ^ XimpProto.c:314:12: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | statusDone(xpw->ximp.clients); | ^ XimpProto.c:315:9: warning: passing arguments to 'endProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | endProc(xpw->ximp.clients, False); | ^ XimpProto.c:316:14: warning: passing arguments to 'deleteClient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | deleteClient(xpw->ximp.clients); | ^ XimpProto.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | Destroy(w) | ^ XimpProto.c: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 | static void Destroy(); | ^ XimpProto.c:359:16: warning: passing arguments to 'setProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | setProperty(xpw); | ^ XimpProto.c:361:22: warning: passing arguments to 'ownSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | if (!ownSelection(xpw)) { | ^ XimpProto.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | Realize(w, mask, value) | ^ XimpProto.c: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 | static void Realize(); | ^ XimpProto.c:390:11: warning: call to undeclared library function 'sprintf' with type 'int (char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | (void)sprintf(buf, "_XIMP_%s", xpw->ximp.localename); | ^ XimpProto.c:390:11: note: include the header or explicitly provide a declaration for 'sprintf' XimpProto.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | getAtoms(xpw) | ^ XimpProto.c:115:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void getAtoms(); | ^ XimpProto.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | ownSelection(xpw) | ^ XimpProto.c: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 | static int ownSelection(); | ^ XimpProto.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | findClient(xpw, id) | ^ XimpProto.c:118:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | static ConvClient *findClient(); | ^ XimpProto.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | newClient(xpw, client) | ^ XimpProto.c:119:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static ConvClient *newClient(); | ^ XimpProto.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | attachConverter(ccp) | ^ XimpProto.c:120:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | static Widget attachConverter(); | ^ XimpProto.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | detachConverter(ccp) | ^ XimpProto.c: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 | static void detachConverter(); | ^ XimpProto.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | deleteClient(client) | ^ XimpProto.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static void deleteClient(); | ^ XimpProto.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | isCorrectClientEvent(xpw, event) | ^ XimpProto.c:124:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | static Boolean isCorrectClientEvent(); | ^ XimpProto.c:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | isCorrectWindowID(w, window, widthp, heightp) | ^ XimpProto.c:125:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static Boolean isCorrectWindowID(); | ^ XimpProto.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | initializeError(w, resname) | ^ XimpProto.c: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 | static void initializeError(); | ^ XimpProto.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | checkLocale(xpw, name) | ^ XimpProto.c:127: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] 127 | static void checkLocale(); | ^ XimpProto.c:741:10: warning: passing arguments to 'getFonts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | getFonts(client, xpattr->fontlist, 1); | ^ XimpProto.c:747:10: warning: passing arguments to 'getFonts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | getFonts(client, xsattr->fontlist, 0); | ^ XimpProto.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | fillInDefaultAttributes(client) | ^ XimpProto.c:128: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] 128 | static void fillInDefaultAttributes(); | ^ XimpProto.c:833:24: warning: passing arguments to 'computeAreaForQuery' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | computeAreaForQuery(client); | ^ XimpProto.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | computeAreaForStartup(client) | ^ XimpProto.c:129: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] 129 | static void computeAreaForStartup(); | ^ XimpProto.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | computeAreaForQuery(client) | ^ XimpProto.c:130: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] 130 | static void computeAreaForQuery(); | ^ XimpProto.c:978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | makeConvAttributes(client, attr) | ^ XimpProto.c:131:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 131 | static unsigned long makeConvAttributes(); | ^ XimpProto.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | getFonts(client, fontnamelist, preedit) | ^ XimpProto.c:132: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] 132 | static void getFonts(); | ^ XimpProto.c:1134:19: warning: passing arguments to 'setKeyProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | setKeyProperty(xpw); | ^ XimpProto.c:1097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | setProperty(xpw) | ^ XimpProto.c:134: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] 134 | static void setProperty(); | ^ XimpProto.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | setKeyProperty(xpw) | ^ XimpProto.c:135: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] 135 | static void setKeyProperty(); | ^ XimpProto.c:1196:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | if (!readProperty(client, xpw->ximp.ximpVersionAtom, XA_STRING, 8, | ^ XimpProto.c:1188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1188 | getVersionProperty(client) | ^ XimpProto.c:1216:18: warning: passing arguments to 'getFocusProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | getFocusProperty(client); | ^ XimpProto.c:1219:24: warning: passing arguments to 'getPreeditFontProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | getPreeditFontProperty(client); | ^ XimpProto.c:1222:23: warning: passing arguments to 'getStatusFontProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | getStatusFontProperty(client); | ^ XimpProto.c:1225:20: warning: passing arguments to 'getPreeditProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1225 | getPreeditProperty(client, mask & PREEDIT_MASK); | ^ XimpProto.c:1228:19: warning: passing arguments to 'getStatusProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | getStatusProperty(client, mask & STATUS_MASK); | ^ XimpProto.c:1211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | getAttributes(client, mask) | ^ XimpProto.c:136: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] 136 | static void getAttributes(); | ^ XimpProto.c:1244:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1244 | if (!readProperty(client, xpw->ximp.ximpFocusAtom, XA_WINDOW, 32, | ^ XimpProto.c:1260:16: warning: passing arguments to 'sendErrorEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | sendErrorEvent(client, XIMP_BadFocusWindow); | ^ XimpProto.c:1234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | getFocusProperty(client) | ^ XimpProto.c:137: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] 137 | static void getFocusProperty(); | ^ XimpProto.c:1280:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1280 | if (!readProperty(client, xpw->ximp.ximpPreeditFontAtom, XA_STRING, 8, | ^ XimpProto.c:1272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | getPreeditFontProperty(client) | ^ XimpProto.c:138: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] 138 | static void getPreeditFontProperty(); | ^ XimpProto.c:1312:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | if (!readProperty(client, xpw->ximp.ximpStatusFontAtom, XA_STRING, 8, | ^ XimpProto.c:1319:14: 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] 1319 | if (!strcmp(data, client->xsattrs.fontlist)) { | ^~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ XimpProto.c:1320:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1320 | XtFree(data); | ^~~~ /usr/local/include/X11/Intrinsic.h:1875:1: note: passing argument to parameter here 1875 | ); | ^ XimpProto.c:1331:22: warning: passing 'unsigned char *' to parameter of type 'String' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1331 | getFonts(client, data, 0); | ^~~~ XimpProto.c:1304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | getStatusFontProperty(client) | ^ XimpProto.c:139: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] 139 | static void getStatusFontProperty(); | ^ XimpProto.c:1346:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | if (!readProperty(client, xpw->ximp.ximpPreeditAtom, | ^ XimpProto.c:1336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | getPreeditProperty(client, mask) | ^ XimpProto.c:140:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 140 | static void getPreeditProperty(); | ^ XimpProto.c:1434:22: warning: passing arguments to 'readProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1434 | if (!readProperty(client, xpw->ximp.ximpStatusAtom, | ^ XimpProto.c:1424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | getStatusProperty(client, mask) | ^ XimpProto.c:141: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] 141 | static void getStatusProperty(); | ^ XimpProto.c:1541:16: warning: passing arguments to 'sendErrorEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | sendErrorEvent(client, XIMP_BadProperty); | ^ XimpProto.c:1545:16: warning: passing arguments to 'sendErrorEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | sendErrorEvent(client, XIMP_BadPropertyType); | ^ XimpProto.c:1552:16: warning: passing arguments to 'sendErrorEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | sendErrorEvent(client, XIMP_BadPropertyType); | ^ XimpProto.c:1512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | readProperty(client, prop, type, format, datapp, lenp) | ^ XimpProto.c:142:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | static Boolean readProperty(); | ^ XimpProto.c:1565:18: warning: passing arguments to 'setFocusProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1565 | setFocusProperty(client); | ^ XimpProto.c:1568:24: warning: passing arguments to 'setPreeditFontProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1568 | setPreeditFontProperty(client); | ^ XimpProto.c:1571:23: warning: passing arguments to 'setStatusFontProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | setStatusFontProperty(client); | ^ XimpProto.c:1574:20: warning: passing arguments to 'setPreeditProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1574 | setPreeditProperty(client, mask); | ^ XimpProto.c:1577:19: warning: passing arguments to 'setStatusProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | setStatusProperty(client, mask); | ^ XimpProto.c:1560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | setAttributes(client, mask) | ^ XimpProto.c:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 143 | static void setAttributes(); | ^ XimpProto.c:1589:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | writeProperty(client, xpw->ximp.ximpFocusAtom, XA_WINDOW, 32, | ^ XimpProto.c:1583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | setFocusProperty(client) | ^ XimpProto.c:144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 144 | static void setFocusProperty(); | ^ XimpProto.c:1601:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1601 | writeProperty(client, xpw->ximp.ximpPreeditFontAtom, XA_STRING, 8, | ^ XimpProto.c:1595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1595 | setPreeditFontProperty(client) | ^ XimpProto.c:145: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] 145 | static void setPreeditFontProperty(); | ^ XimpProto.c:1614:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | writeProperty(client, xpw->ximp.ximpStatusFontAtom, XA_STRING, 8, | ^ XimpProto.c:1608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | setStatusFontProperty(client) | ^ XimpProto.c:146: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] 146 | static void setStatusFontProperty(); | ^ XimpProto.c:1673:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1673 | writeProperty(client, xpw->ximp.ximpPreeditAtom, | ^ XimpProto.c:1621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1621 | setPreeditProperty(client, mask) | ^ XimpProto.c:147: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] 147 | static void setPreeditProperty(); | ^ XimpProto.c:1731:18: warning: passing arguments to 'writeProperty' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1731 | writeProperty(client, xpw->ximp.ximpStatusAtom, | ^ XimpProto.c:1680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1680 | setStatusProperty(client, mask) | ^ XimpProto.c:148:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 148 | static void setStatusProperty(); | ^ XimpProto.c:1738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1738 | writeProperty(client, prop, type, format, datap, len) | ^ XimpProto.c:149: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] 149 | static void writeProperty(); | ^ XimpProto.c:1766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1766 | sendClientMessage8(client, str, len) | ^ XimpProto.c:151: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] 151 | static void sendClientMessage8(); | ^ XimpProto.c:1795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1795 | sendClientMessage32(client, type, l1, l2, l3, l4) | ^ XimpProto.c:152:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 152 | static void sendClientMessage32(); | ^ XimpProto.c:1819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1819 | sendKeyEvent(client, keyevent) | ^ XimpProto.c:153:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 153 | static void sendKeyEvent(); | ^ XimpProto.c:1831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1831 | sendErrorEvent(client, error) | ^ XimpProto.c:154: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] 154 | static void sendErrorEvent(); | ^ XimpProto.c:1841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1841 | sendCreateRefusal(xpw, window) | ^ XimpProto.c:155:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | static void sendCreateRefusal(); | ^ XimpProto.c:1876:12: warning: passing arguments to 'fixProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1876 | fixProc(ccp, arg); | ^ XimpProto.c:1867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1867 | fixCallback(w, client_data, call_data) | ^ XimpProto.c:157: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] 157 | static void fixCallback(); | ^ XimpProto.c:1881:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1881 | fixProc(client, arg) | ^ XimpProto.c:158: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] 158 | static void fixProc(); | ^ XimpProto.c:1943:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1943 | int abort = (int)call_data; | ^~~~~~~~~~~~~~ XimpProto.c:1946:12: warning: passing arguments to 'endProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1946 | endProc(ccp, abort); | ^ XimpProto.c:1937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1937 | endCallback(w, client_data, call_data) | ^ XimpProto.c:159: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] 159 | static void endCallback(); | ^ XimpProto.c:1957:16: warning: passing arguments to 'preeditDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1957 | preeditDone(client); | ^ XimpProto.c:1951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1951 | endProc(client, abort) | ^ XimpProto.c:160: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] 160 | static void endProc(); | ^ XimpProto.c:1970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1970 | unusedEventCallback(w, client_data, call_data) | ^ XimpProto.c:161: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] 161 | static void unusedEventCallback(); | ^ XimpProto.c:2063:16: warning: passing arguments to 'statusStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2063 | statusStart(client); | ^ XimpProto.c:1988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | ximpCreateMessageProc(xpw, ev) | ^ XimpProto.c:163: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] 163 | static void ximpCreateMessageProc(); | ^ XimpProto.c:2087:15: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2087 | statusDone(client); | ^ XimpProto.c:2068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2068 | ximpDestroyMessageProc(xpw, ev) | ^ XimpProto.c:164: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] 164 | static void ximpDestroyMessageProc(); | ^ XimpProto.c:2171:17: warning: passing arguments to 'preeditStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2171 | preeditStart(client); | ^ XimpProto.c:2097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2097 | ximpBeginMessageProc(xpw, ev) | ^ XimpProto.c:165: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] 165 | static void ximpBeginMessageProc(); | ^ XimpProto.c:2176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2176 | ximpEndMessageProc(xpw, ev) | ^ XimpProto.c:166: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] 166 | static void ximpEndMessageProc(); | ^ XimpProto.c:2221:16: warning: passing arguments to 'statusStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2221 | statusStart(client); | ^ XimpProto.c:2204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2204 | ximpSetFocusMessageProc(xpw, ev) | ^ XimpProto.c:167: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] 167 | static void ximpSetFocusMessageProc(); | ^ XimpProto.c:2249:15: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2249 | statusDone(client); | ^ XimpProto.c:2229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2229 | ximpUnsetFocusMessageProc(xpw, ev) | ^ XimpProto.c:168: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] 168 | static void ximpUnsetFocusMessageProc(); | ^ XimpProto.c:2254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2254 | ximpMoveMessageProc(xpw, ev) | ^ XimpProto.c:169: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] 169 | static void ximpMoveMessageProc(); | ^ XimpProto.c:2282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2282 | ximpResetMessageProc(xpw, ev) | ^ XimpProto.c: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 | static void ximpResetMessageProc(); | ^ XimpProto.c:2334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2334 | ximpSetValueMessageProc(xpw, ev) | ^ XimpProto.c:171: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] 171 | static void ximpSetValueMessageProc(); | ^ XimpProto.c:2362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2362 | ximpChangeMessageProc(xpw, ev) | ^ XimpProto.c:2408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2408 | ximpGetValueMessageProc(xpw, ev) | ^ XimpProto.c: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 | static void ximpGetValueMessageProc(); | ^ XimpProto.c:2436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2436 | ximpKeyPressMessageProc(xpw, ev) | ^ XimpProto.c:173: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] 173 | static void ximpKeyPressMessageProc(); | ^ XimpProto.c:2481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2481 | ximpExtensionMessageProc(xpw, ev) | ^ XimpProto.c:174: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] 174 | static void ximpExtensionMessageProc(); | ^ XimpProto.c:2523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2523 | XimpMessageProc(w, event, args, num_args) | ^ XimpProto.c:91: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] 91 | static void XimpMessageProc(); | ^ XimpProto.c:2574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2574 | SelectionRequestProc(w, event, args, num_args) | ^ XimpProto.c:92: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] 92 | static void SelectionRequestProc(); | ^ XimpProto.c:2633:16: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2633 | statusDone(ccp); | ^ XimpProto.c:2605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2605 | SelectionClearProc(w, event, args, num_args) | ^ XimpProto.c:93: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] 93 | static void SelectionClearProc(); | ^ XimpProto.c:2650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2650 | ClientDead(ev, data) | ^ XimpProto.c:176:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 176 | static void ClientDead(); | ^ XimpProto.c:2678:17: warning: passing arguments to 'preeditStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2678 | preeditStart(ccp); | ^ XimpProto.c:2671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2671 | preeditStartCallback(w, client_data, call_data) | ^ XimpProto.c:178: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] 178 | static void preeditStartCallback(); | ^ XimpProto.c:2691:16: warning: passing arguments to 'preeditDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2691 | preeditDone(ccp); | ^ XimpProto.c:2684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2684 | preeditDoneCallback(w, client_data, call_data) | ^ XimpProto.c:179: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] 179 | static void preeditDoneCallback(); | ^ XimpProto.c:2705:16: warning: passing arguments to 'preeditDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2705 | preeditDraw(ccp, arg); | ^ XimpProto.c:2697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2697 | preeditDrawCallback(w, client_data, call_data) | ^ XimpProto.c:180:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 180 | static void preeditDrawCallback(); | ^ XimpProto.c:2717:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2717 | int caret = (int)call_data; | ^~~~~~~~~~~~~~ XimpProto.c:2719:17: warning: passing arguments to 'preeditCaret' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2719 | preeditCaret(ccp, caret); | ^ XimpProto.c:2711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2711 | preeditCaretCallback(w, client_data, call_data) | ^ XimpProto.c:181: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] 181 | static void preeditCaretCallback(); | ^ XimpProto.c:2732:16: warning: passing arguments to 'statusStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2732 | statusStart(ccp); | ^ XimpProto.c:2725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2725 | statusStartCallback(w, client_data, call_data) | ^ XimpProto.c:182:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | static void statusStartCallback(); | ^ XimpProto.c:2745:15: warning: passing arguments to 'statusDone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2745 | statusDone(ccp); | ^ XimpProto.c:2738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2738 | statusDoneCallback(w, client_data, call_data) | ^ XimpProto.c:183:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 183 | static void statusDoneCallback(); | ^ XimpProto.c:2759:15: warning: passing arguments to 'statusDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2759 | statusDraw(ccp, arg); | ^ XimpProto.c:2751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2751 | statusDrawCallback(w, client_data, call_data) | ^ XimpProto.c:184:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | static void statusDrawCallback(); | ^ XimpProto.c:2764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2764 | preeditStart(client) | ^ XimpProto.c:185:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 185 | static void preeditStart(); | ^ XimpProto.c:2779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2779 | preeditDone(client) | ^ XimpProto.c:186: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] 186 | static void preeditDone(); | ^ XimpProto.c:2794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2794 | preeditDraw(client, data) | ^ XimpProto.c:187:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | static void preeditDraw(); | ^ XimpProto.c:2899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2899 | preeditCaret(client, caret) | ^ XimpProto.c:188:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | static void preeditCaret(); | ^ XimpProto.c:2914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2914 | statusStart(client) | ^ XimpProto.c:189:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 189 | static void statusStart(); | ^ XimpProto.c:2929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2929 | statusDone(client) | ^ XimpProto.c:190:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 190 | static void statusDone(); | ^ XimpProto.c:2944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2944 | statusDraw(client, data) | ^ XimpProto.c:191:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 191 | static void statusDraw(); | ^ 213 warnings generated. rm -f IMProto.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT IMProto.c IMProto.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | Initialize(req, new, args, num_args) | ^ IMProto.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | Destroy(w) | ^ IMProto.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | Realize(w, mask, value) | ^ IMProto.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | getAtoms(ipw) | ^ IMProto.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | setProperty(ipw) | ^ IMProto.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | ownSelection(ipw) | ^ IMProto.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | convertSelection(w, selectionp, targetp, typep, valuep, lengthp, formatp) | ^ IMProto.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | loseSelection(w, selectionp) | ^ IMProto.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | acceptUnixService(client_data, sourcep, idp) | ^ IMProto.c:780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | acceptXService(w, client_data, event, continuep) | ^ IMProto.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | initializeError(w, resname) | ^ IMProto.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | compactList(s) | ^ IMProto.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | setTransport(w) | ^ IMProto.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | makeConverter(w) | ^ IMProto.c:949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | getTriggerKeys(w) | ^ IMProto.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | ioeCallback(cldata) | ^ 16 warnings generated. rm -f cachedatom.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT cachedatom.c cachedatom.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | nameHashFunc(s) | ^ cachedatom.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | newAtomRec(dpy, atom, arp, nrp) | ^ cachedatom.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | newNameRec(name, hashvalue) | ^ cachedatom.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | CachedInternAtom(dpy, name, exists) | ^ cachedatom.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | CachedGetAtomName(dpy, atom) | ^ 5 warnings generated. rm -f cachedfont.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT cachedfont.c cachedfont.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | LookupByAtom(dpy, atom) | ^ cachedfont.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | LookupByName(dpy, name) | ^ cachedfont.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | AddName(frp, name) | ^ cachedfont.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | LoadFont(frp) | ^ cachedfont.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | AddFont(dpy, name) | ^ cachedfont.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | CachedLoadQueryFontByName(dpy, name) | ^ cachedfont.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | CachedLoadQueryFontByProp(dpy, atom) | ^ cachedfont.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | CachedLoadFontByFontStruct(dpy, font) | ^ cachedfont.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | CachedFreeFont(dpy, font) | ^ 9 warnings generated. rm -f ctext.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT ctext.c ctext.c:110:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 110 | while (c = *wstr++) { | ~~^~~~~~~~~ ctext.c:110:11: note: place parentheses around the assignment to silence this warning 110 | while (c = *wstr++) { | ^ | ( ) ctext.c:110:11: note: use '==' to turn this assignment into an equality comparison 110 | while (c = *wstr++) { | ^ | == ctext.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | convJWStoCT(wstr, xstr, jisroman) | ^ ctext.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | getesc(str, len) | ^ ctext.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | getcsi(str, len) | ^ ctext.c:271:9: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | len = strlen((char *)xstr); | ^ ctext.c:271:9: note: include the header or explicitly provide a declaration for 'strlen' ctext.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | convCTtoJWS(xstr, len, wstr) | ^ 6 warnings generated. rm -f dispatch.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT dispatch.c dispatch.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | resetEventMask(dpy, window, wp) | ^ dispatch.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | removeAll(dpy, window, wp) | ^ dispatch.c:128:16: 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] 128 | (*handler)(event, data); | ^ dispatch.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | doDispatch(event, list) | ^ dispatch.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | MyDispatchEvent(event) | ^ dispatch.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | MyAddEventHandler(dpy, window, type, mask, func, data) | ^ dispatch.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | MyRemoveEventHandler(dpy, window, type, func, data) | ^ dispatch.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | MyRemoveAllEventHandler(dpy, window) | ^ 8 warnings generated. rm -f fontset.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT fontset.c fontset.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | match(s, p) | ^ fontset.c:40: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] 40 | static int match(); | ^ fontset.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | countCommas(s) | ^ fontset.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | parseFontSet(spec, basenames) | ^ fontset.c:41:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static Cardinal parseFontSet(); | ^ fontset.c:149:16: 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] 149 | font = (*func)(dpy, specs->pattern, namelist, numlist); | ^ fontset.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | tryCharSet(dpy, cset, extfont, namelist, numlist, func) | ^ fontset.c:42:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static Boolean tryCharSet(); | ^ fontset.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | exactMatchFont(dpy, csetstr, namelist, numlist) | ^ fontset.c:44:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static XFontStruct *exactMatchFont(); | ^ fontset.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | csSuppliedMatchFont(dpy, csetstr, namelist, numlist) | ^ fontset.c:43:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static XFontStruct *csSuppliedMatchFont(); | ^ fontset.c:243:36: warning: passing arguments to 'getXLFDName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | (namelist->xlfdname = getXLFDName(dpy, name)) == NULL)) { | ^ fontset.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | csReplacedMatchFont(dpy, csetstr, namelist, numlist) | ^ fontset.c:45:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static XFontStruct *csReplacedMatchFont(); | ^ fontset.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | getXLFDName(dpy, nonxlfdname) | ^ fontset.c:46: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] 46 | static String getXLFDName(); | ^ fontset.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | ExtractFontsFromFontSet(dpy, fontset, charsets, exfonts, numcsets) | ^ 18 warnings generated. rm -f wstring.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT wstring.c wstring.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | wstrcat(s1, s2) | ^ wstring.c:37:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 37 | while (*s1++ = *s2++) | ~~~~~~^~~~~~~ wstring.c:37:15: note: place parentheses around the assignment to silence this warning 37 | while (*s1++ = *s2++) | ^ | ( ) wstring.c:37:15: note: use '==' to turn this assignment into an equality comparison 37 | while (*s1++ = *s2++) | ^ | == wstring.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | wstrncat(s1, s2, n) | ^ wstring.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | wstrcmp(s1, s2) | ^ wstring.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | wstrncmp(s1, s2, n) | ^ wstring.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | wstrcpy(s1, s2) | ^ wstring.c:89:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 89 | while (*s1++ = *s2++) | ~~~~~~^~~~~~~ wstring.c:89:15: note: place parentheses around the assignment to silence this warning 89 | while (*s1++ = *s2++) | ^ | ( ) wstring.c:89:15: note: use '==' to turn this assignment into an equality comparison 89 | while (*s1++ = *s2++) | ^ | == wstring.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | wstrncpy(s1, s2, n) | ^ wstring.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | wstrlen(s) | ^ wstring.c:131:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 131 | while (x = *s++) { | ~~^~~~~~ wstring.c:131:11: note: place parentheses around the assignment to silence this warning 131 | while (x = *s++) { | ^ | ( ) wstring.c:131:11: note: use '==' to turn this assignment into an equality comparison 131 | while (x = *s++) { | ^ | == wstring.c:150:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 150 | while (x = *s++) { | ~~^~~~~~ wstring.c:150:11: note: place parentheses around the assignment to silence this warning 150 | while (x = *s++) { | ^ | ( ) wstring.c:150:11: note: use '==' to turn this assignment into an equality comparison 150 | while (x = *s++) { | ^ | == 11 warnings generated. rm -f xtwstr.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT xtwstr.c xtwstr.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | XtWSGetGCSet(w, mask, values, fontG0, fontG1, fontG2, fontG3) | ^ xtwstr.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | XtWSDestroyGCSet(gcset) | ^ xtwstr.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | XtWSReleaseGCSet(w, gcset) | ^ 3 warnings generated. rm -f xwstr.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT xwstr.c xwstr.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | XWSSetGCSet(dpy, gc0, gc1, gc2, gc3) | ^ xwstr.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | XWSSetMapping(gcset, g0map, g1map, g2map, g3map) | ^ xwstr.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | XWSDrawString(d, w, gcset, x, y, wstr, len) | ^ xwstr.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | XWSDrawImageString(d, w, gcset, x, y, wstr, len) | ^ xwstr.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | XWSFontHeight(gcset, wstr, len, ascent, descent) | ^ xwstr.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | XWSTextWidth(gcset, wstr, len) | ^ xwstr.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | XWSTextExtents(gcset, wstr, len, ascent, descent, overall) | ^ xwstr.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | wsdrawstring(d, w, gcset, x, y, wstr, len, image) | ^ xwstr.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | flushstr(d, w, fe, x, y, cp0, cp1, image) | ^ 9 warnings generated. rm -f asyncerr.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT asyncerr.c asyncerr.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | ignoreErrors(dpy, eev, cldata) | ^ asyncerr.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | recordErrors(dpy, eev, cldata) | ^ asyncerr.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | eremove(edp) | ^ asyncerr.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | eappend(edp) | ^ asyncerr.c:135:46: 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] 135 | if (edp->destroy != NULL) (*edp->destroy)(edp->dpy, edp->client_data); | ^ asyncerr.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | removeHandler(edp) | ^ asyncerr.c:153:25: 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] 153 | if ((*edp->handler)(dpy, eev, edp->client_data)) call_original = 1; | ^ asyncerr.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | callHandlers(dpy, eev) | ^ asyncerr.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | removeHandlers(dpy) | ^ asyncerr.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | XAEHandler(dpy, eev) | ^ asyncerr.c:190:24: 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] 190 | (void)original_handler(dpy, eev); | ^ asyncerr.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | XAESetErrorHandler(handler) | ^ asyncerr.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | XAESet(dpy, handler, destroy, client_data) | ^ asyncerr.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | XAEUnset(handle) | ^ asyncerr.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | XAESetIgnoreErrors(dpy) | ^ asyncerr.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | XAESetRecordErrors(dpy, errorbitsp) | ^ 16 warnings generated. rm -f fontbank.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT fontbank.c fontbank.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | getsum(s) | ^ fontbank.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | getInfo(lang) | ^ fontbank.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | lookupCacheFonts(bank, fontset, num_fontsp) | ^ fontbank.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | cacheFonts(bank, fontset, fonts, num_fonts) | ^ fontbank.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | extractFonts(dpy, fontset, charsets, ncharsets, nfontsp) | ^ fontbank.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | freeCache(bank) | ^ fontbank.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | FontBankCreate(dpy, language) | ^ fontbank.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | FontBankDestroy(bank) | ^ fontbank.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | FontBankGet(bank, fontset, num_fontsp) | ^ fontbank.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | FontBankFreeFonts(bank, fonts, num_fonts) | ^ 10 warnings generated. rm -f parsekey.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT parsekey.c parsekey.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | parseModifiers(s, modp, chkmodp) | ^ parsekey.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | mystrstr(s1, s2) | ^ parsekey.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | ParseKeyEvent(s, keysymp, modp, chkmodp) | ^ 3 warnings generated. rm -f ioecall.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT ioecall.c ioecall.c:52:17: 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] 52 | (*cb->callback)(cb->client_data); | ^ ioecall.c:55:31: 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] 55 | return (*original_handler)(dpy); | ^ ioecall.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | XIOEHandler(dpy) | ^ ioecall.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | XIOESet(handler, client_data) | ^ ioecall.c:73:20: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | cb = (CBDesc *)malloc(sizeof(CBDesc)); | ^ ioecall.c:73:20: note: include the header or explicitly provide a declaration for 'malloc' ioecall.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | XIOEUnset(handle) | ^ ioecall.c:108:12: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | (void)free((char *)cb); | ^ ioecall.c:108:12: note: include the header or explicitly provide a declaration for 'free' 7 warnings generated. rm -f CcWnn.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT CcWnn.c CcWnn.c:384:33: warning: passing arguments to 'buildSymbolList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | NumSymbols = buildSymbolList(&SymbolList); | ^ CcWnn.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | buildSymbolList(listp) | ^ CcWnn.c:68: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] 68 | static int buildSymbolList(); | ^ CcWnn.c:460:28: warning: passing arguments to 'NumSegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | sendback = (NumSegments(w) == 0 && obj->ccWnn.state == normal_state); | ^ CcWnn.c:472:14: warning: passing arguments to 'jcInitialize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | jcInitialize(obj); | ^ CcWnn.c:475:10: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | bell(obj); | ^ CcWnn.c:493:10: warning: passing arguments to 'saveData' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | saveData(obj); | ^ CcWnn.c:496:51: warning: passing arguments to 'jcInitialize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | if (obj->ccWnn.jservername2 != NULL) jcInitialize(obj); | ^ CcWnn.c:498:10: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | bell(obj); | ^ CcWnn.c:516:20: warning: passing arguments to 'NumSegments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | if (NumSegments(w) != 0 || | ^ CcWnn.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | InputEvent(w, event) | ^ CcWnn.c:71: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] 71 | static int InputEvent(); | ^ CcWnn.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | GetMode(w) | ^ CcWnn.c:72:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static ICString *GetMode(); | ^ CcWnn.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | CursorPos(w, nsegp, ncharp) | ^ CcWnn.c:73: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] 73 | static int CursorPos(); | ^ CcWnn.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | NumSegments(w) | ^ CcWnn.c:74: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] 74 | static int NumSegments(); | ^ CcWnn.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | GetSegment(w, n) | ^ CcWnn.c:75:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | static ICString *GetSegment(); | ^ CcWnn.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | CompareSegment(w, seg1, seg2, n) | ^ CcWnn.c:76: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] 76 | static int CompareSegment(); | ^ CcWnn.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | GetItemList(w, n) | ^ CcWnn.c:77:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | static ICString *GetItemList(); | ^ CcWnn.c:669:23: warning: passing arguments to 'insertSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | ret = insertSelection(obj, n); | ^ CcWnn.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | SelectItem(w, n) | ^ CcWnn.c:78: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] 78 | static int SelectItem(); | ^ CcWnn.c:722:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ CcWnn.c:724:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ CcWnn.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | ConvertedString(w, encoding, format, length, string) | ^ CcWnn.c:79: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] 79 | static int ConvertedString(); | ^ CcWnn.c:741:17: warning: passing arguments to 'clear_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | clear_buffer(obj); | ^ CcWnn.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | ClearConversion(w) | ^ CcWnn.c:80: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] 80 | static int ClearConversion(); | ^ CcWnn.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | GetAuxSegments(w, n, ns, nc) | ^ CcWnn.c:81:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static ICString *GetAuxSegments(); | ^ CcWnn.c:790:17: warning: passing arguments to 'ccInitialize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | ccInitialize(obj); | ^ CcWnn.c:791:17: warning: passing arguments to 'jcInitialize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | jcInitialize(obj); | ^ CcWnn.c:793:14: warning: passing arguments to 'addObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | addObject(obj); | ^ CcWnn.c:760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | Initialize(req, new, args, num_args) | ^ CcWnn.c:69: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] 69 | static void Initialize(), Destroy(); | ^ CcWnn.c:800:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 800 | extern char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ CcWnn.c:797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | ccInitialize(obj) | ^ CcWnn.c:342: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] 342 | static void ccInitialize(); | ^ CcWnn.c:905:44: warning: passing arguments to 'restoreData' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | if (obj->ccWnn.pendingdata) restoreData(obj); | ^ CcWnn.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | jcInitialize(obj) | ^ CcWnn.c:343: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] 343 | static void jcInitialize(); | ^ CcWnn.c:909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | createEnvError(s) | ^ CcWnn.c:344: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] 344 | static void createEnvError(); | ^ CcWnn.c:921:42: 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] 921 | return (*current_obj->ccWnn.confirmfunc)((Widget)current_obj, s); | ^ CcWnn.c:917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | createConfirm(s) | ^ CcWnn.c:345: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] 345 | static int createConfirm(); | ^ CcWnn.c:948:17: warning: passing arguments to 'deleteObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | deleteObject(obj); | ^ CcWnn.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | Destroy(w) | ^ CcWnn.c:69:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | static void Initialize(), Destroy(); | ^ CcWnn.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | SetValues(cur, req, wid, args, num_args) | ^ CcWnn.c:70:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static Boolean SetValues(); | ^ CcWnn.c:995:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | (*functable[func][1])(obj); | ^ CcWnn.c:998:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | (*functable[func][2])(obj); | ^ CcWnn.c:1001:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | (*functable[func][0])(obj); | ^ CcWnn.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | funcDispatch(func, str, nbytes, w) | ^ CcWnn.c:347: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] 347 | static int funcDispatch(); | ^ CcWnn.c:1015:25: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | if (nbytes > 0) beep((CcWnnObject)w); | ^ CcWnn.c:1010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | defAction(str, nbytes, w) | ^ CcWnn.c:348: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] 348 | static void defAction(); | ^ CcWnn.c:1025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | toHex(c) | ^ CcWnn.c:1044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1044 | toHex4(s) | ^ CcWnn.c:1064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | toKuten(s) | ^ CcWnn.c:1089:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | normalState(obj); | ^ CcWnn.c:1100:11: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | beep(obj); | ^ CcWnn.c:1110:12: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | beep(obj); | ^ CcWnn.c:1079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | insChar(c, cldata) | ^ CcWnn.c:349: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] 349 | static void insChar(); | ^ CcWnn.c:1138:6: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | beep(obj); | ^ CcWnn.c:1132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1132 | delChar(cldata) | ^ CcWnn.c:350: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] 350 | static void delChar(); | ^ CcWnn.c:1157:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | fix(obj); | ^ CcWnn.c:1162:9: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | fix(obj); | ^ CcWnn.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | autoFix(cldata) | ^ CcWnn.c:351: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] 351 | static void autoFix(); | ^ CcWnn.c:1196:16: warning: passing arguments to 'startSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | startSelection(obj, small); | ^ CcWnn.c:1200:48: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | if (jcConvert(jcbuf, small, 0, 1) < 0) beep(obj); | ^ CcWnn.c:1184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | convert_general(obj, small) | ^ CcWnn.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | convert(obj) | ^ CcWnn.c:206: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] 206 | static void convert(); | ^ CcWnn.c:1217:11: warning: passing arguments to 'send_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | send_back(obj); | ^ CcWnn.c:1218:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | fix(obj); | ^ CcWnn.c:1213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | convert_sb(obj) | ^ CcWnn.c:208: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] 208 | static void convert_sb(); | ^ CcWnn.c:1230:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | fix(obj); | ^ CcWnn.c:1225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1225 | convert_sp(obj) | ^ CcWnn.c:209: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] 209 | static void convert_sp(); | ^ CcWnn.c:1242:11: warning: passing arguments to 'send_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | send_back(obj); | ^ CcWnn.c:1243:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | fix(obj); | ^ CcWnn.c:1249:14: warning: passing arguments to 'move_top' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1249 | move_top(obj); | ^ CcWnn.c:1252:19: warning: passing arguments to 'move_forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1252 | move_forward(obj); | ^ CcWnn.c:1237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | convert_mt(obj) | ^ CcWnn.c:1264:6: warning: passing arguments to 'fix1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | fix1(obj); | ^ CcWnn.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | convert_f1(obj) | ^ CcWnn.c:207: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] 207 | static void convert_f1(); | ^ CcWnn.c:1276:11: warning: passing arguments to 'send_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1276 | send_back(obj); | ^ CcWnn.c:1277:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1277 | fix(obj); | ^ CcWnn.c:1283:14: warning: passing arguments to 'move_top' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1283 | move_top(obj); | ^ CcWnn.c:1286:19: warning: passing arguments to 'move_forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | move_forward(obj); | ^ CcWnn.c:1271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | convert_mt_sb(obj) | ^ CcWnn.c:211: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] 211 | static void convert_mt_sb(); | ^ CcWnn.c:1298:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | fix(obj); | ^ CcWnn.c:1304:14: warning: passing arguments to 'move_top' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | move_top(obj); | ^ CcWnn.c:1307:19: warning: passing arguments to 'move_forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | move_forward(obj); | ^ CcWnn.c:1292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1292 | convert_mt_sp(obj) | ^ CcWnn.c:212:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 212 | static void convert_mt_sp(); | ^ CcWnn.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | convert_s(obj) | ^ CcWnn.c:210: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] 210 | static void convert_s(); | ^ CcWnn.c:1323:42: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | if (jcUnconvert(JCBUF(obj)) < 0) beep(obj); | ^ CcWnn.c:1320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | unconvert(obj) | ^ CcWnn.c:213: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] 213 | static void unconvert(); | ^ CcWnn.c:1341:16: warning: passing arguments to 'startSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | startSelection(obj, small); | ^ CcWnn.c:1329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1329 | select_general(obj, small) | ^ CcWnn.c:1348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | egg_select(obj) | ^ CcWnn.c:214:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | static void egg_select(); | ^ CcWnn.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | egg_select_s(obj) | ^ CcWnn.c:215:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | static void egg_select_s(); | ^ CcWnn.c:1391:25: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | if (status < 0) beep(obj); | ^ CcWnn.c:1370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | move_general(obj, direction) | ^ CcWnn.c:1399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | move_forward(obj) | ^ CcWnn.c:217:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 217 | static void move_forward(); | ^ CcWnn.c:1406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1406 | move_backward(obj) | ^ CcWnn.c: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 | static void move_backward(); | ^ CcWnn.c:1413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | move_top(obj) | ^ CcWnn.c:219:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 219 | static void move_top(); | ^ CcWnn.c:1420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1420 | move_bottom(obj) | ^ CcWnn.c:220:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 220 | static void move_bottom(); | ^ CcWnn.c:1440:50: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | if (jcNext(JCBUF(obj), small, type) < 0) beep(obj); | ^ CcWnn.c:1435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1435 | cand_general(obj, small, type) | ^ CcWnn.c:1446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | cand_next(obj) | ^ CcWnn.c:222:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 222 | static void cand_next(); | ^ CcWnn.c:1453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | cand_next_mt(obj) | ^ CcWnn.c:1464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | cand_next_mt_sb(obj) | ^ CcWnn.c:224: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] 224 | static void cand_next_mt_sb(); | ^ CcWnn.c:1475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | cand_next_mt_sp(obj) | ^ CcWnn.c:225: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] 225 | static void cand_next_mt_sp(); | ^ CcWnn.c:1486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | cand_next_s(obj) | ^ CcWnn.c:223: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] 223 | static void cand_next_s(); | ^ CcWnn.c:1493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | cand_prev(obj) | ^ CcWnn.c:226: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] 226 | static void cand_prev(); | ^ CcWnn.c:1500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | cand_prev_s(obj) | ^ CcWnn.c:227: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] 227 | static void cand_prev_s(); | ^ CcWnn.c:1527:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | normalState(obj); | ^ CcWnn.c:1534:25: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1534 | if (status < 0) beep(obj); | ^ CcWnn.c:1519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | expand_shrink_general(obj, shrink, small, conv) | ^ CcWnn.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | expand_cl(obj) | ^ CcWnn.c:229: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] 229 | static void expand_cl(); | ^ CcWnn.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | expand_cl_s(obj) | ^ CcWnn.c:230: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] 230 | static void expand_cl_s(); | ^ CcWnn.c:1555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | shrink_cl(obj) | ^ CcWnn.c:231: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] 231 | static void shrink_cl(); | ^ CcWnn.c:1562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | shrink_cl_s(obj) | ^ CcWnn.c:232: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] 232 | static void shrink_cl_s(); | ^ CcWnn.c:1569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | expand_cl2(obj) | ^ CcWnn.c:233: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] 233 | static void expand_cl2(); | ^ CcWnn.c:1576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1576 | expand_cl2_s(obj) | ^ CcWnn.c:234: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] 234 | static void expand_cl2_s(); | ^ CcWnn.c:1583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | shrink_cl2(obj) | ^ CcWnn.c:235: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] 235 | static void shrink_cl2(); | ^ CcWnn.c:1590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | shrink_cl2_s(obj) | ^ CcWnn.c:236: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] 236 | static void shrink_cl2_s(); | ^ CcWnn.c:1605:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1605 | normalState(obj); | ^ CcWnn.c:1606:38: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | if (jcClear(JCBUF(obj)) < 0) beep(obj); | ^ CcWnn.c:1602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1602 | clear_buffer(obj) | ^ CcWnn.c:238: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] 238 | static void clear_buffer(); | ^ CcWnn.c:1615:39: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1615 | if (jcCancel(JCBUF(obj)) < 0) beep(obj); | ^ CcWnn.c:1612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1612 | cancel(obj) | ^ CcWnn.c:1630:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1630 | endSelection(obj, False); | ^ CcWnn.c:1623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1623 | clear_c(obj) | ^ CcWnn.c:239: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] 239 | static void clear_c(); | ^ CcWnn.c:1658:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1658 | moveSelection(obj, ICMoveLeftMost); | ^ CcWnn.c:1655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1655 | sel_top(obj) | ^ CcWnn.c:241: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] 241 | static void sel_top(); | ^ CcWnn.c:1665:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1665 | moveSelection(obj, ICMoveRightMost); | ^ CcWnn.c:1662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1662 | sel_bottom(obj) | ^ CcWnn.c:242: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] 242 | static void sel_bottom(); | ^ CcWnn.c:1672:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | moveSelection(obj, ICMoveRight); | ^ CcWnn.c:1669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1669 | sel_forward(obj) | ^ CcWnn.c:243: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] 243 | static void sel_forward(); | ^ CcWnn.c:1679:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1679 | moveSelection(obj, ICMoveLeft); | ^ CcWnn.c:1676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1676 | sel_backward(obj) | ^ CcWnn.c:244: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] 244 | static void sel_backward(); | ^ CcWnn.c:1686:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1686 | moveSelection(obj, ICMoveDown); | ^ CcWnn.c:1683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1683 | sel_next(obj) | ^ CcWnn.c:245: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] 245 | static void sel_next(); | ^ CcWnn.c:1693:18: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | moveSelection(obj, ICMoveUp); | ^ CcWnn.c:1690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1690 | sel_prev(obj) | ^ CcWnn.c:246: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] 246 | static void sel_prev(); | ^ CcWnn.c:1700:17: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | endSelection(obj, False); | ^ CcWnn.c:1697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1697 | sel_select(obj) | ^ CcWnn.c:247: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] 247 | static void sel_select(); | ^ CcWnn.c:1707:17: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1707 | endSelection(obj, True); | ^ CcWnn.c:1704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | sel_abort(obj) | ^ CcWnn.c:248: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] 248 | static void sel_abort(); | ^ CcWnn.c:1716:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1716 | normalState(obj); | ^ CcWnn.c:1723:10: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1723 | beep(obj); | ^ CcWnn.c:1711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1711 | fix(obj) | ^ CcWnn.c: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 | static void fix(); | ^ CcWnn.c:1752:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1752 | normalState(obj); | ^ CcWnn.c:1759:10: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1759 | beep(obj); | ^ CcWnn.c:1747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1747 | fix1(obj) | ^ CcWnn.c:251: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] 251 | static void fix1(); | ^ CcWnn.c:1787:13: warning: passing arguments to 'carriageret' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | carriageret(obj); | ^ CcWnn.c:1783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1783 | fix_cr(obj) | ^ CcWnn.c:252: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] 252 | static void fix_cr(); | ^ CcWnn.c:1799:11: warning: passing arguments to 'send_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1799 | send_back(obj); | ^ CcWnn.c:1795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1795 | fix_sb(obj) | ^ CcWnn.c:253: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] 253 | static void fix_sb(); | ^ CcWnn.c:1807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1807 | to_hankaku(start, end, res) | ^ CcWnn.c:1892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1892 | to_zenkaku(start, end, res) | ^ CcWnn.c:1956:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1956 | normalState(obj); | ^ CcWnn.c:1969:42: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1969 | if (jcChangeClause(jcbuf, buf) < 0) beep(obj); | ^ CcWnn.c:1950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1950 | zenkaku_hankaku(obj, hankaku) | ^ CcWnn.c:1976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1976 | zenkaku(obj) | ^ CcWnn.c:256: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] 256 | static void zenkaku(); | ^ CcWnn.c:1983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1983 | hankaku(obj) | ^ CcWnn.c:255: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] 255 | static void hankaku(); | ^ CcWnn.c:1994:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1994 | normalState(obj); | ^ CcWnn.c:1996:46: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | if (jcKana(JCBUF(obj), 0, type) < 0) beep(obj); | ^ CcWnn.c:1990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1990 | hiragana_katakana(obj, type) | ^ CcWnn.c:2002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2002 | hiragana(obj) | ^ CcWnn.c:258:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 258 | static void hiragana(); | ^ CcWnn.c:2009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2009 | katakana(obj) | ^ CcWnn.c:259: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] 259 | static void katakana(); | ^ CcWnn.c:2022:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2022 | endSelection(obj, False); | ^ CcWnn.c:2026:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2026 | endSelection(obj, False); | ^ CcWnn.c:2030:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2030 | endSelection(obj, False); | ^ CcWnn.c:2020:13: warning: enumeration value 'normal_state' not handled in switch [-Wswitch] 2020 | switch (obj->ccWnn.state) { | ^~~~~~~~~~~~~~~~ CcWnn.c:2034:46: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2034 | if (jcDeleteChar(JCBUF(obj), 1) < 0) beep(obj); | ^ CcWnn.c:2017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2017 | backspace(obj) | ^ CcWnn.c:261: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] 261 | static void backspace(); | ^ CcWnn.c:2045:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2045 | endSelection(obj, False); | ^ CcWnn.c:2039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2039 | backspace_c(obj) | ^ CcWnn.c:262: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] 262 | static void backspace_c(); | ^ CcWnn.c:2064:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2064 | normalState(obj); | ^ CcWnn.c:2065:46: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2065 | if (jcDeleteChar(JCBUF(obj), 0) < 0) beep(obj); | ^ CcWnn.c:2061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2061 | delete(obj) | ^ CcWnn.c:263: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] 263 | static void delete(); | ^ CcWnn.c:2077:14: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2077 | endSelection(obj, False); | ^ CcWnn.c:2071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2071 | delete_c(obj) | ^ CcWnn.c:264: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] 264 | static void delete_c(); | ^ CcWnn.c:2096:16: warning: passing arguments to 'normalState' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | normalState(obj); | ^ CcWnn.c:2097:41: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2097 | if (jcKillLine(JCBUF(obj)) < 0) beep(obj); | ^ CcWnn.c:2093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2093 | kill_line(obj) | ^ CcWnn.c:265: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] 265 | static void kill_line(); | ^ CcWnn.c:2103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2103 | bell(obj) | ^ CcWnn.c:267: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] 267 | static void bell(); | ^ CcWnn.c:2110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2110 | beep(obj) | ^ CcWnn.c:268:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 268 | static void beep(); | ^ CcWnn.c:2118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2118 | jiscode_begin(obj) | ^ CcWnn.c:270: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] 270 | static void jiscode_begin(); | ^ CcWnn.c:2125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2125 | jiscode_end(obj) | ^ CcWnn.c:271: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] 271 | static void jiscode_end(); | ^ CcWnn.c:2132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2132 | kuten_begin(obj) | ^ CcWnn.c:272: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] 272 | static void kuten_begin(); | ^ CcWnn.c:2139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2139 | kuten_end(obj) | ^ CcWnn.c:273: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] 273 | static void kuten_end(); | ^ CcWnn.c:2146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2146 | carriageret(obj) | ^ CcWnn.c:269: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] 269 | static void carriageret(); | ^ CcWnn.c:2155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2155 | convend(obj) | ^ CcWnn.c:276: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] 276 | static void convend(); | ^ CcWnn.c:2167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2167 | send_back(obj) | ^ CcWnn.c: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 | static void send_back(); | ^ CcWnn.c:2206:21: warning: passing arguments to 'saveYomiAndKanji' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2206 | saveYomiAndKanji(obj); | ^ CcWnn.c:2175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2175 | register_word(obj) | ^ CcWnn.c:278: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] 278 | static void register_word(); | ^ CcWnn.c:2216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2216 | sym_input(obj) | ^ CcWnn.c:275: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] 275 | static void sym_input(); | ^ CcWnn.c:2239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2239 | getSymbol(obj, n) | ^ CcWnn.c:358: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] 358 | static int getSymbol(); | ^ CcWnn.c:2270:21: warning: passing arguments to 'getAllCandidates' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2270 | getAllCandidates(obj, ncand); | ^ CcWnn.c:2253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2253 | startSelection(obj, small) | ^ CcWnn.c:353: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] 353 | static void startSelection(); | ^ CcWnn.c:2289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2289 | moveSelection(obj, dir) | ^ CcWnn.c:354: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] 354 | static void moveSelection(); | ^ CcWnn.c:2321:23: warning: passing arguments to 'insertSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2321 | ret = insertSelection(obj, selected); | ^ CcWnn.c:2303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2303 | endSelection(obj, abort) | ^ CcWnn.c:355: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] 355 | static int endSelection(); | ^ CcWnn.c:2329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2329 | insertSelection(obj, selected) | ^ CcWnn.c:356: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] 356 | static int insertSelection(); | ^ CcWnn.c:2358:13: warning: enumeration value 'normal_state' not handled in switch [-Wswitch] 2358 | switch (obj->ccWnn.state) { | ^~~~~~~~~~~~~~~~ CcWnn.c:2355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2355 | normalState(obj) | ^ CcWnn.c:360:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 360 | static void normalState(); | ^ CcWnn.c:2370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2370 | allocCandlist(obj, n) | ^ CcWnn.c:362: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] 362 | static void allocCandlist(); | ^ CcWnn.c:2390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2390 | allocStrdata(obj, nchars) | ^ CcWnn.c:363: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] 363 | static void allocStrdata(); | ^ CcWnn.c:2413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2413 | getAllCandidates(obj, ncand) | ^ CcWnn.c:364: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] 364 | static void getAllCandidates(); | ^ CcWnn.c:2455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2455 | addObject(obj) | ^ CcWnn.c:366: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] 366 | static void addObject(); | ^ CcWnn.c:2466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2466 | deleteObject(obj) | ^ CcWnn.c:367: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] 367 | static void deleteObject(); | ^ CcWnn.c:2510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2510 | saveData(obj) | ^ CcWnn.c:370: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] 370 | static void saveData(); | ^ CcWnn.c:2528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2528 | restoreData(obj) | ^ CcWnn.c:371: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] 371 | static void restoreData(); | ^ CcWnn.c:2546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2546 | ioeCallback(dummy) | ^ CcWnn.c:373: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] 373 | static void ioeCallback(); | ^ CcWnn.c:2564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2564 | findSelectionObj(w) | ^ CcWnn.c:375:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 375 | static CcWnnObject findSelectionObj(); | ^ CcWnn.c:2633:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2633 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ CcWnn.c:2635:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2635 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ CcWnn.c:2578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2578 | PreeditString(w, segn, offset, encoding, format, length, string) | ^ CcWnn.c:82: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] 82 | static int PreeditString(); | ^ CcWnn.c:2690:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2690 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ CcWnn.c:2692:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2692 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ CcWnn.c:2645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2645 | StatusString(w, encoding, format, length, string, nchars) | ^ CcWnn.c:83: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] 83 | static int StatusString(); | ^ CcWnn.c:2702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2702 | convertSelection(w, selp, targetp, typep, valp, lenp, formatp) | ^ CcWnn.c:377:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 377 | static Boolean convertSelection(); | ^ CcWnn.c:2783:11: warning: call to undeclared function 'convJWStoCT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2783 | len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ CcWnn.c:2783:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2783 | len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ CcWnn.c:2785:16: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2785 | convJWStoCT(wbuf, obj->ccWnn.selyomi, 0); | ^ CcWnn.c:2791:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2791 | len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ CcWnn.c:2793:16: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2793 | convJWStoCT(wbuf, obj->ccWnn.selkanji, 0); | ^ CcWnn.c:2754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2754 | saveYomiAndKanji(obj) | ^ CcWnn.c:378: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] 378 | static void saveYomiAndKanji(); | ^ 323 warnings generated. rm -f cconv.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT cconv.c cconv.c:853:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | static int wstrlen(str) | ^ cconv.c:863:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | static wchar *wrev(s) | ^ cconv.c:881:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | static void eproc(efunc, msg) | ^ cconv.c:890:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | (*efunc)(msg); | ^ cconv.c:894:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | static wchar *promptsave(str) | ^ cconv.c:902:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 902 | while (*q++ = *str++) | ~~~~~^~~~~~~~ cconv.c:902:15: note: place parentheses around the assignment to silence this warning 902 | while (*q++ = *str++) | ^ | ( ) cconv.c:902:15: note: use '==' to turn this assignment into an equality comparison 902 | while (*q++ = *str++) | ^ | == cconv.c:908:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | static int parseLine(line, argv, argvsize) | ^ cconv.c:922:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 922 | while (c = *line) { | ~~^~~~~~~ cconv.c:922:11: note: place parentheses around the assignment to silence this warning 922 | while (c = *line) { | ^ | ( ) cconv.c:922:11: note: use '==' to turn this assignment into an equality comparison 922 | while (c = *line) { | ^ | == cconv.c:961:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 961 | static FILE *openfile(file) | ^ cconv.c:966:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 966 | FILE *fopen(); | ^ cconv.c:967:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 967 | char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ cconv.c:999:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | static int doinclude(line, files, efunc) | ^ cconv.c:1031:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | static uchar *get_line(line, linesize, files, efunc) | ^ cconv.c:1062:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | static int readRuleFile(rule, file) | ^ cconv.c:1180:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | static int registMode(rule, ac, av) | ^ cconv.c:1210:22: 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] 1210 | strncpy(mtp->name, av[i], sizeof(mtp->name) -1); | ^~~~~ /usr/include/string.h:117:59: note: passing argument to parameter here 117 | char *(strncpy)(char * __restrict, const char * __restrict, size_t); | ^ cconv.c:1226:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | static int newMode(rule, files, srec, frec, fnrec, ac, av) | ^ cconv.c:1316:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | static int getDesc(rule, line, frec, fnrec, keyp, maskp, context, result, funcp) | ^ cconv.c:1368:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | static struct modetable *getMode(rule, str) | ^ cconv.c:1386:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | static uchar *getQuote(line, str, metaf) | ^ cconv.c:1408:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1408 | if (c = *line++) | ~~^~~~~~~~~ cconv.c:1408:10: note: place parentheses around the assignment to silence this warning 1408 | if (c = *line++) | ^ | ( ) cconv.c:1408:10: note: use '==' to turn this assignment into an equality comparison 1408 | if (c = *line++) | ^ | == cconv.c:1433:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | static int getKey(line, keyp, maskp) | ^ cconv.c:1544:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1544 | static int getmask(s) | ^ cconv.c:1575:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1575 | static char *strinc(s, k) | ^ cconv.c:1581:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1581 | while (s = index(s, *k)) | ~~^~~~~~~~~~~~~~ cconv.c:1581:11: note: place parentheses around the assignment to silence this warning 1581 | while (s = index(s, *k)) | ^ | ( ) cconv.c:1581:11: note: use '==' to turn this assignment into an equality comparison 1581 | while (s = index(s, *k)) | ^ | == cconv.c:1591:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1591 | static ulong getcode(s) | ^ cconv.c:1596:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 1596 | KeySym XStringToKeysym(); | ^ /usr/local/include/X11/Xlib.h:1706:15: note: conflicting prototype is here 1706 | extern KeySym XStringToKeysym( | ^ cconv.c:1609:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1609 | static int getFunc(rule, frec, fnrec, n, args) | ^ cconv.c:1651:10: warning: initializing 'char *' with an expression 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] 1651 | char *mod = func + sizeof("add-modifier-") - 1; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cconv.c:1678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1678 | findRule(rulefile) | ^ cconv.c:1693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | addRule(rule) | ^ cconv.c:1702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1702 | deleteRule(rule) | ^ cconv.c:1722:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | static int wstrsave(srec, str) | ^ cconv.c:1743:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1743 | static int wstralloc(srec, len) | ^ cconv.c:1781:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1781 | static void wstradjust(srec) | ^ cconv.c:1795:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1795 | static int funcalloc(frec, n) | ^ cconv.c:1833:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1833 | static void funcadjust(frec) | ^ cconv.c:1847:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1847 | static int funcsearch(fnrec, funcname) | ^ cconv.c:1898:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1898 | static void funcnameadjust(fnrec) | ^ cconv.c:1905:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1905 | if (cp = Realloc(fnrec->funcnamebuf, size)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cconv.c:1905:9: note: place parentheses around the assignment to silence this warning 1905 | if (cp = Realloc(fnrec->funcnamebuf, size)) { | ^ | ( ) cconv.c:1905:9: note: use '==' to turn this assignment into an equality comparison 1905 | if (cp = Realloc(fnrec->funcnamebuf, size)) { | ^ | == cconv.c:1911:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1911 | static int convchar(buf, key, mask, str, len) | ^ cconv.c:1983:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1983 | (*buf->modenotify)(buf->currentmode, | ^ cconv.c:2005:33: 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] 2005 | if (!(*buf->executefunction)(truefunc, str, len, | ^ cconv.c:2014:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2014 | static int cconvert(buf, mode, inkey, mask, func, str, len) | ^ cconv.c:2059:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2059 | static int metamatch(rkey, inkey, nonascii) | ^ cconv.c:2093:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2093 | static int contextMatch(buf, context) | ^ cconv.c:2116:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2116 | static void substStr(buf, context, result, str, len) | ^ cconv.c:2130:21: 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] 2130 | (*buf->deletechar)(buf->client_data); | ^ cconv.c:2133:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2133 | while (c = *result++) { | ~~^~~~~~~~~~~ cconv.c:2133:11: note: place parentheses around the assignment to silence this warning 2133 | while (c = *result++) { | ^ | ( ) cconv.c:2133:11: note: use '==' to turn this assignment into an equality comparison 2133 | while (c = *result++) { | ^ | == cconv.c:2144:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2144 | (*buf->insertchar)(c, buf->client_data); | ^ cconv.c:2153:21: 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] 2153 | (*buf->insertchar)(c, buf->client_data); | ^ cconv.c:2158:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2158 | int getModeSwitchMask(dpy) | ^ cconv.c:2205:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2205 | ccRule ccParseRule(deffile, errprint) | ^ cconv.c:2210:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 2210 | extern char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ cconv.c:2220:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2220 | if (rule = findRule(deffile)) { | ~~~~~^~~~~~~~~~~~~~~~~~~ cconv.c:2220:11: note: place parentheses around the assignment to silence this warning 2220 | if (rule = findRule(deffile)) { | ^ | ( ) cconv.c:2220:11: note: use '==' to turn this assignment into an equality comparison 2220 | if (rule = findRule(deffile)) { | ^ | == cconv.c:2250:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2250 | ccBuf ccCreateBuf(rule, csize, functable, nfunc, | ^ cconv.c:2329:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2329 | void ccFreeRule(rule) | ^ cconv.c:2354:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2354 | void ccDestroyBuf(buf) | ^ cconv.c:2364:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2364 | int ccConvchar(buf, event) | ^ cconv.c:2431:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2431 | (void)(*buf->defaultaction)(str, nbytes, buf->client_data); | ^ cconv.c:2440:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2440 | int ccGetMode(buf) | ^ cconv.c:2447:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2447 | wchar *ccGetModePrompt(buf) | ^ cconv.c:2454:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2454 | ccRule ccGetRule(buf) | ^ cconv.c:2461:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2461 | void ccContextAppend(buf, c) | ^ cconv.c:2470:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2470 | buf->autofix(buf->client_data); | ^ cconv.c:2491:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2491 | void ccContextDelete(buf) | ^ cconv.c:2499:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2499 | void ccContextClear(buf) | ^ cconv.c:2509:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2509 | void ccContextSet(buf, cstr) | ^ cconv.c:2526:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2526 | void ccContextGet(buf, cstr) | ^ cconv.c:2543:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2543 | ccBuf ccInit(deffile, contextsize, defactfunc, insertfunc, deletefunc, dofunc, | ^ cconv.c:2567:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2567 | void ccTerminate(buf) | ^ 71 warnings generated. rm -f wnnlib.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT wnnlib.c wnnlib.c:744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | moveKBuf(buf, cl, move) | ^ wnnlib.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | moveDBuf(buf, cl, move) | ^ wnnlib.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | moveCInfo(buf, cl, move) | ^ wnnlib.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | resizeBuffer(buf, len) | ^ wnnlib.c:862:21: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 862 | kbufnew = (wchar *)realloc((char *)kbufold, allocsize); | ^ wnnlib.c:862:21: note: include the header or explicitly provide a declaration for 'realloc' wnnlib.c:866:3: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 866 | Free(kbufnew); | ^ wnnlib.c:633:26: note: expanded from macro 'Free' 633 | #define Free(p) {if (p) free((char *)(p));} | ^ wnnlib.c:866:3: note: include the header or explicitly provide a declaration for 'free' wnnlib.c:633:26: note: expanded from macro 'Free' 633 | #define Free(p) {if (p) free((char *)(p));} | ^ wnnlib.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | resizeCInfo(buf, size) | ^ wnnlib.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | setCurClause(buf, cl) | ^ wnnlib.c:949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | getHint(buf, start, end) | ^ wnnlib.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | renConvert(buf, small) | ^ wnnlib.c:1010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | tanConvert(buf, small) | ^ wnnlib.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | doKanrenConvert(buf, cl) | ^ wnnlib.c:1124:21: warning: passing arguments to 'jl_ren_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | nsbun = jl_ren_conv(buf->wnn, clp->kanap, | ^ wnnlib.c:1141:53: warning: passing arguments to 'jl_kanji_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | len = (clp->dispp - buf->displayBuf) + jl_kanji_len(buf->wnn, cl, -1); | ^ wnnlib.c:1165:21: warning: passing arguments to 'jl_kanji_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1165 | len = jl_kanji_len(buf->wnn, cl, n); | ^ wnnlib.c:1167:9: warning: passing arguments to 'wnn_get_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | (void)ki2_jl_get_kanji(buf->wnn, cl, n, dispp, len); | ^ wnnlib.c:613:42: note: expanded from macro 'ki2_jl_get_kanji' 613 | #define ki2_jl_get_kanji(a, b, c, d, sz) jl_get_kanji(a, b, c, d) | ^ /usr/local/include/wnn/jllib.h:139:32: note: expanded from macro 'jl_get_kanji' 139 | wnn_get_area(buf, bun_no, bun_no2, area, WNN_KANJI) | ^ wnnlib.c:1172:23: warning: passing arguments to 'jl_yomi_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | kanap += jl_yomi_len(buf->wnn, cl, n); | ^ wnnlib.c:1194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | doKantanDConvert(buf, cls, cle) | ^ wnnlib.c:1239:24: warning: passing arguments to 'jl_tan_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | nsbunnew = jl_tan_conv(buf->wnn, clps->kanap, cls, cle, | ^ wnnlib.c:1259:20: warning: passing arguments to 'jl_kanji_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | len = jl_kanji_len(buf->wnn, cls, cle + cldiff); | ^ wnnlib.c:1295:21: warning: passing arguments to 'jl_kanji_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | len = jl_kanji_len(buf->wnn, cls, n); | ^ wnnlib.c:1297:9: warning: passing arguments to 'wnn_get_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1297 | (void)ki2_jl_get_kanji(buf->wnn, cls, n, dispp, len); | ^ wnnlib.c:613:42: note: expanded from macro 'ki2_jl_get_kanji' 613 | #define ki2_jl_get_kanji(a, b, c, d, sz) jl_get_kanji(a, b, c, d) | ^ /usr/local/include/wnn/jllib.h:139:32: note: expanded from macro 'jl_get_kanji' 139 | wnn_get_area(buf, bun_no, bun_no2, area, WNN_KANJI) | ^ wnnlib.c:1302:23: warning: passing arguments to 'jl_yomi_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | kanap += jl_yomi_len(buf->wnn, cls, n); | ^ wnnlib.c:1320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | doKantanSConvert(buf, cl) | ^ wnnlib.c:1356:21: warning: passing arguments to 'jl_tan_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | nsbun = jl_tan_conv(buf->wnn, clp->kanap, cl, next, | ^ wnnlib.c:1370:20: warning: passing arguments to 'jl_kanji_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | len = jl_kanji_len(buf->wnn, cl); | ^ wnnlib.c:1393:8: warning: passing arguments to 'wnn_get_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | (void)ki2_jl_get_kanji(buf->wnn, cl, next, clp->dispp, len); | ^ wnnlib.c:613:42: note: expanded from macro 'ki2_jl_get_kanji' 613 | #define ki2_jl_get_kanji(a, b, c, d, sz) jl_get_kanji(a, b, c, d) | ^ /usr/local/include/wnn/jllib.h:139:32: note: expanded from macro 'jl_get_kanji' 139 | wnn_get_area(buf, bun_no, bun_no2, area, WNN_KANJI) | ^ wnnlib.c:1407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1407 | makeConverted(buf, cl) | ^ wnnlib.c:1446:23: warning: passing arguments to 'jl_tan_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | status = jl_tan_conv(buf->wnn, clpc->dispp, | ^ wnnlib.c:1467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1467 | unconvert(buf, start, end) | ^ wnnlib.c:1555:19: warning: passing arguments to 'jl_tan_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | len = jl_tan_conv(buf->wnn, clps->kanap, | ^ wnnlib.c:1575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1575 | expandOrShrink(buf, small, expand, convf) | ^ wnnlib.c:1631:11: warning: passing arguments to 'jl_kill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | jl_kill(buf->wnn, start, -1); | ^ wnnlib.c:1754:26: warning: passing arguments to 'jl_yomi_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1754 | len += jl_yomi_len(buf->wnn, start, end); | ^ wnnlib.c:1759:22: warning: passing arguments to 'jl_nobi_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1759 | nsbun = jl_nobi_conv(buf->wnn, start, len, -1, 0, | ^ wnnlib.c:1777:51: warning: passing arguments to 'jl_kanji_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1777 | len = clp->dispp - buf->displayBuf + jl_kanji_len(buf->wnn, start, -1); | ^ wnnlib.c:1801:24: warning: passing arguments to 'jl_kanji_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1801 | int i = jl_kanji_len(buf->wnn, start, end); | ^ wnnlib.c:1804:10: warning: passing arguments to 'wnn_get_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1804 | (void)ki2_jl_get_kanji(buf->wnn, start, end, dispp, i); | ^ wnnlib.c:613:42: note: expanded from macro 'ki2_jl_get_kanji' 613 | #define ki2_jl_get_kanji(a, b, c, d, sz) jl_get_kanji(a, b, c, d) | ^ /usr/local/include/wnn/jllib.h:139:32: note: expanded from macro 'jl_get_kanji' 139 | wnn_get_area(buf, bun_no, bun_no2, area, WNN_KANJI) | ^ wnnlib.c:1812:23: warning: passing arguments to 'jl_yomi_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1812 | kanap += jl_yomi_len(buf->wnn, start, end); | ^ wnnlib.c:1839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1839 | getCandidates(buf, small) | ^ wnnlib.c:1862:18: warning: passing arguments to 'jl_zenkouho' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | if (jl_zenkouho(buf->wnn, | ^ wnnlib.c:1897:10: warning: passing arguments to 'jl_kill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1897 | jl_kill(buf->wnn, 0, 0); | ^ wnnlib.c:1899:22: warning: passing arguments to 'jl_zenkouho_dai' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1899 | if (jl_zenkouho_dai(buf->wnn, | ^ wnnlib.c:1919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1919 | setCandidate(buf, n) | ^ wnnlib.c:1943:21: warning: passing arguments to 'jl_set_jikouho' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1943 | if (jl_set_jikouho(buf->wnn, n) < 0) { | ^ wnnlib.c:1949:25: warning: passing arguments to 'jl_set_jikouho_dai' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1949 | if (jl_set_jikouho_dai(buf->wnn, n) < 0) { | ^ wnnlib.c:1965:23: warning: passing arguments to 'jl_kanji_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1965 | newlen = jl_kanji_len(buf->wnn, start, newend); | ^ wnnlib.c:2015:7: warning: passing arguments to 'wnn_get_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2015 | if (ki2_jl_get_kanji(buf->wnn, start, newend, | ^ wnnlib.c:613:42: note: expanded from macro 'ki2_jl_get_kanji' 613 | #define ki2_jl_get_kanji(a, b, c, d, sz) jl_get_kanji(a, b, c, d) | ^ /usr/local/include/wnn/jllib.h:139:32: note: expanded from macro 'jl_get_kanji' 139 | wnn_get_area(buf, bun_no, bun_no2, area, WNN_KANJI) | ^ wnnlib.c:2050:24: warning: passing arguments to 'jl_yomi_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2050 | kanap += jl_yomi_len(buf->wnn, i, j); | ^ wnnlib.c:2051:25: warning: passing arguments to 'jl_kanji_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2051 | dispp += jl_kanji_len(buf->wnn, i, j); | ^ wnnlib.c:2088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | checkCandidates(buf, cls, cle) | ^ wnnlib.c:2114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2114 | forceStudy(buf, n) | ^ wnnlib.c:2157:27: warning: passing arguments to 'jl_update_hindo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2157 | status = jl_update_hindo(buf->wnn, 0, -1); | ^ wnnlib.c:2185:28: warning: passing arguments to 'jl_update_hindo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2185 | status = jl_update_hindo(buf->wnn, i, j); | ^ wnnlib.c:2202:18: warning: passing arguments to 'jl_yomi_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2202 | if (jl_yomi_len(buf->wnn, i, j) >= CL_BUFSZ || | ^ wnnlib.c:2203:19: warning: passing arguments to 'jl_kanji_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2203 | jl_kanji_len(buf->wnn, i, j) >= CL_BUFSZ) { | ^ wnnlib.c:2209:7: warning: passing arguments to 'wnn_get_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2209 | if (ki2_jl_get_yomi(buf->wnn, i, j, yomi, CL_BUFSZ) < 0) { | ^ wnnlib.c:612:42: note: expanded from macro 'ki2_jl_get_yomi' 612 | #define ki2_jl_get_yomi(a, b, c, d, sz) jl_get_yomi(a, b, c, d) | ^ /usr/local/include/wnn/jllib.h:142:32: note: expanded from macro 'jl_get_yomi' 142 | wnn_get_area(buf, bun_no, bun_no2, area, WNN_YOMI) | ^ wnnlib.c:2214:7: warning: passing arguments to 'wnn_get_area' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2214 | if (ki2_jl_get_kanji(buf->wnn, i, j, kanji, CL_BUFSZ) < 0) { | ^ wnnlib.c:613:42: note: expanded from macro 'ki2_jl_get_kanji' 613 | #define ki2_jl_get_kanji(a, b, c, d, sz) jl_get_kanji(a, b, c, d) | ^ /usr/local/include/wnn/jllib.h:139:32: note: expanded from macro 'jl_get_kanji' 139 | wnn_get_area(buf, bun_no, bun_no2, area, WNN_KANJI) | ^ wnnlib.c:2227:28: warning: passing arguments to 'jl_update_hindo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2227 | status = jl_update_hindo(buf->wnn, i, j); | ^ wnnlib.c:2241:18: warning: passing arguments to 'jl_zenkouho' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2241 | if (jl_zenkouho(buf->wnn, i, | ^ wnnlib.c:2252:4: warning: passing arguments to 'jl_get_zenkouho_kanji' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2252 | ki2_jl_get_zenkouho_kanji(buf->wnn, k, kanji, | ^ wnnlib.c:614:69: note: expanded from macro 'ki2_jl_get_zenkouho_kanji' 614 | #define ki2_jl_get_zenkouho_kanji(a, b, c, sz) jl_get_zenkouho_kanji(a, b, c) | ^ wnnlib.c:2258:22: warning: passing arguments to 'jl_set_jikouho' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2258 | if (jl_set_jikouho(buf->wnn, k) < 0) { | ^ wnnlib.c:2265:28: warning: passing arguments to 'jl_update_hindo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2265 | status = jl_update_hindo(buf->wnn, i, j); | ^ wnnlib.c:2285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2285 | jcCreateBuffer(wnn, nclause, buffersize) | ^ wnnlib.c:2295:26: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2295 | if ((buf = (jcConvBuf *)malloc(sizeof(jcConvBuf))) == NULL) { | ^ wnnlib.c:2295:26: note: include the header or explicitly provide a declaration for 'malloc' wnnlib.c:2341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2341 | jcDestroyBuffer(buf, savedic) | ^ wnnlib.c:2358:17: warning: passing arguments to 'jl_dic_save_all_e' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2358 | if (savedic && jl_dic_save_all(buf->wnn) < 0) { | ^ /usr/local/include/wnn/jllib.h:179:50: note: expanded from macro 'jl_dic_save_all' 179 | #define jl_dic_save_all(buf) jl_dic_save_all_e(jl_env(buf)) | ^ wnnlib.c:2370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2370 | jcClear(buf) | ^ wnnlib.c:2390:10: warning: passing arguments to 'jl_kill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2390 | jl_kill(buf->wnn, 0, -1); | ^ wnnlib.c:2397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2397 | jcConvert(buf, small, tan, jump) | ^ wnnlib.c:2440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2440 | jcUnconvert(buf) | ^ wnnlib.c:2491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2491 | jcCancel(buf) | ^ wnnlib.c:2528:10: warning: passing arguments to 'jl_kill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2528 | jl_kill(buf->wnn, 0, -1); | ^ wnnlib.c:2535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2535 | jcExpand(buf, small, convf) | ^ wnnlib.c:2549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2549 | jcShrink(buf, small, convf) | ^ wnnlib.c:2563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2563 | jcKana(buf, small, kind) | ^ wnnlib.c:2671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2671 | jcFix(buf) | ^ wnnlib.c:2695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2695 | jcFix1(buf) | ^ wnnlib.c:2737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2737 | jcNext(buf, small, prev) | ^ wnnlib.c:2786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2786 | jcCandidateInfo(buf, small, ncandp, curcandp) | ^ wnnlib.c:2831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2831 | jcGetCandidate(buf, n, candstr) | ^ wnnlib.c:2855:2: warning: passing arguments to 'jl_get_zenkouho_kanji' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2855 | ki2_jl_get_zenkouho_kanji(buf->wnn, n, tmp, CL_BUFSZ); | ^ wnnlib.c:614:69: note: expanded from macro 'ki2_jl_get_zenkouho_kanji' 614 | #define ki2_jl_get_zenkouho_kanji(a, b, c, sz) jl_get_zenkouho_kanji(a, b, c) | ^ wnnlib.c:2864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2864 | jcSelect(buf, n) | ^ wnnlib.c:2902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2902 | jcDotOffset(buf) | ^ wnnlib.c:2912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2912 | jcIsConverted(buf, cl) | ^ wnnlib.c:2930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2930 | jcMove(buf, small, dir) | ^ wnnlib.c:3032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3032 | jcTop(buf) | ^ wnnlib.c:3046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3046 | jcBottom(buf) | ^ wnnlib.c:3073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3073 | jcInsertChar(buf, c) | ^ wnnlib.c:3159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3159 | jcDeleteChar(buf, prev) | ^ wnnlib.c:3285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3285 | jcKillLine(buf) | ^ wnnlib.c:3340:10: warning: passing arguments to 'jl_kill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3340 | jl_kill(buf->wnn, cc, -1); | ^ wnnlib.c:3350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3350 | jcChangeClause(buf, str) | ^ wnnlib.c:3436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3436 | jcSaveDic(buf) | ^ wnnlib.c:3441:9: warning: passing arguments to 'jl_dic_save_all_e' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3441 | return jl_dic_save_all(buf->wnn); | ^ /usr/local/include/wnn/jllib.h:179:50: note: expanded from macro 'jl_dic_save_all' 179 | #define jl_dic_save_all(buf) jl_dic_save_all_e(jl_env(buf)) | ^ wnnlib.c:3447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3447 | jcOpen(server, envname, override, rcfile, errmsg, confirm, timeout) | ^ wnnlib.c:3460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3460 | jcOpen2(server, envname, override, rcfile4, rcfile6, errmsg, confirm, timeout) | ^ wnnlib.c:3481:17: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3481 | server = getenv("JSERVER"); | ^ wnnlib.c:3497:26: warning: passing arguments to 'jl_open_lang' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3497 | wnnbuf = jl_open_lang(envname, server, "ja_JP", | ^ wnnlib.c:3510:3: warning: passing arguments to 'jl_isconnect_e' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3510 | !jl_isconnect(wnnbuf) || | ^ /usr/local/include/wnn/jllib.h:234:47: note: expanded from macro 'jl_isconnect' 234 | #define jl_isconnect(buf) jl_isconnect_e((buf)->env) | ^ wnnlib.c:3515:24: warning: passing arguments to 'jl_env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3515 | wnnenv = jl_env_get(wnnbuf); | ^ wnnlib.c:3527:6: warning: passing arguments to 'jl_fuzokugo_get_e' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3527 | if (ki2_jl_fuzokugo_get(wnnbuf, fzk, 1024) != -1) { | ^ wnnlib.c:615:40: note: expanded from macro 'ki2_jl_fuzokugo_get' 615 | #define ki2_jl_fuzokugo_get(a, b, sz) jl_fuzokugo_get(a, b) | ^ /usr/local/include/wnn/jllib.h:174:55: note: expanded from macro 'jl_fuzokugo_get' 174 | #define jl_fuzokugo_get(buf, fname) jl_fuzokugo_get_e(jl_env(buf), fname) | ^ wnnlib.c:3534:16: warning: passing arguments to 'js_version' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3534 | if (js_version(wnnenv->js_id, &serv_ver, &lib_ver) != -1 && | ^ wnnlib.c:3561:17: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3561 | rcfile = getenv((wnn_version == 4) ? "WNNENVRC4" : "WNNENVRC6"); | ^ wnnlib.c:3563:21: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3563 | rcfile = getenv("WNNENVRC"); | ^ wnnlib.c:3587:27: warning: passing arguments to 'jl_set_env_wnnrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3587 | (void)jl_set_env_wnnrc(wnnenv, rcfile, confirm, errmsg); | ^ wnnlib.c:3593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3593 | jcClose(wnnbuf) | ^ wnnlib.c:3599:10: warning: passing arguments to 'jl_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3599 | jl_close(wnnbuf); | ^ wnnlib.c:3604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3604 | jcIsConnect(wnnbuf) | ^ wnnlib.c:3611:12: warning: passing arguments to 'jl_isconnect_e' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3611 | return jl_isconnect(wnnbuf); | ^ /usr/local/include/wnn/jllib.h:234:47: note: expanded from macro 'jl_isconnect' 234 | #define jl_isconnect(buf) jl_isconnect_e((buf)->env) | ^ 110 warnings generated. rm -f Canna.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT Canna.c Canna.c:99:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 99 | static initializeCannaConnection(); | ~~~~~~ ^ | int Canna.c:100:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 100 | static toJapaneseMode(); | ~~~~~~ ^ | int Canna.c:102:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 102 | static changeTextForCanna(); | ~~~~~~ ^ | int Canna.c:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | static copyInWchar(); | ~~~~~~ ^ | int Canna.c:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | static fixProcForCanna(); | ~~~~~~ ^ | int Canna.c:105:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | static shiftRight(), shiftLeft(), shiftLeftAll(); | ~~~~~~ ^ | int Canna.c:105:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | static shiftRight(), shiftLeft(), shiftLeftAll(); | ~~~~~~ ^ | int Canna.c:105:35: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | static shiftRight(), shiftLeft(), shiftLeftAll(); | ~~~~~~ ^ | int Canna.c:106:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | static ibufInitialize(), freeIBuf(); | ~~~~~~ ^ | int Canna.c:106:26: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | static ibufInitialize(), freeIBuf(); | ~~~~~~ ^ | int Canna.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | XKanaLookup(event_struct, buffer_return, bytes_buffer, | ^ Canna.c:247:26: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XKeyEvent *' [-Wincompatible-pointer-types] 247 | nbytes = XKanaLookup(event, kanabuf, 20, &ks, &compose_status); | ^~~~~ Canna.c:254:14: warning: passing arguments to 'convend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | convend(obj); | ^ Canna.c:259:43: warning: passing arguments to 'checkIfFunctionalChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | functionalChar = checkIfFunctionalChar(event, ks, buf, 1024); | ^ Canna.c:273:25: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 273 | len = wcKanjiString((int)obj, (int)buf[0], | ^~~~~~~~ Canna.c:276:19: warning: passing arguments to 'displayPreEdit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | displayPreEdit(obj, len, buf, &kanji_status); | ^ Canna.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | InputEvent(w, event) | ^ Canna.c:84: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] 84 | static int InputEvent(); | ^ Canna.c:299:17: warning: passing arguments to 'fixProcForCanna' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | fixProcForCanna(obj, buf, len); | ^ Canna.c:300:5: warning: passing arguments to 'fix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | fix(obj); | ^ Canna.c:304:23: warning: passing arguments to 'changeTextForCanna' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | changeTextForCanna(obj, ks); | ^ Canna.c:345:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 345 | wcKanjiControl((int)obj, KC_SETMODEINFOSTYLE, (char *)1); | ^~~~~~~~ Canna.c:346:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 346 | wcKanjiControl((int)obj, KC_QUERYMODE, (char *)modeinfo); | ^~~~~~~~ Canna.c:347:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 347 | wcKanjiControl((int)obj, KC_SETMODEINFOSTYLE, (char *)0); | ^~~~~~~~ Canna.c:349:16: warning: passing arguments to 'toJapaneseMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | toJapaneseMode(obj); | ^ Canna.c:350:9: warning: passing arguments to 'convend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | convend(obj); | ^ Canna.c:353:18: warning: passing arguments to 'openSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | openSelection(obj, SELECTION_DO, 0/* dummy */); | ^ Canna.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | displayPreEdit(obj, len, buf, ks) | ^ Canna.c:94: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] 94 | static void displayPreEdit(); | ^ Canna.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | GetMode(w) | ^ Canna.c:85:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static ICString *GetMode(); | ^ Canna.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | CursorPos(w, nsegp, ncharp) | ^ Canna.c:86: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] 86 | static int CursorPos(); | ^ Canna.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | NumSegments(w) | ^ Canna.c:87: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] 87 | static int NumSegments(); | ^ Canna.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | GetSegment(w, n) | ^ Canna.c:88:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static ICString *GetSegment(); | ^ Canna.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | CompareSegment(w, seg1, seg2, n) | ^ Canna.c:89: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] 89 | static int CompareSegment(); | ^ Canna.c:468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | GetItemList(w, n) | ^ Canna.c:90:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static ICString *GetItemList(); | ^ Canna.c:500:20: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 500 | wcKanjiControl((int)obj, KC_DO, (char *)&ksv); | ^~~~~~~~ Canna.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | SelectItem(w, n) | ^ Canna.c:91: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] 91 | static int SelectItem(); | ^ Canna.c:543:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ Canna.c:545:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ Canna.c:547:17: warning: passing arguments to 'shiftLeftAll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | shiftLeftAll(ib); | ^ Canna.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | ConvertedString(w, encoding, format, length, string) | ^ Canna.c:92: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] 92 | static int ConvertedString(); | ^ Canna.c:565:18: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 565 | wcKanjiControl((int)obj, KC_KILL, (char *)&ksv); | ^~~~~~~~ Canna.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | ClearConversion(w) | ^ Canna.c:93: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] 93 | static int ClearConversion(); | ^ Canna.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | GetAuxSegments(w, n, ns, nc) | ^ Canna.c:123:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | static ICString *GetAuxSegments(); | ^ Canna.c:621:19: warning: passing arguments to 'ibufInitialize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | ibufInitialize(obj); | ^ Canna.c:624:30: warning: passing arguments to 'initializeCannaConnection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | initializeCannaConnection(obj); | ^ Canna.c:626:14: warning: passing arguments to 'addObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | addObject(obj); | ^ Canna.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | Initialize(req, new, args, num_args) | ^ Canna.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Initialize(), Destroy(); | ^ Canna.c:641:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 640 | static | ~~~~~~ | int 641 | initializeCannaConnection(obj) | ^ Canna.c:645:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 645 | extern (*jrBeepFunc)(); | ~~~~~~ ^ | int Canna.c:650:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 650 | wcKanjiControl((int)obj, KC_SETSERVERNAME, obj->canna.cannahost); | ^~~~~~~~ Canna.c:655:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 655 | wcKanjiControl((int)obj, KC_SETINITFILENAME, obj->canna.cannafile); | ^~~~~~~~ Canna.c:659:20: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 659 | wcKanjiControl((int)obj, KC_INITIALIZE, (char *)&warn); | ^~~~~~~~ Canna.c:673:18: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 673 | wcKanjiControl((int)obj, KC_SETAPPNAME, "kinput2"); | ^~~~~~~~ Canna.c:682:18: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 682 | wcKanjiControl((int)obj, KC_SETWIDTH, (char *)78); | ^~~~~~~~ Canna.c:692:20: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 692 | wcKanjiControl((int)obj, KC_SETLISTCALLBACK, (char *)&lcs); | ^~~~~~~~ Canna.c:699:17: warning: passing arguments to 'toJapaneseMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | toJapaneseMode(obj); | ^ Canna.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | initializeCannaConnection(obj) | ^ Canna.c:99:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static initializeCannaConnection(); | ^ Canna.c:700:1: warning: non-void function does not return a value [-Wreturn-type] 700 | } | ^ Canna.c:715:13: warning: passing arguments to 'freeIBuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | freeIBuf(obj->canna.ibuf); | ^ Canna.c:732:20: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 732 | wcKanjiControl((int)obj, KC_CLOSEUICONTEXT, (char *)&ksv); | ^~~~~~~~ Canna.c:747:17: warning: passing arguments to 'deleteObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | deleteObject(obj); | ^ Canna.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | Destroy(w) | ^ Canna.c:82:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Initialize(), Destroy(); | ^ Canna.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | SetValues(cur, req, wid, args, num_args) | ^ Canna.c:83:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static Boolean SetValues(); | ^ Canna.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | fix(obj) | ^ Canna.c:187:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | static void fix(); | ^ Canna.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | convend(obj) | ^ Canna.c:101: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] 101 | static void convend(); | ^ Canna.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | addObject(obj) | ^ Canna.c:192: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] 192 | static void addObject(); | ^ Canna.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | deleteObject(obj) | ^ Canna.c:193: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] 193 | static void deleteObject(); | ^ Canna.c:847:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 846 | static | ~~~~~~ | int 847 | changeTextForCanna(cldata, ksp) | ^ Canna.c:872:15: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | copyInWchar(ksp->echoStr, ksp->revLen, | ^ Canna.c:878:17: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | copyInWchar(ksp->echoStr + ksp->revLen, remain, | ^ Canna.c:887:15: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | copyInWchar(ksp->echoStr, ksp->revPos, | ^ Canna.c:890:15: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | copyInWchar(ksp->echoStr + ksp->revPos, ksp->revLen, | ^ Canna.c:896:17: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | copyInWchar(ksp->echoStr + ksp->revPos + ksp->revLen, | ^ Canna.c:905:13: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | copyInWchar(ksp->echoStr, ksp->length, | ^ Canna.c:919:18: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | copyInWchar(ksp->mode, modelen, | ^ Canna.c:955:17: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | copyInWchar(ksp->gline.line, ksp->gline.revLen, | ^ Canna.c:961:19: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 961 | copyInWchar(ksp->gline.line + ksp->gline.revLen, remain, | ^ Canna.c:971:17: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | copyInWchar(ksp->gline.line, ksp->gline.revPos, | ^ Canna.c:974:17: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | copyInWchar(ksp->gline.line + ksp->gline.revPos, ksp->gline.revLen, | ^ Canna.c:980:19: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 980 | copyInWchar(ksp->gline.line | ^ Canna.c:990:15: warning: passing arguments to 'copyInWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | copyInWchar(ksp->gline.line, ksp->gline.length, | ^ Canna.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | changeTextForCanna(cldata, ksp) | ^ Canna.c:102:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static changeTextForCanna(); | ^ Canna.c:1008:1: warning: non-void function does not return a value [-Wreturn-type] 1008 | } | ^ Canna.c:1024:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1023 | static | ~~~~~~ | int 1024 | copyInWchar(ws, wlen, wsbuf, wssize, wslen) | ^ Canna.c:1024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Canna.c:103:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | static copyInWchar(); | ^ Canna.c:1065:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1064 | static | ~~~~~~ | int 1065 | fixProcForCanna(cldata, fixedstr, fixedlen) | ^ Canna.c:1075:15: warning: passing arguments to 'shiftRight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | shiftRight(ib); | ^ Canna.c:1079:14: warning: passing arguments to 'shiftLeft' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | shiftLeft(ib); | ^ Canna.c:1065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | fixProcForCanna(cldata, fixedstr, fixedlen) | ^ Canna.c:104:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | static fixProcForCanna(); | ^ Canna.c:1084:1: warning: non-void function does not return a value [-Wreturn-type] 1084 | } | ^ Canna.c:1093:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1092 | static | ~~~~~~ | int 1093 | shiftRight(ib) | ^ Canna.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Canna.c:105:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static shiftRight(), shiftLeft(), shiftLeftAll(); | ^ Canna.c:1113:1: warning: non-void function does not return a value [-Wreturn-type] 1113 | } | ^ Canna.c:1122:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1121 | static | ~~~~~~ | int 1122 | shiftLeft(ib) | ^ Canna.c:1122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Canna.c:105:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static shiftRight(), shiftLeft(), shiftLeftAll(); | ^ Canna.c:1139:1: warning: non-void function does not return a value [-Wreturn-type] 1139 | } | ^ Canna.c:1148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1147 | static | ~~~~~~ | int 1148 | shiftLeftAll(ib) | ^ Canna.c:1148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Canna.c:105:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static shiftRight(), shiftLeft(), shiftLeftAll(); | ^ Canna.c:1168:1: warning: non-void function does not return a value [-Wreturn-type] 1168 | } | ^ Canna.c:1176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1175 | static | ~~~~~~ | int 1176 | ibufInitialize(obj) | ^ Canna.c:1176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Canna.c:106:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | static ibufInitialize(), freeIBuf(); | ^ Canna.c:1198:1: warning: non-void function does not return a value [-Wreturn-type] 1198 | } | ^ Canna.c:1207:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1206 | static | ~~~~~~ | int 1207 | freeIBuf(ib) | ^ Canna.c:1228:3: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1228 | free(ib); | ^ Canna.c:1228:3: note: include the header or explicitly provide a declaration for 'free' Canna.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | freeIBuf(ib) | ^ Canna.c:106:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | static ibufInitialize(), freeIBuf(); | ^ Canna.c:1233:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1232 | static | ~~~~~~ | int 1233 | toJapaneseMode(obj) | ^ Canna.c:1249:18: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 1249 | wcKanjiControl((int)obj, KC_DO, (char *)&ksv); | ^~~~~~~~ Canna.c:1251:22: warning: incompatible pointer types passing 'CannaObject' (aka 'struct _CannaRec *') to parameter of type 'caddr_t' (aka 'char *') [-Wincompatible-pointer-types] 1251 | changeTextForCanna(obj, &ks); | ^~~ Canna.c:1233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | toJapaneseMode(obj) | ^ Canna.c:100:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | static toJapaneseMode(); | ^ Canna.c:1252:1: warning: non-void function does not return a value [-Wreturn-type] 1252 | } | ^ Canna.c:1261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | checkIfFunctionalChar(event_struct, keysym, buffer_return, n_buffer) | ^ Canna.c:195: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] 195 | static int checkIfFunctionalChar(); | ^ Canna.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | moveSelection(obj, dir) | ^ Canna.c:1391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | insertSelection(obj, selected) | ^ Canna.c:1402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | endSelection(obj, abort) | ^ Canna.c:1422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1422 | querySelection(obj) | ^ Canna.c:1441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1441 | openSelection(obj, func, curitem) | ^ Canna.c:116: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] 116 | static void openSelection(); | ^ Canna.c:1493:21: warning: passing arguments to 'getAllCandidates' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | getAllCandidates(obj, nitems, items); | ^ Canna.c:1481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | listfunc(obj, func, items, nitems, cur_item) | ^ Canna.c:114:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static CANNA_LISTFUNCTYPE listfunc(); | ^ Canna.c:1542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1542 | allocCandlist(obj, n) | ^ Canna.c:1568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1568 | getAllCandidates(obj, ncand, items) | ^ Canna.c:1469: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] 1469 | static void getAllCandidates(); | ^ Canna.c:1667:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 1667 | n = wcKanjiControl((int)obj, KC_MODEKEYS, (char *)mkeys); | ^~~~~~~~ Canna.c:1657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1657 | GetTriggerKeys(w, keys_return) | ^ Canna.c:95: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] 95 | static int GetTriggerKeys(); | ^ Canna.c:1788:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1788 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ Canna.c:1790:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1790 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ Canna.c:1728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1728 | PreeditString(w, segn, offset, encoding, format, length, string) | ^ Canna.c:96: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] 96 | static int PreeditString(); | ^ Canna.c:1845:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ Canna.c:1847:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1847 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ Canna.c:1800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1800 | StatusString(w, encoding, format, length, string, nchars) | ^ Canna.c:97: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] 97 | static int StatusString(); | ^ 163 warnings generated. rm -f Sj3.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -Iimlib -I/usr/local/include/wnn -I/usr/local/include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DCCDEFPATH=\"/usr/local/lib/X11/ccdef/\" -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DNO_TCP_TRANSPORT Sj3.c Sj3.c:154:37: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 154 | /* foo */ (int)NULL, | ^~~~~~~~~ Sj3.c:200:19: warning: passing arguments to 'Xsj3cSetInLang' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | Xsj3cSetInLang(usr_code); | ^ Sj3.c:201:20: warning: passing arguments to 'Xsj3cSetOutLang' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | Xsj3cSetOutLang(JP_EUC); | ^ Sj3.c:216:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 216 | if (loc = setlocale (LC_CTYPE, "")) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ Sj3.c:216:13: note: place parentheses around the assignment to silence this warning 216 | if (loc = setlocale (LC_CTYPE, "")) { | ^ | ( ) Sj3.c:216:13: note: use '==' to turn this assignment into an equality comparison 216 | if (loc = setlocale (LC_CTYPE, "")) { | ^ | == Sj3.c:248:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 248 | struct passwd *pwd, *getpwnam(), *getpwuid(); | ^ /usr/include/pwd.h:147:16: note: conflicting prototype is here 147 | struct passwd *getpwnam(const char *); | ^ Sj3.c:248:54: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 248 | struct passwd *pwd, *getpwnam(), *getpwuid(); | ^ /usr/include/pwd.h:148:16: note: conflicting prototype is here 148 | struct passwd *getpwuid(uid_t); | ^ Sj3.c:251:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 251 | if (login = getlogin()) | ~~~~~~^~~~~~~~~~~~ Sj3.c:251:15: note: place parentheses around the assignment to silence this warning 251 | if (login = getlogin()) | ^ | ( ) Sj3.c:251:15: note: use '==' to turn this assignment into an equality comparison 251 | if (login = getlogin()) | ^ | == Sj3.c:254:10: warning: address of array 'uname' will always evaluate to 'true' [-Wpointer-bool-conversion] 254 | if (!uname || *uname == '\0') { | ~^~~~~ Sj3.c:255:28: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | if (pwd = getpwuid(getuid())) { | ^ Sj3.c:255:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 255 | if (pwd = getpwuid(getuid())) { | ~~~~^~~~~~~~~~~~~~~~~~~~ Sj3.c:255:17: note: place parentheses around the assignment to silence this warning 255 | if (pwd = getpwuid(getuid())) { | ^ | ( ) Sj3.c:255:17: note: use '==' to turn this assignment into an equality comparison 255 | if (pwd = getpwuid(getuid())) { | ^ | == Sj3.c:264:28: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | strcpy(home, getenv("HOME")); | ^ Sj3.c:289:30: warning: passing arguments to 'Xsj3cGetPreeditArea' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | pre = Xsj3cGetPreeditArea(buf, &len); | ^ Sj3.c:292:14: warning: call to undeclared function 'XmuLookupKana'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | nbytes = XmuLookupKana((XKeyPressedEvent *)ev, (char *)pre, len, &ks, NULL); | ^ Sj3.c:295:25: warning: passing arguments to 'Xsj3cKeyConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | value = Xsj3cKeyConv(buf, nbytes, modmask, ks); | ^ Sj3.c:297:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 297 | if (select = (value & KEY_SELECT)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ Sj3.c:297:16: note: place parentheses around the assignment to silence this warning 297 | if (select = (value & KEY_SELECT)) { | ^ | ( ) Sj3.c:297:16: note: use '==' to turn this assignment into an equality comparison 297 | if (select = (value & KEY_SELECT)) { | ^ | == Sj3.c:300:27: warning: passing arguments to 'startCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | startCandidate(obj); | ^ Sj3.c:303:24: warning: passing arguments to 'startSymbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | startSymbol(obj); | ^ Sj3.c:306:23: warning: passing arguments to 'startHinsi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | startHinsi(obj); | ^ Sj3.c:309:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | moveSelection(obj, ICMoveRight); | ^ Sj3.c:312:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | moveSelection(obj, ICMoveLeft); | ^ Sj3.c:315:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | moveSelection(obj, ICMoveUp); | ^ Sj3.c:318:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | moveSelection(obj, ICMoveDown); | ^ Sj3.c:321:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | moveSelection(obj, ICMoveFirst); | ^ Sj3.c:324:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | moveSelection(obj, ICMoveLast); | ^ Sj3.c:327:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | moveSelection(obj, ICMoveNextPage); | ^ Sj3.c:330:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | moveSelection(obj, ICMovePrevPage); | ^ Sj3.c:333:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | moveSelection(obj, ICMoveRightMost); | ^ Sj3.c:336:26: warning: passing arguments to 'moveSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | moveSelection(obj, ICMoveLeftMost); | ^ Sj3.c:339:25: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | endSelection(obj, False); | ^ Sj3.c:342:25: warning: passing arguments to 'endSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | endSelection(obj, True); | ^ Sj3.c:348:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 348 | if (dict = (value & KEY_DICT)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~ Sj3.c:348:14: note: place parentheses around the assignment to silence this warning 348 | if (dict = (value & KEY_DICT)) { | ^ | ( ) Sj3.c:348:14: note: use '==' to turn this assignment into an equality comparison 348 | if (dict = (value & KEY_DICT)) { | ^ | == Sj3.c:351:30: warning: passing arguments to 'startRegistration' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | startRegistration(obj); | ^ Sj3.c:354:31: warning: passing arguments to 'changeRegistration' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | changeRegistration(obj); | ^ Sj3.c:357:30: warning: passing arguments to 'Xsj3cDictRegister' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | Xsj3cDictRegister(buf); | ^ Sj3.c:358:31: warning: passing arguments to 'changeRegistration' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | changeRegistration(obj); | ^ Sj3.c:361:27: warning: passing arguments to 'Xsj3cDictClear' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | Xsj3cDictClear(buf); | ^ Sj3.c:362:31: warning: passing arguments to 'changeRegistration' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | changeRegistration(obj); | ^ Sj3.c:365:28: warning: passing arguments to 'endRegistration' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | endRegistration(obj); | ^ Sj3.c:383:27: warning: passing arguments to 'Xsj3cFixBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | Xsj3cFixBuffer(buf); | ^ Sj3.c:388:29: warning: passing arguments to 'Xsj3cFlushBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | Xsj3cFlushBuffer(buf); | ^ Sj3.c:399:29: warning: passing arguments to 'Xsj3cClearBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | Xsj3cClearBuffer(buf); | ^ Sj3.c:403:13: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | bell(obj); | ^ Sj3.c:406:21: warning: passing arguments to 'Xsj3cConnect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | Xsj3cConnect(buf, obj->sj3.sj3serv, | ^ Sj3.c:408:25: warning: passing arguments to 'Xsj3cClearBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | Xsj3cClearBuffer(buf); | ^ Sj3.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | InputEvent(w, ev) | ^ Sj3.c:84:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static int InputEvent(); | ^ Sj3.c:423:41: warning: passing arguments to 'Xsj3cGetModeStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | icstr.data = (char *)Xsj3cGetModeStr(buf, &len); | ^ Sj3.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | GetMode(w) | ^ Sj3.c:85:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static ICString *GetMode(); | ^ Sj3.c:439:28: warning: passing arguments to 'Xsj3cGetPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | return(Xsj3cGetPosition(buf, nsegp, ncharp)); | ^ Sj3.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | CursorPos(w, nsegp, ncharp) | ^ Sj3.c:86:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static int CursorPos(); | ^ Sj3.c:449:27: warning: passing arguments to 'Xsj3cGetSegNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | return (Xsj3cGetSegNum(buf)); | ^ Sj3.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | NumSegments(w) | ^ Sj3.c:87:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static int NumSegments(); | ^ Sj3.c:462:35: warning: passing arguments to 'Xsj3cGetSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | seg.data = (char *)Xsj3cGetSeg(buf, n, &len, &attr); | ^ Sj3.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | GetSegment(w, n) | ^ Sj3.c:88:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static ICString *GetSegment(); | ^ Sj3.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | CompareSegment(w, seg1, seg2, n) | ^ Sj3.c:89:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | static int CompareSegment(); | ^ Sj3.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | GetItemList(w, n) | ^ Sj3.c:90:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static ICString *GetItemList(); | ^ Sj3.c:551:30: warning: passing arguments to 'insertSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | ret = insertSelection(obj, n, &changed, &flush); | ^ Sj3.c:555:26: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | Xsj3cEndCandidate(buf, changed); | ^ Sj3.c:558:23: warning: passing arguments to 'Xsj3cEndSymbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | Xsj3cEndSymbol(buf); | ^ Sj3.c:561:22: warning: passing arguments to 'Xsj3cEndHinsi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | Xsj3cEndHinsi(buf); | ^ Sj3.c:574:29: warning: passing arguments to 'Xsj3cFlushBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | Xsj3cFlushBuffer(buf); | ^ Sj3.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | SelectItem(w, n) | ^ Sj3.c:91:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | static int SelectItem(); | ^ Sj3.c:600:35: warning: passing arguments to 'Xsj3cGetConvertedLength' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | wlen = Xsj3cGetConvertedLength(buf); | ^ Sj3.c:603:30: warning: passing arguments to 'Xsj3cGetConvertedStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | if ((Xsj3cGetConvertedStr(buf, wbuf)) == NULL) { | ^ Sj3.c:615:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ Sj3.c:617:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ Sj3.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | ConvertedString(w, encoding, format, length, string) | ^ Sj3.c:92:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static int ConvertedString(); | ^ Sj3.c:631:21: warning: passing arguments to 'Xsj3cClearBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | Xsj3cClearBuffer(buf); | ^ Sj3.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | ClearConversion(w) | ^ Sj3.c:93:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | static int ClearConversion(); | ^ Sj3.c:648:28: warning: passing arguments to 'Xsj3cGetDictMsgNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | *n = Xsj3cGetDictMsgNum(buf); | ^ Sj3.c:655:48: warning: passing arguments to 'Xsj3cGetDictMsgs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | for (i = 0, seg = ics, p = Xsj3cGetDictMsgs(buf); | ^ Sj3.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | GetAuxSegments(w, n, ns, nc) | ^ Sj3.c:94:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | static ICString *GetAuxSegments(); | ^ Sj3.c:694:32: warning: passing arguments to 'Xsj3cGetSegNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | int segnum = Xsj3cGetSegNum(buf); | ^ Sj3.c:704:23: warning: passing arguments to 'Xsj3cGetSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | segdata = Xsj3cGetSeg(buf, segn, &seglen, &junk); | ^ Sj3.c:715:23: warning: passing arguments to 'Xsj3cGetSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | segdata = Xsj3cGetSeg(buf, segn, &seglen, &junk); | ^ Sj3.c:729:23: warning: passing arguments to 'Xsj3cGetSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | segdata = Xsj3cGetSeg(buf, i, &seglen, &junk); | ^ Sj3.c:735:26: warning: passing arguments to 'Xsj3cGetSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | segdata = Xsj3cGetSeg(buf, segn, &seglen, &junk); | ^ Sj3.c:740:23: warning: passing arguments to 'Xsj3cGetSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | segdata = Xsj3cGetSeg(buf, i, &seglen, &junk); | ^ Sj3.c:758:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ Sj3.c:760:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ Sj3.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | PreeditString(w, segn, offset, encoding, format, length, string) | ^ Sj3.c:95:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static int PreeditString(); | ^ Sj3.c:815:32: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | *length = len = convJWStoCT(wbuf, (unsigned char *)NULL, 0); | ^ Sj3.c:817:22: warning: passing arguments to 'convJWStoCT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | (void)convJWStoCT(wbuf, (unsigned char *)*string, 0); | ^ Sj3.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | StatusString(w, encoding, format, length, string, nchars) | ^ Sj3.c:96:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | static int StatusString(); | ^ Sj3.c:871:25: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 871 | XKeycodeToKeysym(XtDisplayOfObject((Widget)obj), | ^ /usr/local/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here 1682 | _X_DEPRECATED | ^ /usr/local/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' 136 | # define _X_DEPRECATED __attribute__((deprecated)) | ^ Sj3.c:882:24: warning: passing arguments to 'Xsj3cSetKanaMod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | Xsj3cSetKanaMod(kanamod); | ^ Sj3.c:894:11: warning: call to undeclared function 'Xsj3cRCInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 894 | (void)Xsj3cRCInit(buf, obj->sj3.rcfile, home); | ^ Sj3.c:897:26: warning: passing arguments to 'Xsj3cInitializeTables' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | Xsj3cInitializeTables(buf, home, obj->sj3.rkfile, obj->sj3.hkfile, | ^ Sj3.c:901:19: warning: passing arguments to 'Xsj3cOpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | if ((Xsj3cOpen(buf, obj->sj3.sj3serv, | ^ Sj3.c:905:23: warning: passing arguments to 'Xsj3cOpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | if ((Xsj3cOpen(buf, obj->sj3.sj3serv2, | ^ Sj3.c:912:14: warning: passing arguments to 'addObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | addObject(obj); | ^ Sj3.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | Initialize(req, new, args, num_args) | ^ Sj3.c:82:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Initialize(), Destroy(); | ^ Sj3.c:922:15: warning: passing arguments to 'Xsj3cClose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | Xsj3cClose(buf, False); | ^ Sj3.c:923:20: warning: passing arguments to 'Xsj3cFreeBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | Xsj3cFreeBuffer(buf); | ^ Sj3.c:924:17: warning: passing arguments to 'deleteObject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | deleteObject(obj); | ^ Sj3.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | Destroy(w) | ^ Sj3.c:82:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Initialize(), Destroy(); | ^ Sj3.c:936:55: warning: passing arguments to 'Xsj3cGetSymbols' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | for (i = 0, strp = SymbolList, p = Xsj3cGetSymbols(buf); | ^ Sj3.c:928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | symbolInit(obj) | ^ Sj3.c:167:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 167 | static void symbolInit(); | ^ Sj3.c:954:38: warning: passing arguments to 'Xsj3cGetSymbolNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | NumSymbol = Xsj3cGetSymbolNum(buf, &obj->sj3.cursymbol); | ^ Sj3.c:946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | startSymbol(obj) | ^ Sj3.c:161:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | static void startSymbol(); | ^ Sj3.c:987:38: warning: passing arguments to 'Xsj3cGetCandidateNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | if ((ncand = Xsj3cGetCandidateNum(buf, &curcand)) <= 0) { | ^ Sj3.c:988:13: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | bell(obj); | ^ Sj3.c:994:18: warning: passing arguments to 'allocCandlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | allocCandlist(obj, obj->sj3.numcand); | ^ Sj3.c:996:65: warning: passing arguments to 'Xsj3cGetCandidates' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | for (i = 0, strp = obj->sj3.candlist, p = Xsj3cGetCandidates(buf); | ^ Sj3.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | startCandidate(obj) | ^ Sj3.c:160:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | static void startCandidate(); | ^ Sj3.c:1027:53: warning: passing arguments to 'Xsj3cGetHinsis' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | for (i = 0, strp = HinsiList, p = Xsj3cGetHinsis(buf); | ^ Sj3.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | hinsiInit(obj) | ^ Sj3.c:166:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 166 | static void hinsiInit(); | ^ Sj3.c:1045:36: warning: passing arguments to 'Xsj3cGetHinsiNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | NumHinsi = Xsj3cGetHinsiNum(buf, &obj->sj3.curhinsi); | ^ Sj3.c:1037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | startHinsi(obj) | ^ Sj3.c:162:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | static void startHinsi(); | ^ Sj3.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | moveSelection(obj, dir) | ^ Sj3.c:163:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 163 | static void moveSelection(); | ^ Sj3.c:1103:30: warning: passing arguments to 'insertSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | ret = insertSelection(obj, selected, &changed, &flush); | ^ Sj3.c:1108:26: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | Xsj3cEndCandidate(buf, changed); | ^ Sj3.c:1111:23: warning: passing arguments to 'Xsj3cEndSymbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | Xsj3cEndSymbol(buf); | ^ Sj3.c:1114:22: warning: passing arguments to 'Xsj3cEndHinsi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1114 | Xsj3cEndHinsi(buf); | ^ Sj3.c:1127:29: warning: passing arguments to 'Xsj3cFlushBuffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | Xsj3cFlushBuffer(buf); | ^ Sj3.c:1082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | endSelection(obj, abort) | ^ Sj3.c:164:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 164 | static int endSelection(); | ^ Sj3.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | SetValues(cur, req, wid, args, num_args) | ^ Sj3.c:83:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static Boolean SetValues(); | ^ Sj3.c:1163:32: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | ret = Xsj3cSetCandidate(buf, selected, changed, flush); | ^ Sj3.c:1167:29: warning: passing arguments to 'Xsj3cSetSymbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | ret = Xsj3cSetSymbol(buf, selected, changed, flush); | ^ Sj3.c:1171:28: warning: passing arguments to 'Xsj3cSetHinsi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | ret = Xsj3cSetHinsi(buf, selected, changed, flush); | ^ Sj3.c:1160:13: warning: enumeration value 'normal_state' not handled in switch [-Wswitch] 1160 | switch (obj->sj3.state) { | ^~~~~~~~~~~~~~ Sj3.c:1150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | insertSelection(obj, selected, changed, flush) | ^ Sj3.c:165:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 165 | static int insertSelection(); | ^ Sj3.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | allocCandlist(obj, n) | ^ Sj3.c:168:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 168 | static void allocCandlist(); | ^ Sj3.c:1201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | startRegistration(obj) | ^ Sj3.c:169:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 169 | static void startRegistration(); | ^ Sj3.c:1212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | changeRegistration(obj) | ^ Sj3.c:170:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 170 | static void changeRegistration(); | ^ Sj3.c:1232:17: warning: passing arguments to 'Xsj3cEndDict' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | Xsj3cEndDict(buf); | ^ Sj3.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | endRegistration(obj) | ^ Sj3.c:171:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 171 | static void endRegistration(); | ^ Sj3.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | addObject(obj) | ^ Sj3.c:175:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 175 | static void addObject(); | ^ Sj3.c:1257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | deleteObject(obj) | ^ Sj3.c:176:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 176 | static void deleteObject(); | ^ Sj3.c:1278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | bell(obj) | ^ Sj3.c:177:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 177 | static void bell(); | ^ 160 warnings generated. rm -f libKi2.a ar cq libKi2.a AdoptedShe.o AuxPanel.o CandPanel.o Canvas.o CanvasShel.o ConvCtrl.o ConvDisp.o ConvMgr.o ICLabel.o InputConv.o KIProto.o OffConv.o OverConv.o OnConv.o WcharDisp.o XimpProto.o IMProto.o cachedatom.o cachedfont.o ctext.o dispatch.o fontset.o wstring.o xtwstr.o xwstr.o asyncerr.o fontbank.o parsekey.o ioecall.o CcWnn.o cconv.o wnnlib.o Canna.o Sj3.o ranlib libKi2.a making all in lib/imlib... rm -f imattr.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DNO_TCP_TRANSPORT -DXIM_BC imattr.c imattr.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | getC16(data, order) | ^ imattr.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | getI16(data, order) | ^ imattr.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | getC32(data, order) | ^ imattr.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | validateClientWindow(icp) | ^ imattr.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | validateFocusWindow(icp) | ^ imattr.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | badSizeError(icp, code) | ^ imattr.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | unnestedError(icp) | ^ imattr.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | getPSPtr(icp, type) | ^ imattr.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | getIMValues(imp, data, len, offset) | ^ imattr.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | getQueryInputStyle(imp, id, offset) | ^ imattr.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | setICValues(icp, data, len, nest, op) | ^ imattr.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | setInputStyle(icp, value, len, order, nest, op) | ^ imattr.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | setClientWindow(icp, value, len, order, nest, op) | ^ imattr.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | setFocusWindow(icp, value, len, order, nest, op) | ^ imattr.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | setPreeditAttributes(icp, value, len, order, nest, op) | ^ imattr.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | setStatusAttributes(icp, value, len, order, nest, op) | ^ imattr.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | setArea(icp, value, len, order, nest, op) | ^ imattr.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | setAreaNeeded(icp, value, len, order, nest, op) | ^ imattr.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | setForeground(icp, value, len, order, nest, op) | ^ imattr.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | setBackground(icp, value, len, order, nest, op) | ^ imattr.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | setColormap(icp, value, len, order, nest, op) | ^ imattr.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | setBgPixmap(icp, value, len, order, nest, op) | ^ imattr.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | setLineSpace(icp, value, len, order, nest, op) | ^ imattr.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | setCursor(icp, value, len, order, nest, op) | ^ imattr.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | setSpotLocation(icp, value, len, order, nest, op) | ^ imattr.c:930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | setStdColormap(icp, value, len, order, nest, op) | ^ imattr.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | setFontSet(icp, value, len, order, nest, op) | ^ imattr.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | setPreeditState(icp, value, len, order, nest, op) | ^ imattr.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | setResetState(icp, value, len, order, nest, op) | ^ imattr.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | getICValues(icp, data, len, nest, offset, sepp) | ^ imattr.c:1178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | getPSAttributes(icp, id, nest, offset, data, len) | ^ imattr.c:1233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | getPreeditAttributes(icp, id, nest, offset, data, len) | ^ imattr.c:1247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | getStatusAttributes(icp, id, nest, offset, data, len) | ^ imattr.c:1261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | getInputStyle(icp, id, nest, offset, data, len) | ^ imattr.c:1285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | getClientWindow(icp, id, nest, offset, data, len) | ^ imattr.c:1314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | getFocusWindow(icp, id, nest, offset, data, len) | ^ imattr.c:1351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | getFilterEvents(icp, id, nest, offset, data, len) | ^ imattr.c:1372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | getArea(icp, id, nest, offset, data, len) | ^ imattr.c:1406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1406 | getAreaNeeded(icp, id, nest, offset, data, len) | ^ imattr.c:1445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | getSpotLocation(icp, id, nest, offset, data, len) | ^ imattr.c:1479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1479 | getColormap(icp, id, nest, offset, data, len) | ^ imattr.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | getStdColormap(icp, id, nest, offset, data, len) | ^ imattr.c:1546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | getForeground(icp, id, nest, offset, data, len) | ^ imattr.c:1577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | getBackground(icp, id, nest, offset, data, len) | ^ imattr.c:1608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | getBgPixmap(icp, id, nest, offset, data, len) | ^ imattr.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | getFontSet(icp, id, nest, offset, data, len) | ^ imattr.c:1675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | getLineSpace(icp, id, nest, offset, data, len) | ^ imattr.c:1706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | getCursor(icp, id, nest, offset, data, len) | ^ imattr.c:1737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1737 | getPreeditState(icp, id, nest, offset, data, len) | ^ imattr.c:1766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1766 | getResetState(icp, id, nest, offset, data, len) | ^ imattr.c:1785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1785 | changeFonts(icp, preedit) | ^ imattr.c:1825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1825 | fillCommonDefault(icp, mask) | ^ imattr.c:1864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1864 | getNaturalLineSpace(icp, preedit) | ^ imattr.c:1896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1896 | fillPSDefault(icp, type, mask) | ^ imattr.c:1991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1991 | validateCommonAttr(icp, checkonly) | ^ imattr.c:2068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2068 | validatePSAttr(icp, type, checkonly) | ^ imattr.c:2154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2154 | changeConversionAttributes(icp) | ^ imattr.c:2166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2166 | computeAreaNeeded(icp) | ^ imattr.c:2255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2255 | computeAreaForQuery(icp) | ^ imattr.c:2292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2292 | IMPutIMAttrList(imp) | ^ imattr.c:2322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2322 | IMPutICAttrList(imp) | ^ imattr.c:2353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2353 | IMSetIMValues(imp, data, len, major) | ^ imattr.c:2368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2368 | IMGetIMValues(imp, data, len, offset) | ^ imattr.c:2392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2392 | IMSetICValues(icp, data, len, major) | ^ imattr.c:2451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2451 | IMGetICValues(icp, data, len, offset) | ^ imattr.c:2490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2490 | IMFillDefault(icp, common_mask, preedit_mask, status_mask) | ^ imattr.c:2504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2504 | IMValidateWindow(dpy, win, profilep) | ^ imattr.c:2531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2531 | IMValidateICAttributes(icp, checkonly) | ^ imattr.c:2559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2559 | IMFreeICAttributes(icp) | ^ imattr.c:2580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2580 | IMMakeConvAttributes(icp, attr) | ^ imattr.c:2697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2697 | IMMoveLocation(icp, x, y) | ^ 71 warnings generated. rm -f imbuf.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DNO_TCP_TRANSPORT -DXIM_BC imbuf.c imbuf.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | allocIMBuf(ibp, len) | ^ imbuf.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | IMBufInit(ibp) | ^ imbuf.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | IMBufClear(ibp) | ^ imbuf.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | IMBufAdd(ibp, data, len) | ^ imbuf.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | IMBufOverwrite(ibp, offset, data, len) | ^ imbuf.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | IMBufAlloc(ibp, len) | ^ imbuf.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | IMBufDiscard(ibp, len) | ^ imbuf.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | IMBufDiscardNUL(ibp) | ^ imbuf.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | IMBufCompact(ibp) | ^ 9 warnings generated. rm -f imconv.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DNO_TCP_TRANSPORT -DXIM_BC imconv.c imconv.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | fillDefaultAttributesForStartup(icp) | ^ imconv.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | makeConvAttributesForStartup(icp, attrp) | ^ imconv.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | commitString(icp, str, len, sync) | ^ imconv.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | fixCallback(w, client_data, call_data) | ^ imconv.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | detachConverter(icp) | ^ imconv.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | endCallback(w, client_data, call_data) | ^ imconv.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | unusedEventCallback(w, client_data, call_data) | ^ imconv.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | preeditStartCallback(w, client_data, call_data) | ^ imconv.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | preeditDoneCallback(w, client_data, call_data) | ^ imconv.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | preeditDrawCallback(w, client_data, call_data) | ^ imconv.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | preeditCaretCallback(w, client_data, call_data) | ^ imconv.c:404:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 404 | int caret = (int)call_data; | ^~~~~~~~~~~~~~ imconv.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | statusStartCallback(w, client_data, call_data) | ^ imconv.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | statusDoneCallback(w, client_data, call_data) | ^ imconv.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | statusDrawCallback(w, client_data, call_data) | ^ imconv.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | preeditStart(icp) | ^ imconv.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | preeditDone(icp) | ^ imconv.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | preeditDraw(icp, data) | ^ imconv.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | preeditCaret(icp, caret) | ^ imconv.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | statusStart(icp) | ^ imconv.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | statusDone(icp) | ^ imconv.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | statusDraw(icp, data) | ^ imconv.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | setEventMask(icp, forward_mask, synchronous_mask) | ^ imconv.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | IMStartConversion(icp) | ^ imconv.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | IMStopConversion(icp) | ^ imconv.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | IMResetIC(icp, preedit_strp) | ^ imconv.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | IMForwardEvent(icp, ev) | ^ imconv.c:938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | IMSetFocus(icp) | ^ imconv.c:949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | IMUnsetFocus(icp) | ^ imconv.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | IMStatusStart(icp) | ^ imconv.c:971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | IMStatusDone(icp) | ^ imconv.c:981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | IMStartForwarding(icp) | ^ imconv.c:1006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | IMStopForwarding(icp) | ^ 33 warnings generated. rm -f imdata.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DNO_TCP_TRANSPORT -DXIM_BC imdata.c imdata.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | IMGetC8(conn, offset) | ^ imdata.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | IMGetC16(conn, offset) | ^ imdata.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | IMGetI16(conn, offset) | ^ imdata.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | IMGetC32(conn, offset) | ^ imdata.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | IMGetString(conn, offset, buf, len) | ^ imdata.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | IMPutC8(conn, x) | ^ imdata.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | IMPutC16(conn, x) | ^ imdata.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | IMPutC32(conn, x) | ^ imdata.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | IMPutI16(conn, x) | ^ imdata.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | IMPutString(conn, s, len) | ^ imdata.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | IMPutPad(conn) | ^ imdata.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | IMRewriteC16(conn, pos, x) | ^ imdata.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | IMWritePos(conn) | ^ imdata.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | IMPutHeader(conn, major, minor, arglen) | ^ imdata.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | IMFinishRequest(conn, offset) | ^ imdata.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | IMCancelRequest(conn, offset) | ^ imdata.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | IMSendSimpleRequest(conn, major, minor) | ^ imdata.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | IMSendRequestWithIC(conn, major, minor, icp) | ^ imdata.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | IMSendError(conn, code, imid, icid, msg) | ^ imdata.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | IMSendBadProtocol(conn, msg) | ^ imdata.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | IMSendBadLength(conn, imid, icid) | ^ 21 warnings generated. rm -f imdispatch.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DNO_TCP_TRANSPORT -DXIM_BC imdispatch.c imdispatch.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | checkRequest(conn, majorp, minorp, arglenp) | ^ imdispatch.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | countConnectRequestLen(conn) | ^ imdispatch.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | ServerAuthPhase(conn) | ^ imdispatch.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | CommunicationPhase(conn) | ^ imdispatch.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | initialDispatcher(conn) | ^ imdispatch.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | mainDispatcher(conn) | ^ imdispatch.c:349:17: 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] 349 | (*req->proc)(conn, major, minor, arglen); | ^ imdispatch.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | IMSetInitialDispatcher(conn) | ^ imdispatch.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | IMDispatch(conn, cond) | ^ imdispatch.c:384:28: 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] 384 | while ((*conn->dispatcher)(conn)) | ^ imdispatch.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | IMSchedule(conn, type) | ^ imdispatch.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | IMProcessQueue(w) | ^ 12 warnings generated. rm -f imic.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DNO_TCP_TRANSPORT -DXIM_BC imic.c imic.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | id2IM(conn, id) | ^ imic.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | id2IC(imp, id) | ^ imic.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | newIMID(conn) | ^ imic.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | newICID(imp) | ^ imic.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | registerIM(imp) | ^ imic.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | registerIC(icp) | ^ imic.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | unregisterIM(imp) | ^ imic.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | unregisterIC(icp) | ^ imic.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | removeIM(imp) | ^ imic.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | removeIC(icp) | ^ imic.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | IMGetIM(conn, arglen) | ^ imic.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | IMGetIC(conn, arglen) | ^ imic.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | IMCreateIM(conn, converter) | ^ imic.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | IMCreateIC(imp) | ^ imic.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | IMDestroyIM(imp) | ^ imic.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | IMDestroyIC(icp) | ^ 16 warnings generated. rm -f improto.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DNO_TCP_TRANSPORT -DXIM_BC improto.c improto.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | IMRegisterConnection(conn) | ^ improto.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | IMUnregisterConnection(conn) | ^ improto.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | IMConnectionList(w) | ^ improto.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | IMPushQueue(conn) | ^ improto.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | IMPopQueue(w) | ^ improto.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | IMQueueEmpty(w) | ^ improto.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | IMDefaultForeground(w) | ^ improto.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | IMDefaultBackground(w) | ^ improto.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | IMDefaultFontSet(imp) | ^ improto.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | IMFontBank(imp) | ^ improto.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | IMStatusWidth(w) | ^ improto.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | IMInitHash(w) | ^ improto.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | IMIMHash(w) | ^ improto.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | IMICHash(w) | ^ improto.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | IMNextIMID(w) | ^ improto.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | IMNextICID(w) | ^ improto.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | IMCtextAtom(w) | ^ improto.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | IMKi2CommAtom(w) | ^ improto.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | IMXConnectAtom(w) | ^ improto.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | IMProtocolAtom(w) | ^ improto.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | IMMoreDataAtom(w) | ^ improto.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | IMTriggerKeys(imp, num_triggersp) | ^ improto.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | IMGetConverter(w, locale) | ^ 23 warnings generated. rm -f imrequest.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DNO_TCP_TRANSPORT -DXIM_BC imrequest.c imrequest.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | compileTbl(req) | ^ imrequest.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | ximDisconnectProc(conn, major, minor, arglen) | ^ imrequest.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | ecode2str(code) | ^ imrequest.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | ximErrorProc(conn, major, minor, arglen) | ^ imrequest.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | putTriggerkeyList(imp) | ^ imrequest.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | ximOpenProc(conn, major, minor, arglen) | ^ imrequest.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | ximCloseProc(conn, major, minor, arglen) | ^ imrequest.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | ximTriggerNotifyProc(conn, major, minor, arglen) | ^ imrequest.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | findCtext(conn, arglen) | ^ imrequest.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | ximEncodingNegotiationProc(conn, major, minor, arglen) | ^ imrequest.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | getExtension(name) | ^ imrequest.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | putExtension(conn, req) | ^ imrequest.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | ximQueryExtensionProc(conn, major, minor, arglen) | ^ imrequest.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | ximSetIMValuesProc(conn, major, minor, arglen) | ^ imrequest.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | ximGetIMValuesProc(conn, major, minor, arglen) | ^ imrequest.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | ximCreateICProc(conn, major, minor, arglen) | ^ imrequest.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | ximDestroyICProc(conn, major, minor, arglen) | ^ imrequest.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | ximSetICValuesProc(conn, major, minor, arglen) | ^ imrequest.c:863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | ximGetICValuesProc(conn, major, minor, arglen) | ^ imrequest.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | ximSetICFocusProc(conn, major, minor, arglen) | ^ imrequest.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | ximUnsetICFocusProc(conn, major, minor, arglen) | ^ imrequest.c:948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | swapData(data, format) | ^ imrequest.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | getEvent(conn, serial, offset, ev) | ^ imrequest.c:1083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | postponeEvent(icp, synchronous, ev) | ^ imrequest.c:1100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | handleForwardedEvent(icp, synchronous, ev) | ^ imrequest.c:1172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | ximForwardEventProc(conn, major, minor, arglen) | ^ imrequest.c:1203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | ximExtForwardKeyeventProc(conn, major, minor, arglen) | ^ imrequest.c:1261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | ximSyncProc(conn, major, minor, arglen) | ^ imrequest.c:1282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | processPendingEvents(icp, pending_event) | ^ imrequest.c:1302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | ximSyncReplyProc(conn, major, minor, arglen) | ^ imrequest.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | ximResetICProc(conn, major, minor, arglen) | ^ imrequest.c:1361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1361 | ximExtMoveProc(conn, major, minor, arglen) | ^ imrequest.c:1381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | ximAlreadyConnectedProc(conn, major, minor, arglen) | ^ imrequest.c:1397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1397 | ximShouldNotBeSentProc(conn, major, minor, arglen) | ^ imrequest.c:1412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1412 | ximAuthPhaseProc(conn, major, minor, arglen) | ^ imrequest.c:1427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1427 | ximNopProc(conn, major, minor, arglen) | ^ 36 warnings generated. rm -f imxport.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DNO_TCP_TRANSPORT -DXIM_BC imxport.c imxport.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | dummyDispatcher(conn) | ^ imxport.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | dumpBuf(ibp, title) | ^ imxport.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | communicationWindow(w) | ^ imxport.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | newConnection(protocol) | ^ imxport.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | socketinput(cldata, fdp, idp) | ^ imxport.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | socketFlush(conn) | ^ imxport.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | socketShutdown(conn) | ^ imxport.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | xinput(ev, cldata) | ^ imxport.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | xdestroy(ev, cldata) | ^ imxport.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | xBrokenPipe(dpy, eev, client_data) | ^ imxport.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | xFlush(conn) | ^ imxport.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | xShutdown(conn) | ^ imxport.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | IMCreateUnixService(path) | ^ imxport.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | IMUnixConnection(protocol, wellknownfd) | ^ imxport.c:563:61: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 563 | if ((fd = accept(wellknownfd, (struct sockaddr *)&addr, &addrlen)) < 0) { | ^~~~~~~~ /usr/include/sys/socket.h:701:69: note: passing argument to parameter here 701 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ imxport.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | IMXConnection(protocol, xev) | ^ imxport.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | IMFlush(conn) | ^ imxport.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | IMShutdown(conn) | ^ imxport.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | IMCloseConnection(conn) | ^ 19 warnings generated. rm -f libim.a ar cq libim.a imattr.o imbuf.o imconv.o imdata.o imdispatch.o imic.o improto.o imrequest.o imxport.o ranlib libim.a making all in lib/Xsj3clib... rm -f buffer.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT buffer.c buffer.c:216:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 216 | "flushbefore",NoSymbol, NULL, _Xsj3cFlushBefore, NONE,NULL,NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ buffer.c:217:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 217 | "bell", NoSymbol, NULL, _Xsj3cBell, NONE,NULL,NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ buffer.c:218:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 218 | "sjrc", NoSymbol, NULL, _Xsj3cSjrc, NONE,NULL,NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ buffer.c:219:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 219 | "kill", NoSymbol, NULL, _Xsj3cKill, NONE,NULL,NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ buffer.c:220:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 220 | "kana", NoSymbol, NULL, _Xsj3cKana, NONE,NULL,NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ buffer.c:221:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 221 | "null", NoSymbol, NULL, _Xsj3cNull, NONE,NULL,NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ buffer.c:222:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 222 | "ignore", NoSymbol, NULL, _Xsj3cIgnore, NONE,NULL,NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ buffer.c:223:17: warning: incompatible pointer to integer conversion initializing 'KeySym' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 223 | NULL, NULL, NULL, NULL, NONE,NULL,NULL | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ buffer.c:223:29: warning: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] 223 | NULL, NULL, NULL, NULL, NONE,NULL,NULL | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ buffer.c:238:34: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 238 | keytp = (Xsj3cKeyTable *)malloc(BUFSIZ); | ^ buffer.c:238:34: note: include the header or explicitly provide a declaration for 'malloc' buffer.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | _Xsj3cAddFreeKeyTable(keytp) | ^ buffer.c:49:29: warning: a function declaration without a prototype is 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 | static void _Xsj3cAddFreeKeyTable(); | ^ buffer.c:292:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 292 | if (keytp = freekeytp) | ~~~~~~^~~~~~~~~~~ buffer.c:292:15: note: place parentheses around the assignment to silence this warning 292 | if (keytp = freekeytp) | ^ | ( ) buffer.c:292:15: note: use '==' to turn this assignment into an equality comparison 292 | if (keytp = freekeytp) | ^ | == buffer.c:306:19: warning: if statement has empty body [-Wempty-body] 306 | if (keytq); | ^ buffer.c:306:19: note: put the semicolon on a separate line to silence this warning buffer.c:308:9: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 308 | free(keytp); | ^ buffer.c:308:9: note: include the header or explicitly provide a declaration for 'free' buffer.c:329:25: warning: passing arguments to '_Xsj3cSetKeySym' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | if (!_Xsj3cSetKeySym(table->value, &ksym, &modmask, &inputsame)) | ^ buffer.c:356:43: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | else if (ksym == NoSymbol || _Xsj3cCmp(table->key[1], "ignore")) | ^ buffer.c:362:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | if (_Xsj3cCmp(table->key[1], keytq->keyword)) { | ^ buffer.c:365:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | Xsj3cWarning("can't allocate keysym to func table"); | ^ buffer.c:379:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | Xsj3cWarning("keyword %s is not supported",table->key[1]); | ^ buffer.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | _Xsj3cSetKeyTable(buf, table) | ^ buffer.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | int _Xsj3cSetKeyTable(); | ^ buffer.c:424:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | Xsj3cWarning("wrong keybind in sjrc file"); | ^ buffer.c:435:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | Xsj3cWarning("wrong keybind in sjrc file"); | ^ buffer.c:443:43: warning: passing arguments to '_Xsj3cGetModMask' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | } else if ((ret = _Xsj3cGetModMask(*string)) >= 0) { | ^ buffer.c:448:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | Xsj3cWarning("wrong keybind in sjrc file"); | ^ buffer.c:450:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | Xsj3cWarning("wrong keybind in sjrc file"); | ^ buffer.c:459:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | if (_Xsj3cCmp(p, "off")) | ^ buffer.c:461:27: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | else if (_Xsj3cCmp(p, "on")) | ^ buffer.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | _Xsj3cSetKeySym(string, ksym, modmask, inputsame) | ^ buffer.c:51:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetKeySym(); | ^ buffer.c:586:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | Xsj3cWarning("Ilegal keybind modmask %s in sjrc file",mode); | ^ buffer.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | _Xsj3cGetModMask(p) | ^ buffer.c:52:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static long _Xsj3cGetModMask(); | ^ buffer.c:619:35: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 619 | if ((buf->input = (Xsj3cSeg *)calloc(BUNBUFSIZ, sizeof(Xsj3cSeg))) | ^ buffer.c:619:35: note: include the header or explicitly provide a declaration for 'calloc' buffer.c:659:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | Xsj3cWarning("can't allocate keysym to func table"); | ^ buffer.c:697:23: warning: passing arguments to '_Xsj3cSetGuide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | _Xsj3cSetGuide(buf, &def_guide_table[i]); | ^ buffer.c:757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | _Xsj3cFreeModeStr(buf) | ^ buffer.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static void _Xsj3cFreeModeStr(); | ^ buffer.c:784:29: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | Xsj3cFreeSegment(buf->input[i]); | ^ buffer.c:792:29: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | Xsj3cFreeSegment(buf->backup[i]); | ^ buffer.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | Xsj3cFreeBuffer(buf) | ^ buffer.c:38:29: warning: a function declaration without a prototype is 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 | void Xsj3cFreeBuffer(); | ^ buffer.c:812:25: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | Xsj3cFreeSegment(buf->input[i]); | ^ buffer.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | Xsj3cClearBuffer(buf) | ^ buffer.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | void Xsj3cClearBuffer(); | ^ buffer.c:835:29: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | Xsj3cFreeSegment(buf->backup[i]); | ^ buffer.c:847:30: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | _Xsj3cExtractChar(buf, buf->input[buf->curseg], tmp, 1); | ^ buffer.c:848:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], j); | ^ buffer.c:851:33: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | Xsj3cFreeSegment(buf->input[buf->curseg]); | ^ buffer.c:875:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | Xsj3cError("Cannot allocate for input buffers"); | ^ buffer.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | Xsj3cFixBuffer(buf) | ^ buffer.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | void Xsj3cFixBuffer(); | ^ buffer.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | Xsj3cFlushBuffer(buf) | ^ buffer.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | void Xsj3cFlushBuffer(); | ^ 55 warnings generated. rm -f candidate.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT candidate.c candidate.c:60:9: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | malloc(buf->input[buf->curseg]->size * sizeof(wchar))) == NULL) { | ^ candidate.c:60:9: note: include the header or explicitly provide a declaration for 'malloc' candidate.c:61:21: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | Xsj3cWarning("Cannot allocate for candidate yomi buffer"); | ^ candidate.c:64:19: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | _Xsj3cwPStomPS(buf, knjbuf, buf->input[buf->curseg]->yomi); | ^ candidate.c:65:66: 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] 65 | num = buf->candnum = serverIF[buf->server].func[FUNC_CANDNUM](knjbuf); | ^ candidate.c:67:21: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ candidate.c:70:9: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | free(knjbuf); | ^ candidate.c:70:9: note: include the header or explicitly provide a declaration for 'free' candidate.c:73:31: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | mbcand = (SJ3_DOUON *)calloc(num, sizeof(SJ3_DOUON)); | ^ candidate.c:73:31: note: include the header or explicitly provide a declaration for 'calloc' candidate.c:75:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | Xsj3cWarning("Cannot allocate memory for candidate list"); | ^ candidate.c:82:61: 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] 82 | = serverIF[buf->server].func[FUNC_CANDIDATE](knjbuf, mbcand); | ^ candidate.c:85:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | Xsj3cWarning("sj3serv is down. reconnect please."); | ^ candidate.c:87:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | Xsj3cWarning("There is no candidate."); | ^ candidate.c:98:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | Xsj3cWarning("Cannot allocate memory for candidate list"); | ^ candidate.c:107:56: warning: passing arguments to '_Xsj3cmPStowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | buf->candidate[i].len = _Xsj3cmPStowOUT(buf, | ^ candidate.c:152:41: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | buf->candidate = (Xsj3cCand)realloc(buf->candidate, | ^ candidate.c:152:41: note: include the header or explicitly provide a declaration for 'realloc' candidate.c:157:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | Xsj3cWarning("Cannot allocate memory for candidate list"); | ^ candidate.c:164:28: warning: passing arguments to '_Xsj3cwPStowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | _Xsj3cwPStowOUT(buf, buf->candidate[i].data, | ^ candidate.c:170:23: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | _Xsj3cWcpy(buf->candidate[i].data, buf->input[buf->curseg]->disp); | ^ candidate.c:176:13: warning: call to undeclared function 'Xsj3cModeConv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | Xsj3cModeConv(buf, knjbuf, padmode[j], | ^ candidate.c:179:38: warning: passing arguments to '_Xsj3cmPStowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | = _Xsj3cmPStowOUT(buf, buf->candidate[i].data, knjbuf); | ^ candidate.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | _Xsj3cCandidateInit(buf) | ^ candidate.c:33:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | Xsj3cCand _Xsj3cCandidateInit(); | ^ candidate.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | Xsj3cGetCandidateNum(buf, cur) | ^ candidate.c:34:29: warning: a function declaration without a prototype is 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 | int Xsj3cGetCandidateNum(); | ^ candidate.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | Xsj3cGetCandidates(buf) | ^ candidate.c:35:29: warning: a function declaration without a prototype is 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 | Xsj3cCand Xsj3cGetCandidates(); | ^ candidate.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | Xsj3cGetCandidate(buf, n, len) | ^ candidate.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | wchar *Xsj3cGetCandidate(); | ^ candidate.c:252:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 252 | register i, same = 1; | ~~~~~~~~ ^ | int candidate.c:252:25: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 252 | register i, same = 1; | ~~~~~~~~ ^ | int candidate.c:271:19: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | _Xsj3cWcpy(buf->input[buf->candseg]->disp, | ^ candidate.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | Xsj3cSetCandidate(buf, sel_candidate, changed, flush) | ^ candidate.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | int Xsj3cSetCandidate(); | ^ candidate.c:298:25: 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] 298 | (&buf->candidate[buf->curcand].dcid)) < 0) { | ^ candidate.c:299:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ candidate.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | Xsj3cEndCandidate(buf, sync) | ^ candidate.c:38:29: warning: a function declaration without a prototype is 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 | void Xsj3cEndCandidate(); | ^ 36 warnings generated. rm -f code.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT code.c code.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | _Xsj3csjis2euc (c) | ^ code.c:33:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | wchar _Xsj3csjis2euc(); | ^ code.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | _Xsj3ceuc2sjis (c) | ^ code.c:34:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | wchar _Xsj3ceuc2sjis(); | ^ code.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | _Xsj3csjis2jis (c) | ^ code.c:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | wchar _Xsj3csjis2jis(); | ^ code.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | _Xsj3cjis2sjis (c) | ^ code.c:36:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | wchar _Xsj3cjis2sjis(); | ^ code.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | _Xsj3cjis2euc (c) | ^ code.c:37:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | wchar _Xsj3cjis2euc(); | ^ code.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | _Xsj3ceuc2jis (c) | ^ code.c:38:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | wchar _Xsj3ceuc2jis(); | ^ 12 warnings generated. rm -f connect.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT connect.c connect.c:64:63: 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] 64 | if ((value = serverIF[buf->server].func[FUNC_OPEN](host, user)) | ^ connect.c:66:32: warning: passing arguments to '_Xsj3cOpenError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | _Xsj3cOpenError(value); | ^ connect.c:71:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | Xsj3cError("can't connect sj3serv by null user"); | ^ connect.c:79:36: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if ((p = getenv("SJ3SERV")) && *p != '\0') { | ^ connect.c:85:36: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | if ((p = getenv("SJ3SERV2")) && *p != '\0') { | ^ connect.c:92:63: 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] 92 | if ((value = serverIF[buf->server].func[FUNC_OPEN](hostname, user)) | ^ connect.c:94:32: warning: passing arguments to '_Xsj3cOpenError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | _Xsj3cOpenError(value); | ^ connect.c:99:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | Xsj3cError("can't connect sj3serv by null user"); | ^ connect.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | Xsj3cOpen(buf, host, user, force, second) | ^ connect.c:33:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | int Xsj3cOpen(); | ^ connect.c:120:15: warning: passing arguments to 'Xsj3cClose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | Xsj3cClose(buf, ON); | ^ connect.c:122:21: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | Xsj3cWarning("Failed to connect first server. try to second server"); | ^ connect.c:124:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | Xsj3cError("Failed to connect seconON server."); | ^ connect.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | Xsj3cConnect(buf, host, host2, user) | ^ connect.c:35:29: warning: a function declaration without a prototype is 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 | void Xsj3cConnect(); | ^ connect.c:143:29: warning: passing arguments to '_Xsj3cCloseError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | _Xsj3cCloseError(value); | ^ connect.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | Xsj3cClose(buf, force) | ^ connect.c:34:29: warning: a function declaration without a prototype is 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 | void Xsj3cClose(); | ^ connect.c:159:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | Xsj3cWarning("sj3_open: server died in connecting"); | ^ connect.c:162:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | Xsj3cWarning("sj3_open: connected to server error"); | ^ connect.c:165:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | Xsj3cWarning("sj3_open: already connected to server"); | ^ connect.c:168:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | Xsj3cWarning("sj3_open: can't open main dictionaries"); | ^ connect.c:171:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | Xsj3cWarning("sj3_open: can't open user dictionaries"); | ^ connect.c:174:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | Xsj3cWarning("sj3_open: can't open files for study"); | ^ connect.c:177:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | Xsj3cWarning("sj3_open: can't make directries for user"); | ^ connect.c:180:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | Xsj3cWarning("sj3_open: can't make user dictionaries"); | ^ connect.c:183:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | Xsj3cWarning("sj3_open: can't make files for study"); | ^ connect.c:186:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | Xsj3cWarning("sj3_open: unknown error"); | ^ connect.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | _Xsj3cOpenError(error) | ^ connect.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static void _Xsj3cOpenError(); | ^ connect.c:201:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | Xsj3cWarning("sj3_close: server died in disconnecting"); | ^ connect.c:204:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | Xsj3cWarning("sj3_close: server internal error"); | ^ connect.c:207:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | Xsj3cWarning("sj3_close: already disconnected to server"); | ^ connect.c:210:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | Xsj3cWarning("sj3_close: main dictionaries are not opend"); | ^ connect.c:213:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | Xsj3cWarning("sj3_close: user dictionaries are not opend"); | ^ connect.c:216:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | Xsj3cWarning("sj3_close: files for study are not opend"); | ^ connect.c:219:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | Xsj3cWarning("sj3_close: can't close main dictionaries"); | ^ connect.c:222:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | Xsj3cWarning("sj3_close: can't close user dictionaries"); | ^ connect.c:225:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | Xsj3cWarning("sj3_close: can't close files for study"); | ^ connect.c:228:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | Xsj3cWarning("sj3_close: unknown error"); | ^ connect.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | _Xsj3cCloseError(error) | ^ connect.c:38:29: warning: a function declaration without a prototype is 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 | static void _Xsj3cCloseError(); | ^ 42 warnings generated. rm -f conv.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT conv.c conv.c:76:52: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | if ((buf->backup = (Xsj3cSeg *)calloc(BUNBUFSIZ, | ^ conv.c:76:52: note: include the header or explicitly provide a declaration for 'calloc' conv.c:78:35: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | Xsj3cError("Cannot allocate for backup buffers"); | ^ conv.c:81:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 81 | if (seg = buf->backup[0]) { | ~~~~^~~~~~~~~~~~~~~~ conv.c:81:25: note: place parentheses around the assignment to silence this warning 81 | if (seg = buf->backup[0]) { | ^ | ( ) conv.c:81:25: note: use '==' to turn this assignment into an equality comparison 81 | if (seg = buf->backup[0]) { | ^ | == conv.c:89:72: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | seg = buf->backup[0] = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:97:59: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:113:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 113 | if (seg = buf->input[buf->segnum]) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:113:25: note: place parentheses around the assignment to silence this warning 113 | if (seg = buf->input[buf->segnum]) { | ^ | ( ) conv.c:113:25: note: use '==' to turn this assignment into an equality comparison 113 | if (seg = buf->input[buf->segnum]) { | ^ | == conv.c:114:38: warning: passing arguments to 'Xsj3cClearSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | Xsj3cClearSegment(buf, buf->input[buf->segnum]); | ^ conv.c:117:59: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:136:39: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | Xsj3cError("Cannot allocate for backup buffers"); | ^ conv.c:139:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 139 | if (seg = buf->backup[0]) { | ~~~~^~~~~~~~~~~~~~~~ conv.c:139:29: note: place parentheses around the assignment to silence this warning 139 | if (seg = buf->backup[0]) { | ^ | ( ) conv.c:139:29: note: use '==' to turn this assignment into an equality comparison 139 | if (seg = buf->backup[0]) { | ^ | == conv.c:148:63: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:153:63: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:158:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 158 | if (seg = buf->input[buf->segnum]) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:158:29: note: place parentheses around the assignment to silence this warning 158 | if (seg = buf->input[buf->segnum]) { | ^ | ( ) conv.c:158:29: note: use '==' to turn this assignment into an equality comparison 158 | if (seg = buf->input[buf->segnum]) { | ^ | == conv.c:159:42: warning: passing arguments to 'Xsj3cClearSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | Xsj3cClearSegment(buf, buf->input[buf->segnum]); | ^ conv.c:162:63: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:169:59: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:176:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 176 | if (seg = buf->input[buf->curseg]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:176:21: note: place parentheses around the assignment to silence this warning 176 | if (seg = buf->input[buf->curseg]) | ^ | ( ) conv.c:176:21: note: use '==' to turn this assignment into an equality comparison 176 | if (seg = buf->input[buf->curseg]) | ^ | == conv.c:177:34: warning: passing arguments to 'Xsj3cClearSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | Xsj3cClearSegment(buf, buf->input[buf->curseg]); | ^ conv.c:180:55: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:196:35: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | Xsj3cError("Cannot allocate for backup buffers"); | ^ conv.c:199:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 199 | if (seg = buf->backup[0]) { | ~~~~^~~~~~~~~~~~~~~~ conv.c:199:25: note: place parentheses around the assignment to silence this warning 199 | if (seg = buf->backup[0]) { | ^ | ( ) conv.c:199:25: note: use '==' to turn this assignment into an equality comparison 199 | if (seg = buf->backup[0]) { | ^ | == conv.c:207:72: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | seg = buf->backup[0] = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:216:59: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:232:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 232 | if (seg = buf->input[buf->segnum]) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:232:25: note: place parentheses around the assignment to silence this warning 232 | if (seg = buf->input[buf->segnum]) { | ^ | ( ) conv.c:232:25: note: use '==' to turn this assignment into an equality comparison 232 | if (seg = buf->input[buf->segnum]) { | ^ | == conv.c:233:38: warning: passing arguments to 'Xsj3cClearSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | Xsj3cClearSegment(buf, buf->input[buf->segnum]); | ^ conv.c:236:59: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:250:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 250 | if (seg = buf->input[buf->segnum]) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:250:21: note: place parentheses around the assignment to silence this warning 250 | if (seg = buf->input[buf->segnum]) { | ^ | ( ) conv.c:250:21: note: use '==' to turn this assignment into an equality comparison 250 | if (seg = buf->input[buf->segnum]) { | ^ | == conv.c:251:34: warning: passing arguments to 'Xsj3cClearSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | Xsj3cClearSegment(buf, buf->input[buf->segnum]); | ^ conv.c:254:55: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ conv.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | Xsj3cGetPreeditArea(buf, len) | ^ conv.c:38:29: warning: a function declaration without a prototype is 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 | unsigned char *Xsj3cGetPreeditArea(); | ^ conv.c:327:37: warning: passing arguments to '_Xsj3cCtrlConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | ret = _Xsj3cCtrlConv(buf, *tmpsp); | ^ conv.c:355:37: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | Xsj3cFreeSegment(buf->backup[i]); | ^ conv.c:380:43: warning: passing arguments to '_Xsj3cUnConvSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | ret |= _Xsj3cUnConvSeg(buf, ONE, buf->editcurlast); | ^ conv.c:381:36: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ conv.c:422:28: warning: passing arguments to '_Xsj3cStrConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | ret = _Xsj3cStrConv(buf, seg, ks, n, ret); | ^ conv.c:423:9: warning: call to undeclared function '_Xsj3cFlushDictMsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 423 | _Xsj3cFlushDictMsg(buf); | ^ conv.c:428:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | Xsj3cEndCandidate(buf, ON); | ^ conv.c:432:33: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | Xsj3cFreeSegment(buf->backup[i]); | ^ conv.c:465:39: warning: passing arguments to '_Xsj3cUnConvSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | ret |= _Xsj3cUnConvSeg(buf, ONE, buf->editcurlast); | ^ conv.c:466:32: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | _Xsj3cStoreYomi(buf, seg, 0); | ^ conv.c:480:37: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | Xsj3cFreeSegment(buf->backup[i]); | ^ conv.c:520:33: warning: passing arguments to '_Xsj3cThrough' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | ret |= _Xsj3cThrough(buf, seg, n); | ^ conv.c:527:22: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | Xsj3cWarning ("Unknown conversion mode"); | ^ conv.c:532:24: warning: passing arguments to '_Xsj3cStrConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | ret = _Xsj3cStrConv(buf, seg, ks, n, ret); | ^ conv.c:536:33: 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] 536 | ret |= ((*(keytp->func))(buf)); | ^ conv.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | Xsj3cKeyConv(buf, n, mod, ks) | ^ conv.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | Xsj3cEvent Xsj3cKeyConv(); | ^ conv.c:565:28: warning: passing arguments to '_Xsj3cDirect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | ret |= _Xsj3cDirect(buf, seg, n); | ^ conv.c:570:27: warning: passing arguments to 'Xsj3cResizeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | Xsj3cResizeSegment(seg, seg->size + KANABUFSIZ); | ^ conv.c:601:28: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 601 | strcpy(tmp1, seg->sp); | ^~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:601:34: 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] 601 | strcpy(tmp1, seg->sp); | ^~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:603:40: warning: passing arguments to '_Xsj3cHAlphaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | _Xsj3cHAlphaToHKata(buf, tmp1, seg->sp); | ^ conv.c:608:57: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 608 | _Xsj3cInsertChar(buf, seg, tmp1, strlen(tmp1)); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ conv.c:608:33: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | _Xsj3cInsertChar(buf, seg, tmp1, strlen(tmp1)); | ^ conv.c:614:28: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 614 | strcpy(tmp2, seg->sp); | ^~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:614:34: 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] 614 | strcpy(tmp2, seg->sp); | ^~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:615:40: warning: passing arguments to '_Xsj3cHAlphaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | _Xsj3cHAlphaToHKata(buf, seg->sp, tmp2); | ^ conv.c:617:49: warning: passing arguments to '_Xsj3cKanaConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | if ((seg->value = _Xsj3cKanaConv(buf, seg, seg->str, | ^ conv.c:624:42: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | _Xsj3cExtractChar(buf, seg, tmp2, seg->n_kana); | ^ conv.c:625:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 625 | strcpy(seg->oldstr, seg->str); | ^~~~~~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:625:45: 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] 625 | strcpy(seg->oldstr, seg->str); | ^~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:639:42: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | _Xsj3cExtractChar(buf, seg, tmp2, seg->n_kana); | ^ conv.c:651:42: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | _Xsj3cExtractChar(buf, seg, tmp2, seg->n_kana); | ^ conv.c:657:37: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | len = _Xsj3cmPStowPS(buf, wcs, tmp1); | ^ conv.c:658:34: warning: passing arguments to '_Xsj3cInsertWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | _Xsj3cInsertWchar(seg, wcs, len); | ^ conv.c:683:45: warning: passing arguments to '_Xsj3cRomaConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | if ((seg->value = _Xsj3cRomaConv(buf->rktable, | ^ conv.c:691:38: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | _Xsj3cExtractChar(buf, seg, tmp1, seg->n_roma); | ^ conv.c:692:41: warning: passing arguments to '_Xsj3cZAlphaToHAlpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | _Xsj3cZAlphaToHAlpha(buf, seg->oldstr, tmp1); | ^ conv.c:694:38: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | _Xsj3cExtractChar(buf, seg, seg->oldstr, seg->n_roma); | ^ conv.c:701:49: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | seg->oldlen = _Xsj3cmPStowPS(buf, wcs, kanabuf); | ^ conv.c:706:38: warning: passing arguments to '_Xsj3cHiraToZKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | _Xsj3cHiraToZKata(buf, tmp1, kanabuf); | ^ conv.c:707:49: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | seg->oldlen = _Xsj3cmPStowPS(buf, wcs, tmp1); | ^ conv.c:712:39: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | _Xsj3cZKanaToHKata(buf, tmp1, kanabuf); | ^ conv.c:713:49: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | seg->oldlen = _Xsj3cmPStowPS(buf, wcs, tmp1); | ^ conv.c:715:34: warning: passing arguments to '_Xsj3cInsertWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | _Xsj3cInsertWchar(seg, wcs, seg->oldlen); | ^ conv.c:722:65: 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] 722 | _Xsj3cInsertChar(buf, seg, seg->str, strlen(seg->str)); | ^~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ conv.c:722:37: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | _Xsj3cInsertChar(buf, seg, seg->str, strlen(seg->str)); | ^ conv.c:737:33: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | _Xsj3cInsertChar(buf, seg, seg->sp, n); | ^ conv.c:751:49: warning: passing arguments to '_Xsj3cRomaConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | if ((seg->value = _Xsj3cRomaConv(buf->rktable, seg->sp, | ^ conv.c:760:53: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | seg->oldlen = _Xsj3cmPStowPS(buf, wcs, kanabuf); | ^ conv.c:765:42: warning: passing arguments to '_Xsj3cHiraToZKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | _Xsj3cHiraToZKata(buf, tmp1, kanabuf); | ^ conv.c:766:53: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | seg->oldlen = _Xsj3cmPStowPS(buf, wcs, tmp1); | ^ conv.c:771:43: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | _Xsj3cZKanaToHKata(buf, tmp1, kanabuf); | ^ conv.c:772:53: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | seg->oldlen = _Xsj3cmPStowPS(buf, wcs, tmp1); | ^ conv.c:774:38: warning: passing arguments to '_Xsj3cInsertWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | _Xsj3cInsertWchar(seg, wcs, seg->oldlen); | ^ conv.c:781:69: 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] 781 | _Xsj3cInsertChar(buf, seg, seg->str, strlen(seg->str)); | ^~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ conv.c:781:41: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | _Xsj3cInsertChar(buf, seg, seg->str, strlen(seg->str)); | ^ conv.c:797:37: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | _Xsj3cInsertChar(buf, seg, seg->sp, n); | ^ conv.c:811:37: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | _Xsj3cInsertChar(buf, seg, seg->sp, n); | ^ conv.c:829:34: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | _Xsj3cExtractChar(buf, seg, tmp1, change_roma); | ^ conv.c:830:36: warning: passing arguments to '_Xsj3cHAlphaToZKana' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | _Xsj3cHAlphaToZKana(buf, tmp2, tmp1); | ^ conv.c:831:33: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | _Xsj3cInsertChar(buf, seg, tmp2, change_roma); | ^ conv.c:846:25: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | _Xsj3cInsertChar(buf, seg, seg->sp, n); | ^ conv.c:857:29: warning: passing arguments to '_Xsj3cHAlphaToZAlpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | _Xsj3cHAlphaToZAlpha(buf, tmp1, seg->sp); | ^ conv.c:860:25: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | _Xsj3cInsertChar(buf, seg, tmp1, n); | ^ conv.c:880:41: warning: passing arguments to '_Xsj3cCodeConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | if ((seg->value = _Xsj3cCodeConv(buf, seg->str, | ^ conv.c:887:34: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | _Xsj3cExtractChar(buf, seg, tmp1, seg->n_roma); | ^ conv.c:888:37: warning: passing arguments to '_Xsj3cZAlphaToHAlpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | _Xsj3cZAlphaToHAlpha(buf, seg->oldstr, tmp1); | ^ conv.c:890:34: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | _Xsj3cExtractChar(buf, seg, seg->oldstr, seg->n_roma); | ^ conv.c:893:35: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 893 | seg->oldlen = (strlen(kanabuf) + 1)/ sizeof(wchar); | ^~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ conv.c:894:29: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | _Xsj3cInsertChar(buf, seg, kanabuf, seg->oldlen); | ^ conv.c:905:36: warning: passing arguments to '_Xsj3cHAlphaToZKana' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | _Xsj3cHAlphaToZKana(buf, tmp1, seg->sp); | ^ conv.c:906:33: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | _Xsj3cInsertChar(buf, seg, tmp1, n); | ^ conv.c:908:33: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | _Xsj3cInsertChar(buf, seg, seg->sp, n); | ^ conv.c:918:30: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | _Xsj3cExtractChar(buf, seg, tmp1, seg->n_roma); | ^ conv.c:923:33: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | Xsj3cFreeSegment(seg); | ^ conv.c:939:21: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | Xsj3cWarning("Illegal current mode"); | ^ conv.c:944:20: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | _Xsj3cStoreYomi(buf, seg, change_pos); | ^ conv.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | _Xsj3cStrConv(buf, seg, ks, n, ret) | ^ conv.c:44:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static Xsj3cEvent _Xsj3cStrConv(); | ^ conv.c:964:13: warning: call to undeclared function '_Xsj3cHankakuToHira'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 964 | _Xsj3cHankakuToHira(buf, zkana, hkana); | ^ conv.c:966:30: warning: passing arguments to '_Xsj3cHKataToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | _Xsj3cHKataToHira(buf, zkana, hkana); | ^ conv.c:969:13: warning: call to undeclared function '_Xsj3cHankakuToZKata'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 969 | _Xsj3cHankakuToZKata(buf, zkana, hkana); | ^ conv.c:971:31: warning: passing arguments to '_Xsj3cHKataToZKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | _Xsj3cHKataToZKata(buf, zkana, hkana); | ^ conv.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | _Xsj3cKanaConv(buf, seg, hkana, zkana, mode) | ^ conv.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | int _Xsj3cKanaConv(); | ^ conv.c:1015:23: 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] 1015 | if ((len = strlen(code)) < 4 && (mode == MODE_EUC || mode == MODE_KUTEN)) | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ conv.c:1036:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1036 | if (conv = CodeConvFunc[JP_SJIS][serverIF[buf->server].lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:1036:22: note: place parentheses around the assignment to silence this warning 1036 | if (conv = CodeConvFunc[JP_SJIS][serverIF[buf->server].lang]) { | ^ | ( ) conv.c:1036:22: note: use '==' to turn this assignment into an equality comparison 1036 | if (conv = CodeConvFunc[JP_SJIS][serverIF[buf->server].lang]) { | ^ | == conv.c:1037:25: 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] 1037 | k = conv(k); | ^ conv.c:1058:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1058 | if (conv = CodeConvFunc[JP_EUC][serverIF[buf->server].lang]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:1058:22: note: place parentheses around the assignment to silence this warning 1058 | if (conv = CodeConvFunc[JP_EUC][serverIF[buf->server].lang]) | ^ | ( ) conv.c:1058:22: note: use '==' to turn this assignment into an equality comparison 1058 | if (conv = CodeConvFunc[JP_EUC][serverIF[buf->server].lang]) | ^ | == conv.c:1059:25: 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] 1059 | k = conv(k); | ^ conv.c:1072:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1072 | if (conv = CodeConvFunc[JP_JIS8][serverIF[buf->server].lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conv.c:1072:22: note: place parentheses around the assignment to silence this warning 1072 | if (conv = CodeConvFunc[JP_JIS8][serverIF[buf->server].lang]) { | ^ | ( ) conv.c:1072:22: note: use '==' to turn this assignment into an equality comparison 1072 | if (conv = CodeConvFunc[JP_JIS8][serverIF[buf->server].lang]) { | ^ | == conv.c:1073:25: 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] 1073 | k = conv(k); | ^ conv.c:1097:17: 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] 1097 | k = conv(k + 0x2020); | ^ conv.c:1108:21: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | Xsj3cWarning("Illegal mode"); | ^ conv.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | _Xsj3cCodeConv(buf, code, kanji, mode) | ^ conv.c:48:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cCodeConv(); | ^ conv.c:1147:32: 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] 1147 | if (!roma || (len = strlen(roma)) == 0) | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ conv.c:1171:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1171 | strcpy(yomi, rktp->yomi); | ^~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:1171:34: 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] 1171 | strcpy(yomi, rktp->yomi); | ^~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:1172:28: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1172 | strcpy(tmp, p); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:1172:33: 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] 1172 | strcpy(tmp, p); | ^ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:1198:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1198 | strcpy(yomi, rktp->yomi); | ^~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:1198:34: 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] 1198 | strcpy(yomi, rktp->yomi); | ^~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:1199:28: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1199 | strcpy(tmp, rktp->str); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:1199:33: 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] 1199 | strcpy(tmp, rktp->str); | ^~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:1207:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1207 | strcpy(roma, tmp); | ^~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:1207:22: warning: passing 'unsigned char[16]' 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] 1207 | strcpy(roma, tmp); | ^~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ conv.c:1136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | _Xsj3cRomaConv(rktable, roma, yomi) | ^ conv.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | int _Xsj3cRomaConv(); | ^ conv.c:1293:25: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | _Xsj3cInsertChar(buf, buf->input[buf->curseg], ch, 1); | ^ conv.c:1294:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1294 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], change_pos); | ^ conv.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | _Xsj3cCtrlConv(buf, code) | ^ conv.c:45:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static Xsj3cEvent _Xsj3cCtrlConv(); | ^ conv.c:1330:21: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | _Xsj3cInsertChar(buf, seg, seg->str, n); | ^ conv.c:1331:20: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1331 | _Xsj3cStoreYomi(buf, seg, change_pos); | ^ conv.c:1322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | _Xsj3cThrough(buf, seg, n) | ^ conv.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static Xsj3cEvent _Xsj3cThrough(); | ^ conv.c:1351:21: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | _Xsj3cInsertChar(buf, seg, seg->str, n); | ^ conv.c:1352:20: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | _Xsj3cStoreYomi(buf, seg, change_pos); | ^ conv.c:1342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | _Xsj3cDirect(buf, seg, n) | ^ conv.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static Xsj3cEvent _Xsj3cDirect(); | ^ 153 warnings generated. rm -f dict.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT dict.c dict.c:195:32: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | if ((dict = (Xsj3cDictData)malloc(sizeof(Xsj3cDictDataRec))) == NULL) | ^ dict.c:195:32: note: include the header or explicitly provide a declaration for 'malloc' dict.c:196:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | Xsj3cError("Failed to allocate data for DictMode."); | ^ dict.c:197:50: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | if ((dict->seg = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) | ^ dict.c:198:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | Xsj3cError("Failed to allocate segment for dictionary."); | ^ dict.c:200:13: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | calloc(DICT_STR_NUM, sizeof(Xsj3cDictMsgRec))) == NULL) | ^ dict.c:200:13: note: include the header or explicitly provide a declaration for 'calloc' dict.c:201:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | Xsj3cError("Failed to allocate message buffer for dictionary."); | ^ dict.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | _Xsj3cCreateDictData(buf, mode) | ^ dict.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | Xsj3cDictData _Xsj3cCreateDictData(); | ^ dict.c:218:21: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | Xsj3cFreeSegment(buf->dict->seg); | ^ dict.c:220:5: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | free (buf->dict->msg); | ^ dict.c:220:5: note: include the header or explicitly provide a declaration for 'free' dict.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | _Xsj3cFreeDictData(buf) | ^ dict.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | void _Xsj3cFreeDictData(); | ^ dict.c:248:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | Xsj3cError("Failed to allocate hinsi data"); | ^ dict.c:254:62: warning: passing arguments to '_Xsj3cmPStowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | dictmsglist[buf->server][i].len = _Xsj3cmPStowOUT(buf, data, | ^ dict.c:257:35: warning: passing arguments to '_Xsj3cStoreWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | = _Xsj3cStoreWchar(data, dictmsglist[buf->server][i].len + 1); | ^ dict.c:260:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | Xsj3cError("Failed to allocate hinsi data"); | ^ dict.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | _Xsj3cDictMsgInit(buf) | ^ dict.c:53:29: warning: a function declaration without a prototype is 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 | static Xsj3cDictMsg _Xsj3cDictMsgInit(); | ^ dict.c:296:16: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion] 296 | return (NULL); | ^~~~~~ dict.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | Xsj3cGetDictMsgNum(buf) | ^ dict.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | int Xsj3cGetDictMsgNum(); | ^ dict.c:315:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | _Xsj3cSetDictMsg(buf, DICT_STR_YOMI); | ^ dict.c:317:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | _Xsj3cSetDictMsg(buf, DICT_STR_MODE); | ^ dict.c:318:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG1); | ^ dict.c:323:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG1); | ^ dict.c:324:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG2); | ^ dict.c:325:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | _Xsj3cSetDictMsg(buf, DICT_STR_HINSI); | ^ dict.c:326:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG3); | ^ dict.c:328:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG1); | ^ dict.c:329:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG2); | ^ dict.c:335:33: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG2); | ^ dict.c:338:37: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG1); | ^ dict.c:339:37: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG3); | ^ dict.c:342:41: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG2); | ^ dict.c:344:41: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG1); | ^ dict.c:345:41: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG2); | ^ dict.c:346:41: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | _Xsj3cSetDictMsg(buf, DICT_STR_HINSI); | ^ dict.c:347:41: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG3); | ^ dict.c:352:29: warning: passing arguments to '_Xsj3cSetDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | _Xsj3cSetDictMsg(buf, DICT_STR_MSG1); | ^ dict.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | _Xsj3cFlushDictMsg(buf) | ^ dict.c:35:29: warning: a function declaration without a prototype is 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 | void _Xsj3cFlushDictMsg(); | ^ dict.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | Xsj3cGetDictMsgs(buf) | ^ dict.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | Xsj3cDictMsg Xsj3cGetDictMsgs(); | ^ dict.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | Xsj3cGetDictMsg(buf, n, len, attr) | ^ dict.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | wchar *Xsj3cGetDictMsg(); | ^ dict.c:454:71: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | Xsj3cError("Cannot find message for now status %s.",_Xsj3cItoa(value)); | ^ dict.c:454:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | Xsj3cError("Cannot find message for now status %s.",_Xsj3cItoa(value)); | ^ dict.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | _Xsj3cSetDictMsg(buf, n) | ^ dict.c:54:29: warning: a function declaration without a prototype is 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 | static void _Xsj3cSetDictMsg(); | ^ dict.c:469:19: warning: passing arguments to '_Xsj3cWcat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | _Xsj3cWcat(disp, buf->input[i]->disp); | ^ dict.c:472:20: warning: passing arguments to '_Xsj3cwOUTtomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | _Xsj3cwOUTtomPS(buf, kanji, disp); | ^ dict.c:474:24: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | _Xsj3cClearDcid(buf); | ^ dict.c:475:19: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | _Xsj3cwPStomPS(buf, kana, buf->dict->seg->yomi); | ^ dict.c:481:60: 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] 481 | = serverIF[buf->server].func[FUNC_REGISTER](kana, kanji, | ^ dict.c:485:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ dict.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | Xsj3cDictRegister(buf) | ^ dict.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | void Xsj3cDictRegister(); | ^ dict.c:504:19: warning: passing arguments to '_Xsj3cWcat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | _Xsj3cWcat(disp, buf->input[i]->disp); | ^ dict.c:507:20: warning: passing arguments to '_Xsj3cwOUTtomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | _Xsj3cwOUTtomPS(buf, kanji, disp); | ^ dict.c:509:24: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | _Xsj3cClearDcid(buf); | ^ dict.c:510:19: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | _Xsj3cwPStomPS(buf, kana, buf->dict->seg->yomi); | ^ dict.c:517:61: 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] 517 | = serverIF[buf->server].func[FUNC_CLEAR](kana, kanji, | ^ dict.c:524:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ dict.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | Xsj3cDictClear(buf) | ^ dict.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | void Xsj3cDictClear(); | ^ dict.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | Xsj3cEndDict(buf) | ^ dict.c:44:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | void Xsj3cEndDict(); | ^ dict.c:580:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | Xsj3cError("Failed to allocate hinsi data"); | ^ dict.c:587:60: warning: passing arguments to '_Xsj3cmPStowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | hinsilist[buf->server][i].len = _Xsj3cmPStowOUT(buf, data, | ^ dict.c:590:35: warning: passing arguments to '_Xsj3cStoreWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | = _Xsj3cStoreWchar(data, hinsilist[buf->server][i].len + 1); | ^ dict.c:592:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | Xsj3cError("Failed to allocate hinsi data"); | ^ dict.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | _Xsj3cHinsiInit(buf) | ^ dict.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | Xsj3cHinsi _Xsj3cHinsiInit(); | ^ dict.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | Xsj3cGetHinsiNum(buf, cur) | ^ dict.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | int Xsj3cGetHinsiNum(); | ^ dict.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | Xsj3cGetHinsis(buf) | ^ dict.c:48:29: warning: a function declaration without a prototype is 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 | Xsj3cHinsi Xsj3cGetHinsis(); | ^ dict.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | Xsj3cGetHinsi(buf, n, len) | ^ dict.c:49:29: warning: a function declaration without a prototype is 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 | wchar *Xsj3cGetHinsi(); | ^ dict.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | Xsj3cSetHinsi(buf, sel_hinsi, changed, flush) | ^ dict.c:50:29: warning: a function declaration without a prototype is 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 | int Xsj3cSetHinsi(); | ^ dict.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | Xsj3cEndHinsi(buf) | ^ dict.c:51:29: warning: a function declaration without a prototype is 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 | void Xsj3cEndHinsi(); | ^ 83 warnings generated. rm -f func.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT func.c func.c:169:24: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | ret |= _Xsj3cModeChange(buf, MODE_HIRA, ON); | ^ func.c:176:45: warning: passing arguments to 'Xsj3cGetCandidateNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | Xsj3cGetCandidateNum(buf, &cur); | ^ func.c:180:46: warning: passing arguments to '_Xsj3cNext' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | return(_Xsj3cNext(buf)); | ^ func.c:199:28: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | ret |= _Xsj3cModeChange(buf, MODE_HIRA, ON); | ^ func.c:211:28: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | ret |= _Xsj3cModeChange(buf, | ^ func.c:245:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | Xsj3cWarning("Too long or short segment[%d].", i); | ^ func.c:255:27: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | _Xsj3cwPStomPS(buf, kanabuf, buf->input[i]->yomi); | ^ func.c:257:21: 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] 257 | (kanabuf, bun, knjbuf, KANJIBUFSIZ); | ^ func.c:260:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ func.c:262:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | Xsj3cWarning("Too long segment[%d]. Could not convert.", i); | ^ func.c:267:29: warning: passing arguments to '_Xsj3cStoreKanji' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | _Xsj3cStoreKanji(buf, bun, i, value, OFF); | ^ func.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | _Xsj3cConvert(buf) | ^ func.c:42:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | Xsj3cEvent _Xsj3cConvert(); | ^ func.c:345:27: warning: passing arguments to '_Xsj3cUnConvSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | ret |= _Xsj3cUnConvSeg(buf, buf->muhenseg, buf->muhencurlast); | ^ func.c:346:20: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | _Xsj3cUnConvert(buf) | ^ func.c:43:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | Xsj3cEvent _Xsj3cUnConvert(); | ^ func.c:365:26: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:398:19: warning: passing arguments to '_Xsj3cWcat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | _Xsj3cWcat(buf->input[begin]->yomi, buf->input[i]->yomi); | ^ func.c:403:9: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 403 | Xsj3cFreeSegment(buf->input[i]); | ^ func.c:406:5: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 406 | Xsj3cFreeSegment(buf->input[buf->segnum]); | ^ func.c:413:28: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | _Xsj3cClearDcid(buf); | ^ func.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | _Xsj3cUnConvSeg(buf, muhenseg, muhencurlast) | ^ func.c:112:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | Xsj3cEvent _Xsj3cUnConvSeg(); | ^ func.c:479:39: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | _Xsj3cFlushDictMsg(buf); | ^ func.c:486:43: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | _Xsj3cFlushDictMsg(buf); | ^ func.c:494:43: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | _Xsj3cFlushDictMsg(buf); | ^ func.c:502:35: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | _Xsj3cFlushDictMsg(buf); | ^ func.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | _Xsj3cFix(buf) | ^ func.c:44:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | Xsj3cEvent _Xsj3cFix(); | ^ func.c:579:25: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | _Xsj3cInsertChar(buf, buf->input[buf->curseg], ch, 1); | ^ func.c:580:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], change_pos); | ^ func.c:604:39: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | _Xsj3cFlushDictMsg(buf); | ^ func.c:611:43: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | _Xsj3cFlushDictMsg(buf); | ^ func.c:619:43: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | _Xsj3cFlushDictMsg(buf); | ^ func.c:627:35: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | _Xsj3cFlushDictMsg(buf); | ^ func.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | _Xsj3cReturn(buf) | ^ func.c:45:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | Xsj3cEvent _Xsj3cReturn(); | ^ func.c:716:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 716 | return (_Xsj3cModeChange(buf, MODE_HALPHA, conv)); | ^ func.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | _Xsj3cModeHAlpha(buf) | ^ func.c:47:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | Xsj3cEvent _Xsj3cModeHAlpha(); | ^ func.c:754:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 754 | return (_Xsj3cModeChange(buf, MODE_ZALPHA, conv)); | ^ func.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | _Xsj3cModeZAlpha(buf) | ^ func.c:48:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | Xsj3cEvent _Xsj3cModeZAlpha(); | ^ func.c:792:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 792 | return (_Xsj3cModeChange(buf, MODE_HKATA, conv)); | ^ func.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | _Xsj3cModeHKata(buf) | ^ func.c:49:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | Xsj3cEvent _Xsj3cModeHKata(); | ^ func.c:830:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 830 | return (_Xsj3cModeChange(buf, MODE_ZKATA, conv)); | ^ func.c:807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | _Xsj3cModeZKata(buf) | ^ func.c:50:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | Xsj3cEvent _Xsj3cModeZKata(); | ^ func.c:868:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 868 | return (_Xsj3cModeChange(buf, MODE_HIRA, conv)); | ^ func.c:845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | _Xsj3cModeHira(buf) | ^ func.c:51:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | Xsj3cEvent _Xsj3cModeHira(); | ^ func.c:882:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 882 | return (_Xsj3cModeChange(buf, MODE_HALPHA, ON)); | ^ func.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | _Xsj3cToHAlpha(buf) | ^ func.c:52:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | Xsj3cEvent _Xsj3cToHAlpha(); | ^ func.c:896:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 896 | return (_Xsj3cModeChange(buf, MODE_ZALPHA, ON)); | ^ func.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | _Xsj3cToZAlpha(buf) | ^ func.c:53:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | Xsj3cEvent _Xsj3cToZAlpha(); | ^ func.c:910:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 910 | return (_Xsj3cModeChange(buf, MODE_HKATA, ON)); | ^ func.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | _Xsj3cToHKata(buf) | ^ func.c:54:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | Xsj3cEvent _Xsj3cToHKata(); | ^ func.c:924:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 924 | return (_Xsj3cModeChange(buf, MODE_ZKATA, ON)); | ^ func.c:921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | _Xsj3cToZKata(buf) | ^ func.c:55:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | Xsj3cEvent _Xsj3cToZKata(); | ^ func.c:939:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 939 | return (_Xsj3cModeChange(buf, MODE_HIRA, ON)); | ^ func.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | _Xsj3cToHira(buf) | ^ func.c:56:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | Xsj3cEvent _Xsj3cToHira(); | ^ func.c:953:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 953 | return (_Xsj3cModeChange(buf, MODE_ZENKAKU, ON)); | ^ func.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | _Xsj3cZenkaku(buf) | ^ func.c:57:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | Xsj3cEvent _Xsj3cZenkaku(); | ^ func.c:967:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 967 | return (_Xsj3cModeChange(buf, MODE_HANKAKU, ON)); | ^ func.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | _Xsj3cHankaku(buf) | ^ func.c:58:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | Xsj3cEvent _Xsj3cHankaku(); | ^ func.c:981:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 981 | return (_Xsj3cModeChange(buf, MODE_UPPER, ON)); | ^ func.c:978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | _Xsj3cToUpper(buf) | ^ func.c:59:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | Xsj3cEvent _Xsj3cToUpper(); | ^ func.c:995:13: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 995 | return (_Xsj3cModeChange(buf, MODE_LOWER, ON)); | ^ func.c:992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | _Xsj3cToLower(buf) | ^ func.c:60:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | Xsj3cEvent _Xsj3cToLower(); | ^ func.c:1014:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1014 | return (_Xsj3cModeClear(buf)); | ^ func.c:1017:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1017 | return (_Xsj3cModeClear(buf)); | ^ func.c:1007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | _Xsj3cModeSJIS(buf) | ^ func.c:61:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | Xsj3cEvent _Xsj3cModeSJIS(); | ^ func.c:1036:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1036 | return (_Xsj3cModeClear(buf)); | ^ func.c:1039:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1039 | return (_Xsj3cModeClear(buf)); | ^ func.c:1029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | _Xsj3cModeEUC(buf) | ^ func.c:62:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | Xsj3cEvent _Xsj3cModeEUC(); | ^ func.c:1058:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1058 | return (_Xsj3cModeClear(buf)); | ^ func.c:1061:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1061 | return (_Xsj3cModeClear(buf)); | ^ func.c:1051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | _Xsj3cModeJIS(buf) | ^ func.c:63:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | Xsj3cEvent _Xsj3cModeJIS(); | ^ func.c:1080:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1080 | return (_Xsj3cModeClear(buf)); | ^ func.c:1083:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1083 | return (_Xsj3cModeClear(buf)); | ^ func.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | _Xsj3cModeKuten(buf) | ^ func.c:64:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | Xsj3cEvent _Xsj3cModeKuten(); | ^ func.c:1110:17: warning: call to undeclared function '_Xsj3cModeClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1110 | return (_Xsj3cModeClear(buf)); | ^ func.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | _Xsj3cCodeRollDown(buf) | ^ func.c:65:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | Xsj3cEvent _Xsj3cCodeRollDown(); | ^ func.c:1153:31: warning: passing arguments to '_Xsj3cNextMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | return (_Xsj3cNextMode(buf)); | ^ func.c:1165:16: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1165 | return(_Xsj3cModeChange(buf, postmode, OFF)); | ^ func.c:1127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | _Xsj3cModeRollDown(buf) | ^ func.c:66:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | Xsj3cEvent _Xsj3cModeRollDown(); | ^ func.c:1206:31: warning: passing arguments to '_Xsj3cPrevMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | return (_Xsj3cPrevMode(buf)); | ^ func.c:1218:16: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1218 | return(_Xsj3cModeChange(buf, postmode, OFF)); | ^ func.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | _Xsj3cModeRollUp(buf) | ^ func.c:67:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | Xsj3cEvent _Xsj3cModeRollUp(); | ^ func.c:1257:34: warning: passing arguments to '_Xsj3cCheckMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | premode = _Xsj3cCheckMode(buf, buf->input[buf->curseg]); | ^ func.c:1268:11: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1268 | ret = _Xsj3cModeChange(buf, postmode, ON); | ^ func.c:1230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | _Xsj3cNextMode(buf) | ^ func.c:68:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | Xsj3cEvent _Xsj3cNextMode(); | ^ func.c:1311:34: warning: passing arguments to '_Xsj3cCheckMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | premode = _Xsj3cCheckMode(buf, buf->input[buf->curseg]); | ^ func.c:1322:11: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1322 | ret = _Xsj3cModeChange(buf, postmode, ON); | ^ func.c:1284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1284 | _Xsj3cPrevMode(buf) | ^ func.c:69:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | Xsj3cEvent _Xsj3cPrevMode(); | ^ func.c:1358:41: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1358 | if ((mbs = (unsigned char *)malloc(seg->size * 2 * sizeof(wchar))) | ^ func.c:1358:41: note: include the header or explicitly provide a declaration for 'malloc' func.c:1360:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | Xsj3cError("Cannot allocate for mode conversion buffer"); | ^ func.c:1365:27: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1365 | ret = _Xsj3cModeChange(buf, MODE_HIRA, ON); | ^ func.c:1367:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1367 | if (conv = | ~~~~~^ 1368 | CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ func.c:1367:30: note: place parentheses around the assignment to silence this warning 1367 | if (conv = | ^ | ( 1368 | CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | | ) func.c:1367:30: note: use '==' to turn this assignment into an equality comparison 1367 | if (conv = | ^ | == func.c:1374:42: 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] 1374 | w2 = conv(w1); | ^ func.c:1387:31: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1387 | ret = _Xsj3cModeChange(buf, MODE_HIRA, ON); | ^ func.c:1394:23: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1394 | ret = _Xsj3cModeChange(buf, buf->togglemode, ON); | ^ func.c:1400:13: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1400 | free(mbs); | ^ func.c:1400:13: note: include the header or explicitly provide a declaration for 'free' func.c:1404:25: warning: call to undeclared function '_Xsj3cModeChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1404 | return (_Xsj3cModeChange(buf, buf->muhenmode, OFF)); | ^ func.c:1346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | _Xsj3cModeToggle(buf) | ^ func.c:70:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | Xsj3cEvent _Xsj3cModeToggle(); | ^ func.c:1447:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | Xsj3cEndCandidate(buf, ON); | ^ func.c:1471:32: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1471 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:1438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | _Xsj3cForward(buf) | ^ func.c:72:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | Xsj3cEvent _Xsj3cForward(); | ^ func.c:1545:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | Xsj3cEndCandidate(buf, ON); | ^ func.c:1567:36: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1567 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | _Xsj3cBackward(buf) | ^ func.c:73:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | Xsj3cEvent _Xsj3cBackward(); | ^ func.c:1638:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1638 | Xsj3cEndCandidate(buf, ON); | ^ func.c:1631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | _Xsj3cTop(buf) | ^ func.c:74:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | Xsj3cEvent _Xsj3cTop(); | ^ func.c:1702:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1702 | Xsj3cEndCandidate(buf, ON); | ^ func.c:1695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1695 | _Xsj3cEnd(buf) | ^ func.c:75:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | Xsj3cEvent _Xsj3cEnd(); | ^ func.c:1751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1751 | _Xsj3cUp(buf) | ^ func.c:76:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | Xsj3cEvent _Xsj3cUp(); | ^ func.c:1775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1775 | _Xsj3cDown(buf) | ^ func.c:77:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | Xsj3cEvent _Xsj3cDown(); | ^ func.c:1807:54: warning: passing arguments to '_Xsj3cCandidateInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1807 | if ((buf->candidate = _Xsj3cCandidateInit(buf)) == NULL) | ^ func.c:1809:26: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1809 | Xsj3cSetCandidate(buf, 0, &changed, &flush); | ^ func.c:1800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1800 | _Xsj3cFirst(buf) | ^ func.c:78:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | Xsj3cEvent _Xsj3cFirst(); | ^ func.c:1841:54: warning: passing arguments to '_Xsj3cCandidateInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1841 | if ((buf->candidate = _Xsj3cCandidateInit(buf)) == NULL) | ^ func.c:1843:26: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1843 | Xsj3cSetCandidate(buf, buf->candnum - 1, &changed, &flush); | ^ func.c:1834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1834 | _Xsj3cLast(buf) | ^ func.c:79:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | Xsj3cEvent _Xsj3cLast(); | ^ func.c:1866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1866 | _Xsj3cNextPage(buf) | ^ func.c:80:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | Xsj3cEvent _Xsj3cNextPage(); | ^ func.c:1889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1889 | _Xsj3cPrevPage(buf) | ^ func.c:81:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | Xsj3cEvent _Xsj3cPrevPage(); | ^ func.c:1921:54: warning: passing arguments to '_Xsj3cCandidateInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1921 | if ((buf->candidate = _Xsj3cCandidateInit(buf)) == NULL) | ^ func.c:1924:30: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1924 | Xsj3cSetCandidate(buf, 0, &changed, &flush); | ^ func.c:1926:30: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1926 | Xsj3cSetCandidate(buf, buf->curcand + 1, &changed, &flush); | ^ func.c:1914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | _Xsj3cNext(buf) | ^ func.c:82:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | Xsj3cEvent _Xsj3cNext(); | ^ func.c:1958:54: warning: passing arguments to '_Xsj3cCandidateInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1958 | if ((buf->candidate = _Xsj3cCandidateInit(buf)) == NULL) | ^ func.c:1961:30: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1961 | Xsj3cSetCandidate(buf, buf->candnum - 1, &changed, &flush); | ^ func.c:1963:30: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1963 | Xsj3cSetCandidate(buf, buf->curcand - 1, &changed, &flush); | ^ func.c:1951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1951 | _Xsj3cPrev(buf) | ^ func.c:83:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | Xsj3cEvent _Xsj3cPrev(); | ^ func.c:2011:31: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2011 | _Xsj3cFlushDictMsg(buf); | ^ func.c:1988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | _Xsj3cSelect(buf) | ^ func.c:84:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | Xsj3cEvent _Xsj3cSelect(); | ^ func.c:2052:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2052 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:2055:28: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2055 | _Xsj3cClearDcid(buf); | ^ func.c:2058:13: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2058 | Xsj3cFreeSegment(buf->input[i]); | ^ func.c:2062:13: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2062 | Xsj3cClearSegment(buf, buf->input[0]); | ^ func.c:2074:31: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2074 | _Xsj3cFlushDictMsg(buf); | ^ func.c:2093:31: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2093 | _Xsj3cFlushDictMsg(buf); | ^ func.c:2043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2043 | _Xsj3cCancel(buf) | ^ func.c:85:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | Xsj3cEvent _Xsj3cCancel(); | ^ func.c:2143:35: warning: passing arguments to '_Xsj3cExpandNoConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2143 | return (_Xsj3cExpandNoConv(buf)); | ^ func.c:2158:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2158 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:2173:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2173 | Xsj3cError("Cannot allocate for temporary buffer"); | ^ func.c:2177:22: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2177 | _Xsj3cExtractChar(buf, buf->input[nextseg], tmp, 1); | ^ func.c:2187:9: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2187 | Xsj3cFreeSegment(buf->input[buf->segnum]); | ^ func.c:2204:31: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2204 | _Xsj3cwPStomPS(buf, kanabuf, buf->input[nextseg]->yomi); | ^ func.c:2206:25: 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] 2206 | (kanabuf, bun, knjbuf, KANJIBUFSIZ); | ^ func.c:2208:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2208 | Xsj3cWarning("Too long segment[num = %d]",nextseg); | ^ func.c:2211:33: warning: passing arguments to '_Xsj3cStoreKanji' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2211 | _Xsj3cStoreKanji(buf, bun, nextseg, value, ON); | ^ func.c:2216:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2216 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ func.c:2217:32: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2217 | _Xsj3cStoreYomi(buf, buf->input[nextseg], 0); | ^ func.c:2223:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2223 | _Xsj3cStoreYomi(buf, buf->input[nextseg], 0); | ^ func.c:2234:21: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2234 | _Xsj3cInsertChar(buf, buf->input[buf->curseg], tmp, 1); | ^ func.c:2245:23: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2245 | _Xsj3cwPStomPS(buf, kanabuf, seg->yomi); | ^ func.c:2246:9: warning: call to undeclared function 'Xsj3cModeConv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2246 | Xsj3cModeConv(buf, kanabuf, seg->cursegmode, seg->size); | ^ func.c:2247:35: warning: passing arguments to '_Xsj3cmPStowPSn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2247 | seg->num = _Xsj3cmPStowPSn(buf, seg->yomi, kanabuf, seg->size); | ^ func.c:2249:13: warning: call to undeclared function 'Xsj3cResizeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2249 | Xsj3cResizeSegment(seg, seg->size * 2); | ^ func.c:2250:38: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2250 | seg->num = _Xsj3cmPStowPS(buf, seg->yomi, kanabuf); | ^ func.c:2260:27: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | _Xsj3cwPStomPS(buf, kanabuf, buf->input[buf->curseg]->yomi); | ^ func.c:2263:21: 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] 2263 | (kanabuf, bun, knjbuf, KANJIBUFSIZ); | ^ func.c:2265:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2265 | Xsj3cWarning("Too long segment[num = %d]",buf->curseg); | ^ func.c:2272:34: warning: passing arguments to '_Xsj3cmPStowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2272 | = _Xsj3cmPStowOUT(buf, buf->input[buf->curseg]->disp, knjbuf); | ^ func.c:2277:58: warning: passing arguments to '_Xsj3cCandidateInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2277 | if ((buf->candidate = _Xsj3cCandidateInit(buf)) == NULL) { | ^ func.c:2278:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2278 | Xsj3cWarning("sj3serv maybe down, or any trouble"); | ^ func.c:2280:38: warning: passing arguments to 'Xsj3cSetCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2280 | Xsj3cSetCandidate(buf, 0, &changed, &flush); | ^ func.c:2285:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2285 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ func.c:2286:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2286 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2293:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2293 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2131 | _Xsj3cExpand(buf) | ^ func.c:87:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | Xsj3cEvent _Xsj3cExpand(); | ^ func.c:2317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2317 | _Xsj3cExpandNoConv(buf) | ^ func.c:117:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static Xsj3cEvent _Xsj3cExpandNoConv(); | ^ func.c:2360:35: warning: passing arguments to '_Xsj3cShrinkNoConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2360 | return (_Xsj3cShrinkNoConv(buf)); | ^ func.c:2379:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2379 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:2381:26: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2381 | _Xsj3cExtractChar(buf, buf->input[buf->curseg], tmp, 1); | ^ func.c:2404:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2404 | Xsj3cError("Cannot allocate for temporary buffer"); | ^ func.c:2411:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2411 | Xsj3cError("Cannot allocate for temporary buffer"); | ^ func.c:2422:25: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2422 | _Xsj3cInsertChar(buf, buf->input[prevseg], tmp, 1); | ^ func.c:2432:27: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2432 | _Xsj3cwPStomPS(buf, kanabuf1, seg->yomi); | ^ func.c:2433:13: warning: call to undeclared function 'Xsj3cModeConv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2433 | Xsj3cModeConv(buf, kanabuf1, seg->cursegmode, seg->size); | ^ func.c:2434:39: warning: passing arguments to '_Xsj3cmPStowPSn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2434 | seg->num = _Xsj3cmPStowPSn(buf, seg->yomi, kanabuf1, seg->size); | ^ func.c:2436:17: warning: call to undeclared function 'Xsj3cResizeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2436 | Xsj3cResizeSegment(seg, seg->size * 2); | ^ func.c:2437:42: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2437 | seg->num = _Xsj3cmPStowPS(buf, seg->yomi, kanabuf1); | ^ func.c:2443:9: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2443 | Xsj3cFreeSegment(buf->input[buf->segnum]); | ^ func.c:2463:29: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2463 | _Xsj3cInsertChar(buf, buf->input[nextseg], tmp, 1); | ^ func.c:2475:31: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2475 | _Xsj3cwPStomPS(buf, kanabuf2, seg->yomi); | ^ func.c:2476:17: warning: call to undeclared function 'Xsj3cModeConv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2476 | Xsj3cModeConv(buf, kanabuf2, seg->cursegmode, seg->size); | ^ func.c:2477:43: warning: passing arguments to '_Xsj3cmPStowPSn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2477 | seg->num = _Xsj3cmPStowPSn(buf, seg->yomi, kanabuf2, seg->size); | ^ func.c:2479:21: warning: call to undeclared function 'Xsj3cResizeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2479 | Xsj3cResizeSegment(seg, seg->size * 2); | ^ func.c:2480:46: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2480 | seg->num = _Xsj3cmPStowPS(buf, seg->yomi, kanabuf2); | ^ func.c:2491:37: warning: call to undeclared function 'Xsj3cCreateSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2491 | = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { | ^ func.c:2491:27: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] 2491 | = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ func.c:2492:31: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | Xsj3cError("Failed to allocate segment"); | ^ func.c:2495:17: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2495 | Xsj3cClearSegment(buf, buf->input[nextseg]); | ^ func.c:2496:29: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2496 | _Xsj3cInsertChar(buf, buf->input[nextseg], tmp, 1); | ^ func.c:2512:31: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2512 | _Xsj3cwPStomPS(buf, kanabuf2, buf->input[nextseg]->yomi); | ^ func.c:2515:25: 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] 2515 | (kanabuf2, bun, knjbuf, KANJIBUFSIZ); | ^ func.c:2517:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2517 | Xsj3cWarning("Too long segment[num = %d]",nextseg); | ^ func.c:2520:33: warning: passing arguments to '_Xsj3cStoreKanji' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2520 | _Xsj3cStoreKanji(buf, bun, nextseg, value, ON); | ^ func.c:2525:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2525 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ func.c:2526:32: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2526 | _Xsj3cStoreYomi(buf, buf->input[nextseg], 0); | ^ func.c:2532:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2532 | _Xsj3cStoreYomi(buf, buf->input[nextseg], 0); | ^ func.c:2546:27: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2546 | _Xsj3cwPStomPS(buf, kanabuf1, buf->input[buf->curseg]->yomi); | ^ func.c:2549:21: 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] 2549 | (kanabuf1, bun, knjbuf, KANJIBUFSIZ); | ^ func.c:2551:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2551 | Xsj3cWarning("Too long segment[num = %d]",buf->curseg); | ^ func.c:2558:34: warning: passing arguments to '_Xsj3cmPStowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2558 | = _Xsj3cmPStowOUT(buf, buf->input[buf->curseg]->disp, knjbuf); | ^ func.c:2563:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2563 | Xsj3cWarning("sj3serv is down. reconnect please"); | ^ func.c:2564:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2564 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2571:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2571 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2346 | _Xsj3cShrink(buf) | ^ func.c:88:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | Xsj3cEvent _Xsj3cShrink(); | ^ func.c:2596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2596 | _Xsj3cShrinkNoConv(buf) | ^ func.c:118:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | static Xsj3cEvent _Xsj3cShrinkNoConv(); | ^ func.c:2665:39: warning: passing arguments to '_Xsj3cDeleteSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2665 | return(_Xsj3cDeleteSeg(buf, ret, buf->dellastmove)); | ^ func.c:2674:43: warning: passing arguments to '_Xsj3cDeleteSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2674 | return(_Xsj3cDeleteSeg(buf, ret, buf->dellastmove)); | ^ func.c:2677:36: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2677 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2680:39: warning: passing arguments to '_Xsj3cBackSpaceChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2680 | return(_Xsj3cBackSpaceChar(buf, buf->input[buf->curseg], ret) | ^ func.c:2690:35: warning: passing arguments to '_Xsj3cDeleteSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2690 | return(_Xsj3cDeleteSeg(buf, ret, buf->dellastmove)); | ^ func.c:2693:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2693 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2694:39: warning: passing arguments to '_Xsj3cBackSpaceChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2694 | return(_Xsj3cBackSpaceChar(buf, buf->input[buf->curseg], ret) | ^ func.c:2700:38: warning: passing arguments to '_Xsj3cBackSpaceChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2700 | ret = _Xsj3cBackSpaceChar(buf, buf->dict->seg, ret) | ^ func.c:2702:31: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2702 | _Xsj3cFlushDictMsg(buf); | ^ func.c:2626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2626 | _Xsj3cBackSpace(buf) | ^ func.c:90:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | Xsj3cEvent _Xsj3cBackSpace(); | ^ func.c:2778:35: warning: passing arguments to '_Xsj3cDeleteSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2778 | return(_Xsj3cDeleteSeg(buf, ret, buf->dellastmove)); | ^ func.c:2785:43: warning: passing arguments to '_Xsj3cDeleteSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2785 | return(_Xsj3cDeleteSeg(buf, ret, buf->dellastmove)); | ^ func.c:2788:36: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2788 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2791:36: warning: passing arguments to '_Xsj3cDeleteChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2791 | return(_Xsj3cDeleteChar(buf, buf->input[buf->curseg], ret) | ^ func.c:2796:35: warning: passing arguments to '_Xsj3cDeleteSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2796 | return(_Xsj3cDeleteSeg(buf, ret, buf->dellastmove)); | ^ func.c:2799:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2799 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:2800:36: warning: passing arguments to '_Xsj3cDeleteChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2800 | return(_Xsj3cDeleteChar(buf, buf->input[buf->curseg], ret) | ^ func.c:2806:35: warning: passing arguments to '_Xsj3cDeleteChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2806 | ret = _Xsj3cDeleteChar(buf, buf->dict->seg, ret) | ^ func.c:2808:31: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2808 | _Xsj3cFlushDictMsg(buf); | ^ func.c:2732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2732 | _Xsj3cDelete(buf) | ^ func.c:91:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | Xsj3cEvent _Xsj3cDelete(); | ^ func.c:2845:34: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2845 | _Xsj3cExtractChar(buf, seg, tmp, 1); | ^ func.c:2851:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2851 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ func.c:2851: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] 2851 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ func.c:2852:42: 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] 2852 | seg->n_roma = strlen(seg->oldstr); | ^~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ func.c:2872:34: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2872 | _Xsj3cExtractChar(buf, seg, tmp, 1); | ^ func.c:2881:35: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2881 | _Xsj3cwPStomPS(buf, tmp, wcs); | ^ func.c:2882:21: warning: call to undeclared function '_Xsj3cZKanaToHKata'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2882 | _Xsj3cZKanaToHKata(buf, seg->str, tmp); | ^ func.c:2884:39: 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] 2884 | && strlen(seg->str) == 1) { | ^~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ func.c:2905:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2905 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ func.c:2905:42: 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] 2905 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ func.c:2906:46: 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] 2906 | seg->n_roma = strlen(seg->oldstr); | ^~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ func.c:2907:42: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2907 | _Xsj3cExtractChar(buf, seg, tmp, seg->oldlen); | ^ func.c:2910:29: warning: call to undeclared function '_Xsj3cHAlphaToZKana'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2910 | _Xsj3cHAlphaToZKana(buf, tmp, seg->oldstr); | ^ func.c:2911:45: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2911 | _Xsj3cInsertChar(buf, seg, tmp, seg->n_roma); | ^ func.c:2913:45: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2913 | _Xsj3cInsertChar(buf, seg, seg->oldstr, | ^ func.c:2921:42: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2921 | _Xsj3cExtractChar(buf, seg, tmp, 1); | ^ func.c:2924:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2924 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ func.c:2924:42: 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] 2924 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ func.c:2925:57: warning: passing arguments to '_Xsj3cKanaConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2925 | if ((seg->value = _Xsj3cKanaConv(buf, seg, seg->str, | ^ func.c:2931:49: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2931 | len = _Xsj3cmPStowPS(buf, wcs, tmp); | ^ func.c:2932:46: warning: passing arguments to '_Xsj3cInsertWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2932 | _Xsj3cInsertWchar(seg, wcs, len); | ^ func.c:2942:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2942 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ func.c:2942: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] 2942 | strcpy(seg->str, seg->oldstr); | ^~~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ func.c:2943:42: 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] 2943 | seg->n_roma = strlen(seg->oldstr); | ^~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ func.c:2944:38: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2944 | _Xsj3cExtractChar(buf, seg, tmp, seg->oldlen); | ^ func.c:2947:25: warning: call to undeclared function '_Xsj3cHAlphaToZKana'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2947 | _Xsj3cHAlphaToZKana(buf, tmp, seg->oldstr); | ^ func.c:2948:41: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2948 | _Xsj3cInsertChar(buf, seg, tmp, seg->n_roma); | ^ func.c:2950:41: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2950 | _Xsj3cInsertChar(buf, seg, seg->oldstr, | ^ func.c:2959:38: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2959 | _Xsj3cExtractChar(buf, seg, tmp, 1); | ^ func.c:2973:43: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2973 | _Xsj3cwPStomPS(buf, tmp, wcs); | ^ func.c:2974:29: warning: call to undeclared function '_Xsj3cZKanaToHKata'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2974 | _Xsj3cZKanaToHKata(buf, seg->str, tmp); | ^ func.c:2976:47: 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] 2976 | && strlen(seg->str) == 1) { | ^~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ func.c:2994:30: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2994 | _Xsj3cExtractChar(buf, seg, tmp, 1); | ^ func.c:3013:35: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3013 | _Xsj3cwPStomPS(buf, tmp, wcs); | ^ func.c:3014:21: warning: call to undeclared function '_Xsj3cZKanaToHKata'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3014 | _Xsj3cZKanaToHKata(buf, seg->str, tmp); | ^ func.c:3016:39: 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] 3016 | && strlen(seg->str) == 1) { | ^~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ func.c:3032:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3032 | _Xsj3cStoreYomi(buf, seg, change_pos); | ^ func.c:3034:13: warning: call to undeclared function 'Xsj3cResizeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3034 | Xsj3cResizeSegment(seg, seg->size - KANABUFSIZ); | ^ func.c:3036:13: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3036 | Xsj3cFreeSegment(buf->input[buf->segnum]); | ^ func.c:2823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2823 | _Xsj3cBackSpaceChar(buf, seg, ret) | ^ func.c:116:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | static Xsj3cEvent _Xsj3cBackSpaceChar(); | ^ func.c:3088:26: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3088 | _Xsj3cExtractChar(buf, seg, tmp, 1); | ^ func.c:3089:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3089 | _Xsj3cStoreYomi(buf, seg, change_pos); | ^ func.c:3091:13: warning: call to undeclared function 'Xsj3cResizeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3091 | Xsj3cResizeSegment(seg, seg->size - KANABUFSIZ); | ^ func.c:3093:13: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3093 | Xsj3cFreeSegment(buf->input[buf->segnum]); | ^ func.c:3074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3074 | _Xsj3cDeleteChar(buf, seg, ret) | ^ func.c:115:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static Xsj3cEvent _Xsj3cDeleteChar(); | ^ func.c:3133:26: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3133 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3137:5: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3137 | Xsj3cFreeSegment(buf->input[buf->segnum]); | ^ func.c:3146:9: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3146 | Xsj3cClearSegment(buf, buf->input[0]); | ^ func.c:3152:32: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3152 | _Xsj3cClearDcid(buf); | ^ func.c:3167:32: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3167 | _Xsj3cClearDcid(buf); | ^ func.c:3124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3124 | _Xsj3cDeleteSeg(buf, ret, move) | ^ func.c:114:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static Xsj3cEvent _Xsj3cDeleteSeg(); | ^ func.c:3266:35: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3266 | Xsj3cError("Cannot allocate for temporary buffer"); | ^ func.c:3267:38: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3267 | _Xsj3cExtractChar(buf, buf->input[buf->curseg], tmp, del_num); | ^ func.c:3269:36: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3269 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], | ^ func.c:3277:13: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3277 | Xsj3cFreeSegment(buf->input[i]); | ^ func.c:3290:28: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3290 | _Xsj3cClearDcid(buf); | ^ func.c:3304:31: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3304 | Xsj3cError("Cannot allocate for temporary buffer"); | ^ func.c:3305:34: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3305 | _Xsj3cExtractChar(buf, buf->input[buf->curseg], tmp, del_num); | ^ func.c:3307:32: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3307 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], | ^ func.c:3204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3204 | _Xsj3cDelAfter(buf) | ^ func.c:92:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | Xsj3cEvent _Xsj3cDelAfter(); | ^ func.c:3339:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3339 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3348:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3348 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3364:13: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3364 | Xsj3cFreeSegment(buf->input[i]); | ^ func.c:3368:13: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3368 | Xsj3cClearSegment(buf, buf->input[0]); | ^ func.c:3326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3326 | _Xsj3cStart(buf) | ^ func.c:94:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | Xsj3cEvent _Xsj3cStart(); | ^ func.c:3392:24: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3392 | _Xsj3cClearDcid(buf); | ^ func.c:3398:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3398 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3407:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3407 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3386 | _Xsj3cReConnect(buf) | ^ func.c:95:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | Xsj3cEvent _Xsj3cReConnect(); | ^ func.c:3455:37: warning: call to undeclared function 'Xsj3cCreateSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3455 | = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { | ^ func.c:3455:27: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] 3455 | = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ func.c:3456:31: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3456 | Xsj3cError("Failed to allocate segment"); | ^ func.c:3468:23: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3468 | _Xsj3cWcpy(buf->input[i]->yomi, buf->backup[i]->yomi); | ^ func.c:3471:23: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3471 | _Xsj3cWcpy(buf->input[i]->disp, buf->backup[i]->disp); | ^ func.c:3436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3436 | _Xsj3cReConvert(buf) | ^ func.c:96:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | Xsj3cEvent _Xsj3cReConvert(); | ^ func.c:3538:20: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3538 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:3515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3515 | _Xsj3cEdit(buf) | ^ func.c:97:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | Xsj3cEvent _Xsj3cEdit(); | ^ func.c:3558:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3558 | Xsj3cEndCandidate(buf, ON); | ^ func.c:3559:41: warning: passing arguments to '_Xsj3cCreateDictData' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3559 | buf->dict = _Xsj3cCreateDictData(buf, REG_STATE); | ^ func.c:3561:27: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3561 | _Xsj3cFlushDictMsg(buf); | ^ func.c:3552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3552 | _Xsj3cDRegBegin(buf) | ^ func.c:99:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | Xsj3cEvent _Xsj3cDRegBegin(); | ^ func.c:3594:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3594 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3595:41: warning: passing arguments to '_Xsj3cCreateDictData' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3595 | buf->dict = _Xsj3cCreateDictData(buf, CLR_STATE); | ^ func.c:3597:27: warning: passing arguments to '_Xsj3cFlushDictMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3597 | _Xsj3cFlushDictMsg(buf); | ^ func.c:3588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3588 | _Xsj3cDClearBegin(buf) | ^ func.c:100:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | Xsj3cEvent _Xsj3cDClearBegin(); | ^ func.c:3625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3625 | _Xsj3cSymbolBegin(buf) | ^ func.c:102:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | Xsj3cEvent _Xsj3cSymbolBegin(); | ^ func.c:3708:40: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3708 | if ((buf->backup = (Xsj3cSeg *)calloc(BUNBUFSIZ, | ^ func.c:3708:40: note: include the header or explicitly provide a declaration for 'calloc' func.c:3710:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3710 | Xsj3cError("Cannot allocate for backup buffers"); | ^ func.c:3714:13: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3714 | Xsj3cFreeSegment(buf->backup[i]); | ^ func.c:3722:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3722 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:3726:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3726 | _Xsj3cStoreYomi(buf, buf->input[buf->curseg], 0); | ^ func.c:3740:5: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3740 | Xsj3cFreeSegment(buf->input[buf->segnum]); | ^ func.c:3755:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3755 | Xsj3cError("Cannot allocate for temporary buffer"); | ^ func.c:3757:26: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3757 | _Xsj3cExtractChar(buf, buf->backup[0], tmp, buf->backup[0]->cur); | ^ func.c:3758:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3758 | _Xsj3cStoreYomi(buf, buf->backup[0], 0); | ^ func.c:3761:33: warning: call to undeclared function 'Xsj3cCreateSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3761 | = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { | ^ func.c:3761:23: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] 3761 | = (Xsj3cSeg)Xsj3cCreateSegment(buf)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ func.c:3762:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3762 | Xsj3cError("Failed to allocate segment."); | ^ func.c:3765:13: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3765 | Xsj3cClearSegment(buf, buf->input[buf->segnum]); | ^ func.c:3766:25: warning: passing arguments to '_Xsj3cInsertChar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3766 | _Xsj3cInsertChar(buf, buf->input[buf->segnum], tmp, store_num); | ^ func.c:3767:24: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3767 | _Xsj3cStoreYomi(buf, buf->input[buf->segnum], 0); | ^ func.c:3773:24: warning: passing arguments to '_Xsj3cClearDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3773 | _Xsj3cClearDcid(buf); | ^ func.c:3662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3662 | _Xsj3cFlushBefore(buf) | ^ In file included from func.c:32: ./func.h:89:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | extern Xsj3cEvent _Xsj3cFlushBefore(); | ^ func.c:3790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3790 | _Xsj3cQuote(buf) | ^ func.c:104:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | Xsj3cEvent _Xsj3cQuote(); | ^ func.c:3813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3813 | _Xsj3cBell(buf) | ^ func.c:105:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | Xsj3cEvent _Xsj3cBell(); | ^ func.c:3835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3835 | _Xsj3cKana(buf) | ^ func.c:106:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | Xsj3cEvent _Xsj3cKana(); | ^ func.c:3888:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3888 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3898:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3898 | Xsj3cEndCandidate(buf, OFF); | ^ func.c:3910:28: warning: passing arguments to '_Xsj3cFlushDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3910 | _Xsj3cFlushDcid(buf); | ^ func.c:3913:13: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3913 | Xsj3cFreeSegment(buf->input[i]); | ^ func.c:3917:13: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3917 | Xsj3cClearSegment(buf, buf->input[0]); | ^ func.c:3929:16: warning: passing arguments to 'Xsj3cRCInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3929 | Xsj3cRCInit(buf, NULL, NULL); | ^ func.c:3874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3874 | _Xsj3cSjrc(buf) | ^ func.c:107:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | Xsj3cEvent _Xsj3cSjrc(); | ^ func.c:3939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3939 | _Xsj3cKill(buf) | ^ func.c:108:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | Xsj3cEvent _Xsj3cKill(); | ^ func.c:3952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3952 | _Xsj3cNull(buf) | ^ func.c:109:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | Xsj3cEvent _Xsj3cNull(); | ^ func.c:3964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3964 | _Xsj3cIgnore(buf) | ^ func.c:110:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | Xsj3cEvent _Xsj3cIgnore(); | ^ 407 warnings generated. rm -f libif.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT libif.c libif.c:30:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 30 | extern int sj3_open(); | ^ /usr/local/include/sj3lib.h:157:5: note: conflicting prototype is here 157 | int sj3_open(char *, char *); | ^ libif.c:32:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 32 | extern int sj3_getkan(); | ^ /usr/local/include/sj3lib.h:163:5: note: conflicting prototype is here 163 | int sj3_getkan(u_char *, SJ3_BUNSETU *, u_char *, int); | ^ libif.c:33:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 33 | extern int sj3_douoncnt(); | ^ /usr/local/include/sj3lib.h:167:5: note: conflicting prototype is here 167 | int sj3_douoncnt(u_char *); | ^ libif.c:34:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 34 | extern int sj3_getdouon(); | ^ /usr/local/include/sj3lib.h:171:5: note: conflicting prototype is here 171 | int sj3_getdouon(u_char *, SJ3_DOUON *); | ^ libif.c:35:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | extern int sj3_touroku(); | ^ /usr/local/include/sj3lib.h:181:5: note: conflicting prototype is here 181 | int sj3_touroku(u_char *, u_char *, int); | ^ libif.c:36:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 36 | extern int sj3_syoukyo(); | ^ /usr/local/include/sj3lib.h:185:5: note: conflicting prototype is here 185 | int sj3_syoukyo(u_char *, u_char *, int); | ^ libif.c:37:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 37 | extern int sj3_gakusyuu(); | ^ /usr/local/include/sj3lib.h:175:5: note: conflicting prototype is here 175 | int sj3_gakusyuu(SJ3_STUDYREC *); | ^ libif.c:38:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 38 | extern int sj3_gakusyuu2(); | ^ /usr/local/include/sj3lib.h:177:5: note: conflicting prototype is here 177 | int sj3_gakusyuu2(u_char *, u_char *, SJ3_STUDYREC *); | ^ 8 warnings generated. rm -f mode.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT mode.c mode.c:75:21: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | malloc(seg->size * 2 * sizeof(wchar))) == NULL) | ^ mode.c:75:21: note: include the header or explicitly provide a declaration for 'malloc' mode.c:76:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | Xsj3cError("Cannot allocate for mode conversion buffer"); | ^ mode.c:77:27: warning: passing arguments to '_Xsj3cwPStomPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | _Xsj3cwPStomPS(buf, mbs, seg->yomi); | ^ mode.c:78:37: warning: passing arguments to 'Xsj3cModeConv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | if ((ret = Xsj3cModeConv(buf, mbs, mode, seg->size)) | ^ mode.c:80:43: warning: passing arguments to '_Xsj3cmPStowPSn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | seg->num = _Xsj3cmPStowPSn(buf, seg->yomi, mbs, seg->size); | ^ mode.c:82:21: warning: call to undeclared function 'Xsj3cResizeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | Xsj3cResizeSegment(seg, seg->size * 2); | ^ mode.c:83:46: warning: passing arguments to '_Xsj3cmPStowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | seg->num = _Xsj3cmPStowPS(buf, seg->yomi, mbs); | ^ mode.c:86:32: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | _Xsj3cStoreYomi(buf, seg, 0); | ^ mode.c:90:13: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | free(mbs); | ^ mode.c:90:13: note: include the header or explicitly provide a declaration for 'free' mode.c:94:40: warning: passing arguments to '_Xsj3cModeClear' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | return (_Xsj3cModeClear(buf)); | ^ mode.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | _Xsj3cModeChange(buf, mode, conv) | ^ mode.c:35:29: warning: a function declaration without a prototype is 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 | Xsj3cEvent _Xsj3cModeChange(); | ^ mode.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | _Xsj3cModeClear(buf) | ^ mode.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | Xsj3cEvent _Xsj3cModeClear(); | ^ mode.c:154:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | Xsj3cError("Cannot allocate for mode conversion buffer"); | ^ mode.c:156:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | Xsj3cError("Cannot allocate for mode conversion buffer"); | ^ mode.c:160:27: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | _Xsj3cZKanaToHKata(buf, tmp2, string); | ^ mode.c:161:26: warning: passing arguments to '_Xsj3cHKataToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | _Xsj3cHKataToHira(buf, tmp1, tmp2); | ^ mode.c:162:22: warning: passing arguments to '_Xsj3cKRConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | _Xsj3cKRConvs(buf, tmp2, tmp1); | ^ mode.c:163:22: warning: passing arguments to '_Xsj3cRKConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | _Xsj3cRKConvs(buf, tmp1, tmp2); | ^ mode.c:165:32: warning: passing arguments to '_Xsj3cHankakuToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | _Xsj3cHankakuToHira(buf, string, tmp1); | ^ mode.c:167:30: warning: passing arguments to '_Xsj3cZKataToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | _Xsj3cZKataToHira(buf, string, tmp1); | ^ mode.c:172:27: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | _Xsj3cZKanaToHKata(buf, tmp2, string); | ^ mode.c:173:26: warning: passing arguments to '_Xsj3cHKataToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | _Xsj3cHKataToHira(buf, tmp1, tmp2); | ^ mode.c:174:22: warning: passing arguments to '_Xsj3cKRConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | _Xsj3cKRConvs(buf, tmp2, tmp1); | ^ mode.c:175:22: warning: passing arguments to '_Xsj3cRKConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | _Xsj3cRKConvs(buf, tmp1, tmp2); | ^ mode.c:177:30: warning: passing arguments to '_Xsj3cHiraToZKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | _Xsj3cHiraToZKata(buf, tmp2, tmp1); | ^ mode.c:178:33: warning: passing arguments to '_Xsj3cHAlphaToZAlpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | _Xsj3cHAlphaToZAlpha(buf, string, tmp2); | ^ mode.c:180:30: warning: passing arguments to '_Xsj3cHiraToZKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | _Xsj3cHiraToZKata(buf, string, tmp1); | ^ mode.c:185:26: warning: passing arguments to '_Xsj3cHKataToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | _Xsj3cHKataToHira(buf, tmp1, string); | ^ mode.c:186:22: warning: passing arguments to '_Xsj3cKRConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | _Xsj3cKRConvs(buf, tmp2, tmp1); | ^ mode.c:187:22: warning: passing arguments to '_Xsj3cRKConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | _Xsj3cRKConvs(buf, tmp1, tmp2); | ^ mode.c:188:27: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | _Xsj3cZKanaToHKata(buf, string, tmp1); | ^ mode.c:193:29: warning: passing arguments to '_Xsj3cZAlphaToHAlpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | _Xsj3cZAlphaToHAlpha(buf, tmp2, string); | ^ mode.c:194:22: warning: passing arguments to '_Xsj3cRKConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | _Xsj3cRKConvs(buf, tmp1, tmp2); | ^ mode.c:195:27: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | _Xsj3cZKanaToHKata(buf, tmp2, tmp1); | ^ mode.c:196:26: warning: passing arguments to '_Xsj3cHKataToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | _Xsj3cHKataToHira(buf, tmp1, tmp2); | ^ mode.c:197:22: warning: passing arguments to '_Xsj3cKRConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | _Xsj3cKRConvs(buf, string, tmp1); | ^ mode.c:202:29: warning: passing arguments to '_Xsj3cZAlphaToHAlpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | _Xsj3cZAlphaToHAlpha(buf, tmp2, string); | ^ mode.c:203:22: warning: passing arguments to '_Xsj3cRKConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | _Xsj3cRKConvs(buf, tmp1, tmp2); | ^ mode.c:204:27: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | _Xsj3cZKanaToHKata(buf, tmp2, tmp1); | ^ mode.c:205:26: warning: passing arguments to '_Xsj3cHKataToHira' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | _Xsj3cHKataToHira(buf, tmp1, tmp2); | ^ mode.c:206:22: warning: passing arguments to '_Xsj3cKRConvs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | _Xsj3cKRConvs(buf, tmp2, tmp1); | ^ mode.c:207:29: warning: passing arguments to '_Xsj3cHAlphaToZAlpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | _Xsj3cHAlphaToZAlpha(buf, string, tmp2); | ^ mode.c:212:27: warning: passing arguments to '_Xsj3cZKanaToHKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | _Xsj3cZKanaToHKata(buf, tmp1, string); | ^ mode.c:213:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | strcpy(string, tmp1); | ^~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:213:24: 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] 213 | strcpy(string, tmp1); | ^~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:218:29: warning: passing arguments to '_Xsj3cHankakuToZKata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | _Xsj3cHankakuToZKata(buf, tmp1, string); | ^ mode.c:219:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 219 | strcpy(string, tmp1); | ^~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:219:24: 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] 219 | strcpy(string, tmp1); | ^~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:224:27: warning: passing arguments to '_Xsj3cLowerToUpper' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | _Xsj3cLowerToUpper(buf, string); | ^ mode.c:229:27: warning: passing arguments to '_Xsj3cUpperToLower' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | _Xsj3cUpperToLower(buf, string); | ^ mode.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | Xsj3cModeConv(buf, string, postmode, size) | ^ mode.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | Xsj3cEvent Xsj3cModeConv(); | ^ mode.c:296:22: warning: call to undeclared function '_Xsj3cRomaConv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | if ((value = _Xsj3cRomaConv(buf->rktable, rbuf, ybuf)) > 0) { | ^ mode.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | _Xsj3cRKConvs(buf, yomi, alpha) | ^ mode.c:53:29: warning: a function declaration without a prototype is 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 | static void _Xsj3cRKConvs(); | ^ mode.c:374:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | Xsj3cWarning("wrong sjhk table"); | ^ mode.c:395:37: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | Xsj3cWarning("can't convert to halpha %#x",s); | ^ mode.c:411:19: warning: passing 'unsigned char[256]' 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] 411 | plen = strlen(tyomi); | ^~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ mode.c:423:41: 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] 423 | && !strncmp(rktp->yomi, p, rktp->ylen)) { | ^~~~~~~~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ mode.c:423:53: 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] 423 | && !strncmp(rktp->yomi, p, rktp->ylen)) { | ^ /usr/include/string.h:116:40: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ mode.c:428:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 428 | if (t = buf->plosive) { | ~~^~~~~~~~~~~~~~ mode.c:428:35: note: place parentheses around the assignment to silence this warning 428 | if (t = buf->plosive) { | ^ | ( ) mode.c:428:35: note: use '==' to turn this assignment into an equality comparison 428 | if (t = buf->plosive) { | ^ | == mode.c:463:36: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 463 | strcpy(tmp, rktp->roma); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:463:41: 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] 463 | strcpy(tmp, rktp->roma); | ^~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:471:38: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 471 | } else if (d = buf->rkdouble) { | ~~^~~~~~~~~~~~~~~ mode.c:471:38: note: place parentheses around the assignment to silence this warning 471 | } else if (d = buf->rkdouble) { | ^ | ( ) mode.c:471:38: note: use '==' to turn this assignment into an equality comparison 471 | } else if (d = buf->rkdouble) { | ^ | == mode.c:473:36: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 473 | strcpy(tmp, rktp->roma); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:473:41: 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] 473 | strcpy(tmp, rktp->roma); | ^~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:488:36: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 488 | strcpy(tmp, rktp->roma); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:488:41: 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] 488 | strcpy(tmp, rktp->roma); | ^~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | _Xsj3cKRConvs(buf, roma, kana) | ^ mode.c:54:29: warning: a function declaration without a prototype is 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 | static void _Xsj3cKRConvs(); | ^ mode.c:633:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | Xsj3cWarning("wrong sjhk table"); | ^ mode.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | _Xsj3cHiraToZKata(buf, dest, src) | ^ mode.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | void _Xsj3cHiraToZKata(); | ^ mode.c:684:36: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 684 | strcpy(tmp, hktp->hira); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:684:41: 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] 684 | strcpy(tmp, hktp->hira); | ^~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:688:32: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 688 | strcpy(tmp, hktp->hira); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:688:37: 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] 688 | strcpy(tmp, hktp->hira); | ^~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:693:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 693 | strcpy(dest, tmp); | ^~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:693:30: warning: passing 'unsigned char[16]' 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] 693 | strcpy(dest, tmp); | ^~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:694:32: warning: passing 'unsigned char[16]' 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] 694 | dest += strlen(tmp); | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ mode.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | _Xsj3cHankakuToHira(buf, dest, src) | ^ mode.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | void _Xsj3cHankakuToHira(); | ^ mode.c:748:36: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 748 | strcpy(tmp, hktp->zkata); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:748:41: 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] 748 | strcpy(tmp, hktp->zkata); | ^~~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:752:32: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 752 | strcpy(tmp, hktp->zkata); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:752:37: 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] 752 | strcpy(tmp, hktp->zkata); | ^~~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:758:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 758 | strcpy(dest, tmp); | ^~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:758:30: warning: passing 'unsigned char[16]' 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] 758 | strcpy(dest, tmp); | ^~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:759:32: warning: passing 'unsigned char[16]' 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] 759 | dest += strlen(tmp); | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ mode.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | _Xsj3cHankakuToZKata(buf, dest, src) | ^ mode.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | void _Xsj3cHankakuToZKata(); | ^ mode.c:814:36: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 814 | strcpy(tmp, hktp->hira); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:814:41: 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] 814 | strcpy(tmp, hktp->hira); | ^~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:818:32: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 818 | strcpy(tmp, hktp->hira); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:818:37: 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] 818 | strcpy(tmp, hktp->hira); | ^~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:823:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 823 | strcpy(dest, tmp); | ^~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:823:30: warning: passing 'unsigned char[16]' 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] 823 | strcpy(dest, tmp); | ^~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:824:32: warning: passing 'unsigned char[16]' 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] 824 | dest += strlen(tmp); | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ mode.c:789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | _Xsj3cHKataToHira(buf, dest, src) | ^ mode.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | void _Xsj3cHKataToHira(); | ^ mode.c:869:36: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 869 | strcpy(tmp, hktp->zkata); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:869:41: 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] 869 | strcpy(tmp, hktp->zkata); | ^~~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:873:32: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 873 | strcpy(tmp, hktp->zkata); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:873:37: 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] 873 | strcpy(tmp, hktp->zkata); | ^~~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:879:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 879 | strcpy(dest, tmp); | ^~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:879:30: warning: passing 'unsigned char[16]' 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] 879 | strcpy(dest, tmp); | ^~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ mode.c:880:32: warning: passing 'unsigned char[16]' 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] 880 | dest += strlen(tmp); | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ mode.c:845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | _Xsj3cHKataToZKata(buf, dest, src) | ^ mode.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | void _Xsj3cHKataToZKata(); | ^ mode.c:928:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | Xsj3cWarning("wrong sjhk table"); | ^ mode.c:943:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | Xsj3cWarning("wrong sjhk table"); | ^ mode.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | _Xsj3cZKanaToHKata(buf, dest, src) | ^ mode.c:44:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | void _Xsj3cZKanaToHKata(); | ^ mode.c:1001:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | Xsj3cWarning("wrong sjhk table"); | ^ mode.c:976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | _Xsj3cZKataToHira(buf, dest, src) | ^ mode.c:45:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | void _Xsj3cZKataToHira(); | ^ mode.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | _Xsj3cHAlphaToZAlpha(buf, dest, src) | ^ mode.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | void _Xsj3cHAlphaToZAlpha(); | ^ mode.c:1056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | _Xsj3cHAlphaToZKana(buf, dest, src) | ^ mode.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | void _Xsj3cHAlphaToZKana(); | ^ mode.c:1085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | _Xsj3cHAlphaToHKata(buf, dest, src) | ^ mode.c:48:29: warning: a function declaration without a prototype is 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 | void _Xsj3cHAlphaToHKata(); | ^ mode.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | _Xsj3cZAlphaToHAlpha(buf, dest, src) | ^ mode.c:49:29: warning: a function declaration without a prototype is 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 | void _Xsj3cZAlphaToHAlpha(); | ^ mode.c:1143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | _Xsj3cLowerToUpper(buf, str) | ^ mode.c:51:29: warning: a function declaration without a prototype is 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 | static void _Xsj3cLowerToUpper(); | ^ mode.c:1170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | _Xsj3cUpperToLower(buf, str) | ^ mode.c:52:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static void _Xsj3cUpperToLower(); | ^ 130 warnings generated. rm -f segment.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT segment.c segment.c:53:27: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | if (!(seg = (Xsj3cSeg)malloc(sizeof(Xsj3cSegRec)))) { | ^ segment.c:53:27: note: include the header or explicitly provide a declaration for 'malloc' segment.c:69:23: warning: passing arguments to 'Xsj3cResizeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | Xsj3cResizeSegment(seg, KANABUFSIZ); | ^ segment.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | Xsj3cCreateSegment(buf) | ^ segment.c:31:29: warning: a function declaration without a prototype is 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 | Xsj3cSeg Xsj3cCreateSegment(); | ^ segment.c:95:9: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | free(seg->str); | ^ segment.c:95:9: note: include the header or explicitly provide a declaration for 'free' segment.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | Xsj3cFreeSegment(seg) | ^ segment.c:32:29: warning: a function declaration without a prototype is 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 | void Xsj3cFreeSegment(); | ^ segment.c:123:40: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | if (!(seg->yomi = (wchar *)realloc(seg->yomi, | ^ segment.c:123:40: note: include the header or explicitly provide a declaration for 'realloc' segment.c:125:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | Xsj3cError("Failed to reallocate yomi buffer"); | ^ segment.c:128:40: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | if (!(seg->yomi = (wchar *)calloc(KANABUFSIZ, sizeof(wchar)))) { | ^ segment.c:128:40: note: include the header or explicitly provide a declaration for 'calloc' segment.c:129:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | Xsj3cError("Failed to allocate yomi buffer"); | ^ segment.c:135:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | Xsj3cError("Failed to reallocate display buffer"); | ^ segment.c:139:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | Xsj3cError("Failed to allocate display buffer"); | ^ segment.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | Xsj3cResizeSegment(seg, size) | ^ segment.c:33:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | void Xsj3cResizeSegment(); | ^ segment.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | Xsj3cClearSegment(buf, seg) | ^ segment.c:34:29: warning: a function declaration without a prototype is 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 | void Xsj3cClearSegment(); | ^ segment.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | Xsj3cGetModeStr(buf, len) | ^ segment.c:38:29: warning: a function declaration without a prototype is 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 | wchar *Xsj3cGetModeStr(); | ^ segment.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | Xsj3cGetPosition(buf, curseg, pos) | ^ segment.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | int Xsj3cGetPosition(); | ^ segment.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | Xsj3cGetSegNum(buf) | ^ segment.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | int Xsj3cGetSegNum(); | ^ segment.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | Xsj3cGetSeg(buf, n, len, attr) | ^ segment.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | wchar *Xsj3cGetSeg(); | ^ segment.c:279:20: warning: passing arguments to '_Xsj3cFlushDcid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | _Xsj3cFlushDcid(buf); | ^ segment.c:281:26: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | Xsj3cEndCandidate(buf, ON); | ^ segment.c:284:19: warning: passing arguments to '_Xsj3cWcat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | _Xsj3cWcat(data, buf->input[i]->disp); | ^ segment.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | Xsj3cGetConvertedStr(buf, data) | ^ segment.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | wchar *Xsj3cGetConvertedStr(); | ^ segment.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | Xsj3cGetConvertedLength(buf) | ^ segment.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | int Xsj3cGetConvertedLength(); | ^ 32 warnings generated. rm -f sj3ctype.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT sj3ctype.c sj3ctype.c:33:5: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 33 | NULL, NULL, NULL, NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:33:13: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 33 | NULL, NULL, NULL, NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:33:21: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 33 | NULL, NULL, NULL, NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:33:29: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 33 | NULL, NULL, NULL, NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:34:5: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 34 | NULL, NULL, NULL, NULL | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:34:13: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 34 | NULL, NULL, NULL, NULL | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:34:21: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 34 | NULL, NULL, NULL, NULL | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:34:29: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 34 | NULL, NULL, NULL, NULL | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:40:5: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 40 | NULL, NULL, NULL, NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:40:13: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 40 | NULL, NULL, NULL, NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:40:21: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 40 | NULL, NULL, NULL, NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:40:29: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 40 | NULL, NULL, NULL, NULL, | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:41:5: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 41 | NULL, NULL, NULL, NULL | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:41:13: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 41 | NULL, NULL, NULL, NULL | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:41:21: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 41 | NULL, NULL, NULL, NULL | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:41:29: warning: incompatible pointer to integer conversion initializing 'unsigned char' with an expression of type 'void *' [-Wint-conversion] 41 | NULL, NULL, NULL, NULL | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ sj3ctype.c:51:21: warning: incompatible pointer to integer conversion initializing 'wchar' (aka 'unsigned short') with an expression of type 'void *' [-Wint-conversion] 51 | 0xa5a1, 0xa5f6, NULL | ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' 32 | #define NULL ((void *)0) | ^~~~~~~~~~~ 17 warnings generated. rm -f sjrc.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT sjrc.c sjrc.c:188:36: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | if ((buf->rcfile = (char *)malloc(BUFSIZ)) == NULL) | ^ sjrc.c:188:36: note: include the header or explicitly provide a declaration for 'malloc' sjrc.c:189:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | Xsj3cError("Can't allocate sjrc file"); | ^ sjrc.c:195:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | Xsj3cError("can't open sjrc file %s", sjrc); | ^ sjrc.c:198:28: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | if ((p = getenv("SJRC")) && *p != '\0') { | ^ sjrc.c:216:31: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | Xsj3cError("can't open sjrc file %s", buf->rcfile); | ^ sjrc.c:222:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | Xsj3cWarning("can't open sjrc file %s", buf->rcfile); | ^ sjrc.c:230:25: warning: passing arguments to '_Xsj3cReadRC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | _Xsj3cReadRC(fp, &rctable)) != END; line++) { | ^ sjrc.c:234:30: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | if (_Xsj3cCmp(rctable.key[0], functp->keyword)) { | ^ sjrc.c:235:43: 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] 235 | if (!(*(functp->func))(buf, &rctable)) | ^ sjrc.c:236:37: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | Xsj3cWarning("wrong format in sjrc file. %s:%d", | ^ sjrc.c:245:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | Xsj3cWarning("bad line in sjrc file. %s:%d", buf->rcfile, line); | ^ sjrc.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | Xsj3cRCInit(buf, sjrc, home) | ^ sjrc.c:35:29: warning: a function declaration without a prototype is 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 | void Xsj3cRCInit(); | ^ sjrc.c:264:17: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 264 | if ((fgets (buf, sizeof(buf), fp)) == NULL) | ^~~ /usr/include/stdio.h:273:32: note: passing argument to parameter here 273 | char *(fgets)(char * __restrict, int, FILE * __restrict); | ^ sjrc.c:283:21: 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] 283 | if (!strcmp(&buf[j],SERIAL) || !strcmp(&buf[j],SERIAL2) | ^~~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ sjrc.c:283:48: 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] 283 | if (!strcmp(&buf[j],SERIAL) || !strcmp(&buf[j],SERIAL2) | ^~~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ sjrc.c:284:24: 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] 284 | || !strcmp(&buf[j],SERIAL3)) | ^~~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ sjrc.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | _Xsj3cReadRC(fp, rctable) | ^ sjrc.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static int _Xsj3cReadRC(); | ^ sjrc.c:403:26: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | if (_Xsj3cCmp(table->value[j], "hiragana")) { | ^ sjrc.c:405:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | } else if (_Xsj3cCmp(table->value[j], "zkatakana")) { | ^ sjrc.c:407:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | } else if (_Xsj3cCmp(table->value[j], "hkatakana")) { | ^ sjrc.c:409:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | } else if (_Xsj3cCmp(table->value[j], "halpha")) { | ^ sjrc.c:411:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | } else if (_Xsj3cCmp(table->value[j], "zalpha")) { | ^ sjrc.c:413:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | } else if (_Xsj3cCmp(table->value[j], "jis")) { | ^ sjrc.c:415:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | } else if (_Xsj3cCmp(table->value[j], "sjis")) { | ^ sjrc.c:417:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | } else if (_Xsj3cCmp(table->value[j], "kuten")) { | ^ sjrc.c:419:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | } else if (_Xsj3cCmp(table->value[j], "euc")) { | ^ sjrc.c:422:31: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | if (!_Xsj3cCmp(table->value[j], "unbuff") | ^ sjrc.c:423:38: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | && !_Xsj3cCmp(table->value[j], "buffer") | ^ sjrc.c:424:38: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | && !_Xsj3cCmp(table->value[j], "unbuffer") | ^ sjrc.c:425:38: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | && !_Xsj3cCmp(table->value[j], "direct")) | ^ sjrc.c:426:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | Xsj3cWarning("Unknown input mode \"%s\"",table->value[j]); | ^ sjrc.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | _Xsj3cSetInputMode(buf, table) | ^ sjrc.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | static int _Xsj3cSetInputMode(); | ^ sjrc.c:453:26: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | if (_Xsj3cCmp(table->value[j], "hiragana")) { | ^ sjrc.c:455:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | } else if (_Xsj3cCmp(table->value[j], "zkatakana")) { | ^ sjrc.c:457:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | } else if (_Xsj3cCmp(table->value[j], "hkatakana")) { | ^ sjrc.c:459:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | } else if (_Xsj3cCmp(table->value[j], "halpha")) { | ^ sjrc.c:461:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | } else if (_Xsj3cCmp(table->value[j], "zalpha")) { | ^ sjrc.c:463:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | } else if (_Xsj3cCmp(table->value[j], "hankaku")) { | ^ sjrc.c:465:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | } else if (_Xsj3cCmp(table->value[j], "zenkaku")) { | ^ sjrc.c:467:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | } else if (_Xsj3cCmp(table->value[j], "upper")) { | ^ sjrc.c:469:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | } else if (_Xsj3cCmp(table->value[j], "lower")) { | ^ sjrc.c:472:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | Xsj3cWarning("Unknown print mode \"%s\"",table->value[j]); | ^ sjrc.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | _Xsj3cSetPrintMode(buf, table) | ^ sjrc.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static int _Xsj3cSetPrintMode(); | ^ sjrc.c:499:26: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | if (_Xsj3cCmp(table->value[i], "jis")) { | ^ sjrc.c:501:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | } else if (_Xsj3cCmp(table->value[i], "sjis")) { | ^ sjrc.c:503:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | } else if (_Xsj3cCmp(table->value[i], "kuten")) { | ^ sjrc.c:505:33: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | } else if (_Xsj3cCmp(table->value[i], "euc")) { | ^ sjrc.c:508:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | Xsj3cWarning("Unknown input code"); | ^ sjrc.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | _Xsj3cSetDefCode(buf, table) | ^ sjrc.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static int _Xsj3cSetDefCode(); | ^ sjrc.c:531:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | if (_Xsj3cCmp(table->value[0], "hiragana")) { | ^ sjrc.c:533:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | } else if (_Xsj3cCmp(table->value[0], "zkatakana")) { | ^ sjrc.c:535:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | } else if (_Xsj3cCmp(table->value[0], "hkatakana")) { | ^ sjrc.c:537:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | } else if (_Xsj3cCmp(table->value[0], "halpha")) { | ^ sjrc.c:539:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | } else if (_Xsj3cCmp(table->value[0], "zalpha")) { | ^ sjrc.c:541:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | } else if (_Xsj3cCmp(table->value[0], "jis")) { | ^ sjrc.c:543:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | } else if (_Xsj3cCmp(table->value[0], "sjis")) { | ^ sjrc.c:545:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | } else if (_Xsj3cCmp(table->value[0], "kuten")) { | ^ sjrc.c:547:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | } else if (_Xsj3cCmp(table->value[0], "euc")) { | ^ sjrc.c:550:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | Xsj3cWarning("Invalid muhenkan mode \"%s\"",table->value[0]); | ^ sjrc.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | _Xsj3cSetMuhenkan(buf, table) | ^ sjrc.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static int _Xsj3cSetMuhenkan(); | ^ sjrc.c:566:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | if (_Xsj3cCmp(table->value[0], "hiragana")) { | ^ sjrc.c:568:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | } else if (_Xsj3cCmp(table->value[0], "zkatakana")) { | ^ sjrc.c:570:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | } else if (_Xsj3cCmp(table->value[0], "hkatakana")) { | ^ sjrc.c:572:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | } else if (_Xsj3cCmp(table->value[0], "halpha")) { | ^ sjrc.c:574:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | } else if (_Xsj3cCmp(table->value[0], "zalpha")) { | ^ sjrc.c:576:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | } else if (_Xsj3cCmp(table->value[0], "jis")) { | ^ sjrc.c:578:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | } else if (_Xsj3cCmp(table->value[0], "sjis")) { | ^ sjrc.c:580:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | } else if (_Xsj3cCmp(table->value[0], "kuten")) { | ^ sjrc.c:582:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | } else if (_Xsj3cCmp(table->value[0], "euc")) { | ^ sjrc.c:585:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | Xsj3cWarning("Unknown toggle mode"); | ^ sjrc.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | _Xsj3cSetMuEdit(buf, table) | ^ sjrc.c:44:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static int _Xsj3cSetMuEdit(); | ^ sjrc.c:603:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | _Xsj3cSetMToggle(buf, table) | ^ sjrc.c:45:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static int _Xsj3cSetMToggle(); | ^ sjrc.c:623:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | if (_Xsj3cCmp(table->key[1], "hiragana")) { | ^ sjrc.c:625:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | } else if (_Xsj3cCmp(table->key[1], "zkatakana")) { | ^ sjrc.c:627:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | } else if (_Xsj3cCmp(table->key[1], "hkatakana")) { | ^ sjrc.c:629:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | } else if (_Xsj3cCmp(table->key[1], "halpha")) { | ^ sjrc.c:631:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | } else if (_Xsj3cCmp(table->key[1], "zalpha")) { | ^ sjrc.c:633:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | } else if (_Xsj3cCmp(table->key[1], "jis")) { | ^ sjrc.c:635:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | } else if (_Xsj3cCmp(table->key[1], "sjis")) { | ^ sjrc.c:637:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | } else if (_Xsj3cCmp(table->key[1], "kuten")) { | ^ sjrc.c:639:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | } else if (_Xsj3cCmp(table->key[1], "euc")) { | ^ sjrc.c:641:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | } else if (_Xsj3cCmp(table->key[1], "toroku")) { | ^ sjrc.c:643:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | } else if (_Xsj3cCmp(table->key[1], "register")) { | ^ sjrc.c:645:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | } else if (_Xsj3cCmp(table->key[1], "syoukyo")) { | ^ sjrc.c:647:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | } else if (_Xsj3cCmp(table->key[1], "eliminate")) { | ^ sjrc.c:649:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | } else if (_Xsj3cCmp(table->key[1], "kanji")) { | ^ sjrc.c:651:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | } else if (_Xsj3cCmp(table->key[1], "edit")) { | ^ sjrc.c:653:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | } else if (_Xsj3cCmp(table->key[1], "candidate")) { | ^ sjrc.c:655:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | } else if (_Xsj3cCmp(table->key[1], "symbol")) { | ^ sjrc.c:657:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | } else if (_Xsj3cCmp(table->key[1], "hinsi")) { | ^ sjrc.c:659:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | } else if (_Xsj3cCmp(table->key[1], "quote")) { | ^ sjrc.c:662:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | Xsj3cWarning("Unknown display mode key \"%s\"",table->key[1]); | ^ sjrc.c:665:24: warning: passing arguments to '_Xsj3cmINtowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | _Xsj3cmINtowOUT(buf->rcfile, table->value[0], data, | ^ sjrc.c:670:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | Xsj3cError("Cannot allocate for mode string"); | ^ sjrc.c:672:49: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 672 | if (!(buf->modestr[mode] = (wchar *)realloc(buf->modestr[mode], | ^ sjrc.c:672:49: note: include the header or explicitly provide a declaration for 'realloc' sjrc.c:674:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | Xsj3cError("Cannot reallocate for mode string"); | ^ sjrc.c:676:19: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | _Xsj3cWcpy(buf->modestr[mode], data); | ^ sjrc.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | _Xsj3cSetGuide(buf, table) | ^ sjrc.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | int _Xsj3cSetGuide(); | ^ sjrc.c:694:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | _Xsj3cSetBStudy(buf, table) | ^ sjrc.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static int _Xsj3cSetBStudy(); | ^ sjrc.c:712:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | _Xsj3cSetFlushAfterConv(buf, table) | ^ sjrc.c:49:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetFlushAfterConv(); | ^ sjrc.c:730:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:732:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | else if (_Xsj3cCmp(table->value[0],"off")) | ^ sjrc.c:734:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | else if (_Xsj3cCmp(table->value[0],"edit")) | ^ sjrc.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | _Xsj3cSetFlushInConv(buf, table) | ^ sjrc.c:55:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetFlushInConv(); | ^ sjrc.c:752:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:754:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | else if (_Xsj3cCmp(table->value[0],"off")) | ^ sjrc.c:756:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | else if (_Xsj3cCmp(table->value[0],"edit")) | ^ sjrc.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | _Xsj3cSetFlushSelectConv(buf, table) | ^ sjrc.c:56:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetFlushSelectConv(); | ^ sjrc.c:774:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | _Xsj3cSetFlushEndConv(buf, table) | ^ sjrc.c:57:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetFlushEndConv(); | ^ sjrc.c:792:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | _Xsj3cSetRkeBell(buf, table) | ^ sjrc.c:48:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetRkeBell(); | ^ sjrc.c:810:24: warning: passing arguments to '_Xsj3cReadAscii' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | _Xsj3cReadAscii(buf->rcfile, table->value[0], hostname1); | ^ sjrc.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | _Xsj3cSetSj3Serv(buf, table) | ^ sjrc.c:50:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetSj3Serv(); | ^ sjrc.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | _Xsj3cSetNormal(buf, table) | ^ sjrc.c:51:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetNormal(); | ^ sjrc.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | _Xsj3cSetThroughNext(buf, table) | ^ sjrc.c:52:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static int _Xsj3cSetThroughNext(); | ^ sjrc.c:897:24: warning: passing arguments to '_Xsj3cReadAscii' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | _Xsj3cReadAscii(buf->rcfile, table->value[0], hostname2); | ^ sjrc.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | _Xsj3cSetSj3Serv2(buf, table) | ^ sjrc.c:54:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetSj3Serv2(); | ^ sjrc.c:915:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | _Xsj3cSetAlphaConv(buf, table) | ^ sjrc.c:58:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetAlphaConv(); | ^ sjrc.c:933:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | _Xsj3cSetBackDisplay(buf, table) | ^ sjrc.c:59:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetBackDisplay(); | ^ sjrc.c:951:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:953:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | else if (_Xsj3cCmp(table->value[0],"off")) | ^ sjrc.c:945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | _Xsj3cSetSegLast(buf, table) | ^ sjrc.c:60:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | static int _Xsj3cSetSegLast(); | ^ sjrc.c:971:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | _Xsj3cSetShrinkAll(buf, table) | ^ sjrc.c:65:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetShrinkAll(); | ^ sjrc.c:989:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | if (_Xsj3cCmp(table->value[0],"all")) | ^ sjrc.c:991:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | else if (_Xsj3cCmp(table->value[0],"after")) | ^ sjrc.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | _Xsj3cSetDelChange(buf, table) | ^ sjrc.c:68:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | static int _Xsj3cSetDelChange(); | ^ sjrc.c:1009:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | if (_Xsj3cCmp(table->value[0],"all")) | ^ sjrc.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | _Xsj3cSetFlushChange(buf, table) | ^ sjrc.c:69:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | static int _Xsj3cSetFlushChange(); | ^ sjrc.c:1029:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1033:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | _Xsj3cSetExpandKConv(buf, table) | ^ sjrc.c:63:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetExpandKConv(); | ^ sjrc.c:1054:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1058:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | _Xsj3cSetShrinkKConv(buf, table) | ^ sjrc.c:64:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetShrinkKConv(); | ^ sjrc.c:1079:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1083:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | _Xsj3cSetExpandMConv(buf, table) | ^ sjrc.c:61:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetExpandMConv(); | ^ sjrc.c:1104:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1104 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1108:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | _Xsj3cSetShrinkMConv(buf, table) | ^ sjrc.c:62:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | static int _Xsj3cSetShrinkMConv(); | ^ sjrc.c:1127:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | _Xsj3cSetMoveLoop(buf, table) | ^ sjrc.c:71:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static int _Xsj3cSetMoveLoop(); | ^ sjrc.c:1147:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1151:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | _Xsj3cSetJumpBySeg(buf, table) | ^ sjrc.c:73:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static int _Xsj3cSetJumpBySeg(); | ^ sjrc.c:1172:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1176:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | _Xsj3cSetModeBySeg(buf, table) | ^ sjrc.c:72:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static int _Xsj3cSetModeBySeg(); | ^ sjrc.c:1197:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1201:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | _Xsj3cSetDelBySeg(buf, table) | ^ sjrc.c:74:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetDelBySeg(); | ^ sjrc.c:1222:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1226:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | _Xsj3cSetKillBySeg(buf, table) | ^ sjrc.c:75:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | static int _Xsj3cSetKillBySeg(); | ^ sjrc.c:1245:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | _Xsj3cSetMuhenCursorLast(buf, table) | ^ sjrc.c:76:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static int _Xsj3cSetMuhenCursorLast(); | ^ sjrc.c:1263:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | _Xsj3cSetEditCursorLast(buf, table) | ^ sjrc.c:77:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | static int _Xsj3cSetEditCursorLast(); | ^ sjrc.c:1281:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | _Xsj3cSetFlushCursorLast(buf, table) | ^ sjrc.c:78:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static int _Xsj3cSetFlushCursorLast(); | ^ sjrc.c:1299:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | if (_Xsj3cCmp(table->value[0],"all")) | ^ sjrc.c:1301:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | else if (_Xsj3cCmp(table->value[0],"after")) | ^ sjrc.c:1293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | _Xsj3cSetUnconvSeg(buf, table) | ^ sjrc.c:67:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static int _Xsj3cSetUnconvSeg(); | ^ sjrc.c:1319:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1319 | if (_Xsj3cCmp(table->value[0],"all")) | ^ sjrc.c:1321:23: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1321 | else if (_Xsj3cCmp(table->value[0],"after")) | ^ sjrc.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | _Xsj3cSetConvSeg(buf, table) | ^ sjrc.c:66:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetConvSeg(); | ^ sjrc.c:1342:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | if (_Xsj3cCmp(table->key[1], "hiragana")) { | ^ sjrc.c:1344:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | } else if (_Xsj3cCmp(table->key[1], "zkatakana")) { | ^ sjrc.c:1346:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | } else if (_Xsj3cCmp(table->key[1], "hkatakana")) { | ^ sjrc.c:1348:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | } else if (_Xsj3cCmp(table->key[1], "halpha")) { | ^ sjrc.c:1350:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1350 | } else if (_Xsj3cCmp(table->key[1], "zalpha")) { | ^ sjrc.c:1352:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | } else if (_Xsj3cCmp(table->key[1], "rollup")) { | ^ sjrc.c:1354:29: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1354 | } else if (_Xsj3cCmp(table->key[1], "rolldown")) { | ^ sjrc.c:1357:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1357 | Xsj3cWarning("Unknown conversion mode"); | ^ sjrc.c:1359:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1359 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1363:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | if (_Xsj3cCmp(table->value[1],"on")) | ^ sjrc.c:1367:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | if (_Xsj3cCmp(table->value[2],"on")) | ^ sjrc.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | _Xsj3cSetModeConv(buf, table) | ^ sjrc.c:70:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static int _Xsj3cSetModeConv(); | ^ sjrc.c:1389:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | _Xsj3cSetUnderLine(buf, table) | ^ sjrc.c:79:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static int _Xsj3cSetUnderLine(); | ^ sjrc.c:1407:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1407 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | _Xsj3cSetDispMChange(buf, table) | ^ sjrc.c:80:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static int _Xsj3cSetDispMChange(); | ^ sjrc.c:1425:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1419 | _Xsj3cSetDelLastMove(buf, table) | ^ sjrc.c:81:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static int _Xsj3cSetDelLastMove(); | ^ sjrc.c:1443:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | _Xsj3cSetKanaInput(buf, table) | ^ sjrc.c:82:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static int _Xsj3cSetKanaInput(); | ^ sjrc.c:1461:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | _Xsj3cSetInputSame(buf, table) | ^ sjrc.c:83:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static int _Xsj3cSetInputSame(); | ^ sjrc.c:1479:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1479 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1473 | _Xsj3cSetCntrlSame(buf, table) | ^ sjrc.c:84:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static int _Xsj3cSetCntrlSame(); | ^ sjrc.c:1497:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1491 | _Xsj3cSetSelectConv(buf, table) | ^ sjrc.c:85:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static int _Xsj3cSetSelectConv(); | ^ sjrc.c:1515:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1515 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1509 | _Xsj3cSetBeforeConv(buf, table) | ^ sjrc.c:86:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static int _Xsj3cSetBeforeConv(); | ^ sjrc.c:1533:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | _Xsj3cSetLastDoubleConv(buf, table) | ^ sjrc.c:87:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static int _Xsj3cSetLastDoubleConv(); | ^ sjrc.c:1558:24: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1558 | buf->selectcount = atoi(table->value[0]); | ^ sjrc.c:1545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | _Xsj3cSetSelectCount(buf, table) | ^ sjrc.c:88:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetSelectCount(); | ^ sjrc.c:1573:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1573 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1567 | _Xsj3cSetSelectBackMove(buf, table) | ^ sjrc.c:89:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cSetSelectBackMove(); | ^ sjrc.c:1591:18: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1591 | if (_Xsj3cCmp(table->value[0],"on")) | ^ sjrc.c:1585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1585 | _Xsj3cSetCandidatePad(buf, table) | ^ sjrc.c:90:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static int _Xsj3cSetCandidatePad(); | ^ sjrc.c:1611:24: warning: passing arguments to '_Xsj3cReadAscii' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1611 | _Xsj3cReadAscii(file, table->value[0], buf->rcfile); | ^ sjrc.c:1603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1603 | _Xsj3cSetNextRCFile(buf, table) | ^ sjrc.c:91:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | static int _Xsj3cSetNextRCFile(); | ^ sjrc.c:1635:21: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1635 | Xsj3cWarning("sjrc include nesting too deep"); | ^ sjrc.c:1640:24: warning: passing arguments to '_Xsj3cReadAscii' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1640 | _Xsj3cReadAscii(table->value[0], table->value[0], name); | ^ sjrc.c:1646:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | Xsj3cWarning("can't open include sjrc file %s", file); | ^ sjrc.c:1660:30: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | if (_Xsj3cCmp(rctable.key[0], functp->keyword)) { | ^ sjrc.c:1661:43: 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] 1661 | if (!(*(functp->func))(buf, &rctable)) | ^ sjrc.c:1662:37: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1662 | Xsj3cWarning("wrong format in include sjrc file. %s:%d", | ^ sjrc.c:1671:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1671 | Xsj3cWarning("bad line in sjrc include file. %s:%d", | ^ sjrc.c:1622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1622 | _Xsj3cSetIncludeRCFile(buf, table) | ^ sjrc.c:92:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static int _Xsj3cSetIncludeRCFile(); | ^ 273 warnings generated. rm -f symbol.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT symbol.c symbol.c:64:38: warning: passing arguments to '_Xsj3cReadSymbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | if ((value = _Xsj3cReadSymbol(sjsb)) > 0) | ^ symbol.c:65:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | Xsj3cError("can't open sjsb file %s", sjsb); | ^ symbol.c:67:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | Xsj3cError("read failed sjsb file %s", sjsb); | ^ symbol.c:70:24: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | if ((p = getenv("SJSB")) && *p != '\0') { | ^ symbol.c:84:38: warning: passing arguments to '_Xsj3cReadSymbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | if ((value = _Xsj3cReadSymbol(sbfile)) > 0) { | ^ symbol.c:87:42: warning: passing arguments to '_Xsj3cReadSymbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | if ((value = _Xsj3cReadSymbol(sbfile)) > 0) { | ^ symbol.c:88:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | Xsj3cError("can't open sjsb file %s", sbfile); | ^ symbol.c:90:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | Xsj3cError("read failed sjsb file %s", sbfile); | ^ symbol.c:93:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | Xsj3cError("read failed sjsb file %s", sbfile); | ^ symbol.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | _Xsj3cSymbolInit(sjsb, home) | ^ symbol.c:34:29: warning: a function declaration without a prototype is 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 | Xsj3cSymbol _Xsj3cSymbolInit(); | ^ symbol.c:120:18: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 120 | while (fgets(line, sizeof(line), fp) != NULL) { | ^~~~ /usr/include/stdio.h:273:32: note: passing argument to parameter here 273 | char *(fgets)(char * __restrict, int, FILE * __restrict); | ^ symbol.c:126:36: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | if ((symbollist = (Xsj3cSymbol)calloc(i, sizeof(Xsj3cSymbolRec))) == NULL) { | ^ symbol.c:126:36: note: include the header or explicitly provide a declaration for 'calloc' symbol.c:133:18: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 133 | while (fgets(line, sizeof(line), fp) != NULL && j < i) { | ^~~~ /usr/include/stdio.h:273:32: note: passing argument to parameter here 273 | char *(fgets)(char * __restrict, int, FILE * __restrict); | ^ symbol.c:136:33: warning: passing arguments to '_Xsj3cmINtowOUT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | p += _Xsj3cmINtowOUT(file, p, data, &len); | ^ symbol.c:140:50: warning: passing arguments to '_Xsj3cStoreWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | symbollist[j].data = _Xsj3cStoreWchar(data, len + 1); | ^ symbol.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | _Xsj3cReadSymbol(file) | ^ symbol.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static int _Xsj3cReadSymbol(); | ^ symbol.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | Xsj3cGetSymbolNum(buf, cur) | ^ symbol.c:35:29: warning: a function declaration without a prototype is 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 | int Xsj3cGetSymbolNum(); | ^ symbol.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | Xsj3cGetSymbols(buf) | ^ symbol.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | Xsj3cSymbol Xsj3cGetSymbols(); | ^ symbol.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | Xsj3cGetSymbol(buf, n, len) | ^ symbol.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | wchar *Xsj3cGetSymbol(); | ^ symbol.c:218:30: warning: passing arguments to 'Xsj3cEndCandidate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | Xsj3cEndCandidate(buf, ON); | ^ symbol.c:223:17: warning: call to undeclared function 'Xsj3cFreeSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | Xsj3cFreeSegment(buf->backup[i]); | ^ symbol.c:229:31: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | Xsj3cError("Cannot allocate for backup buffers"); | ^ symbol.c:232:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 232 | if (seg = buf->backup[0]) { | ~~~~^~~~~~~~~~~~~~~~ symbol.c:232:21: note: place parentheses around the assignment to silence this warning 232 | if (seg = buf->backup[0]) { | ^ | ( ) symbol.c:232:21: note: use '==' to turn this assignment into an equality comparison 232 | if (seg = buf->backup[0]) { | ^ | == symbol.c:233:17: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | Xsj3cClearSegment(buf, seg); | ^ symbol.c:235:50: warning: call to undeclared function 'Xsj3cCreateSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | seg = buf->backup[0] = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ symbol.c:235:40: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] 235 | seg = buf->backup[0] = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ symbol.c:242:27: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] 242 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ symbol.c:252:32: warning: passing arguments to '_Xsj3cUnConvSeg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | _Xsj3cUnConvSeg(buf, ONE, buf->muhencurlast); | ^ symbol.c:253:32: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | _Xsj3cStoreYomi(buf, seg, 0); | ^ symbol.c:258:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 258 | if (seg = buf->input[buf->segnum]) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ symbol.c:258:21: note: place parentheses around the assignment to silence this warning 258 | if (seg = buf->input[buf->segnum]) { | ^ | ( ) symbol.c:258:21: note: use '==' to turn this assignment into an equality comparison 258 | if (seg = buf->input[buf->segnum]) { | ^ | == symbol.c:259:17: warning: call to undeclared function 'Xsj3cClearSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | Xsj3cClearSegment(buf, seg); | ^ symbol.c:262:27: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] 262 | = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ symbol.c:280:55: warning: call to undeclared function 'Xsj3cCreateSegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 280 | seg = buf->input[buf->curseg] = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ symbol.c:280:45: warning: cast to 'Xsj3cSeg' (aka 'struct _Xsj3cSeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] 280 | seg = buf->input[buf->curseg] = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ symbol.c:292:20: warning: passing arguments to '_Xsj3cwOUTtowPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | _Xsj3cwOUTtowPS(buf, symbol, buf->symbol[sel_symbol].data); | ^ symbol.c:293:22: warning: passing arguments to '_Xsj3cInsertWchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | _Xsj3cInsertWchar(seg, symbol, buf->symbol[sel_symbol].len); | ^ symbol.c:294:20: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | _Xsj3cStoreYomi(buf, seg, change_pos); | ^ symbol.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | Xsj3cSetSymbol(buf, sel_symbol, changed, flush) | ^ symbol.c:38:29: warning: a function declaration without a prototype is 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 | int Xsj3cSetSymbol(); | ^ symbol.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | Xsj3cEndSymbol(buf) | ^ symbol.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | void Xsj3cEndSymbol(); | ^ 46 warnings generated. rm -f table.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT table.c table.c:82:32: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | chp = (unsigned char *)malloc(BUFSIZ); | ^ table.c:82:32: note: include the header or explicitly provide a declaration for 'malloc' table.c:87:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 87 | strcpy (chp, ch); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ table.c:87:22: 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] 87 | strcpy (chp, ch); | ^~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ table.c:92:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | strcpy (chp, ch); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ table.c:92:22: 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] 92 | strcpy (chp, ch); | ^~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ table.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | _Xsj3cStoreChar(ch, len) | ^ table.c:53:29: warning: a function declaration without a prototype is 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 | static unsigned char *_Xsj3cStoreChar(); | ^ table.c:111:26: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | (void)_Xsj3cWcpy (wp, wch); | ^ table.c:116:26: warning: passing arguments to '_Xsj3cWcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | (void)_Xsj3cWcpy (wp, wch); | ^ table.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | _Xsj3cStoreWchar(wch, len) | ^ table.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | wchar *_Xsj3cStoreWchar(); | ^ table.c:159:55: 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] 159 | } else if (c == '&' && !strcmp("@\033$B", src)) { | ^~~ /usr/include/string.h:90:39: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ table.c:181:25: 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] 181 | s = conv(s); | ^ table.c:188: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] 188 | s = conv(s); | ^ table.c:216:67: warning: passing arguments to '_Xsj3cXtoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(c),file); | ^ table.c:216:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(c),file); | ^ table.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | _Xsj3cmINtomPS(buf, file, src, dest) | ^ table.c:55:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cmINtomPS(); | ^ table.c:257:63: warning: passing arguments to '_Xsj3cXtoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(n),file); | ^ table.c:257:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(n),file); | ^ table.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | _Xsj3cReadAscii(file, src, dest) | ^ table.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | int _Xsj3cReadAscii(); | ^ table.c:304:55: 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 | } else if (c == '&' && !strcmp("@\033$B", src)) { | ^~~ /usr/include/string.h:90:39: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ table.c:326:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | *dest++ = conv((c << 8) + (*src++ & 0xff)); | ^ table.c:350:67: warning: passing arguments to '_Xsj3cXtoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(c),file); | ^ table.c:350:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | Xsj3cError("There is bad code %s in %s",_Xsj3cXtoa(c),file); | ^ table.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | _Xsj3cmINtowOUT(file, src, dest, len) | ^ table.c:45:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | int _Xsj3cmINtowOUT(); | ^ table.c:371:32: warning: passing arguments to '_Xsj3cRKInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | buf->rktable = _Xsj3cRKInit(buf, sjrk, home); | ^ table.c:372:32: warning: passing arguments to '_Xsj3cHKInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | buf->hktable = _Xsj3cHKInit(buf, sjhk, home); | ^ table.c:373:32: warning: passing arguments to '_Xsj3cZHInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | buf->zhtable = _Xsj3cZHInit(buf, sjzh, home); | ^ table.c:374:35: warning: passing arguments to '_Xsj3cSymbolInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | buf->symbol = _Xsj3cSymbolInit(sjsb, home); | ^ table.c:375:36: warning: passing arguments to '_Xsj3cSetPlosive' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | buf->plosive = _Xsj3cSetPlosive(buf); | ^ table.c:376:36: warning: passing arguments to '_Xsj3cSetDouble' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | buf->rkdouble = _Xsj3cSetDouble(buf); | ^ table.c:377:33: warning: passing arguments to '_Xsj3cHinsiInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | buf->hinsi = _Xsj3cHinsiInit(buf); | ^ table.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | Xsj3cInitializeTables(buf, home, sjrk, sjhk, sjzh, sjsb) | ^ table.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | void Xsj3cInitializeTables(); | ^ table.c:400:34: warning: passing arguments to '_Xsj3cReadRK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | if ((value = _Xsj3cReadRK(buf, sjrk, &error)) > 0 ) | ^ table.c:401:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | Xsj3cError("can't open sjrk file %s", sjrk); | ^ table.c:404:31: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | _Xsj3cItoa(error), sjrk); | ^ table.c:403:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | Xsj3cError("read failed line %s sjrk file %s", | ^ table.c:407:24: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | if ((p = getenv("SJRK")) && *p != '\0') { | ^ table.c:421:34: warning: passing arguments to '_Xsj3cReadRK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | if ((value = _Xsj3cReadRK(buf, rkfile, &error)) > 0 ) { | ^ table.c:424:38: warning: passing arguments to '_Xsj3cReadRK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | if ((value = _Xsj3cReadRK(buf, rkfile, &error)) > 0 ) { | ^ table.c:425:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | Xsj3cError("can't open sjrk file %s", rkfile); | ^ table.c:428:35: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | _Xsj3cItoa(error), rkfile); | ^ table.c:427:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | Xsj3cError("read failed line %s sjrk file %s", | ^ table.c:432:31: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | _Xsj3cItoa(error), rkfile); | ^ table.c:431:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | Xsj3cError("read failed line %s sjrk file %s", | ^ table.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | _Xsj3cRKInit(buf, sjrk, home) | ^ table.c:38:29: warning: a function declaration without a prototype is 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 | Xsj3cRKTable *_Xsj3cRKInit(); | ^ table.c:490:18: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 490 | while (fgets(line, sizeof(line), fp) != NULL) { | ^~~~ /usr/include/stdio.h:273:32: note: passing argument to parameter here 273 | char *(fgets)(char * __restrict, int, FILE * __restrict); | ^ table.c:504:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | Xsj3cWarning("can't allocate roman-kana conversion table"); | ^ table.c:509:64: warning: passing 'unsigned char[16]' 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] 509 | rktp->roma = _Xsj3cStoreChar(roma, (rlen = strlen(roma)) + 1); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ table.c:510:64: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 510 | rktp->yomi = _Xsj3cStoreChar(yomi, (ylen = strlen(yomi)) + 1); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ table.c:511:53: warning: passing 'unsigned char[16]' 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] 511 | rktp->str = _Xsj3cStoreChar(str, strlen(str) + 1); | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ table.c:513:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | Xsj3cWarning("can't allocate roman-kana conversion table"); | ^ table.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | _Xsj3cReadRK(buf, file, error) | ^ table.c:57:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cReadRK(); | ^ table.c:547:34: warning: passing arguments to '_Xsj3cReadHK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | if ((value = _Xsj3cReadHK(buf, sjhk, &error)) > 0 ) | ^ table.c:548:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | Xsj3cError("can't open sjhk file %s", sjhk); | ^ table.c:551:31: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | _Xsj3cItoa(error), sjhk); | ^ table.c:550:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | Xsj3cError("read failed line %s sjhk file %s", | ^ table.c:554:24: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | if ((p = getenv("SJHK")) && *p != '\0') { | ^ table.c:568:34: warning: passing arguments to '_Xsj3cReadHK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | if ((value = _Xsj3cReadHK(buf, hkfile, &error)) > 0 ) { | ^ table.c:571:38: warning: passing arguments to '_Xsj3cReadHK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | if ((value = _Xsj3cReadHK(buf, hkfile, &error)) > 0 ) { | ^ table.c:572:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | Xsj3cError("can't open sjhk file %s", hkfile); | ^ table.c:575:35: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | _Xsj3cItoa(error), hkfile); | ^ table.c:574:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | Xsj3cError("read failed line %s sjhk file %s", | ^ table.c:579:31: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | _Xsj3cItoa(error), hkfile); | ^ table.c:578:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | Xsj3cError("read failed line %s sjhk file %s", | ^ table.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | _Xsj3cHKInit(buf, sjhk, home) | ^ table.c:39:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | Xsj3cHKTable *_Xsj3cHKInit(); | ^ table.c:631:18: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 631 | while (fgets(line, sizeof(line), fp) != NULL) { | ^~~~ /usr/include/stdio.h:273:32: note: passing argument to parameter here 273 | char *(fgets)(char * __restrict, int, FILE * __restrict); | ^ table.c:650:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | Xsj3cWarning("can't allocate hiragana-katakana conversion table"); | ^ table.c:655:56: warning: passing 'unsigned char[16]' 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] 655 | hktp->hira = _Xsj3cStoreChar(zhira, strlen(zhira) + 1); | ^~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ table.c:656:57: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 656 | hktp->zkata = _Xsj3cStoreChar(zkata, strlen(zkata) + 1); | ^~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ table.c:658:41: warning: passing 'unsigned char[16]' 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] 658 | (hkata_len = strlen(hkata)) + 1); | ^~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ table.c:660:42: warning: passing 'unsigned char[16]' 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] 660 | (halpha_len = strlen(halpha)) + 1); | ^~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ table.c:662:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | Xsj3cWarning("can't allocate hiragana-katakana conversion table"); | ^ table.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | _Xsj3cReadHK(buf, file, error) | ^ table.c:58:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cReadHK(); | ^ table.c:697:34: warning: passing arguments to '_Xsj3cReadZH' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | if ((value = _Xsj3cReadZH(buf, sjzh, &error)) > 0 ) | ^ table.c:698:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | Xsj3cError("can't open sjzh file %s", sjzh); | ^ table.c:701:31: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | _Xsj3cItoa(error), sjzh); | ^ table.c:700:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | Xsj3cError("read failed line %s sjzk file %s", | ^ table.c:704:24: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | if ((p = getenv("SJZH")) && *p != '\0') { | ^ table.c:718:34: warning: passing arguments to '_Xsj3cReadZH' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | if ((value = _Xsj3cReadZH(buf, zhfile, &error)) > 0 ) { | ^ table.c:721:38: warning: passing arguments to '_Xsj3cReadZH' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | if ((value = _Xsj3cReadZH(buf, zhfile, &error)) > 0 ) { | ^ table.c:722:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | Xsj3cError("can't open sjzh file %s", zhfile); | ^ table.c:725:35: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | _Xsj3cItoa(error), zhfile); | ^ table.c:724:27: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | Xsj3cError("read failed line %s sjzk file %s", | ^ table.c:729:31: warning: passing arguments to '_Xsj3cItoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | _Xsj3cItoa(error), zhfile); | ^ table.c:728:23: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | Xsj3cError("read failed line %s sjzk file %s", | ^ table.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | _Xsj3cZHInit(buf, sjzh, home) | ^ table.c:40:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | Xsj3cZHTable *_Xsj3cZHInit(); | ^ table.c:780:18: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 780 | while (fgets(line, sizeof(line), fp) != NULL) { | ^~~~ /usr/include/stdio.h:273:32: note: passing argument to parameter here 273 | char *(fgets)(char * __restrict, int, FILE * __restrict); | ^ table.c:799:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | Xsj3cWarning("can't allocate zen/hankaku conversion table"); | ^ table.c:804:61: warning: passing 'unsigned char[16]' 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] 804 | zhtp->halpha = _Xsj3cStoreChar(hanalpha, strlen(hanalpha) + 1); | ^~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ table.c:805:61: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 805 | zhtp->zalpha = _Xsj3cStoreChar(zenalpha, strlen(zenalpha) + 1); | ^~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ table.c:806:57: warning: passing 'unsigned char[16]' 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] 806 | zhtp->zkana = _Xsj3cStoreChar(zkana, strlen(zkana) + 1); | ^~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ table.c:807:57: warning: passing 'unsigned char[16]' 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] 807 | zhtp->hkata = _Xsj3cStoreChar(hkata, strlen(hkata) + 1); | ^~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ table.c:810:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | Xsj3cWarning("can't allocate zen/han-kaku conversion table"); | ^ table.c:762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | _Xsj3cReadZH(buf, file, error) | ^ table.c:59:29: warning: a function declaration without a prototype is 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 | static int _Xsj3cReadZH(); | ^ table.c:838:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | Xsj3cError("Null roman-kana conversion table"); | ^ table.c:852:43: warning: passing 'unsigned char[256]' 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] 852 | = _Xsj3cStoreChar(tmp, strlen(tmp) + 1)) == NULL) | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ table.c:853:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | Xsj3cError("can't allocate for roma-kana plosive conversion table"); | ^ table.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | _Xsj3cSetPlosive(buf) | ^ table.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | unsigned char *_Xsj3cSetPlosive(); | ^ table.c:872:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | Xsj3cError("Null roman-kana conversion table"); | ^ table.c:884:33: 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] 884 | if (!strcmp(rktp->yomi, rktp2->yomi)) { | ^~~~~~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ table.c:884:45: 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] 884 | if (!strcmp(rktp->yomi, rktp2->yomi)) { | ^~~~~~~~~~~ /usr/include/string.h:90:39: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ table.c:894:43: warning: passing 'unsigned char[256]' 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] 894 | = _Xsj3cStoreChar(tmp, strlen(tmp) + 1)) == NULL) | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ table.c:895:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | Xsj3cError("can't allocate for roma-kana double conversion table"); | ^ table.c:862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | _Xsj3cSetDouble(buf) | ^ table.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | unsigned char *_Xsj3cSetDouble(); | ^ 117 warnings generated. rm -f util.o cc -c -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../../include -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSJ3DEFPATH=\"/usr/local/lib/X11/ccdef/\" -DTHROUGH_CONT util.c util.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | Xsj3cSetInLang(lang) | ^ util.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | void Xsj3cSetInLang(); | ^ util.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | Xsj3cSetOutLang(lang) | ^ util.c:42:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | void Xsj3cSetOutLang(); | ^ util.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | Xsj3cSetKanaMod(mod) | ^ In file included from util.c:30: In file included from ./common.h:26: ../../include/Xsj3clib.h:406:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 406 | extern void Xsj3cSetKanaMod(); | ^ util.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | Xsj3cWarning(message, s0, s1, s2, s3, s4, s5, s6, s7, s8, s9) | ^ util.c:44:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | void Xsj3cWarning(); | ^ util.c:153:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | exit(1); | ^ util.c:153:5: note: include the header or explicitly provide a declaration for 'exit' util.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | Xsj3cError(message, s0, s1, s2, s3, s4, s5, s6, s7, s8, s9) | ^ util.c:43:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | void Xsj3cError(); | ^ util.c:170:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 170 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:170:14: note: place parentheses around the assignment to silence this warning 170 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | ( ) util.c:170:14: note: use '==' to turn this assignment into an equality comparison 170 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | == util.c:175:28: 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] 175 | *p++ = conv(*q++); | ^ util.c:184:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 184 | while (*p++ = *q++) i++; | ~~~~~^~~~~~ util.c:184:21: note: place parentheses around the assignment to silence this warning 184 | while (*p++ = *q++) i++; | ^ | ( ) util.c:184:21: note: use '==' to turn this assignment into an equality comparison 184 | while (*p++ = *q++) i++; | ^ | == util.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | _Xsj3cwPStowOUT(buf, p, q) | ^ util.c:46:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | int _Xsj3cwPStowOUT(); | ^ util.c:205:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 205 | if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:205:14: note: place parentheses around the assignment to silence this warning 205 | if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { | ^ | ( ) util.c:205:14: note: use '==' to turn this assignment into an equality comparison 205 | if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { | ^ | == util.c:209:28: 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] 209 | *p++ = conv(*q++); | ^ util.c:215:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 215 | while (*p++ = *q++) i++; | ~~~~~^~~~~~ util.c:215:21: note: place parentheses around the assignment to silence this warning 215 | while (*p++ = *q++) i++; | ^ | ( ) util.c:215:21: note: use '==' to turn this assignment into an equality comparison 215 | while (*p++ = *q++) i++; | ^ | == util.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | _Xsj3cwOUTtowPS(buf, p, q) | ^ util.c:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | int _Xsj3cwOUTtowPS(); | ^ util.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | _Xsj3cCmp(s1, s2) | ^ util.c:55:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | int _Xsj3cCmp(); | ^ util.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | _Xsj3cmPStowPS(buf, w, m) | ^ util.c:48:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | int _Xsj3cmPStowPS(); | ^ util.c:286:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 286 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:286:14: note: place parentheses around the assignment to silence this warning 286 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | ( ) util.c:286:14: note: use '==' to turn this assignment into an equality comparison 286 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | == util.c:290:28: 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] 290 | *w++ = conv((c << 8) + *m++); | ^ util.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | _Xsj3cmPStowOUT(buf, w, m) | ^ util.c:49:29: warning: a function declaration without a prototype is 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 | int _Xsj3cmPStowOUT(); | ^ util.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | _Xsj3cmPStowPSn(buf, w, m, n) | ^ util.c:50:29: warning: a function declaration without a prototype is 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 | int _Xsj3cmPStowPSn(); | ^ util.c:356:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 356 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:356:14: note: place parentheses around the assignment to silence this warning 356 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | ( ) util.c:356:14: note: use '==' to turn this assignment into an equality comparison 356 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | == util.c:360:28: 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] 360 | *w++ = conv((c << 8) + *m++); | ^ util.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | _Xsj3cmPStowOUTn(buf, w, m, n) | ^ util.c:51:29: warning: a function declaration without a prototype is 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 | int _Xsj3cmPStowOUTn(); | ^ util.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | _Xsj3cwPStomPS(buf, m, w) | ^ util.c:52:29: warning: a function declaration without a prototype is 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 _Xsj3cwPStomPS(); | ^ util.c:424:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 424 | if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:424:14: note: place parentheses around the assignment to silence this warning 424 | if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { | ^ | ( ) util.c:424:14: note: use '==' to turn this assignment into an equality comparison 424 | if (conv = CodeConvFunc[out_lang][serverIF[buf->server].lang]) { | ^ | == util.c:427:25: 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] 427 | s = conv(*w); | ^ util.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | _Xsj3cwOUTtomPS(buf, m, w) | ^ util.c:53:29: warning: a function declaration without a prototype is 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 | void _Xsj3cwOUTtomPS(); | ^ util.c:459:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 459 | while (*w1++ = *w2++) i++; | ~~~~~~^~~~~~~ util.c:459:18: note: place parentheses around the assignment to silence this warning 459 | while (*w1++ = *w2++) i++; | ^ | ( ) util.c:459:18: note: use '==' to turn this assignment into an equality comparison 459 | while (*w1++ = *w2++) i++; | ^ | == util.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | _Xsj3cWcpy(w1, w2) | ^ util.c:56:29: warning: a function declaration without a prototype is 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 | int _Xsj3cWcpy(); | ^ util.c:474:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 474 | while (*w1++ = *w2++); | ~~~~~~^~~~~~~ util.c:474:18: note: place parentheses around the assignment to silence this warning 474 | while (*w1++ = *w2++); | ^ | ( ) util.c:474:18: note: use '==' to turn this assignment into an equality comparison 474 | while (*w1++ = *w2++); | ^ | == util.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | _Xsj3cWcat(w1, w2) | ^ util.c:57:29: warning: a function declaration without a prototype is 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 | void _Xsj3cWcat(); | ^ util.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | _Xsj3cWlen(w) | ^ util.c:58:29: warning: a function declaration without a prototype is 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 | int _Xsj3cWlen(); | ^ util.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | _Xsj3cItoa(num) | ^ util.c:59:29: warning: a function declaration without a prototype is 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 | char *_Xsj3cItoa(); | ^ util.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | _Xsj3cXtoa(num) | ^ util.c:60:29: warning: a function declaration without a prototype is 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 | char *_Xsj3cXtoa(); | ^ util.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | _Xsj3cInsertChar(buf, seg, m, n) | ^ util.c:62:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | void _Xsj3cInsertChar(); | ^ util.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | _Xsj3cInsertWchar(seg, w, n) | ^ util.c:63:29: warning: a function declaration without a prototype is 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 | void _Xsj3cInsertWchar(); | ^ util.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | _Xsj3cExtractChar(buf, seg, m, n) | ^ util.c:64:29: warning: a function declaration without a prototype is 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 | void _Xsj3cExtractChar(); | ^ util.c:650:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 650 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:650:14: note: place parentheses around the assignment to silence this warning 650 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | ( ) util.c:650:14: note: use '==' to turn this assignment into an equality comparison 650 | if (conv = CodeConvFunc[serverIF[buf->server].lang][out_lang]) { | ^ | == util.c:653:36: 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] 653 | seg->disp[i] = conv(seg->yomi[i]); | ^ util.c:642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | _Xsj3cStoreYomi(buf, seg, pos) | ^ util.c:65:29: warning: a function declaration without a prototype is 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 | void _Xsj3cStoreYomi(); | ^ util.c:688:57: warning: passing arguments to 'Xsj3cCreateSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | buf->input[i] = (Xsj3cSeg)Xsj3cCreateSegment(buf); | ^ util.c:690:31: warning: passing arguments to 'Xsj3cResizeSegment' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | Xsj3cResizeSegment(buf->input[i], KANABUFSIZ); | ^ util.c:704:52: warning: passing arguments to '_Xsj3cCheckMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | buf->input[i]->cursegmode = _Xsj3cCheckMode(buf, buf->input[i]); | ^ util.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | _Xsj3cStoreKanji(buf, bun, cur, num, change) | ^ util.c:66:29: warning: a function declaration without a prototype is 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 | int _Xsj3cStoreKanji(); | ^ util.c:713:1: warning: non-void function does not return a value [-Wreturn-type] 713 | } | ^ util.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | _Xsj3cCheckMode(buf, seg) | ^ util.c:71:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | Xsj3csMode _Xsj3cCheckMode(); | ^ util.c:766:13: 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] 766 | (mbs[0], mbs[1], &buf->input[i + 1]->dcid)) < 0) { | ^ util.c:767:73: warning: too few arguments in call to 'Xsj3cWarning' 767 | Xsj3cWarning("sj3serv is down. reconnect please"); | ~~~~~~~~~~~~ ^ util.c:775:13: 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] 775 | (mbs[1], mbs[0], &buf->input[i]->dcid)) < 0) { | ^ util.c:776:73: warning: too few arguments in call to 'Xsj3cWarning' 776 | Xsj3cWarning("sj3serv is down. reconnect please"); | ~~~~~~~~~~~~ ^ util.c:781:13: 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] 781 | (mbs[0], mbs[0], &buf->input[0]->dcid)) < 0) { | ^ util.c:782:73: warning: too few arguments in call to 'Xsj3cWarning' 782 | Xsj3cWarning("sj3serv is down. reconnect please"); | ~~~~~~~~~~~~ ^ util.c:753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | _Xsj3cFlushDcid(buf) | ^ util.c:68:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | void _Xsj3cFlushDcid(); | ^ util.c:801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | _Xsj3cClearDcid(buf) | ^ util.c:69:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | void _Xsj3cClearDcid(); | ^ 81 warnings generated. rm -f libXsj3clib.a ar cq libXsj3clib.a buffer.o candidate.o code.o connect.o conv.o dict.o func.o libif.o mode.o segment.o sj3ctype.o sjrc.o symbol.o table.o util.o ranlib libXsj3clib.a making all in ./cmd... cc -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -I.. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_WNN -DUSE_CANNA -DUSE_SJ3 -c kinput2.c -o kinput2.o kinput2.c:337:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | exit(1); | ^ kinput2.c:337:2: note: include the header or explicitly provide a declaration for 'exit' kinput2.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | main(ac, av) | ^ kinput2.c:435:24: 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] 435 | (*DefaultErrorHandler)(dpy, error); | ^ kinput2.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | IgnoreBadWindow(dpy, error) | ^ kinput2.c:174: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] 174 | static int IgnoreBadWindow(); | ^ kinput2.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | interruptCallback(cldata, sigid) | ^ kinput2.c:168: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] 168 | static void interruptCallback(); | ^ kinput2.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | Destroyed(w, client_data, call_data) | ^ kinput2.c:180:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 180 | static void Destroyed(); | ^ kinput2.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | realExit(cldata, timerp) | ^ kinput2.c:182:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | static void realExit(); | ^ kinput2.c:602:14: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 602 | p = DATE + 7; /* skip '$Date: ' */ | ~~~~~^~~ kinput2.c:602:14: note: use array indexing to silence this warning 602 | p = DATE + 7; /* skip '$Date: ' */ | ^ | & [ ] 12 warnings generated. rm -f kinput2 cc -o kinput2 -L/usr/local/lib kinput2.o ../lib/libKi2.a ../lib/imlib/libim.a -L/usr/local/lib -lwnn -lcrypt -lcrypt -L/usr/local/lib -lcanna16 ../lib/Xsj3clib/libXsj3clib.a -L/usr/local/lib -lsj3lib -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -Wl,-rpath,/usr/local/lib rm -f kinput2._man if test -z "" ; then cd `dirname kinput2` && ln -s `basename kinput2.man` `basename kinput2._man`; else tradcpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/local -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < kinput2.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >kinput2._man; fi making all in ./ccdef... making all in ./sj3def... cc -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I../include -I../lib/Xsj3clib -I/usr/local/include/sj3lib -I/usr/local/include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c jcode.c -o jcode.o jcode.c:39:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 39 | main(argc, argv) | ^ | int jcode.c:50:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 50 | if (locale = setlocale(LC_CTYPE, "")) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ jcode.c:50:16: note: place parentheses around the assignment to silence this warning 50 | if (locale = setlocale(LC_CTYPE, "")) | ^ | ( ) jcode.c:50:16: note: use '==' to turn this assignment into an equality comparison 50 | if (locale = setlocale(LC_CTYPE, "")) | ^ | == jcode.c:73:13: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | exit (1); | ^ jcode.c:73:13: note: include the header or explicitly provide a declaration for 'exit' jcode.c:84:13: warning: call to undeclared function 'conv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | conv(ibuf, obuf); | ^ jcode.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | main(argc, argv) | ^ jcode.c:129:29: warning: call to undeclared function '_Xsj3ceuc2sjis'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | c = _Xsj3ceuc2sjis(c); | ^ jcode.c:148:25: warning: call to undeclared function '_Xsj3ceuc2sjis'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | c = _Xsj3ceuc2sjis(c); | ^ jcode.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | conv(p, q) | ^ jcode.c:173:1: warning: non-void function does not return a value [-Wreturn-type] 173 | } | ^ 9 warnings generated. rm -f jcode cc -o jcode -L/usr/local/lib jcode.o ../lib/Xsj3clib/code.o -lXext -lX11 -Wl,-rpath,/usr/local/lib rm -f sjhk ./jcode sjhk.EUC > sjhk rm -f sjrc ./jcode sjrc.EUC > sjrc rm -f sjrk ./jcode sjrk.EUC > sjrk rm -f sjsb ./jcode sjsb.EUC > sjsb rm -f sjzh ./jcode sjzh.EUC > sjzh =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> ja-kinput2-3.1_14 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ja-kinput2-3.1_14 ===> Generating temporary packing list installing in ./lib... installing in lib/imlib... install in lib/imlib done installing in lib/Xsj3clib... install in lib/Xsj3clib done installing in ./cmd... /usr/bin/install -c -s kinput2 /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/bin/kinput2 /usr/bin/install -c -m 0444 Kinput2.ad /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/app-defaults/Kinput2 install in cmd done installing in ./ccdef... + mkdir -p /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 ccdef.kinput2 /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 rule.eggfunc /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 rule.func /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 rule.kana /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 rule.kana2 /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 rule.roma /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 rule.wnnroma /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 rule.zascii /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 rule.greek /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 ccdef.kinput2.egg /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 rule.hiragana.egg /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 rule.katakana.egg /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 rule.kigou.egg /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef install in ccdef done installing in ./sj3def... + /usr/bin/install -c -m 0444 sjhk /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 sjrc /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 sjrk /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 sjsb /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef + /usr/bin/install -c -m 0444 sjzh /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/lib/X11/ccdef install in sj3def done installing man pages in ./lib... installing man pages in lib/imlib... install.man in lib/imlib done installing man pages in lib/Xsj3clib... install.man in lib/Xsj3clib done installing man pages in ./cmd... rm -f /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/share/man/man1/kinput2.1* /usr/bin/install -c -m 0444 kinput2._man /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/share/man/man1/kinput2.1 gzip -n /wrkdirs/usr/ports/japanese/kinput2/work/stage/usr/local/share/man/man1/kinput2.1 install.man in cmd done installing man pages in ./ccdef... install.man in ccdef done installing man pages in ./sj3def... install.man in sj3def done ====> 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-18T02:04:22+0000' 'PKG_NOTE_ports_top_git_hash=8c988f802ea2' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=4485bd8221c2' '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 ja-kinput2-3.1_14 ===> Building ja-kinput2-3.1_14 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ja-kinput2-3.1_14 build of japanese/kinput2 | ja-kinput2-3.1_14 ended at Tue Mar 17 22:05:21 EDT 2026 build time: 00:01:00