>>> Building on exopi-5 under japanese/kinput2,canna BDEPENDS = [devel/imake;japanese/canna;devel/imake-cf] DIST = [japanese/kinput2,canna:kinput2-v3.tar.gz] FULLPKGNAME = ja-kinput2-3.0p7-canna RDEPENDS = [japanese/canna] (Junk lock obtained for exopi-5 at 1735137657.87) >>> Running depends in japanese/kinput2,canna at 1735137657.92 last junk was in mail/hypermail,gdbm /usr/sbin/pkg_add -aI -Drepair cannalib-3.5b2p6 imake-1.0.9 imake-cf-1.0.7p0 was: /usr/sbin/pkg_add -aI -Drepair cannalib-3.5b2p6 imake-1.0.9 imake-cf-1.0.7p0 /usr/sbin/pkg_add -aI -Drepair cannalib-3.5b2p6 imake-1.0.9 imake-cf-1.0.7p0 >>> Running show-prepare-results in japanese/kinput2,canna at 1735137661.73 ===> japanese/kinput2,canna ===> Building from scratch ja-kinput2-3.0p7-canna ===> ja-kinput2-3.0p7-canna depends on: imake-* -> imake-1.0.9 ===> ja-kinput2-3.0p7-canna depends on: imake-cf-* -> imake-cf-1.0.7p0 ===> ja-kinput2-3.0p7-canna depends on: cannalib-* -> cannalib-3.5b2p6 ===> Verifying specs: ICE SM X11 Xau Xaw Xdmcp Xext Xmu Xpm Xt c canna16 ===> found ICE.11.0 SM.9.0 X11.18.2 Xau.10.0 Xaw.16.0 Xdmcp.11.0 Xext.13.0 Xmu.11.0 Xpm.10.0 Xt.11.1 c.100.3 canna16.1.0 cannalib-3.5b2p6 imake-1.0.9 imake-cf-1.0.7p0 (Junk lock released for exopi-5 at 1735137662.68) distfiles size=462281 >>> Running build in japanese/kinput2,canna at 1735137662.73 ===> japanese/kinput2,canna ===> Checking files for ja-kinput2-3.0p7-canna `/exopi-cvs/ports/distfiles/kinput2-v3.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for ja-kinput2-3.0p7-canna ===> Patching for ja-kinput2-3.0p7-canna ===> Applying OpenBSD patch patch-client_convlib_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- client/convlib.c.orig Thu May 27 01:55:33 1999 |+++ client/convlib.c Wed Apr 26 02:18:47 2000 -------------------------- Patching file client/convlib.c using Plan A... Hunk #1 succeeded at 322. Hunk #2 succeeded at 338. done ===> Applying OpenBSD patch patch-lib_ConvCtrl_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lib/ConvCtrl.c.orig Thu May 27 01:55:23 1999 |+++ lib/ConvCtrl.c Wed Apr 26 02:18:47 2000 -------------------------- Patching file lib/ConvCtrl.c using Plan A... Hunk #1 succeeded at 1246. Hunk #2 succeeded at 1266. done ===> Applying OpenBSD patch patch-lib_IMProto_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lib/IMProto.c.orig Thu May 27 01:55:23 1999 |+++ lib/IMProto.c Wed Apr 26 02:18:47 2000 -------------------------- Patching file lib/IMProto.c using Plan A... Hunk #1 succeeded at 298. Hunk #2 succeeded at 312. Hunk #3 succeeded at 454. Hunk #4 succeeded at 599. Hunk #5 succeeded at 621. done ===> Applying OpenBSD patch patch-lib_KIProto_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lib/KIProto.c.orig Thu May 27 01:55:24 1999 |+++ lib/KIProto.c Wed Apr 26 02:18:47 2000 -------------------------- Patching file lib/KIProto.c using Plan A... Hunk #1 succeeded at 314. Hunk #2 succeeded at 331. Hunk #3 succeeded at 1239. done ===> Applying OpenBSD patch patch-lib_Sj3_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lib/Sj3.c.orig Thu May 27 01:55:24 1999 |+++ lib/Sj3.c Wed Apr 26 02:18:48 2000 -------------------------- Patching file lib/Sj3.c using Plan A... Hunk #1 succeeded at 249. done ===> Applying OpenBSD patch patch-lib_XimpProto_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lib/XimpProto.c.orig Thu May 27 01:55:25 1999 |+++ lib/XimpProto.c Wed Apr 26 02:18:48 2000 -------------------------- Patching file lib/XimpProto.c using Plan A... Hunk #1 succeeded at 387. Hunk #2 succeeded at 474. done ===> Applying OpenBSD patch patch-lib_cconv_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lib/cconv.c.orig Wed May 26 17:55:25 1999 |+++ lib/cconv.c Sat Mar 17 16:58:01 2012 -------------------------- Patching file lib/cconv.c using Plan A... Hunk #1 succeeded at 611. Hunk #2 succeeded at 767. Hunk #3 succeeded at 965. Hunk #4 succeeded at 973. Hunk #5 succeeded at 1013. Hunk #6 succeeded at 1077. Hunk #7 succeeded at 1246. Hunk #8 succeeded at 1302. Hunk #9 succeeded at 1885. done ===> Applying OpenBSD patch patch-lib_fontset_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lib/fontset.c.orig Thu May 27 01:55:26 1999 |+++ lib/fontset.c Wed Apr 26 02:18:48 2000 -------------------------- Patching file lib/fontset.c using Plan A... Hunk #1 succeeded at 208. Hunk #2 succeeded at 249. done ===> Applying OpenBSD patch patch-lib_imlib_imxport_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lib/imlib/imxport.c.orig Thu May 27 01:55:30 1999 |+++ lib/imlib/imxport.c Wed Apr 26 02:18:48 2000 -------------------------- Patching file lib/imlib/imxport.c using Plan A... Hunk #1 succeeded at 504. done ===> Applying OpenBSD patch patch-lib_wnnlib_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lib/wnnlib.c.orig Thu May 27 01:55:26 1999 |+++ lib/wnnlib.c Wed Apr 26 02:18:48 2000 -------------------------- Patching file lib/wnnlib.c using Plan A... Hunk #1 succeeded at 3554. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for ja-kinput2-3.0p7-canna ===> Configuring for ja-kinput2-3.0p7-canna mv -f /exopi-obj/pobj/ja-kinput2-3.0-canna/kinput2-v3/Kinput2.conf /exopi-obj/pobj/ja-kinput2-3.0-canna/kinput2-v3/Kinput2.conf.org cp /exopi-cvs/ports/japanese/kinput2/files/Kinput2.conf /exopi-obj/pobj/ja-kinput2-3.0-canna/kinput2-v3/Kinput2.conf echo "#define UseCanna" >>/exopi-obj/pobj/ja-kinput2-3.0-canna/kinput2-v3/Kinput2.conf imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles making Makefiles in lib... In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17: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 making Makefiles in lib/imlib... In file included from Imakefile.c:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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:17: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 ./cmd... including in ./ccdef... including in ./sj3def... make depend depending in ./lib... rm -f .depend gccmakedep -f- -- -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- 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 Canna.c > .depend depending in lib/imlib... rm -f .depend gccmakedep -f- -- -I../../include -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXIM_BC -- imattr.c imbuf.c imconv.c imdata.c imdispatch.c imic.c improto.c imrequest.c imxport.c > .depend depending in ./cmd... rm -f .depend gccmakedep -f- -- -I../include -I.. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_CANNA -- kinput2.c > .depend depending in ./ccdef... depending in ./sj3def... ===> Building for ja-kinput2-3.0p7-canna making all in ./lib... rm -f AdoptedShe.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GetParentInfo(); ^ 11 warnings generated. rm -f AuxPanel.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ComputeSize(); ^ AuxPanel.c:451:10: warning: enumeration values 'XtGeometryNo', 'XtGeometryAlmost', and 'XtGeometryDone' not handled in switch [-Wswitch] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] APanelChange(w, segments, nseg, curseg, cursorpos) ^ 39 warnings generated. rm -f CandPanel.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ComputeSize(); ^ CandPanel.c:595:14: warning: enumeration value 'XtGeometryDone' not handled in switch [-Wswitch] switch (re) { ^~ CandPanel.c:580:10: warning: enumeration value 'XtGeometryDone' not handled in switch [-Wswitch] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CPanelMoveCurrent(w, dir) ^ 48 warnings generated. rm -f Canvas.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); ^ 4 warnings generated. rm -f CanvasShel.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ 8 warnings generated. rm -f ConvCtrl.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void EventToInputObject(); ^ ConvCtrl.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Widget CreateInputObject(); ^ ConvCtrl.c:971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean ClassIsSubClassOf(); ^ ConvCtrl.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CaptureClientDead(); ^ ConvCtrl.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void InterceptClientKeyEvent(); ^ ConvCtrl.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SelectFocusKeyEvent(); ^ ConvCtrl.c:1031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void UnselectFocusKeyEvent(); ^ ConvCtrl.c:1042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClientKey(); ^ ConvCtrl.c:1100:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.Finish)((Widget)ccw); ^ ConvCtrl.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClientDead(); ^ ConvCtrl.c:1135:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.Fix)(widget, &arg); ^ ConvCtrl.c:1111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FixCallback(); ^ ConvCtrl.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ConversionEndCallback(); ^ ConvCtrl.c:1182:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.TextChange)(widget); ^ ConvCtrl.c:1155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void TextChangeCallback(); ^ ConvCtrl.c:1198:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.ModeChange)(widget); ^ ConvCtrl.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ModeChangeCallback(); ^ ConvCtrl.c:1215:55: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.SelectionControl)(widget, arg); ^ ConvCtrl.c:1203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SelectionControlCallback(); ^ ConvCtrl.c:1232:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*class->conversionControl_class.AuxControl)(widget, arg); ^ ConvCtrl.c:1220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AuxControlCallback(); ^ ConvCtrl.c:1249:11: warning: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void)snprintf(buf, sizeof(buf), "%%s: %s", msg); ^ ConvCtrl.c:1249:11: note: include the header or explicitly provide a declaration for 'snprintf' ConvCtrl.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void WidgetError(), WidgetWarning(); ^ ConvCtrl.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void WidgetError(), WidgetWarning(); ^ 129 warnings generated. rm -f ConvDisp.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _CDPickupFonts(widget, fontspecs, num_specs, fonts, num_fonts) ^ 50 warnings generated. rm -f ConvMgr.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CMReleaseConverter(w, converter) ^ 19 warnings generated. rm -f ICLabel.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ICLRecomputeSize(w) ^ 27 warnings generated. rm -f InputConv.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] ICGetTriggerKeysOfInputObjectClass(cl, keys_return) ^ 64 warnings generated. rm -f KIProto.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ KIProto.c:317:11: warning: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void)snprintf(buf, sizeof(buf), "_%s_CONVERSION", kpw->kinput.language); ^ KIProto.c:317:11: note: include the header or explicitly provide a declaration for 'snprintf' KIProto.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void jinputFix(); ^ KIProto.c:1587:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClientDead(); ^ 171 warnings generated. rm -f OffConv.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO OffConv.c OffConv.c:313:30: warning: passing arguments to 'CreateDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)CreateDisplayObject(ocw); ^ OffConv.c:314:32: warning: passing arguments to 'CreateSelectionWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)CreateSelectionWidget(ocw); ^ OffConv.c:315:26: warning: passing arguments to 'CreateAuxWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)CreateAuxWidget(ocw); ^ OffConv.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void OffTheSpot_Initialize(); ^ OffConv.c:343:16: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeString(&dsp[i].seg); ^ OffConv.c:344:29: warning: passing arguments to 'destroyDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroyDisplayFragments(dsp->fragments); ^ OffConv.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void OffTheSpot_Destroy(); ^ OffConv.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean OffTheSpot_SetValues(); ^ OffConv.c:389:23: warning: passing arguments to 'SetupDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupDisplayObject(ocw, valuemask, value); ^ OffConv.c:390:20: warning: passing arguments to 'SetupModeWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupModeWidget(ocw, valuemask, value); ^ OffConv.c:391:22: warning: passing arguments to 'SetupCanvasWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupCanvasWidget(ocw, valuemask, value); ^ OffConv.c:394:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clearAllDisplaySegments(ocw); ^ OffConv.c:398:16: warning: passing arguments to 'eraseCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eraseCursor(ocw); ^ OffConv.c:400:20: warning: passing arguments to 'initialLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initialLocation(ocw, &(ocw->offthespot.cursorlocation)); ^ OffConv.c:404:33: warning: passing arguments to 'getToplevelWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] toplevel = getToplevelWindow(XtDisplay(widget), ^ OffConv.c:406:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setTransientFor(ocw->offthespot.selectionshell, toplevel); ^ OffConv.c:407:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setTransientFor(ocw->offthespot.auxshell, toplevel); ^ OffConv.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void OffTheSpot_Startup(); ^ OffConv.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void OffTheSpot_ConversionFinish(); ^ OffConv.c:472:24: warning: passing arguments to 'ResetModeWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ResetModeWidget(ocw, valuemask, value) && ^ OffConv.c:478:32: warning: passing arguments to 'ResetDisplayObject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redraw = ResetDisplayObject(ocw, valuemask, value); ^ OffConv.c:479:33: warning: passing arguments to 'ResetCanvasWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reconfig = ResetCanvasWidget(ocw, valuemask, value); ^ OffConv.c:482:12: warning: passing arguments to 'TextResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextResize(ocw->offthespot.canvaswidget, (XtPointer)w, (XtPointer)NULL); ^ OffConv.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void OffTheSpot_ChangeAttributes(); ^ OffConv.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void OffTheSpot_ChangeFocus(); ^ OffConv.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Separate_Initialize(); ^ OffConv.c:568:28: warning: passing arguments to 'clearAllDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clearAllDisplaySegments((OffTheSpotConversionWidget)scw); ^ OffConv.c:572:16: warning: passing arguments to 'eraseCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eraseCursor((OffTheSpotConversionWidget)scw); ^ OffConv.c:574:20: warning: passing arguments to 'initialLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initialLocation((OffTheSpotConversionWidget)scw, ^ OffConv.c:605:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveShell(widget, x, y); ^ OffConv.c:608:33: warning: passing arguments to 'getToplevelWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] toplevel = getToplevelWindow(XtDisplay(widget), ^ OffConv.c:610:20: warning: passing arguments to 'setTransientFor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setTransientFor((Widget)scw, toplevel); ^ OffConv.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Separate_Startup(); ^ OffConv.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Separate_ConversionFinish(); ^ OffConv.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Separate_ChangeAttributes(); ^ OffConv.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Separate_ChangeFocus(); ^ OffConv.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Widget CreateDisplayObject(); ^ OffConv.c:685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Widget CreateSelectionWidget(); ^ OffConv.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Widget CreateAuxWidget(); ^ OffConv.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetupDisplayObject(); ^ OffConv.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean ResetDisplayObject(); ^ OffConv.c:803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetupModeWidget(); ^ OffConv.c:869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean ResetModeWidget(); ^ OffConv.c:911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetupCanvasWidget(); ^ OffConv.c:967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean ResetCanvasWidget(); ^ OffConv.c:1008:16: warning: passing arguments to 'eraseCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eraseCursor(ocw); ^ OffConv.c:1009:27: warning: passing arguments to 'computeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeDisplaySegments(ocw); ^ OffConv.c:1010:18: warning: passing arguments to 'computeCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeCursor(ocw); ^ OffConv.c:1011:23: warning: passing arguments to 'reconfigureDisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reconfigureDisplay(ocw); ^ OffConv.c:1012:18: warning: passing arguments to 'updateDisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] updateDisplay(ocw); ^ OffConv.c:1013:15: warning: passing arguments to 'showCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showCursor(ocw); ^ OffConv.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void UpdateText(); ^ OffConv.c:1017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void UpdateMode(); ^ OffConv.c:1039:16: warning: passing arguments to 'SelectionStart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionStart(ocw, arg->u.selection_kind); ^ OffConv.c:1042:14: warning: passing arguments to 'SelectionEnd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionEnd(ocw, &arg->u.current_item); ^ OffConv.c:1045:14: warning: passing arguments to 'SelectionSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionSet(ocw, arg->u.current_item); ^ OffConv.c:1048:15: warning: passing arguments to 'SelectionMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionMove(ocw, arg->u.dir); ^ OffConv.c:1051:14: warning: passing arguments to 'SelectionGet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionGet(ocw, &arg->u.current_item); ^ OffConv.c:1029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SelectionControl(); ^ OffConv.c:1087:25: warning: passing arguments to 'LocateSelectionPopup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LocateSelectionPopup(ocw); ^ OffConv.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SelectionStart(); ^ OffConv.c:1108:21: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeLastPosition(ocw->offthespot.dispsegments[ocw->offthespot.numsegments - 1].fragments, &lastp); ^ OffConv.c:1130:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveShell(shell, x, y); ^ OffConv.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LocateSelectionPopup(); ^ OffConv.c:1134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SelectionEnd(); ^ OffConv.c:1154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SelectionSet(); ^ OffConv.c:1170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SelectionGet(); ^ OffConv.c:1186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SelectionMove(); ^ OffConv.c:1214:10: warning: passing arguments to 'AuxStart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxStart(ocw); ^ OffConv.c:1217:8: warning: passing arguments to 'AuxEnd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxEnd(ocw); ^ OffConv.c:1220:11: warning: passing arguments to 'AuxChange' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AuxChange(ocw); ^ OffConv.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AuxControl(); ^ OffConv.c:1252:17: warning: passing arguments to 'LocateAuxPopup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LocateAuxPopup(ocw); ^ OffConv.c:1235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AuxStart(); ^ OffConv.c:1260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AuxEnd(); ^ OffConv.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AuxChange(); ^ OffConv.c:1303:21: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeLastPosition(ocw->offthespot.dispsegments[ocw->offthespot.numsegments - 1].fragments, &lastp); ^ OffConv.c:1325:14: warning: passing arguments to 'MoveShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveShell(shell, x, y); ^ OffConv.c:1289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LocateAuxPopup(); ^ OffConv.c:1351:32: warning: passing arguments to 'exposeCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursorredraw = exposeCursor(ocw, w, ®ion); ^ OffConv.c:1352:19: warning: passing arguments to 'redrawSegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redrawSegments(ocw, ®ion); ^ OffConv.c:1353:33: warning: passing arguments to 'showCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cursorredraw) showCursor(ocw); ^ OffConv.c:1335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void TextRedisplay(); ^ OffConv.c:1367:29: warning: passing arguments to 'recomputeDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] recomputeDisplaySegments(ocw); ^ OffConv.c:1368:18: warning: passing arguments to 'computeCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeCursor(ocw); ^ OffConv.c:1359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void TextResize(); ^ OffConv.c:1389:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int current = (int)call_data; ^~~~~~~~~~~~~~ OffConv.c:1383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SelectionSelected(); ^ OffConv.c:1418:25: warning: passing arguments to 'allocDisplaySegments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocDisplaySegments(ocw, nnew); ^ OffConv.c:1420:20: warning: passing arguments to 'initialLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initialLocation(ocw, &disploc); ^ OffConv.c:1425:16: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyString(newseg, &dseg->seg); ^ OffConv.c:1427:47: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dseg->fragments = computeDisplayFragments(ocw, newseg, &disploc); ^ OffConv.c:1437:41: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newfragments = computeDisplayFragments(ocw, newseg, &disploc); ^ OffConv.c:1442:22: warning: passing arguments to 'computeLastPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeLastPosition(newfragments, &disploc); ^ OffConv.c:1467:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeString(&dseg->seg); ^ OffConv.c:1468:13: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyString(newseg, &dseg->seg); ^ OffConv.c:1472:13: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeString(&dseg->seg); ^ OffConv.c:1473:13: warning: passing arguments to 'copyString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyString(newseg, &dseg->seg); ^ OffConv.c:1476:44: warning: passing arguments to 'freeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (oldfragments) freeDisplayFragments(oldfragments); ^ OffConv.c:1480:53: warning: passing arguments to 'freeDisplaySegment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (; i < nold; i++, dseg++) freeDisplaySegment(dseg); ^ OffConv.c:1404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void computeDisplaySegments(); ^ OffConv.c:1495:20: warning: passing arguments to 'initialLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initialLocation(ocw, &disploc); ^ OffConv.c:1498:22: warning: passing arguments to 'freeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeDisplayFragments(dseg->fragments); ^ OffConv.c:1500:43: warning: passing arguments to 'computeDisplayFragments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dseg->fragments = computeDisplayFragments(ocw, &dseg->seg, &disploc); ^ OffConv.c:1487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void recomputeDisplaySegments(); ^ OffConv.c:1506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void computeLastPosition(); ^ OffConv.c:1532:33: warning: passing arguments to 'widthAvailable' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] widthavailable = widthAvailable(ocw, disploc); ^ OffConv.c:1562:42: warning: passing arguments to 'nextLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (start < newseg->nchars) nextLocation(ocw, disploc); ^ OffConv.c:1517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static DisplayFragment * computeDisplayFragments(); ^ OffConv.c:1570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int widthAvailable(); ^ OffConv.c:1580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void initialLocation(); ^ OffConv.c:1598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void nextLocation(); ^ OffConv.c:1608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static DisplayLocation * findLocation(); ^ OffConv.c:1636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void reconfigureDisplay(); ^ OffConv.c:1683:26: warning: passing arguments to 'updateDisplaySegment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] updateDisplaySegment(ocw, dsp); ^ OffConv.c:1674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void updateDisplay(); ^ OffConv.c:1690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void updateDisplaySegment(); ^ OffConv.c:1729:23: warning: passing arguments to 'intersectRect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (intersectRect(&dfp->region, region)) { ^ OffConv.c:1717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void redrawSegments(); ^ OffConv.c:1744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void eraseCursor(); ^ OffConv.c:1762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void showCursor(); ^ OffConv.c:1793:22: warning: passing arguments to 'intersectRect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (intersectRect(region, &bounds)) { ^ OffConv.c:1797:11: warning: passing arguments to 'unionRect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unionRect(region, &bounds, region); ^ OffConv.c:1779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean exposeCursor(); ^ OffConv.c:1805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void computeCursor(); ^ OffConv.c:1841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void MoveShell(); ^ OffConv.c:1862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Window getToplevelWindow(); ^ OffConv.c:1901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void setTransientFor(); ^ OffConv.c:1911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean intersectRect(); ^ OffConv.c:1923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void unionRect(); ^ OffConv.c:1960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void freeDisplayFragments(); ^ OffConv.c:1973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void destroyDisplayFragments(); ^ OffConv.c:1987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void allocDisplaySegments(); ^ OffConv.c:2006:15: warning: passing arguments to 'freeString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeString(&dsp->seg); ^ OffConv.c:2003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void freeDisplaySegment(); ^ OffConv.c:2013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void clearAllDisplaySegments(); ^ OffConv.c:2027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void copyString(); ^ OffConv.c:2038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void freeString(); ^ 204 warnings generated. rm -f OverConv.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void TextRedisplay(); ^ OverConv.c:1645:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void freeString(); ^ 229 warnings generated. rm -f OnConv.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LocateAuxPopup(); ^ OnConv.c:1042:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CBPreeditDraw(); ^ OnConv.c:1370:10: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CBStatusDraw(); ^ 140 warnings generated. rm -f WcharDisp.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(); ^ WcharDisp.c:261:43: warning: self-comparison always evaluates to false [-Wtautological-compare] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int charWidth(); ^ 40 warnings generated. rm -f XimpProto.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(); ^ XimpProto.c:390:11: warning: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void)snprintf(buf, sizeof(buf), "_XIMP_%s", xpw->ximp.localename); ^ XimpProto.c:390:11: note: include the header or explicitly provide a declaration for 'snprintf' XimpProto.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (!readProperty(client, xpw->ximp.ximpStatusFontAtom, XA_STRING, 8, ^ XimpProto.c:1304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void fixProc(); ^ XimpProto.c:1943:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void preeditDrawCallback(); ^ XimpProto.c:2717:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void statusDraw(); ^ 210 warnings generated. rm -f IMProto.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ IMProto.c:301:8: warning: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void)snprintf(path, sizeof(path), "%s/%s", UNIX_SOCKET_DIR, ^ IMProto.c:301:8: note: include the header or explicitly provide a declaration for 'snprintf' IMProto.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] loseSelection(w, selectionp) ^ IMProto.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] acceptTCPService(client_data, sourcep, idp) ^ IMProto.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ioeCallback(cldata) ^ 18 warnings generated. rm -f cachedatom.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CachedGetAtomName(dpy, atom) ^ 5 warnings generated. rm -f cachedfont.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CachedFreeFont(dpy, font) ^ 9 warnings generated. rm -f ctext.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO ctext.c ctext.c:110:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *wstr++) { ~~^~~~~~~~~ ctext.c:110:11: note: place parentheses around the assignment to silence this warning while (c = *wstr++) { ^ ( ) ctext.c:110:11: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] convCTtoJWS(xstr, len, wstr) ^ 6 warnings generated. rm -f dispatch.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] MyRemoveAllEventHandler(dpy, window) ^ 8 warnings generated. rm -f fontset.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ExtractFontsFromFontSet(dpy, fontset, charsets, exfonts, numcsets) ^ 18 warnings generated. rm -f wstring.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] wstrcat(s1, s2) ^ wstring.c:37:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s1++ = *s2++) ~~~~~~^~~~~~~ wstring.c:37:15: note: place parentheses around the assignment to silence this warning while (*s1++ = *s2++) ^ ( ) wstring.c:37:15: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] wstrcpy(s1, s2) ^ wstring.c:89:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s1++ = *s2++) ~~~~~~^~~~~~~ wstring.c:89:15: note: place parentheses around the assignment to silence this warning while (*s1++ = *s2++) ^ ( ) wstring.c:89:15: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] wstrlen(s) ^ wstring.c:131:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (x = *s++) { ~~^~~~~~ wstring.c:131:11: note: place parentheses around the assignment to silence this warning while (x = *s++) { ^ ( ) wstring.c:131:11: note: use '==' to turn this assignment into an equality comparison while (x = *s++) { ^ == wstring.c:150:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (x = *s++) { ~~^~~~~~ wstring.c:150:11: note: place parentheses around the assignment to silence this warning while (x = *s++) { ^ ( ) wstring.c:150:11: note: use '==' to turn this assignment into an equality comparison while (x = *s++) { ^ == 11 warnings generated. rm -f xtwstr.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XtWSReleaseGCSet(w, gcset) ^ 3 warnings generated. rm -f xwstr.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] flushstr(d, w, fe, x, y, cp0, cp1, image) ^ 9 warnings generated. rm -f asyncerr.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XAESetRecordErrors(dpy, errorbitsp) ^ 16 warnings generated. rm -f fontbank.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] FontBankFreeFonts(bank, fonts, num_fonts) ^ 10 warnings generated. rm -f parsekey.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ParseKeyEvent(s, keysymp, modp, chkmodp) ^ 3 warnings generated. rm -f ioecall.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XIOESet(handler, client_data) ^ ioecall.c:73:20: warning: call to undeclared function 'malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cb = (CBDesc *)malloc(sizeof(CBDesc)); ^ ioecall.c:73:10: warning: cast to 'CBDesc *' (aka 'struct ioe_cb_desc_ *') from smaller integer type 'int' [-Wint-to-pointer-cast] cb = (CBDesc *)malloc(sizeof(CBDesc)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ioecall.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XIOEUnset(handle) ^ ioecall.c:108:12: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void)free((char *)cb); ^ 8 warnings generated. rm -f Canna.o cc -c -O2 -I../include -Iimlib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Canna.c Canna.c:99:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] changeTextForCanna(obj, ks); ^ Canna.c:345:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static ICString *GetItemList(); ^ Canna.c:500:20: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int ConvertedString(); ^ Canna.c:565:18: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] initializeCannaConnection(obj) ^ Canna.c:645:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern (*jrBeepFunc)(); ~~~~~~ ^ int Canna.c:650:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static initializeCannaConnection(); ^ Canna.c:700:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:715:13: warning: passing arguments to 'freeIBuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeIBuf(obj->canna.ibuf); ^ Canna.c:732:20: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static changeTextForCanna(); ^ Canna.c:1008:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:1024:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static copyInWchar(); ^ Canna.c:1065:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static fixProcForCanna(); ^ Canna.c:1084:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:1093:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static shiftRight(), shiftLeft(), shiftLeftAll(); ^ Canna.c:1113:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:1122:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static shiftRight(), shiftLeft(), shiftLeftAll(); ^ Canna.c:1139:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:1148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static shiftRight(), shiftLeft(), shiftLeftAll(); ^ Canna.c:1168:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:1176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static ibufInitialize(), freeIBuf(); ^ Canna.c:1198:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:1207:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] freeIBuf(ib) ^ Canna.c:1228:3: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free(ib); ^ Canna.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] toJapaneseMode(obj) ^ Canna.c:1249:18: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static toJapaneseMode(); ^ Canna.c:1252:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:1261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void getAllCandidates(); ^ Canna.c:1667:22: warning: cast to smaller integer type 'int' from 'CannaObject' (aka 'struct _CannaRec *') [-Wpointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int StatusString(); ^ 163 warnings generated. rm -f libKi2.a ar clq 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 Canna.o ranlib libKi2.a making all in lib/imlib... rm -f imattr.o cc -c -O2 -I../../include -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXIM_BC imattr.c imattr.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getC16(data, order) ^ imattr.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getI16(data, order) ^ imattr.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getC32(data, order) ^ imattr.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] validateClientWindow(icp) ^ imattr.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] validateFocusWindow(icp) ^ imattr.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] badSizeError(icp, code) ^ imattr.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unnestedError(icp) ^ imattr.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getPSPtr(icp, type) ^ imattr.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getIMValues(imp, data, len, offset) ^ imattr.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getQueryInputStyle(imp, id, offset) ^ imattr.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setICValues(icp, data, len, nest, op) ^ imattr.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setInputStyle(icp, value, len, order, nest, op) ^ imattr.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setClientWindow(icp, value, len, order, nest, op) ^ imattr.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setFocusWindow(icp, value, len, order, nest, op) ^ imattr.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setPreeditAttributes(icp, value, len, order, nest, op) ^ imattr.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setStatusAttributes(icp, value, len, order, nest, op) ^ imattr.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setArea(icp, value, len, order, nest, op) ^ imattr.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setAreaNeeded(icp, value, len, order, nest, op) ^ imattr.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setForeground(icp, value, len, order, nest, op) ^ imattr.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setBackground(icp, value, len, order, nest, op) ^ imattr.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setColormap(icp, value, len, order, nest, op) ^ imattr.c:765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setBgPixmap(icp, value, len, order, nest, op) ^ imattr.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setLineSpace(icp, value, len, order, nest, op) ^ imattr.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setCursor(icp, value, len, order, nest, op) ^ imattr.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setSpotLocation(icp, value, len, order, nest, op) ^ imattr.c:908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setStdColormap(icp, value, len, order, nest, op) ^ imattr.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setFontSet(icp, value, len, order, nest, op) ^ imattr.c:1035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getICValues(icp, data, len, nest, offset, sepp) ^ imattr.c:1098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getPSAttributes(icp, id, nest, offset, data, len) ^ imattr.c:1153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getPreeditAttributes(icp, id, nest, offset, data, len) ^ imattr.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getStatusAttributes(icp, id, nest, offset, data, len) ^ imattr.c:1181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getInputStyle(icp, id, nest, offset, data, len) ^ imattr.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getClientWindow(icp, id, nest, offset, data, len) ^ imattr.c:1234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getFocusWindow(icp, id, nest, offset, data, len) ^ imattr.c:1271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getFilterEvents(icp, id, nest, offset, data, len) ^ imattr.c:1292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getArea(icp, id, nest, offset, data, len) ^ imattr.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getAreaNeeded(icp, id, nest, offset, data, len) ^ imattr.c:1365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getSpotLocation(icp, id, nest, offset, data, len) ^ imattr.c:1399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getColormap(icp, id, nest, offset, data, len) ^ imattr.c:1430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getStdColormap(icp, id, nest, offset, data, len) ^ imattr.c:1466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getForeground(icp, id, nest, offset, data, len) ^ imattr.c:1497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getBackground(icp, id, nest, offset, data, len) ^ imattr.c:1528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getBgPixmap(icp, id, nest, offset, data, len) ^ imattr.c:1559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getFontSet(icp, id, nest, offset, data, len) ^ imattr.c:1595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getLineSpace(icp, id, nest, offset, data, len) ^ imattr.c:1626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getCursor(icp, id, nest, offset, data, len) ^ imattr.c:1656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] changeFonts(icp, preedit) ^ imattr.c:1696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fillCommonDefault(icp, mask) ^ imattr.c:1724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getNaturalLineSpace(icp, preedit) ^ imattr.c:1756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fillPSDefault(icp, type, mask) ^ imattr.c:1851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] validateCommonAttr(icp, checkonly) ^ imattr.c:1902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] validatePSAttr(icp, type, checkonly) ^ imattr.c:1988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] changeConversionAttributes(icp) ^ imattr.c:2000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeAreaNeeded(icp) ^ imattr.c:2089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] computeAreaForQuery(icp) ^ imattr.c:2126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMPutIMAttrList(imp) ^ imattr.c:2156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMPutICAttrList(imp) ^ imattr.c:2187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMSetIMValues(imp, data, len, major) ^ imattr.c:2202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMGetIMValues(imp, data, len, offset) ^ imattr.c:2226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMSetICValues(icp, data, len, major) ^ imattr.c:2271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMGetICValues(icp, data, len, offset) ^ imattr.c:2310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMFillDefault(icp, common_mask, preedit_mask, status_mask) ^ imattr.c:2324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMValidateWindow(dpy, win, profilep) ^ imattr.c:2351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMValidateICAttributes(icp, checkonly) ^ imattr.c:2379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMFreeICAttributes(icp) ^ imattr.c:2400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMMakeConvAttributes(icp, attr) ^ imattr.c:2517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMMoveLocation(icp, x, y) ^ 67 warnings generated. rm -f imbuf.o cc -c -O2 -I../../include -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] IMBufCompact(ibp) ^ 9 warnings generated. rm -f imconv.o cc -c -O2 -I../../include -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXIM_BC imconv.c imconv.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fillDefaultAttributesForStartup(icp) ^ imconv.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makeConvAttributesForStartup(icp, attrp) ^ imconv.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] commitString(icp, str, len, sync) ^ imconv.c:126:2: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] printf("* commit string:\n\t"); ^ imconv.c:126:2: note: include the header or explicitly provide a declaration for 'printf' imconv.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixCallback(w, client_data, call_data) ^ imconv.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] detachConverter(icp) ^ imconv.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endCallback(w, client_data, call_data) ^ imconv.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unusedEventCallback(w, client_data, call_data) ^ imconv.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditStartCallback(w, client_data, call_data) ^ imconv.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDoneCallback(w, client_data, call_data) ^ imconv.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDrawCallback(w, client_data, call_data) ^ imconv.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditCaretCallback(w, client_data, call_data) ^ imconv.c:390:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int caret = (int)call_data; ^~~~~~~~~~~~~~ imconv.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusStartCallback(w, client_data, call_data) ^ imconv.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDoneCallback(w, client_data, call_data) ^ imconv.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDrawCallback(w, client_data, call_data) ^ imconv.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditStart(icp) ^ imconv.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDone(icp) ^ imconv.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditDraw(icp, data) ^ imconv.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preeditCaret(icp, caret) ^ imconv.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusStart(icp) ^ imconv.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDone(icp) ^ imconv.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] statusDraw(icp, data) ^ imconv.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMStartConversion(icp) ^ imconv.c:792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMStopConversion(icp) ^ imconv.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMResetIC(icp, preedit_strp) ^ imconv.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMForwardEvent(icp, ev) ^ imconv.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMSetFocus(icp) ^ imconv.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMUnsetFocus(icp) ^ imconv.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMStatusStart(icp) ^ imconv.c:898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMStatusDone(icp) ^ 31 warnings generated. rm -f imdata.o cc -c -O2 -I../../include -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] IMSendBadLength(conn, imid, icid) ^ 21 warnings generated. rm -f imdispatch.o cc -c -O2 -I../../include -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] IMProcessQueue(w) ^ 12 warnings generated. rm -f imic.o cc -c -O2 -I../../include -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] IMCreateIC(imp) ^ imic.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMDestroyIM(imp) ^ imic.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMDestroyIC(icp) ^ 16 warnings generated. rm -f improto.o cc -c -O2 -I../../include -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] IMGetConverter(w, locale) ^ 23 warnings generated. rm -f imrequest.o cc -c -O2 -I../../include -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXIM_BC imrequest.c imrequest.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compileTbl(req) ^ imrequest.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximDisconnectProc(conn, major, minor, arglen) ^ imrequest.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ecode2str(code) ^ imrequest.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximErrorProc(conn, major, minor, arglen) ^ imrequest.c:275:2: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] printf("** XIM_ERROR message received:\n"); ^ imrequest.c:275:2: note: include the header or explicitly provide a declaration for 'printf' imrequest.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putTriggerkeyList(imp) ^ imrequest.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setEventMask(conn, imid, icid, forward_mask, synchronous_mask) ^ imrequest.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximOpenProc(conn, major, minor, arglen) ^ imrequest.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximCloseProc(conn, major, minor, arglen) ^ imrequest.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximTriggerNotifyProc(conn, major, minor, arglen) ^ imrequest.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findCtext(conn, arglen) ^ imrequest.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximEncodingNegotiationProc(conn, major, minor, arglen) ^ imrequest.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getExtension(name) ^ imrequest.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putExtension(conn, req) ^ imrequest.c:632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximQueryExtensionProc(conn, major, minor, arglen) ^ imrequest.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximSetIMValuesProc(conn, major, minor, arglen) ^ imrequest.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximGetIMValuesProc(conn, major, minor, arglen) ^ imrequest.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximCreateICProc(conn, major, minor, arglen) ^ imrequest.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximDestroyICProc(conn, major, minor, arglen) ^ imrequest.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximSetICValuesProc(conn, major, minor, arglen) ^ imrequest.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximGetICValuesProc(conn, major, minor, arglen) ^ imrequest.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximSetICFocusProc(conn, major, minor, arglen) ^ imrequest.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximUnsetICFocusProc(conn, major, minor, arglen) ^ imrequest.c:981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] swapData(data, format) ^ imrequest.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getEvent(conn, serial, offset, ev) ^ imrequest.c:1116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] postponeEvent(icp, synchronous, ev) ^ imrequest.c:1133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] handleForwardedEvent(icp, synchronous, ev) ^ imrequest.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximForwardEventProc(conn, major, minor, arglen) ^ imrequest.c:1231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximExtForwardKeyeventProc(conn, major, minor, arglen) ^ imrequest.c:1289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximSyncProc(conn, major, minor, arglen) ^ imrequest.c:1310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] processPendingEvents(icp, pending_event) ^ imrequest.c:1330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximSyncReplyProc(conn, major, minor, arglen) ^ imrequest.c:1354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximResetICProc(conn, major, minor, arglen) ^ imrequest.c:1389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximExtMoveProc(conn, major, minor, arglen) ^ imrequest.c:1409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximAlreadyConnectedProc(conn, major, minor, arglen) ^ imrequest.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximShouldNotBeSentProc(conn, major, minor, arglen) ^ imrequest.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximAuthPhaseProc(conn, major, minor, arglen) ^ imrequest.c:1455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximNopProc(conn, major, minor, arglen) ^ 38 warnings generated. rm -f imxport.o cc -c -O2 -I../../include -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXIM_BC imxport.c imxport.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dummyDispatcher(conn) ^ imxport.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dumpBuf(ibp, title) ^ imxport.c:115:5: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] printf("%s (%d bytes)", title, len); ^ imxport.c:115:5: note: include the header or explicitly provide a declaration for 'printf' imxport.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] communicationWindow(w) ^ imxport.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newConnection(protocol) ^ imxport.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] socketinput(cldata, fdp, idp) ^ imxport.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] socketFlush(conn) ^ imxport.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] socketShutdown(conn) ^ imxport.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xinput(ev, cldata) ^ imxport.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xdestroy(ev, cldata) ^ imxport.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xBrokenPipe(dpy, eev, client_data) ^ imxport.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xFlush(conn) ^ imxport.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xShutdown(conn) ^ imxport.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMCreateTCPService(portp) ^ imxport.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMTCPConnection(protocol, wellknownfd) ^ imxport.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMCreateUnixService(path) ^ imxport.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMUnixConnection(protocol, wellknownfd) ^ imxport.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMXConnection(protocol, xev) ^ imxport.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMFlush(conn) ^ imxport.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMShutdown(conn) ^ imxport.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMCloseConnection(conn) ^ 21 warnings generated. rm -f libim.a ar clq 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 ./cmd... cc -O2 -I../include -I.. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_CANNA -c kinput2.c kinput2.c:174:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ kinput2.c:174:1: note: change return type to 'int' void ^~~~ int kinput2.c:325: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] exit(1); ^ kinput2.c:325:2: note: include the header or explicitly provide a declaration for 'exit' kinput2.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(ac, av) ^ kinput2.c:413:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*DefaultErrorHandler)(dpy, error); ^ kinput2.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IgnoreBadWindow(dpy, error) ^ kinput2.c:162:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int IgnoreBadWindow(); ^ kinput2.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] interruptCallback(cldata, sigid) ^ kinput2.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void interruptCallback(); ^ kinput2.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroyed(w, client_data, call_data) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroyed(); ^ kinput2.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] realExit(cldata, timerp) ^ kinput2.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void realExit(); ^ kinput2.c:573:14: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] p = DATE + 7; /* skip '$Date: ' */ ~~~~~^~~ kinput2.c:573:14: note: use array indexing to silence this warning p = DATE + 7; /* skip '$Date: ' */ ^ & [ ] 13 warnings generated. rm -f kinput2 cc -o kinput2 -O2 -L/usr/X11R6/lib -L/usr/local/lib kinput2.o ../lib/libKi2.a ../lib/imlib/libim.a -L/usr/local -lcanna16 -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lXdmcp -lXau -Wl,-rpath,/usr/local/lib ld: warning: cachedfont.c(cachedfont.o:(AddFont) in archive ../lib/libKi2.a): warning: strcpy() is almost always misused, please use strlcpy() rm -f kinput2._man if test -z "" ; then cd `dirname kinput2` && ln -s `basename kinput2.man` `basename kinput2._man`; else /usr/libexec/cpp -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/X11R6 -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... >>> Running package in japanese/kinput2,canna at 1735137679.18 ===> japanese/kinput2,canna ===> Faking installation for ja-kinput2-3.0p7-canna installing in ./lib... installing in lib/imlib... install in lib/imlib done installing in ./cmd... install -c kinput2 /exopi-obj/pobj/ja-kinput2-3.0-canna/fake-amd64-canna/usr/local/bin/kinput2 + mkdir -p /exopi-obj/pobj/ja-kinput2-3.0-canna/fake-amd64-canna/etc/X11/app-defaults install -c -m 0444 Kinput2.ad /exopi-obj/pobj/ja-kinput2-3.0-canna/fake-amd64-canna/usr/local/lib/X11/app-defaults/Kinput2 install in cmd done installing in ./ccdef... install in ccdef done installing in ./sj3def... 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 ./cmd... install -c -m 0444 kinput2._man /exopi-obj/pobj/ja-kinput2-3.0-canna/fake-amd64-canna/usr/local/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 /exopi-obj/pobj/ja-kinput2-3.0-canna/bin/install -d -m 755 /exopi-obj/pobj/ja-kinput2-3.0-canna/fake-amd64-canna/usr/local/share/doc/kinput2 cp /exopi-obj/pobj/ja-kinput2-3.0-canna/kinput2-v3/README /exopi-obj/pobj/ja-kinput2-3.0-canna/fake-amd64-canna/usr/local/share/doc/kinput2 cp /exopi-obj/pobj/ja-kinput2-3.0-canna/kinput2-v3/NEWS /exopi-obj/pobj/ja-kinput2-3.0-canna/fake-amd64-canna/usr/local/share/doc/kinput2 ===> Building package for ja-kinput2-3.0p7-canna Create /exopi-cvs/ports/packages/amd64/all/ja-kinput2-3.0p7-canna.tgz Creating package ja-kinput2-3.0p7-canna reading plist| checking dependencies| checking dependencies|japanese/canna,-main checksumming| checksumming| | 0% checksumming|** | 3% checksumming|*** | 6% checksumming|***** | 8% checksumming|******* | 11% checksumming|******** | 14% checksumming|********** | 17% checksumming|************ | 19% checksumming|************** | 22% checksumming|*************** | 25% checksumming|***************** | 28% checksumming|******************* | 31% checksumming|******************** | 33% checksumming|********************** | 36% checksumming|************************ | 39% checksumming|************************* | 42% checksumming|*************************** | 44% checksumming|***************************** | 47% checksumming|******************************* | 50% checksumming|******************************** | 53% checksumming|********************************** | 56% checksumming|************************************ | 58% checksumming|************************************* | 61% checksumming|*************************************** | 64% checksumming|***************************************** | 67% checksumming|****************************************** | 69% checksumming|******************************************** | 72% checksumming|********************************************** | 75% checksumming|*********************************************** | 78% checksumming|************************************************* | 81% checksumming|*************************************************** | 83% checksumming|***************************************************** | 86% checksumming|****************************************************** | 89% checksumming|******************************************************** | 92% checksumming|********************************************************** | 94% checksumming|*********************************************************** | 97% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|********************************** | 53% archiving|************************************ | 56% archiving|************************************* | 57% archiving|**************************************** | 63% archiving|***************************************** | 64% archiving|***************************************** | 65% archiving|****************************************** | 65% archiving|******************************************** | 69% archiving|********************************************** | 72% archiving|*********************************************************** | 92% archiving|*************************************************************** | 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/ja-kinput2-3.0p7-canna.tgz >>> Running clean in japanese/kinput2,canna at 1735137681.30 ===> japanese/kinput2,canna ===> Cleaning for ja-kinput2-3.0p7-canna >>> Ended at 1735137681.54 max_stuck=1.75/depends=3.82/show-prepare-results=0.99/build=16.45/package=2.12/clean=0.28