>>> Building on exopi-5 under japanese/kterm,xaw3d BDEPENDS = [x11/Xaw3d;devel/imake;devel/imake-cf] DIST = [japanese/kterm:kterm-620-0213-20010706.diff.gz;japanese/kterm:kterm-6.2.0.tar.gz] FULLPKGNAME = ja-kterm-6.2.0p9-xaw3d RDEPENDS = [x11/Xaw3d] (Junk lock obtained for exopi-5 at 1732135448.61) >>> Running depends in japanese/kterm,xaw3d at 1732135448.65 last junk was in emulators/mame /usr/sbin/pkg_add -aI -Drepair Xaw3d-1.6.6 imake-1.0.9 imake-cf-1.0.7p0 was: /usr/sbin/pkg_add -aI -Drepair Xaw3d-1.6.6 imake-1.0.9 imake-cf-1.0.7p0 /usr/sbin/pkg_add -aI -Drepair Xaw3d-1.6.6 imake-1.0.9 imake-cf-1.0.7p0 >>> Running show-prepare-results in japanese/kterm,xaw3d at 1732135452.09 ===> japanese/kterm,xaw3d ===> Building from scratch ja-kterm-6.2.0p9-xaw3d ===> ja-kterm-6.2.0p9-xaw3d depends on: imake-* -> imake-1.0.9 ===> ja-kterm-6.2.0p9-xaw3d depends on: imake-cf-* -> imake-cf-1.0.7p0 ===> ja-kterm-6.2.0p9-xaw3d depends on: Xaw3d-* -> Xaw3d-1.6.6 ===> Verifying specs: ICE SM X11 Xau Xaw Xdmcp Xext Xmu Xpm Xt curses c util Xaw3d ===> 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 curses.15.0 c.100.3 util.18.0 Xaw3d.12.0 Xaw3d-1.6.6 imake-1.0.9 imake-cf-1.0.7p0 (Junk lock released for exopi-5 at 1732135453.21) distfiles size=211798 >>> Running build in japanese/kterm,xaw3d at 1732135453.24 ===> japanese/kterm,xaw3d ===> Checking files for ja-kterm-6.2.0p9-xaw3d `/exopi-cvs/ports/distfiles/kterm-6.2.0.tar.gz' is up to date. `/exopi-cvs/ports/distfiles/kterm-620-0213-20010706.diff.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for ja-kterm-6.2.0p9-xaw3d ===> Patching for ja-kterm-6.2.0p9-xaw3d ===> Applying distribution patches for ja-kterm-6.2.0p9-xaw3d ===> Applying distribution patch kterm-620-0213-20010706.diff.gz Hmm... Looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/KTerm.ad |diff -c kterm/KTerm.ad:1.1.1.1 kterm/KTerm.ad:1.4 |*** kterm/KTerm.ad:1.1.1.1 Fri Apr 7 18:06:45 2000 |--- kterm/KTerm.ad Fri Apr 14 01:15:27 2000 -------------------------- Patching file KTerm.ad using Plan A... Hunk #1 succeeded at 45. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/VTPrsTbl.c |diff -c kterm/VTPrsTbl.c:1.1.1.1 kterm/VTPrsTbl.c:1.2 |*** kterm/VTPrsTbl.c:1.1.1.1 Fri Apr 7 18:06:46 2000 |--- kterm/VTPrsTbl.c Fri Apr 7 18:09:11 2000 -------------------------- Patching file VTPrsTbl.c using Plan A... Hunk #1 succeeded at 2746. Hunk #2 succeeded at 2823. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/button.c |diff -c kterm/button.c:1.1.1.1 kterm/button.c:1.2 |*** kterm/button.c:1.1.1.1 Fri Apr 7 18:06:46 2000 |--- kterm/button.c Fri Apr 14 00:51:23 2000 -------------------------- Patching file button.c using Plan A... Hunk #1 succeeded at 368. Hunk #2 succeeded at 382. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/charproc.c |diff -c kterm/charproc.c:1.1.1.1 kterm/charproc.c:1.4 |*** kterm/charproc.c:1.1.1.1 Fri Apr 7 18:06:47 2000 |--- kterm/charproc.c Fri Apr 14 00:51:23 2000 -------------------------- Patching file charproc.c using Plan A... Hunk #1 succeeded at 1200. Hunk #2 succeeded at 1774. Hunk #3 succeeded at 1967. Hunk #4 succeeded at 3569. Hunk #5 succeeded at 4123. Hunk #6 succeeded at 4743. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/convert.c |diff -c kterm/convert.c:1.1.1.1 kterm/convert.c:1.2 |*** kterm/convert.c:1.1.1.1 Fri Apr 7 18:06:47 2000 |--- kterm/convert.c Fri Apr 14 00:51:23 2000 -------------------------- Patching file convert.c using Plan A... Hunk #1 succeeded at 43. Hunk #2 succeeded at 76. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/gset.c |diff -c kterm/gset.c:1.1.1.1 kterm/gset.c:1.8 |*** kterm/gset.c:1.1.1.1 Fri Apr 7 18:06:47 2000 |--- kterm/gset.c Fri Jul 6 14:28:39 2001 -------------------------- Patching file gset.c using Plan A... Hunk #1 succeeded at 28. Hunk #2 succeeded at 782. Hunk #3 succeeded at 792. Hunk #4 succeeded at 850. Hunk #5 succeeded at 886. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/gset.h |diff -c kterm/gset.h:1.1.1.1 kterm/gset.h:1.7 |*** kterm/gset.h:1.1.1.1 Fri Apr 7 18:06:47 2000 |--- kterm/gset.h Thu Jul 5 10:43:07 2001 -------------------------- Patching file gset.h using Plan A... Hunk #1 succeeded at 29. Hunk #2 succeeded at 109. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/input.c |diff -c kterm/input.c:1.1.1.1 kterm/input.c:1.2 |*** kterm/input.c:1.1.1.1 Fri Apr 7 18:06:47 2000 |--- kterm/input.c Fri Apr 14 00:51:23 2000 -------------------------- Patching file input.c using Plan A... Hunk #1 succeeded at 183. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/kinput2.c |diff -c kterm/kinput2.c:1.1.1.1 kterm/kinput2.c:1.3 |*** kterm/kinput2.c:1.1.1.1 Fri Apr 7 18:06:47 2000 |--- kterm/kinput2.c Tue Nov 7 14:38:20 2000 -------------------------- Patching file kinput2.c using Plan A... Hunk #1 succeeded at 33. Hunk #2 succeeded at 172. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/kterm.h |diff -c kterm/kterm.h:1.1.1.1 kterm/kterm.h:1.2 |*** kterm/kterm.h:1.1.1.1 Fri Apr 7 18:06:47 2000 |--- kterm/kterm.h Fri Apr 7 18:09:12 2000 -------------------------- Patching file kterm.h using Plan A... Hunk #1 succeeded at 28. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/kterm.jman |diff -c kterm/kterm.jman:1.1.1.1 kterm/kterm.jman:1.4 |*** kterm/kterm.jman:1.1.1.1 Fri Apr 7 18:06:47 2000 |--- kterm/kterm.jman Thu Jul 5 10:43:07 2001 -------------------------- Patching file kterm.jman using Plan A... Hunk #1 succeeded at 72. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/kterm.man |diff -c kterm/kterm.man:1.1.1.1 kterm/kterm.man:1.4 |*** kterm/kterm.man:1.1.1.1 Fri Apr 7 18:06:47 2000 |--- kterm/kterm.man Thu Jul 5 10:43:08 2001 -------------------------- Patching file kterm.man using Plan A... Hunk #1 succeeded at 73. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/main.c |diff -c kterm/main.c:1.1.1.1 kterm/main.c:1.2 |*** kterm/main.c:1.1.1.1 Fri Apr 7 18:06:47 2000 |--- kterm/main.c Fri Apr 7 18:09:12 2000 -------------------------- Patching file main.c using Plan A... Hunk #1 succeeded at 238. Hunk #2 succeeded at 1318. Hunk #3 succeeded at 1508. Hunk #4 succeeded at 2484. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/menu.c |diff -c kterm/menu.c:1.1.1.1 kterm/menu.c:1.4 |*** kterm/menu.c:1.1.1.1 Fri Apr 7 18:06:47 2000 |--- kterm/menu.c Fri Apr 14 00:51:23 2000 -------------------------- Patching file menu.c using Plan A... Hunk #1 succeeded at 73. Hunk #2 succeeded at 140. Hunk #3 succeeded at 265. Hunk #4 succeeded at 840. Hunk #5 succeeded at 862. Hunk #6 succeeded at 884. Hunk #7 succeeded at 1541. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/menu.h |diff -c kterm/menu.h:1.1.1.1 kterm/menu.h:1.4 |*** kterm/menu.h:1.1.1.1 Fri Apr 7 18:06:47 2000 |--- kterm/menu.h Fri Apr 14 00:51:23 2000 -------------------------- Patching file menu.h using Plan A... Hunk #1 succeeded at 148. Hunk #2 succeeded at 348. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/ptyx.h |diff -c kterm/ptyx.h:1.1.1.1 kterm/ptyx.h:1.4 |*** kterm/ptyx.h:1.1.1.1 Fri Apr 7 18:06:47 2000 |--- kterm/ptyx.h Fri Apr 14 00:51:23 2000 -------------------------- Patching file ptyx.h using Plan A... Hunk #1 succeeded at 418. Hunk #2 succeeded at 669. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |Index: kterm/screen.c |diff -c kterm/screen.c:1.1.1.1 kterm/screen.c:1.2 |*** kterm/screen.c:1.1.1.1 Fri Apr 7 18:06:47 2000 |--- kterm/screen.c Fri Apr 7 18:09:13 2000 -------------------------- Patching file screen.c using Plan A... Hunk #1 succeeded at 1177. Hunk #2 succeeded at 1256. done ===> Applying OpenBSD patch patch-Imakefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Imakefile.orig Fri Jul 12 01:01:04 1996 |+++ Imakefile Fri May 31 21:51:50 2013 -------------------------- Patching file Imakefile using Plan A... Hunk #1 succeeded at 24. done ===> Applying OpenBSD patch patch-KTerm_ad Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- KTerm.ad.orig Wed Nov 20 00:27:50 2002 |+++ KTerm.ad Wed Nov 20 00:27:51 2002 -------------------------- Patching file KTerm.ad using Plan A... Hunk #1 succeeded at 75. Hunk #2 succeeded at 84. Hunk #3 succeeded at 98. done ===> Applying OpenBSD patch patch-button_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- button.c.orig Fri Apr 28 14:11:21 2017 |+++ button.c Fri Apr 28 14:13:05 2017 -------------------------- Patching file button.c using Plan A... Hunk #1 succeeded at 44. Hunk #2 succeeded at 1258. done ===> Applying OpenBSD patch patch-charproc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- charproc.c.orig Fri Apr 28 14:13:42 2017 |+++ charproc.c Fri Apr 28 14:17:33 2017 -------------------------- Patching file charproc.c using Plan A... Hunk #1 succeeded at 117. Hunk #2 succeeded at 3898. Hunk #3 succeeded at 4023. Hunk #4 succeeded at 4226. Hunk #5 succeeded at 4237. Hunk #6 succeeded at 4251. Hunk #7 succeeded at 4278. done ===> Applying OpenBSD patch patch-cursor_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- cursor.c.orig Fri Apr 28 14:17:59 2017 |+++ cursor.c Fri Apr 28 14:18:42 2017 -------------------------- Patching file cursor.c using Plan A... Hunk #1 succeeded at 162. Hunk #2 succeeded at 187. done ===> Applying OpenBSD patch patch-input_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- input.c.orig Fri Apr 28 14:18:56 2017 |+++ input.c Fri Apr 28 14:19:16 2017 -------------------------- Patching file input.c using Plan A... Hunk #1 succeeded at 64. done ===> Applying OpenBSD patch patch-main_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- main.c.orig Fri May 31 22:15:05 2013 |+++ main.c Fri May 31 22:25:10 2013 -------------------------- Patching file main.c using Plan A... Hunk #1 succeeded at 142. Hunk #2 succeeded at 166. Hunk #3 succeeded at 234. Hunk #4 succeeded at 262. Hunk #5 succeeded at 314. Hunk #6 succeeded at 424. Hunk #7 succeeded at 455. Hunk #8 succeeded at 481. Hunk #9 succeeded at 1132. Hunk #10 succeeded at 1153. Hunk #11 succeeded at 1190. Hunk #12 succeeded at 1212. Hunk #13 succeeded at 1230. Hunk #14 succeeded at 1285. Hunk #15 succeeded at 1347. Hunk #16 succeeded at 1408. Hunk #17 succeeded at 1774. Hunk #18 succeeded at 2120. Hunk #19 succeeded at 2131. Hunk #20 succeeded at 2227. Hunk #21 succeeded at 2237. Hunk #22 succeeded at 2261. Hunk #23 succeeded at 2277. Hunk #24 succeeded at 2571. Hunk #25 succeeded at 2646. Hunk #26 succeeded at 2663. Hunk #27 succeeded at 2680. Hunk #28 succeeded at 2798. Hunk #29 succeeded at 3180. Hunk #30 succeeded at 3360. Hunk #31 succeeded at 3547. done ===> Applying OpenBSD patch patch-misc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- misc.c.orig Fri Apr 28 14:19:37 2017 |+++ misc.c Fri Apr 28 14:22:20 2017 -------------------------- Patching file misc.c using Plan A... Hunk #1 succeeded at 60. Hunk #2 succeeded at 319. Hunk #3 succeeded at 350. Hunk #4 succeeded at 380. Hunk #5 succeeded at 922. done ===> Applying OpenBSD patch patch-screen_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- screen.c.orig Fri Apr 28 14:22:37 2017 |+++ screen.c Fri Apr 28 14:23:27 2017 -------------------------- Patching file screen.c using Plan A... Hunk #1 succeeded at 245. done ===> Applying OpenBSD patch patch-scrollbar_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- scrollbar.c.orig Fri Apr 28 14:23:45 2017 |+++ scrollbar.c Fri Apr 28 14:25:11 2017 -------------------------- Patching file scrollbar.c using Plan A... Hunk #1 succeeded at 265. Hunk #2 succeeded at 318. Hunk #3 succeeded at 406. done ===> Applying OpenBSD patch patch-util_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- util.c.orig Fri Apr 28 14:25:24 2017 |+++ util.c Fri Apr 28 14:27:23 2017 -------------------------- Patching file util.c using Plan A... Hunk #1 succeeded at 38. Hunk #2 succeeded at 167. Hunk #3 succeeded at 339. Hunk #4 succeeded at 401. Hunk #5 succeeded at 810. Hunk #6 succeeded at 1150. 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-kterm-6.2.0p9-xaw3d ===> Configuring for ja-kterm-6.2.0p9-xaw3d imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -- button.c charproc.c cursor.c data.c input.c main.c menu.c misc.c screen.c scrollbar.c tabs.c util.c VTPrsTbl.c gset.c convert.c xim.c kinput2.c convlib.c > .depend ===> Building for ja-kterm-6.2.0p9-xaw3d cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c button.c button.c:152:15: warning: passing arguments to 'EditorButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EditorButton(event); ^ button.c:160:18: warning: passing arguments to 'EditorButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EditorButton(event); ^ button.c:169:15: warning: passing arguments to 'TrackDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TrackDown(event); ^ button.c:173:18: warning: passing arguments to 'EditorButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EditorButton(event); ^ button.c:128:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Boolean SendMousePosition(w, event) ^ button.c:199:18: warning: passing arguments to 'PointToRowCol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PointToRowCol (event->xmotion.y, event->xmotion.x, ^ button.c:201:17: warning: passing arguments to 'ExtendExtend' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendExtend (row, col); ^ button.c:186:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleSelectExtend(w, event, params, num_params) ^ button.c:225:16: warning: passing arguments to 'EndExtend' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EndExtend(w, event, params, *num_params, use_cursor_loc); ^ button.c:211:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_select_end (w, event, params, num_params, use_cursor_loc) ^ button.c:231:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleSelectEnd(w, event, params, num_params) ^ button.c:241:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleKeyboardSelectEnd(w, event, params, num_params) ^ button.c:294:23: warning: passing arguments to 'SelectionReceived' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionReceived(w, NULL, &selection, &type, (XtPointer)line, ^ button.c:264:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void _GetSelection(w, time, params, num_params) ^ button.c:376:6: warning: call to undeclared function 'convCTtoCS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] n = convCTtoCS(ct, *length, NULL); ^ button.c:404:13: 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] n = (*func)(cs, NULL); ^ button.c:406:15: 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)(*func)(cs, line); ^ button.c:438:6: warning: call to undeclared function 'v_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] v_write(pty, lag, cp - lag + 1); ^ button.c:442:2: warning: call to undeclared function 'v_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] v_write(pty, lag, end - lag); ^ button.c:323:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SelectionReceived(w, client_data, selection, type, ^ button.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 SelectionReceived(); ^ button.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleInsertSelection(w, event, params, num_params) ^ button.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] SetSelectUnit(buttonDownTime, defaultUnit) ^ button.c:492:13: warning: passing arguments to 'StartSelect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartSelect(startrow, startcol); ^ button.c:484:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_select_start (w, event, startrow, startcol) ^ button.c:508:15: warning: passing arguments to 'PointToRowCol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PointToRowCol(event->xbutton.y, event->xbutton.x, &startrow, &startcol); ^ button.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] HandleSelectStart(w, event, params, num_params) ^ button.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleKeyboardSelectStart(w, event, params, num_params) ^ button.c:535:16: warning: passing arguments to 'PointToRowCol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PointToRowCol(event->y, event->x, &startrow, &startcol); ^ button.c:537:14: warning: passing arguments to 'StartSelect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartSelect(startrow, startcol); ^ button.c:540:15: warning: passing arguments to 'EditorButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EditorButton(event); ^ button.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TrackDown(event) ^ button.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 TrackDown(); ^ button.c:567:13: warning: passing arguments to 'StartSelect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartSelect(startrow, startcol); ^ button.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] TrackMouse(func, startrow, startcol, firstrow, lastrow) ^ button.c:577:6: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor (); ^ button.c:598:15: warning: passing arguments to 'ComputeSelect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeSelect(startERow, startECol, endERow, endECol, False); ^ button.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] StartSelect(startrow, startcol) ^ button.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 StartSelect(); ^ button.c:618:19: warning: passing arguments to 'PointToRowCol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PointToRowCol(event->xbutton.y, event->xbutton.x, &row, &col); ^ button.c:620:15: warning: passing arguments to 'ExtendExtend' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendExtend (row, col); ^ button.c:630:5: warning: call to undeclared function 'v_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] v_write(screen->respond, line, 5); ^ button.c:640:5: warning: call to undeclared function 'v_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] v_write(screen->respond, line, 9); ^ button.c:645:11: warning: passing arguments to 'SelectSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectSet(w, event, params, num_params); ^ button.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] EndExtend(w, event, params, num_params, use_cursor_loc) ^ button.c:209:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void EndExtend(); ^ button.c:656:12: warning: passing arguments to 'SelectSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectSet (w, event, params, *num_params); ^ button.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleSelectSet(w, event, params, num_params) ^ button.c:671:15: warning: passing arguments to 'SaltTextAway' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SaltTextAway(startSRow, startSCol, endSRow, endSCol, ^ button.c:674:3: warning: call to undeclared function 'DisownSelection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DisownSelection(term); ^ button.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] SelectSet (w, event, params, num_params) ^ button.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 SelectSet(); ^ button.c:715:19: warning: passing arguments to 'PointToRowCol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PointToRowCol(event->xbutton.y, event->xbutton.x, &row, &col); ^ button.c:732:15: warning: passing arguments to 'ComputeSelect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeSelect(startERow, startECol, endERow, endECol, True); ^ button.c:680:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_start_extend (w, event, params, num_params, use_cursor_loc) ^ button.c:761:15: warning: passing arguments to 'ComputeSelect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeSelect(startERow, startECol, endERow, endECol, False); ^ button.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendExtend (row, col) ^ button.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 ExtendExtend(); ^ button.c:765:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleStartExtend(w, event, params, num_params) ^ button.c:774:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleKeyboardStartExtend(w, event, params, num_params) ^ button.c:784:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ScrollSelection(screen, amount) ^ int button.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] button.c:815:1: warning: non-void function does not return a value [-Wreturn-type] } ^ button.c:819:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ResizeSelection (screen, rows, cols) ^ int button.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] button.c:837:1: warning: non-void function does not return a value [-Wreturn-type] } ^ button.c:849:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register row, col; ~~~~~~~~ ^ int button.c:849:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register row, col; ~~~~~~~~ ^ int button.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PointToRowCol(y, x, r, c) ^ button.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 PointToRowCol(); ^ button.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] LastTextCol(row) ^ button.c:968:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int SetCharacterClassRange (low, high, value) ^ button.c:1040:28: warning: passing arguments to 'mbcsCharClass' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] class = mbcsCharClass (ptr); ^ button.c:1047:32: warning: passing arguments to 'mbcsCharClass' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && class == mbcsCharClass (ptr)); ^ button.c:1105:28: warning: passing arguments to 'mbcsCharClass' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] class = mbcsCharClass (ptr); ^ button.c:1112:32: warning: passing arguments to 'mbcsCharClass' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && class == mbcsCharClass (ptr)); ^ button.c:986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeSelect(startRow, startCol, endRow, endCol, extend) ^ button.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 ComputeSelect(); ^ button.c:1202:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int mbcsCharClass (ptr) ^ button.c:125: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 mbcsCharClass (); ^ button.c:1262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TrackText(frow, fcol, trow, tcol) ^ button.c:1284:18: warning: passing arguments to 'ReHiliteText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReHiliteText(old_startrow, old_startcol, old_endrow, old_endcol); ^ button.c:1285:18: warning: passing arguments to 'ReHiliteText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReHiliteText(frow, fcol, trow, tcol); ^ button.c:1289:19: warning: passing arguments to 'ReHiliteText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReHiliteText(frow, fcol, old_startrow, old_startcol); ^ button.c:1292:19: warning: passing arguments to 'ReHiliteText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReHiliteText(old_startrow, old_startcol, frow, fcol); ^ button.c:1296:19: warning: passing arguments to 'ReHiliteText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReHiliteText(old_endrow, old_endcol, trow, tcol); ^ button.c:1299:19: warning: passing arguments to 'ReHiliteText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReHiliteText(trow, tcol, old_endrow, old_endcol); ^ button.c:1330:7: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, frow, fcol, 1, i, True); ^ button.c:1333:7: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, frow+1, 0,i, screen->max_col+1, True); ^ button.c:1336:7: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, trow, 0, 1, tcol, True); ^ button.c:1339:3: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, frow, fcol, 1, tcol - fcol, True); ^ button.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReHiliteText(frow, fcol, trow, tcol) ^ button.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 ReHiliteText(); ^ button.c:1380:31: warning: passing arguments to 'Length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( row == crow ) j = Length(screen, crow, ccol, col); ^ button.c:1382:14: warning: passing arguments to 'Length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j += Length(screen, crow, ccol, screen->max_col) + 1; ^ button.c:1384:15: warning: passing arguments to 'Length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j += Length(screen, i, 0, screen->max_col) + 1; ^ button.c:1386:15: warning: passing arguments to 'Length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j += Length(screen, row, 0, col); ^ button.c:1393:31: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((line = (Ichr *)malloc((unsigned)((j + 1) * sizeof(Ichr)))) == (Ichr *)NULL) ^ button.c:1394:3: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SysError(ERROR_BMALLOC2); ^ button.c:1413:34: warning: passing arguments to 'SaveText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( row == crow ) lp = SaveText(screen, row, ccol, col, lp, &eol); ^ button.c:1415:16: warning: passing arguments to 'SaveText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lp = SaveText(screen, crow, ccol, screen->max_col, lp, &eol); ^ button.c:1426:17: warning: passing arguments to 'SaveText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lp = SaveText(screen, i, 0, screen->max_col, lp, &eol); ^ button.c:1438:17: warning: passing arguments to 'SaveText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lp = SaveText(screen, row, 0, col, lp, &eol); ^ button.c:1448:15: warning: passing arguments to '_OwnSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _OwnSelection(term, params, num_params); ^ button.c:1346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SaltTextAway(crow, ccol, row, col, params, num_params) ^ button.c:659:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SaltTextAway(); ^ button.c:1493:16: warning: call to undeclared function 'convCStoCT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] *length = convCStoCT(xterm->screen.selection, NULL); ^ button.c:1498:16: warning: call to undeclared function 'convCStoLatin1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] *length = convCStoLatin1(xterm->screen.selection, NULL); ^ button.c:1530:23: warning: call to undeclared function 'convCStoCT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] *(long*)*value = convCStoCT(xterm->screen.selection, NULL); ^ button.c:1451:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean ConvertSelection(w, selection, target, ^ button.c:1558:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void LoseSelection(w, selection) ^ button.c:1610:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void _OwnSelection(termw, selections, count) ^ button.c:1343:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void _OwnSelection(); ^ button.c:1697:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] DisownSelection(termw) ^ int button.c:1697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] button.c:1724:1: warning: non-void function does not return a value [-Wreturn-type] } ^ button.c:1730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Length(screen, row, scol, ecol) ^ button.c:74:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int Length(); ^ button.c:1772:6: warning: call to undeclared function 'ScrnGetAttributes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(ScrnGetAttributes(screen, row + screen->topline, 0, &attr, 1) == 1) { ^ button.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] SaveText(screen, row, scol, ecol, lp, eol) ^ button.c:76: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 Ichr *SaveText(); ^ button.c:1836:2: warning: call to undeclared function 'v_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] v_write(pty, line, 6); ^ button.c:1812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EditorButton(event) ^ button.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 EditorButton(); ^ button.c:1882:22: warning: passing arguments to 'DoSecureKeyboard' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoSecureKeyboard (time); ^ button.c:1868:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleSecure(w, event, params, param_count) ^ 126 warnings generated. rm -f charproc.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D charproc.c charproc.c:952:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] doSS(gset) ^ int charproc.c:1005:8: warning: passing arguments to 'dotext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dotext(&term->screen, term->flags, gset, bptr, cp); ^ charproc.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doSS(gset) ^ charproc.c:1009:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:1011:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] doLS(gset) ^ int charproc.c:1073:8: warning: passing arguments to 'dotext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dotext(&term->screen, term->flags, gset, bptr, cp-skip); ^ charproc.c:1092:9: warning: passing arguments to 'dotext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dotext(&term->screen, term->flags, GSET_ASCII, bptr, cp); ^ charproc.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doLS(gset) ^ charproc.c:1108:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:1111:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] doSJIS() ^ int charproc.c:1157:8: warning: passing arguments to 'dotext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dotext(&term->screen, term->flags, GSET_KANJI, dotextbuf, dcp); ^ charproc.c:1160:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:1201:14: warning: call to undeclared function 'in_put'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] c = doinput(); ^ charproc.c:267:44: note: expanded from macro 'doinput' #define doinput() (bcnt-- > 0 ? *bptr++ : in_put()) ^ charproc.c:1272:4: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_TerminalBell,0); ^ charproc.c:1277:4: warning: call to undeclared function 'CursorBack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorBack(screen, 1); ^ charproc.c:1282:4: warning: call to undeclared function 'CarriageReturn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CarriageReturn(screen); ^ charproc.c:1298:4: warning: call to undeclared function 'Index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Index(screen, 1); ^ charproc.c:1306:26: warning: passing arguments to 'GetBytesAvailable' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetBytesAvailable (ConnectionNumber(screen->display)) > 0) ^ charproc.c:1307:6: warning: call to undeclared function 'xevents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xevents(); ^ charproc.c:1313:22: warning: call to undeclared function 'TabNext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] screen->cur_col = TabNext(term->tabs, screen->cur_col); ^ charproc.c:1409:4: warning: call to undeclared function 'InsertChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InsertChar(screen, row); ^ charproc.c:1420:4: warning: call to undeclared function 'CursorUp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorUp(screen, row); ^ charproc.c:1431:4: warning: call to undeclared function 'CursorDown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorDown(screen, row); ^ charproc.c:1439:4: warning: call to undeclared function 'CursorForward'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorForward(screen, row); ^ charproc.c:1466:4: warning: call to undeclared function 'CursorSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorSet(screen, row-1, col-1, term->flags); ^ charproc.c:1486:5: warning: call to undeclared function 'ClearRight'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearRight(screen); ^ charproc.c:1489:5: warning: call to undeclared function 'ClearBelow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearBelow(screen); ^ charproc.c:1495:5: warning: call to undeclared function 'ClearLeft'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearLeft(screen); ^ charproc.c:1498:5: warning: call to undeclared function 'ClearAbove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearAbove(screen); ^ charproc.c:1504:5: warning: call to undeclared function 'ClearLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearLine(screen); ^ charproc.c:1507:5: warning: call to undeclared function 'ClearScreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearScreen(screen); ^ charproc.c:1518:5: warning: call to undeclared function 'ClearRight'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearRight(screen); ^ charproc.c:1521:5: warning: call to undeclared function 'ClearLeft'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearLeft(screen); ^ charproc.c:1524:5: warning: call to undeclared function 'ClearLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearLine(screen); ^ charproc.c:1537:4: warning: call to undeclared function 'InsertLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InsertLine(screen, row); ^ charproc.c:1548:4: warning: call to undeclared function 'DeleteLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DeleteLine(screen, row); ^ charproc.c:1556:4: warning: call to undeclared function 'DeleteChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DeleteChar(screen, row); ^ charproc.c:1563:14: warning: passing arguments to 'TrackMouse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TrackMouse(param[0], param[2]-1, param[1]-1, ^ charproc.c:1580:5: warning: call to undeclared function 'unparseseq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseseq(&reply, screen->respond); ^ charproc.c:1588:5: warning: call to undeclared function 'TabClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TabClear(term->tabs, screen->cur_col); ^ charproc.c:1590:5: warning: call to undeclared function 'TabZonk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TabZonk(term->tabs); ^ charproc.c:1596:4: warning: call to undeclared function 'ansi_modes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ansi_modes(term, bitset); ^ charproc.c:1672:5: warning: call to undeclared function 'unparseseq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseseq(&reply, screen->respond); ^ charproc.c:1681:5: warning: call to undeclared function 'unparseseq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseseq(&reply, screen->respond); ^ charproc.c:1689:8: warning: call to undeclared function 'FlushScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] FlushScroll(screen); ^ charproc.c:1735:5: warning: call to undeclared function 'unparseseq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseseq(&reply, screen->respond); ^ charproc.c:1742:4: warning: call to undeclared function 'dpmodes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] dpmodes(term, bitset); ^ charproc.c:1776:4: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, 0, 0, screen->max_row + 1, ^ charproc.c:1804:4: warning: call to undeclared function 'CursorSave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorSave(term, &screen->sc); ^ charproc.c:1810:4: warning: call to undeclared function 'CursorRestore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorRestore(term, &screen->sc); ^ charproc.c:1839:26: warning: passing arguments to 'GetBytesAvailable' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetBytesAvailable (ConnectionNumber(screen->display)) > 0) ^ charproc.c:1857:26: warning: passing arguments to 'GetBytesAvailable' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetBytesAvailable (ConnectionNumber(screen->display)) > 0) ^ charproc.c:1864:4: warning: call to undeclared function 'TabSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TabSet(term->tabs, screen->cur_col); ^ charproc.c:1873:4: warning: call to undeclared function 'RevIndex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RevIndex(screen, 1); ^ charproc.c:1898:4: warning: call to undeclared function 'do_osc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] do_osc(finput); ^ charproc.c:1904:4: warning: call to undeclared function 'VTReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VTReset(TRUE); ^ charproc.c:1942:4: warning: call to undeclared function 'ToStatus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ToStatus(col-1); ^ charproc.c:1968:4: warning: call to undeclared function 'savemodes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] savemodes(term); ^ charproc.c:1973:4: warning: call to undeclared function 'restoremodes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] restoremodes(term); ^ charproc.c:1980:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static finput() ~~~~~~ ^ int charproc.c:1982:9: warning: call to undeclared function 'in_put'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return(doinput()); ^ charproc.c:267:44: note: expanded from macro 'doinput' #define doinput() (bcnt-- > 0 ? *bptr++ : in_put()) ^ charproc.c:1995:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] v_write(f, d, len) ^ int charproc.c:2048:25: warning: passing arguments to 'realloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v_buffer = realloc(v_buffer, size + len); ^ charproc.c:2121:24: warning: passing arguments to 'realloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v_buffer = realloc(v_buffer, allocsize); ^ charproc.c:1995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v_write(f, d, len) ^ charproc.c:2142:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] in_put() ^ int charproc.c:2157:7: warning: call to undeclared function 'Cleanup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Cleanup (0); ^ charproc.c:2159:7: warning: call to undeclared function 'Panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Panic( ^ charproc.c:2163:3: warning: call to undeclared function 'Panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Panic("input: read returned zero\n", 0); ^ charproc.c:2187:7: warning: call to undeclared function 'WindowScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] WindowScroll(screen, 0); /* Scroll to bottom */ ^ charproc.c:2199:6: warning: call to undeclared function 'FlushScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] FlushScroll(screen); ^ charproc.c:2236:6: warning: cast to 'struct timeval *' from smaller integer type 'int' [-Wint-to-pointer-cast] i = Select(max_plus1, &select_mask, &write_mask, NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/X11R6/include/X11/Xpoll.h:97:70: note: expanded from macro 'Select' # define Select(n,r,w,e,t) select(n,(fd_set*)r,(fd_set*)w,(fd_set*)e,(struct timeval*)t) ^~~~~~~~~~~~~~~~~~ charproc.c:2241:3: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SysError(ERROR_SELECT); ^ charproc.c:2258:6: warning: call to undeclared function 'xevents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xevents(); ^ charproc.c:2327:25: warning: passing arguments to 'ScrnSetAttributes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrnSetAttributes(screen, screen->cur_row, 0, ^ charproc.c:2329:8: warning: call to undeclared function 'Index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Index(screen, 1); ^ charproc.c:2352:12: warning: passing arguments to 'WriteText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteText(screen, ptr, n, flags, charset); ^ charproc.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] dotext(screen, flags, charset, buf, ptr) ^ charproc.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 dotext(); ^ charproc.c:2386:3: warning: call to undeclared function 'InsertChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InsertChar(screen, len); ^ charproc.c:2388:2: warning: call to undeclared function 'BreakMBchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] BreakMBchar(screen); ^ charproc.c:2393:2: warning: call to undeclared function 'ScreenWrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScreenWrite(screen, str, flags, gset, len); ^ charproc.c:2396:9: warning: call to undeclared function 'AddToRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!(AddToRefresh(screen))) { ^ charproc.c:2398:5: warning: call to undeclared function 'FlushScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] FlushScroll(screen); ^ charproc.c:2399:4: warning: call to undeclared function 'ScreenDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScreenDraw(screen, screen->cur_row, screen->cur_col, ^ charproc.c:2404:3: warning: call to undeclared function 'ScreenDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScreenDraw(screen, screen->max_row + 1, screen->cur_col, ^ charproc.c:2409:2: warning: call to undeclared function 'CursorForward'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorForward(screen, len); ^ charproc.c:2376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteText(screen, str, len, flags, gset) ^ charproc.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 WriteText(); ^ charproc.c:2494:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ansi_modes(termw, func) ^ int charproc.c:2503:11: 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] (*func)(&termw->flags, INSERT); ^ charproc.c:2507:11: 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] (*func)(&termw->flags, LINEFEED); ^ charproc.c:2494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ansi_modes(termw, func) ^ charproc.c:2512:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:2517:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dpmodes(termw, func) ^ int charproc.c:2527:11: 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] (*func)(&termw->keyboard.flags, CURSOR_APL); ^ charproc.c:2542:5: warning: call to undeclared function 'ClearScreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearScreen(screen); ^ charproc.c:2543:5: warning: call to undeclared function 'CursorSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorSet(screen, 0, 0, termw->flags); ^ charproc.c:2565:10: warning: call to undeclared function 'ScreenResize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScreenResize (&termw->screen, ^ charproc.c:2571:12: 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] (*func)(&termw->flags, IN132COLUMNS); ^ charproc.c:2578:6: warning: call to undeclared function 'FlushScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] FlushScroll(screen); ^ charproc.c:2581:11: 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] (*func)(&termw->flags, SMOOTHSCROLL); ^ charproc.c:2586:11: 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] (*func)(&termw->flags, REVERSE_VIDEO); ^ charproc.c:2588:5: warning: call to undeclared function 'ReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReverseVideo(termw); ^ charproc.c:2593:11: 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] (*func)(&termw->flags, ORIGIN); ^ charproc.c:2594:4: warning: call to undeclared function 'CursorSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorSet(screen, 0, 0, termw->flags); ^ charproc.c:2598:11: 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] (*func)(&termw->flags, WRAPAROUND); ^ charproc.c:2638:11: 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] (*func)(&termw->flags, REVERSEWRAP); ^ charproc.c:2661:16: warning: passing arguments to 'ToAlternate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToAlternate(screen); ^ charproc.c:2663:18: warning: passing arguments to 'FromAlternate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FromAlternate(screen); ^ charproc.c:2674:5: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, screen->max_row + 1, 0, 1, ^ charproc.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] dpmodes(termw, func) ^ charproc.c:2692:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:2697:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] savemodes(termw) ^ int charproc.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] charproc.c:2763:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:2768:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] restoremodes(termw) ^ int charproc.c:2784:5: warning: call to undeclared function 'ClearScreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearScreen(screen); ^ charproc.c:2785:5: warning: call to undeclared function 'CursorSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorSet(screen, 0, 0, termw->flags); ^ charproc.c:2803:10: warning: call to undeclared function 'ScreenResize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScreenResize (&termw->screen, ^ charproc.c:2818:6: warning: call to undeclared function 'FlushScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] FlushScroll(screen); ^ charproc.c:2829:5: warning: call to undeclared function 'ReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReverseVideo(termw); ^ charproc.c:2836:4: warning: call to undeclared function 'CursorSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorSet(screen, 0, 0, termw->flags); ^ charproc.c:2882:16: warning: passing arguments to 'ToAlternate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToAlternate(screen); ^ charproc.c:2884:18: warning: passing arguments to 'FromAlternate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FromAlternate(screen); ^ charproc.c:2892:5: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, screen->max_row + 1, 0, 1, ^ charproc.c:2768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] restoremodes(termw) ^ charproc.c:2903:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:2908:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void bitset(p, mask) ^ charproc.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 bitset(), bitclr(); ^ charproc.c:2918:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void bitclr(p, mask) ^ charproc.c:119:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void bitset(), bitclr(); ^ charproc.c:2925:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unparseseq(ap, fd) ^ int charproc.c:2935:3: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(ESC, fd); ^ charproc.c:2938:2: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(c, fd); ^ charproc.c:2946:4: warning: call to undeclared function 'unparseputn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputn((unsigned int) ap->a_param[i], fd); ^ charproc.c:2925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unparseseq(ap, fd) ^ charproc.c:2956:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:2958:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unparseputn(n, fd) ^ int charproc.c:2967:2: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc((char) ('0' + (n%10)), fd); ^ charproc.c:2958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unparseputn(n, fd) ^ charproc.c:2968:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:2970:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unparseputc(c, fd) ^ int charproc.c:2975:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i = 1; ~~~~~~~~ ^ int charproc.c:2970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unparseputc(c, fd) ^ charproc.c:2983:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:2985:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unparsefputs (s, fd) ^ int charproc.c:2985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charproc.c:2992:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:3005:28: warning: passing arguments to 'Allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen->altbuf = Allocate(screen->max_row + 1, screen->max_col ^ charproc.c:3007:12: warning: passing arguments to 'SwitchBufs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SwitchBufs(screen); ^ charproc.c:2997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToAlternate(screen) ^ charproc.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 ToAlternate(); ^ charproc.c:3019:12: warning: passing arguments to 'SwitchBufs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SwitchBufs(screen); ^ charproc.c:3013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FromAlternate(screen) ^ charproc.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 FromAlternate(); ^ charproc.c:3032:2: warning: call to undeclared function 'SwitchBufPtrs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SwitchBufPtrs(screen); ^ charproc.c:3033:2: warning: call to undeclared function 'TrackText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TrackText(0, 0, 0, 0); /* remove any highlighting */ ^ charproc.c:3036:4: warning: call to undeclared function 'FlushScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] FlushScroll(screen); ^ charproc.c:3054:2: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, 0, 0, rows, screen->max_col + 1, False); ^ charproc.c:3024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SwitchBufs(screen) ^ charproc.c:2994:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SwitchBufs(); ^ charproc.c:3059:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SwitchBufPtrs(screen) ^ int charproc.c:3059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charproc.c:3082:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:3084:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] VTRun() ^ int charproc.c:3090:2: warning: call to undeclared function 'VTInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VTInit (); ^ charproc.c:3125:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:3140:3: warning: call to undeclared function 'HandleExposure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HandleExposure (screen, event); ^ charproc.c:3128:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VTExpose(w, event, region) ^ charproc.c:905:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VTExpose(); ^ charproc.c:3153:8: warning: call to undeclared function 'HandleExposure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (HandleExposure (screen, event)) ^ charproc.c:3143:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VTGraphicsOrNoExpose (event) ^ charproc.c:3166:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VTNonMaskableEvent (w, closure, event, cont) ^ charproc.c:3187:7: warning: call to undeclared function 'ScreenResize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScreenResize (&term->screen, term->core.width, term->core.height, ^ charproc.c:3183:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VTResize(w) ^ charproc.c:906:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VTResize(); ^ charproc.c:3221:31: warning: passing arguments to 'Allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen->allbuf = Allocate (nrows, screen->max_col + 1, ^ charproc.c:3374:4: warning: call to undeclared function 'set_character_class'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_character_class (new->screen.charClass); ^ charproc.c:3377:4: warning: call to undeclared function 'ScrollBarOn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollBarOn (new, TRUE, FALSE); ^ charproc.c:3242:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VTInitialize (wrequest, wnew, args, num_args) ^ charproc.c:903:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VTInitialize(); ^ charproc.c:3395:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VTDestroy (w) ^ charproc.c:907:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VTDestroy(); ^ charproc.c:3420:2: warning: call to undeclared function 'TabReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TabReset (term->tabs); ^ charproc.c:3427:7: warning: call to undeclared function 'LoadNewFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!LoadNewFont(screen, False, 0)) { ^ charproc.c:3458:6: warning: call to undeclared function 'Exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Exit (1); ^ charproc.c:3463:48: warning: passing arguments to 'make_colored_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen->pointer_cursor = make_colored_cursor(XC_xterm, ^ charproc.c:3467:4: warning: call to undeclared function 'recolor_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] recolor_cursor (screen->pointer_cursor, ^ charproc.c:3483:19: warning: passing arguments to 'update_font_info' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_font_info (&term->screen, False); ^ charproc.c:3567:2: warning: call to undeclared function 'set_cursor_gcs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_cursor_gcs (screen, F_ISO8859_1); ^ charproc.c:3575:2: warning: call to undeclared function 'setupgset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setupgset(); ^ charproc.c:3642:2: warning: call to undeclared function 'set_vt_box'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_vt_box (screen); ^ charproc.c:3652:3: warning: call to undeclared function 'ScrollBarOn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollBarOn (term, FALSE, TRUE); ^ charproc.c:3654:2: warning: call to undeclared function 'CursorSave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorSave (term, &screen->sc); ^ charproc.c:3406:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void VTRealize (w, valuemask, values) ^ charproc.c:904:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void VTRealize(); ^ charproc.c:3681:14: warning: passing arguments to 'SetLocale' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetLocale(term->misc.eucjp_locale); ^ charproc.c:3683:20: warning: passing arguments to 'SetLocaleModifiers' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetLocaleModifiers(&term->misc.input_method, 1); ^ charproc.c:3685:20: warning: passing arguments to 'SetLocaleModifiers' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetLocaleModifiers(NULL, 0); ^ charproc.c:3691:11: warning: passing arguments to 'OpenIM' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OpenIM(&term->screen); ^ charproc.c:3821:6: warning: call to undeclared function 'LoadNewFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (LoadNewFont(&newvt->screen, TRUE, newvt->screen.menu_font_number)) { ^ charproc.c:3851:4: warning: call to undeclared function 'set_cursor_gcs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_cursor_gcs(&newvt->screen, fnum); ^ charproc.c:3859:2: warning: call to undeclared function 'ReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReverseVideo(newvt); ^ charproc.c:3865:2: warning: call to undeclared function 'recolor_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] recolor_cursor (newvt->screen.pointer_cursor, ^ charproc.c:3872:6: warning: call to undeclared function 'ScrollBarOn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollBarOn (newvt, FALSE, FALSE); ^ charproc.c:3874:6: warning: call to undeclared function 'ScrollBarOff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollBarOff (&newvt->screen); ^ charproc.c:3882:6: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(newvt->screen, newvt->screen.max_row + 1, 0, 1, newvt->screen.max_col + 1, False); ^ charproc.c:3887:16: warning: passing arguments to 'ShowStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShowStatus(&newvt->screen); ^ charproc.c:3889:16: warning: passing arguments to 'HideStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HideStatus(&newvt->screen); ^ charproc.c:3798:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean VTSetValues (cur, request, new, args, num_args) ^ charproc.c:908: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 VTSetValues(); ^ charproc.c:3956:2: warning: call to undeclared function 'ScreenDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScreenDraw(screen, y, x, x+(gset&MBCS?2:1), flags, True); ^ charproc.c:4016:2: warning: call to undeclared function 'IMSendSpot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] IMSendSpot(screen); ^ charproc.c:4019:2: warning: call to undeclared function 'Kinput2SendSpot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Kinput2SendSpot(); ^ charproc.c:4078:2: warning: call to undeclared function 'ScreenDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScreenDraw(screen, y, x, x+(gset&MBCS?2:1), flags, False); ^ charproc.c:4117:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] VTReset(full) ^ int charproc.c:4127:3: warning: call to undeclared function 'TabReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TabReset (term->tabs); ^ charproc.c:4168:3: warning: call to undeclared function 'ClearScreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearScreen(screen); ^ charproc.c:4174:4: warning: call to undeclared function 'ReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReverseVideo(term); ^ charproc.c:4201:5: warning: call to undeclared function 'xevents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xevents(); ^ charproc.c:4203:3: warning: call to undeclared function 'CursorSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorSet(screen, 0, 0, term->flags); ^ charproc.c:4117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VTReset(full) ^ charproc.c:4210:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ToStatus(col) ^ int charproc.c:4222:3: warning: call to undeclared function 'CursorSave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorSave(term, &screen->statussc); ^ charproc.c:4210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToStatus(col) ^ charproc.c:4227:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:4237:2: warning: call to undeclared function 'CursorRestore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CursorRestore(term, &screen->statussc); ^ charproc.c:4248:2: warning: call to undeclared function 'DoResizeScreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DoResizeScreen(term); ^ charproc.c:4250:3: warning: call to undeclared function 'ResizeScrollBar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ResizeScrollBar(screen->scrollWidget, -1, -1, ^ charproc.c:4275:2: warning: call to undeclared function 'DoResizeScreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DoResizeScreen(term); ^ charproc.c:4277:3: warning: call to undeclared function 'ResizeScrollBar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ResizeScrollBar(screen->scrollWidget, -1, -1, ^ charproc.c:4310:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] StatusBox(screen) ^ int charproc.c:4310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charproc.c:4322:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:4397:17: warning: call to undeclared function 'SetCharacterClassRange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] } else if (SetCharacterClassRange (low, high, acc) != 0) { ^ charproc.c:4422:16: warning: call to undeclared function 'SetCharacterClassRange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] } else if (SetCharacterClassRange (low, high, acc) != 0) { ^ charproc.c:4333:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_character_class (s) ^ charproc.c:4430:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void HandleKeymapChange(w, event, params, param_count) ^ charproc.c:300:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void HandleKeymapChange(); ^ charproc.c:4469:36: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] int percent = (*param_count) ? atoi(params[0]) : 0; ^ charproc.c:4463:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void HandleBell(w, event, params, param_count) ^ charproc.c:306:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void HandleBell(); ^ charproc.c:4487:5: warning: call to undeclared function 'VisualBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VisualBell(); ^ charproc.c:4481:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void HandleVisualBell(w, event, params, param_count) ^ charproc.c:307:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void HandleVisualBell(); ^ charproc.c:4499:29: warning: passing arguments to 'SendMousePosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) SendMousePosition(w, event); ^ charproc.c:4492:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void HandleIgnore(w, event, params, param_count) ^ charproc.c:308:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void HandleIgnore(); ^ charproc.c:4516:2: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError,0); ^ charproc.c:4536:7: warning: call to undeclared function 'LoadNewFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!LoadNewFont (&term->screen, True, fontMenu_fontsel)) ^ charproc.c:4540:6: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError,0); ^ charproc.c:4505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoSetSelectedFont(w, client_data, selection, type, value, length, format) ^ charproc.c:4544:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void FindFontSelection (atom_name, justprobe) ^ charproc.c:4617:6: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError,0); ^ charproc.c:4621:6: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError,0); ^ charproc.c:4634:15: warning: passing arguments to 'SetVTFont' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetVTFont (fontnum, True, name1, name2); ^ charproc.c:4583:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleSetFont(w, event, params, param_count) ^ charproc.c:313:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void HandleSetFont(); ^ charproc.c:4646:2: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError,0); ^ charproc.c:4666:10: warning: call to undeclared function 'LoadNewFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!LoadNewFont(screen, doresize, i)) { ^ charproc.c:4667:2: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError,0); ^ charproc.c:4638:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void SetVTFont (i, doresize, name1, name2) ^ charproc.c:314:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void SetVTFont(); ^ charproc.c:4680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListFonts(display, pattern, maxnames, actual_count_return) ^ charproc.c:4741:29: warning: passing arguments to 'ParseList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parsed_xlfdlist = ParseList(xlfdlist); ^ charproc.c:4743:23: warning: passing arguments to 'csnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (tail_p = csnames(fnum); *tail_p; tail_p++) { ^ charproc.c:4725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search_font_matching(screen, xlfdlist, fnum) ^ charproc.c:4785:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fontname = fn) ~~~~~~~~~^~~~ charproc.c:4785:18: note: place parentheses around the assignment to silence this warning if (fontname = fn) ^ ( ) charproc.c:4785:18: note: use '==' to turn this assignment into an equality comparison if (fontname = fn) ^ == charproc.c:4841:2: warning: call to undeclared function 'set_cursor_gcs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_cursor_gcs (screen, fnum); ^ charproc.c:4844:19: warning: passing arguments to 'update_font_info' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_font_info (screen, doresize); ^ charproc.c:4766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadOneFont(screen, doresize, fontnum, fnum, bold) ^ charproc.c:4896:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fs = fn[fnum]) { ~~~^~~~~~~~~~ charproc.c:4896:9: note: place parentheses around the assignment to silence this warning if (fs = fn[fnum]) { ^ ( ) charproc.c:4896:9: note: use '==' to turn this assignment into an equality comparison if (fs = fn[fnum]) { ^ == charproc.c:4906:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fs = fb[fnum]) { ~~~^~~~~~~~~~ charproc.c:4906:9: note: place parentheses around the assignment to silence this warning if (fs = fb[fnum]) { ^ ( ) charproc.c:4906:9: note: use '==' to turn this assignment into an equality comparison if (fs = fb[fnum]) { ^ == charproc.c:4926:5: warning: call to undeclared function 'IMSendFonts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] IMSendFonts(screen); ^ charproc.c:4929:5: warning: call to undeclared function 'Kinput2SendFonts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Kinput2SendFonts(); ^ charproc.c:4931:22: warning: passing arguments to 'update_font_info' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_font_info (screen, doresize); ^ charproc.c:4858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadNewFont(screen, doresize, fontnum) ^ charproc.c:5132:2: warning: call to undeclared function 'DoResizeScreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DoResizeScreen (term); /* set to the new natural size */ ^ charproc.c:5134:4: warning: call to undeclared function 'ResizeScrollBar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ResizeScrollBar (screen->scrollWidget, -1, -1, ^ charproc.c:5139:2: warning: call to undeclared function 'Redraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Redraw (); ^ charproc.c:5141:5: warning: call to undeclared function 'set_vt_box'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_vt_box (screen); ^ charproc.c:5143:5: warning: call to undeclared function 'set_vt_graphics'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_vt_graphics (screen); ^ charproc.c:5062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_font_info (screen, doresize) ^ charproc.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 update_font_info(); ^ charproc.c:5147:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_vt_box (screen) ^ int charproc.c:5165:2: warning: call to undeclared function 'set_vt_box_per_gset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_vt_box_per_gset(screen); ^ charproc.c:5147: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_vt_box (screen) ^ charproc.c:5174:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:5178:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_vt_graphics (screen) ^ int charproc.c:5178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charproc.c:5295:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:5300:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_cursor_gcs (screen, fnum) ^ int charproc.c:5300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charproc.c:5369:1: warning: non-void function does not return a value [-Wreturn-type] } ^ charproc.c:5397:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (p = listbuf; q = index(p, ','); p = q + 1) { ~~^~~~~~~~~~~~~~~ charproc.c:5397:22: note: place parentheses around the assignment to silence this warning for (p = listbuf; q = index(p, ','); p = q + 1) { ^ ( ) charproc.c:5397:22: note: use '==' to turn this assignment into an equality comparison for (p = listbuf; q = index(p, ','); p = q + 1) { ^ == charproc.c:5411:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (p = listbuf; q = index(p, ','); p = q + 1) { ~~^~~~~~~~~~~~~~~ charproc.c:5411:22: note: place parentheses around the assignment to silence this warning for (p = listbuf; q = index(p, ','); p = q + 1) { ^ ( ) charproc.c:5411:22: note: use '==' to turn this assignment into an equality comparison for (p = listbuf; q = index(p, ','); p = q + 1) { ^ == charproc.c:5373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseList(list) ^ 298 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c cursor.c cursor.c:47:2: warning: call to undeclared function 'TrackText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TrackText(0, 0, 0, 0); ^ cursor.c:33:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void _CheckSelection(screen) ^ cursor.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] CursorSet(screen, row, col, flags) ^ int cursor.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor.c:76:1: warning: non-void function does not return a value [-Wreturn-type] } ^ cursor.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] CursorBack(screen, n) ^ int cursor.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] cursor.c:105:1: warning: non-void function does not return a value [-Wreturn-type] } ^ cursor.c:110:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] CursorForward(screen, n) ^ int cursor.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] cursor.c:119:1: warning: non-void function does not return a value [-Wreturn-type] } ^ cursor.c:125:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] CursorDown(screen, n) ^ int cursor.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] cursor.c:139:1: warning: non-void function does not return a value [-Wreturn-type] } ^ cursor.c:145:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] CursorUp(screen, n) ^ int cursor.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor.c:159:1: warning: non-void function does not return a value [-Wreturn-type] } ^ cursor.c:183:2: warning: call to undeclared function 'Scroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Scroll(screen, amount - j); ^ cursor.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] Index(screen, amount) ^ cursor.c:205:2: warning: call to undeclared function 'RevScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RevScroll(screen, amount - (screen->cur_row - screen->top_marg)); ^ cursor.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RevIndex(screen, amount) ^ cursor.c:212:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] CarriageReturn(screen) ^ int cursor.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] cursor.c:218:1: warning: non-void function does not return a value [-Wreturn-type] } ^ cursor.c:223:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] CursorSave(term, sc) ^ int cursor.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] cursor.c:235:1: warning: non-void function does not return a value [-Wreturn-type] } ^ cursor.c:240:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] CursorRestore(term, sc) ^ int cursor.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] cursor.c:253:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 30 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c data.c cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c input.c input.c:50:3: warning: call to undeclared function 'WindowScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] WindowScroll(screen, 0); ^ input.c:56:5: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MarginBell,0); ^ input.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AdjustAfterInput (screen) ^ input.c:95:15: warning: call to undeclared function 'XmuLookupKana'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] nbytes = XmuLookupKana (event, strbuf, STRBUFSIZE, ^ input.c:125:3: warning: call to undeclared function 'unparseseq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseseq(&reply, pty); ^ input.c:126:3: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc((char)(keysym-XK_KP_F1+'P'), pty); ^ input.c:132:4: warning: call to undeclared function 'unparseseq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseseq(&reply, pty); ^ input.c:133:4: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(cur[keysym-XK_Left], pty); ^ input.c:137:4: warning: call to undeclared function 'unparseseq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseseq(&reply, pty); ^ input.c:147:39: warning: passing arguments to 'sunfuncvalue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reply.a_param[0] = sunfuncvalue (keysym); ^ input.c:150:36: warning: passing arguments to 'funcvalue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reply.a_param[0] = funcvalue (keysym); ^ input.c:154:4: warning: call to undeclared function 'unparseseq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseseq(&reply, pty); ^ input.c:159:4: warning: call to undeclared function 'unparseseq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseseq(&reply, pty); ^ input.c:160:4: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(kypd_apl[keysym-XK_KP_Space], pty); ^ input.c:162:4: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(kypd_num[keysym-XK_KP_Space], pty); ^ input.c:178:9: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc (033, pty); /* escape */ ^ input.c:180:5: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(*string, pty); ^ input.c:189:6: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(*string++, pty); ^ input.c:197: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] n = (*func)(string, NULL); ^ input.c:199:18: 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)(*func)(string, obuf); ^ input.c:202:6: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(*optr++, pty); ^ input.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Input (keyboard, screen, event, eightbit) ^ input.c:233:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] StringInput (screen, string, nbytes) ^ int input.c:248:3: warning: call to undeclared function 'unparseputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unparseputc(*string++, pty); ^ input.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] StringInput (screen, string, nbytes) ^ input.c:253:1: warning: non-void function does not return a value [-Wreturn-type] } ^ input.c:255:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int funcvalue (keycode) ^ input.c:42: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 funcvalue(), sunfuncvalue(); ^ input.c:296:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sunfuncvalue (keycode) ^ input.c:42:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int funcvalue(), sunfuncvalue(); ^ 30 warnings generated. rm -f main.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -DUTMP -DUSE_TTY_GROUP -DOSMAJORVERSION=7 -DOSMINORVERSION=6 main.c main.c:941:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Syntax (badOption) ^ main.c:992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertConsoleSelection(w, selection, target, type, value, length, format) ^ main.c:1006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printopt(s) ^ main.c:1098:16: warning: passing arguments to 'do_hangup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_hangup(w); ^ main.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteWindow(w, event, params, num_params) ^ main.c:1103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KeyboardMapping(w, event, params, num_params) ^ main.c:1126:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main (argc, argv) ^ int main.c:1440:30: warning: passing arguments to 'parse_tty_modes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int n = parse_tty_modes (resource.tty_modes, ttymodelist); ^ main.c:1608:34: warning: passing arguments to 'base_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resource.title = base_name (command_to_exec[0]); ^ main.c:1669:2: warning: call to undeclared function 'get_terminal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] get_terminal (); ^ main.c:1670:2: warning: call to undeclared function 'spawn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] spawn (); ^ main.c:1729:61: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (ioctl (screen->respond, FIONBIO, (char *)&mode) == -1) SysError (ERROR_FIONBIO); ^ main.c:1754:4: warning: call to undeclared function 'VTRun'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VTRun(); ^ main.c:1126: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 (argc, argv) ^ main.c:1758:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *base_name(name) ^ main.c:1774:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] get_pty (pty) ^ int main.c:1875:9: warning: call to undeclared function 'pty_search'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return pty_search(pty); ^ main.c:1774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_pty (pty) ^ main.c:1888:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int pty_search(pty) ^ main.c:1942:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] get_terminal () ^ int main.c:1949:38: warning: passing arguments to 'make_colored_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen->arrow = make_colored_cursor (XC_left_ptr, ^ main.c:1952:1: warning: non-void function does not return a value [-Wreturn-type] } ^ main.c:2002:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SIGNAL_T hungtty(i) ^ main.c:2046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HsSysError(pf, error) ^ main.c:2093:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] spawn () ^ int main.c:2242:8: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SysError(ERROR_OPDEVTTY); ^ main.c:2327:6: warning: call to undeclared function 'VTInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VTInit(); /* realize now so know window size for tty driver */ ^ main.c:2361:10: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (tgetent (ptr, resource.term_name) == 1) { ^ main.c:2366:7: warning: call to undeclared function 'resize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] resize (screen, TermName, termcap, newtc); ^ main.c:2374:6: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(tgetent(ptr, *envnew) == 1) { ^ main.c:2379:8: warning: call to undeclared function 'resize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] resize(screen, TermName, termcap, newtc); ^ main.c:2387:8: warning: passing arguments to 'Exit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Exit (1); ^ main.c:2430:3: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SysError (ERROR_FORK); ^ main.c:2609:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ptr = ttyname(tty)) ~~~~^~~~~~~~~~~~~~ main.c:2609:11: note: place parentheses around the assignment to silence this warning if (ptr = ttyname(tty)) ^ ( ) main.c:2609:11: note: use '==' to turn this assignment into an equality comparison if (ptr = ttyname(tty)) ^ == main.c:2625:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ttygrp = getgrnam("tty")) { ~~~~~~~^~~~~~~~~~~~~~~~~ main.c:2625:14: note: place parentheses around the assignment to silence this warning if (ttygrp = getgrnam("tty")) { ^ ( ) main.c:2625:14: note: use '==' to turn this assignment into an equality comparison if (ttygrp = getgrnam("tty")) { ^ == main.c:2958:3: warning: call to undeclared function 'Setenv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Setenv ("TERM=", TermName); ^ main.c:3283:7: warning: call to undeclared function 'resize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] resize (screen, TermName, termcap, newtc); ^ main.c:3288:7: warning: call to undeclared function 'remove_termcap_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] remove_termcap_entry (newtc, ":ti="); ^ main.c:3294:7: warning: call to undeclared function 'remove_termcap_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] remove_termcap_entry (newtc, ":ic="); ^ main.c:3356:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shname = strrchr(ptr, '/')) ~~~~~~~^~~~~~~~~~~~~~~~~~~ main.c:3356:13: note: place parentheses around the assignment to silence this warning if(shname = strrchr(ptr, '/')) ^ ( ) main.c:3356:13: note: use '==' to turn this assignment into an equality comparison if(shname = strrchr(ptr, '/')) ^ == main.c:3374:5: warning: missing sentinel in function call [-Wsentinel] 0); ^ , NULL /usr/include/unistd.h:335:6: note: function has been explicitly marked sentinel here int execlp(const char *, const char *, ...) ^ main.c:3514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Exit(n) ^ main.c:382:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] SIGNAL_T Exit(); ^ main.c:3639:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] resize(screen, TermName, oldtc, newtc) ^ int main.c:3650:23: warning: passing arguments to 'strindex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((ptr1 = strindex (oldtc, "co#")) == NULL){ ^ main.c:3652:19: warning: passing arguments to 'strindex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptr1 = strindex (oldtc, "co#"); ^ main.c:3654:23: warning: passing arguments to 'strindex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((ptr2 = strindex (oldtc, "li#")) == NULL){ ^ main.c:3656:19: warning: passing arguments to 'strindex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptr2 = strindex (oldtc, "li#"); ^ main.c:3639: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(screen, TermName, oldtc, newtc) ^ main.c:3679:1: warning: non-void function does not return a value [-Wreturn-type] } ^ main.c:3727:6: warning: call to undeclared function 'Cleanup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Cleanup (0); ^ main.c:3709:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static SIGNAL_T reapchild (n) ^ main.c:421: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 SIGNAL_T reapchild (); ^ main.c:3735:42: warning: parameter 'x9' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) ^ main.c:3735:39: warning: parameter 'x8' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) ^ main.c:3735:36: warning: parameter 'x7' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) ^ main.c:3735:33: warning: parameter 'x6' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) ^ main.c:3735:30: warning: parameter 'x5' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) ^ main.c:3735:27: warning: parameter 'x4' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) ^ main.c:3735:24: warning: parameter 'x3' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) ^ main.c:3735:21: warning: parameter 'x2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) ^ main.c:3735:18: warning: parameter 'x1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) ^ main.c:3735:15: warning: parameter 'x0' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) ^ main.c:3735:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) ^ int main.c:3747:27: warning: passing arguments to 'SysErrorMsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strcat(buf, SysErrorMsg (oerrno)); ^ main.c:3735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) ^ main.c:3758:1: warning: non-void function does not return a value [-Wreturn-type] } ^ main.c:3761:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] remove_termcap_entry (buf, str) ^ int main.c:3767:25: warning: passing arguments to 'strindex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strinbuf = strindex (buf, str); ^ main.c:3761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remove_termcap_entry (buf, str) ^ main.c:3790:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int parse_tty_modes (s, modelist) ^ main.c:522: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 parse_tty_modes (); ^ main.c:3825:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int GetBytesAvailable (fd) ^ In file included from main.c:71: ./ptyx.h:761: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] extern int GetBytesAvailable(); ^ main.c:3849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kill_process_group(pid, sig) ^ In file included from main.c:71: ./ptyx.h:763: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] extern int kill_process_group(); ^ 76 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c menu.c menu.c:215:2: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError,0); ^ menu.c:222:37: warning: passing arguments to 'create_menu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen->mainMenu = create_menu (term, toplevel, "mainMenu", ^ menu.c:243:35: warning: passing arguments to 'create_menu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen->vtMenu = create_menu (term, toplevel, "vtMenu", ^ menu.c:283:37: warning: passing arguments to 'create_menu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen->fontMenu = create_menu (term, toplevel, "fontMenu", ^ menu.c:299:20: warning: passing arguments to 'FindFontSelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindFontSelection (NULL, True); ^ menu.c:325:2: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError,0); ^ menu.c:206:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool domenu (w, event, params, param_count) ^ menu.c:332:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleCreateMenu (w, event, params, param_count) ^ menu.c:341:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandlePopupMenu (w, event, params, param_count) ^ menu.c:362:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Widget create_menu (xtw, toplevelw, name, entries, nentries) ^ menu.c:186: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 create_menu(); ^ menu.c:421:45: warning: passing arguments to 'kill_process_group' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (screen->pid > 1) kill_process_group (screen->pid, sig); ^ menu.c:415:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void handle_send_signal (gw, sig) ^ menu.c:433:18: warning: passing arguments to 'do_securekbd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_securekbd (term->screen.mainMenu, NULL, NULL); ^ menu.c:430:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void DoSecureKeyboard (time) ^ In file included from menu.c:32: ./menu.h: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] extern void DoSecureKeyboard(); ^ menu.c:445:2: warning: call to undeclared function 'ReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReverseVideo (term); ^ menu.c:451:6: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError, 100); ^ menu.c:453:6: warning: call to undeclared function 'ReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReverseVideo (term); ^ menu.c:436:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_securekbd (gw, closure, data) ^ menu.c:52:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void do_securekbd(), do_allowsends(), do_visualbell(), ^ menu.c:461:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_allowsends (gw, closure, data) ^ menu.c:52:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void do_securekbd(), do_allowsends(), do_visualbell(), ^ menu.c:471:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_visualbell (gw, closure, data) ^ menu.c:52:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void do_securekbd(), do_allowsends(), do_visualbell(), ^ menu.c:501:5: warning: call to undeclared function 'Redraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Redraw (); ^ menu.c:497:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_redraw (gw, closure, data) ^ menu.c:56:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_redraw(), do_suspend(), do_continue(), do_interrupt(), ^ menu.c:512:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_suspend (gw, closure, data) ^ menu.c:56: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] do_redraw(), do_suspend(), do_continue(), do_interrupt(), ^ menu.c:522:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_continue (gw, closure, data) ^ menu.c:56:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_redraw(), do_suspend(), do_continue(), do_interrupt(), ^ menu.c:532:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_interrupt (gw, closure, data) ^ menu.c:56:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_redraw(), do_suspend(), do_continue(), do_interrupt(), ^ menu.c:540:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void do_hangup (gw, closure, data) ^ menu.c:50:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void do_hangup(); ^ menu.c:548:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_terminate (gw, closure, data) ^ menu.c:57:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_terminate(), do_kill(), do_quit(), do_scrollbar(), do_jumpscroll(), ^ menu.c:556:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_kill (gw, closure, data) ^ menu.c:57: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] do_terminate(), do_kill(), do_quit(), do_scrollbar(), do_jumpscroll(), ^ menu.c:567:5: warning: call to undeclared function 'Cleanup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Cleanup (0); ^ menu.c:563:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_quit (gw, closure, data) ^ menu.c:57:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_terminate(), do_kill(), do_quit(), do_scrollbar(), do_jumpscroll(), ^ menu.c:583:2: warning: call to undeclared function 'ScrollBarOff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollBarOff (screen); ^ menu.c:585:2: warning: call to undeclared function 'ScrollBarOn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollBarOn (term, FALSE, FALSE); ^ menu.c:576:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_scrollbar (gw, closure, data) ^ menu.c:57:43: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_terminate(), do_kill(), do_quit(), do_scrollbar(), do_jumpscroll(), ^ menu.c:600:26: warning: call to undeclared function 'FlushScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (screen->scroll_amt) FlushScroll(screen); ^ menu.c:591:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_jumpscroll (gw, closure, data) ^ menu.c:57:59: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_terminate(), do_kill(), do_quit(), do_scrollbar(), do_jumpscroll(), ^ menu.c:613:5: warning: call to undeclared function 'ReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReverseVideo (term); ^ menu.c:608:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_reversevideo (gw, closure, data) ^ menu.c:58:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_reversevideo(), do_autowrap(), do_reversewrap(), do_autolinefeed(), ^ menu.c:618:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_autowrap (gw, closure, data) ^ menu.c:58:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_reversevideo(), do_autowrap(), do_reversewrap(), do_autolinefeed(), ^ menu.c:627:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_reversewrap (gw, closure, data) ^ menu.c:58:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_reversevideo(), do_autowrap(), do_reversewrap(), do_autolinefeed(), ^ menu.c:636:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_autolinefeed (gw, closure, data) ^ menu.c:58:57: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_reversevideo(), do_autowrap(), do_reversewrap(), do_autolinefeed(), ^ menu.c:645:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_appcursor (gw, closure, data) ^ menu.c:59:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_appcursor(), do_appkeypad(), do_scrollkey(), do_scrollttyoutput(), ^ menu.c:654:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_appkeypad (gw, closure, data) ^ menu.c:59: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] do_appcursor(), do_appkeypad(), do_scrollkey(), do_scrollttyoutput(), ^ menu.c:663:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_scrollkey (gw, closure, data) ^ menu.c:59:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_appcursor(), do_appkeypad(), do_scrollkey(), do_scrollttyoutput(), ^ menu.c:674:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_scrollttyoutput (gw, closure, data) ^ menu.c:59:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_appcursor(), do_appkeypad(), do_scrollkey(), do_scrollttyoutput(), ^ menu.c:685:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_allow132 (gw, closure, data) ^ menu.c:61:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_allow132(), do_cursesemul(), do_marginbell(), ^ menu.c:696:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_cursesemul (gw, closure, data) ^ menu.c:61: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] do_allow132(), do_cursesemul(), do_marginbell(), ^ menu.c:707:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_marginbell (gw, closure, data) ^ menu.c:61:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_allow132(), do_cursesemul(), do_marginbell(), ^ menu.c:752:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_altscreen (gw, closure, data) ^ menu.c:62:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_altscreen(), do_softreset(), do_hardreset(), do_clearsavedlines(), ^ menu.c:764:5: warning: call to undeclared function 'VTReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VTReset (FALSE); ^ menu.c:760:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_softreset (gw, closure, data) ^ menu.c:62: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] do_altscreen(), do_softreset(), do_hardreset(), do_clearsavedlines(), ^ menu.c:772:5: warning: call to undeclared function 'VTReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VTReset (TRUE); ^ menu.c:768:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_hardreset (gw, closure, data) ^ menu.c:62:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_altscreen(), do_softreset(), do_hardreset(), do_clearsavedlines(), ^ menu.c:783:5: warning: call to undeclared function 'ScrollBarDrawThumb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollBarDrawThumb(screen->scrollWidget); ^ menu.c:784:5: warning: call to undeclared function 'VTReset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VTReset (TRUE); ^ menu.c:776:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_clearsavedlines (gw, closure, data) ^ menu.c:62:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_altscreen(), do_softreset(), do_hardreset(), do_clearsavedlines(), ^ menu.c:815:2: warning: call to undeclared function 'HideStatus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideStatus(); ^ menu.c:817:2: warning: call to undeclared function 'ShowStatus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ShowStatus(); ^ menu.c:808:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_statusline (gw, closure, data) ^ menu.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 do_statusline(), do_reversestatus(); ^ menu.c:832:5: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, screen->max_row+1, 0, 1, screen->max_col+1, False); ^ menu.c:824:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_reversestatus (gw, closure, data) ^ menu.c:73:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void do_statusline(), do_reversestatus(); ^ menu.c:837:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_jismode (gw, closure, data) ^ menu.c:855:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_eucjpmode (gw, closure, data) ^ menu.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 do_eucjpmode(); ^ menu.c:878:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_sjismode (gw, closure, data) ^ menu.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 do_sjismode(); ^ menu.c:901:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_euckrmode (gw, closure, data) ^ menu.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 do_euckrmode(); ^ menu.c:925:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_fontstrict (gw, closure, data) ^ menu.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 do_fontstrict(); ^ menu.c:945:9: warning: passing arguments to 'CloseIM' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CloseIM(screen); ^ menu.c:947:8: warning: passing arguments to 'OpenIM' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OpenIM(screen); ^ menu.c:937:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_openim (gw, closure, data) ^ menu.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 do_openim(); ^ menu.c:967:6: warning: call to undeclared function 'SetVTFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetVTFont (i, True, NULL, NULL); ^ menu.c:971:5: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError, 0); ^ menu.c:958:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_vtfont (gw, closure, data) ^ menu.c:63:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] do_vtfont(); ^ menu.c:1115:2: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError, 0); ^ menu.c:1119:10: 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] (*proc) (w, closure, data); ^ menu.c:1123:19: 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 (var) (*proc) (w, closure, data); ^ menu.c:1128:20: 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 (!var) (*proc) (w, closure, data); ^ menu.c:1092:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void handle_toggle (proc, var, params, nparams, w, closure, data) ^ menu.c:1135:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleAllowSends(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h: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] extern void HandleAllowSends(); ^ menu.c:1145:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleSetVisualBell(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h: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] extern void HandleSetVisualBell(); ^ menu.c:1168:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleRedraw(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:52:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void HandleRedraw(); ^ menu.c:1217:5: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError, 0); ^ menu.c:1178:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleSendSignal(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h: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] extern void HandleSendSignal(); ^ menu.c:1221:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleQuit(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h: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] extern void HandleQuit(); ^ menu.c:1230:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleScrollbar(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h: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] extern void HandleScrollbar(); ^ menu.c:1240:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleJumpscroll(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void HandleJumpscroll(); ^ menu.c:1250:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleReverseVideo(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:57:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void HandleReverseVideo(); ^ menu.c:1260:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleAutoWrap(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void HandleAutoWrap(); ^ menu.c:1270:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleReverseWrap(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h: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] extern void HandleReverseWrap(); ^ menu.c:1280:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleAutoLineFeed(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:60:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void HandleAutoLineFeed(); ^ menu.c:1290:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleAppCursor(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:61:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void HandleAppCursor(); ^ menu.c:1300:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleAppKeypad(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h: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] extern void HandleAppKeypad(); ^ menu.c:1310:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleScrollKey(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:63:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void HandleScrollKey(); ^ menu.c:1320:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleScrollTtyOutput(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:64:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void HandleScrollTtyOutput(); ^ menu.c:1330:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleAllow132(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void HandleAllow132(); ^ menu.c:1340:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleCursesEmul(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:66:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void HandleCursesEmul(); ^ menu.c:1350:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleMarginBell(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h: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] extern void HandleMarginBell(); ^ menu.c:1360:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleAltScreen(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h: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] extern void HandleAltScreen(); ^ menu.c:1372:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleSoftReset(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h: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] extern void HandleSoftReset(); ^ menu.c:1382:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleHardReset(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h: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] extern void HandleHardReset(); ^ menu.c:1392:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleClearSavedLines(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h: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] extern void HandleClearSavedLines(); ^ menu.c:1507:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleStatusLine(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void HandleStatusLine(); ^ menu.c:1518:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleStatusReverse(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h: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] extern void HandleStatusReverse(); ^ menu.c:1551:6: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError, 0); ^ menu.c:1554:2: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError, 0); ^ menu.c:1531:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleSetKanjiMode(w, event, params, param_count) ^ In file included from menu.c:32: ./menu.h:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void HandleSetKanjiMode(); ^ 167 warnings generated. rm -f misc.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D misc.c misc.c:78:3: warning: call to undeclared function 'FlushScroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] FlushScroll(screen); ^ misc.c:121:26: warning: passing arguments to 'DoSpecialEnterNotify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoSpecialEnterNotify (&event.xcrossing); ^ misc.c:132:26: warning: passing arguments to 'DoSpecialLeaveNotify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoSpecialLeaveNotify (&event.xcrossing); ^ misc.c:160:2: warning: call to undeclared function 'recolor_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] recolor_cursor (c, fg, bg); ^ misc.c:149:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cursor make_colored_cursor (cursorindex, fg, bg) ^ In file included from misc.c:29: ./ptyx.h:760: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] extern Cursor make_colored_cursor(); ^ misc.c:176:2: warning: call to undeclared function 'Input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Input (&term->keyboard, screen, &event->xkey, False); ^ misc.c:165:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleKeyPressed(w, event, params, nparams) ^ misc.c:194:2: warning: call to undeclared function 'Input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Input (&term->keyboard, screen, &event->xkey, True); ^ misc.c:179:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleEightBitKeyPressed(w, event, params, nparams) ^ misc.c:229:6: warning: call to undeclared function 'StringInput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StringInput (screen, hexval, 1); ^ misc.c:232:2: warning: call to undeclared function 'StringInput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StringInput (screen, *params, strlen(*params)); ^ misc.c:198:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleStringEvent(w, event, params, nparams) ^ misc.c:252:14: warning: passing arguments to 'selectwindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] selectwindow(screen, INWINDOW); ^ misc.c:236:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DoSpecialEnterNotify (ev) ^ misc.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 DoSpecialEnterNotify(); ^ misc.c:256:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleEnterWindow(w, eventdata, event) ^ misc.c:281:16: warning: passing arguments to 'unselectwindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unselectwindow(screen, INWINDOW); ^ misc.c:265:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DoSpecialLeaveNotify (ev) ^ misc.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 DoSpecialLeaveNotify(); ^ misc.c:286:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleLeaveWindow(w, eventdata, event) ^ misc.c:304:29: warning: passing arguments to 'selectwindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] selectwindow(screen, ^ misc.c:308:31: warning: passing arguments to 'unselectwindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unselectwindow(screen, ^ misc.c:313:7: warning: call to undeclared function 'ReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReverseVideo(term); ^ misc.c:296:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleFocusChange(w, eventdata, event) ^ misc.c:343:7: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ misc.c:346:4: warning: call to undeclared function 'ShowCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ShowCursor(); ^ misc.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] selectwindow(screen, flag) ^ misc.c:65:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void selectwindow(); ^ misc.c:373:8: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ misc.c:375:4: warning: call to undeclared function 'ShowCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ShowCursor(); ^ misc.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] unselectwindow(screen, flag) ^ misc.c:64:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void unselectwindow(); ^ misc.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] Bell(which,percent) ^ misc.c:405:21: warning: passing arguments to 'GetBytesAvailable' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetBytesAvailable (ConnectionNumber(screen->display)) > 0) ^ misc.c:421:2: warning: call to undeclared function 'VisualBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] VisualBell(); ^ misc.c:446:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] VisualBell() ^ int misc.c:494:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:497:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleBellPropertyChange(w, data, ev, more) ^ misc.c:510:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Redraw() ^ int misc.c:539:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:766:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] do_osc(func) ^ int misc.c:791:3: warning: call to undeclared function 'Changename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Changename(buf); ^ misc.c:792:3: warning: call to undeclared function 'Changetitle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Changetitle(buf); ^ misc.c:824:3: warning: call to undeclared function 'SetVTFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetVTFont (fontMenu_fontescape, True, buf, NULL); ^ misc.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] do_osc(func) ^ misc.c:832:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:834:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static ChangeGroup(attribute, value) ~~~~~~ ^ int misc.c:834:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] misc.c:843:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:845:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Changename(name) ^ int misc.c:845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] misc.c:849:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:851:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Changetitle(name) ^ int misc.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] misc.c:855:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:860:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Panic(s, a) ^ int misc.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] misc.c:872:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:874:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SysErrorMsg (n) ^ misc.c:882:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SysError (i) ^ int misc.c:891:2: warning: call to undeclared function 'Cleanup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Cleanup(i); ^ misc.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SysError (i) ^ misc.c:892:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:894:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Error (i) ^ int misc.c:898:2: warning: call to undeclared function 'Cleanup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Cleanup(i); ^ misc.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] Error (i) ^ misc.c:899:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:905:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Cleanup (code) ^ int misc.c:913:32: warning: passing arguments to 'kill_process_group' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) kill_process_group (screen->pid, SIGHUP); ^ misc.c:915:2: warning: call to undeclared function 'Exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Exit (code); ^ misc.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cleanup (code) ^ misc.c:916:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Setenv (var, value) ^ misc.c:958:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *strindex (s1, s2) ^ misc.c:973:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] xerror(d, ev) ^ int misc.c:979:5: warning: call to undeclared function 'Exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Exit (ERROR_XERROR); ^ misc.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xerror(d, ev) ^ misc.c:980:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:983:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] xioerror(dpy) ^ int misc.c:991:5: warning: call to undeclared function 'Exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Exit(ERROR_XIOERROR); ^ misc.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] xioerror(dpy) ^ misc.c:992:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:994:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void xt_error(message) ^ misc.c:1003:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] XStrCmp(s1, s2) ^ int misc.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 86 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c screen.c screen.c:78:31: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((base = (ScrnBuf) calloc ((unsigned)nrow, sizeof (Bchr *))) == 0) ^ screen.c:82:3: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SysError (ERROR_SCALLOC); ^ screen.c:85:28: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((tmp = (Bchr *)calloc ((unsigned) (nrow * ncol), sizeof(Bchr))) == 0) ^ screen.c:52:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrnBuf Allocate (nrow, ncol, addr) ^ screen.c:104:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Reallocate(sbuf, sbufaddr, nrow, ncol, oldrow, oldcol) ^ screen.c:168:27: warning: passing arguments to 'realloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *sbuf = (ScrnBuf) realloc((char *) (*sbuf), ^ screen.c:186:6: warning: call to undeclared function 'SysError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SysError(ERROR_RESIZE); ^ screen.c:194:27: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((tmp = (Bchr *)calloc((unsigned) (nrow * ncol), sizeof(Bchr))) == 0) ^ screen.c:239:6: warning: passing arguments to 'free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free(oldbuf); ^ screen.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Reallocate(sbuf, sbufaddr, nrow, ncol, oldrow, oldcol) ^ screen.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] ScreenWrite (screen, str, flags, gset, length) ^ screen.c:330:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ScrnInsertLine (sb, last, where, n, size) ^ int screen.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen.c:394:1: warning: non-void function does not return a value [-Wreturn-type] } ^ screen.c:397:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ScrnDeleteLine (sb, last, where, n, size) ^ int screen.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen.c:451:1: warning: non-void function does not return a value [-Wreturn-type] } ^ screen.c:454:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ScrnInsertChar (sb, row, col, n, size) ^ int screen.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] screen.c:501:1: warning: non-void function does not return a value [-Wreturn-type] } ^ screen.c:504:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ScrnDeleteChar (sb, row, col, n, size) ^ int screen.c:514:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register nbytes = (size - n - col); ~~~~~~~~ ^ int screen.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrnDeleteChar (sb, row, col, n, size) ^ screen.c:536:1: warning: non-void function does not return a value [-Wreturn-type] } ^ screen.c:539:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ScrnRefresh (screen, toprow, leftcol, nrows, ncols, force) ^ int screen.c:615:7: warning: call to undeclared function 'StatusBox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StatusBox(screen); ^ screen.c:715:6: warning: call to undeclared function 'ScreenDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScreenDraw(screen, row + topline, lastind, col, flags, False); ^ screen.c:765:5: warning: call to undeclared function 'ScreenDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScreenDraw(screen, row + topline, lastind, col, flags, False); ^ screen.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrnRefresh (screen, toprow, leftcol, nrows, ncols, force) ^ screen.c:790:1: warning: non-void function does not return a value [-Wreturn-type] } ^ screen.c:792:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ClearBufRows (screen, first, last) ^ int screen.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] screen.c:809:1: warning: non-void function does not return a value [-Wreturn-type] } ^ screen.c:827:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ScreenResize (screen, width, height, flags) ^ int screen.c:910:4: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ screen.c:914:7: warning: call to undeclared function 'SwitchBufPtrs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SwitchBufPtrs(screen); ^ screen.c:916:42: warning: incompatible pointer types passing 'Char **' (aka 'unsigned char **') to parameter of type 'Bchr **' [-Wincompatible-pointer-types] (void) Reallocate(&screen->altbuf, (Char **)&screen->abuf_address, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:919:8: warning: incompatible pointer types passing 'Char **' (aka 'unsigned char **') to parameter of type 'Bchr **' [-Wincompatible-pointer-types] (Char **)&screen->sbuf_address, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:942:7: warning: call to undeclared function 'ScrollSelection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollSelection(screen, move_down_by); ^ screen.c:974:3: warning: call to undeclared function 'ResizeScrollBar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ResizeScrollBar(screen->scrollWidget, -1, -1, height); ^ screen.c:978:2: warning: call to undeclared function 'ResizeSelection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ResizeSelection (screen, rows, cols); ^ screen.c:1013:2: warning: call to undeclared function 'IMSendSize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] IMSendSize(screen); ^ screen.c:1014:2: warning: call to undeclared function 'IMSendSpot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] IMSendSpot(screen); ^ screen.c:1017:2: warning: call to undeclared function 'Kinput2SendSize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Kinput2SendSize(); ^ screen.c:1018:2: warning: call to undeclared function 'Kinput2SendSpot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Kinput2SendSpot(); ^ screen.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] ScreenResize (screen, width, height, flags) ^ screen.c:1030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrnSetAttributes(screen, row, col, mask, value, length) ^ screen.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] ScrnGetAttributes(screen, row, col, str, length) ^ screen.c:1107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] non_blank_line(sb, row, col, len) ^ screen.c:1130:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ScreenDraw(screen, row, col, endcol, flags, oncursor) ^ int screen.c:1181:34: 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] ? (*gsetmaponfont[gset])(str[c].code) ^ screen.c:1192:6: warning: call to undeclared function 'LoadOneFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] LoadOneFont(screen, True, screen->menu_font_number, fnum, False); ^ screen.c:1130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScreenDraw(screen, row, col, endcol, flags, oncursor) ^ screen.c:1301:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 54 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c scrollbar.c scrollbar.c:164:2: warning: call to undeclared function 'IMSendSize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] IMSendSize(screen); ^ scrollbar.c:165:2: warning: call to undeclared function 'IMSendSpot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] IMSendSpot(screen); ^ scrollbar.c:168:2: warning: call to undeclared function 'Kinput2SendSize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Kinput2SendSize(); ^ scrollbar.c:169:2: warning: call to undeclared function 'Kinput2SendSpot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Kinput2SendSpot(); ^ scrollbar.c:54:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ResizeScreen(xw, min_width, min_height ) ^ scrollbar.c:173:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void DoResizeScreen (xw) ^ scrollbar.c:181:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Widget CreateScrollBar(xw, x, y, height) ^ scrollbar.c:208:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void RealizeScrollBar (sbw, screen) ^ scrollbar.c:216:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ScrollBarReverseVideo(scrollWidget) ^ int scrollbar.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] scrollbar.c:238:1: warning: non-void function does not return a value [-Wreturn-type] } ^ scrollbar.c:242:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ScrollBarDrawThumb(scrollWidget) ^ int scrollbar.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scrollbar.c:256:1: warning: non-void function does not return a value [-Wreturn-type] } ^ scrollbar.c:258:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ResizeScrollBar(scrollWidget, x, y, height) ^ int scrollbar.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scrollbar.c:266:1: warning: non-void function does not return a value [-Wreturn-type] } ^ scrollbar.c:290:3: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ scrollbar.c:302:2: warning: call to undeclared function 'scrolling_copy_area'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scrolling_copy_area(screen, scrolltop, scrollheight, -i); ^ scrollbar.c:305:2: warning: call to undeclared function 'ScrollSelection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollSelection(screen, i); ^ scrollbar.c:315:2: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, refreshtop, 0, lines, screen->max_col + 1, False); ^ scrollbar.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WindowScroll(screen, top) ^ scrollbar.c:340:3: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError,0); ^ scrollbar.c:349:6: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell (XkbBI_MinorError,0); ^ scrollbar.c:357:20: warning: passing arguments to 'realloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (ScrnBuf) realloc((char *) screen->buf, ^ scrollbar.c:362:8: warning: call to undeclared function 'Error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Error (ERROR_SBRALLOC); ^ scrollbar.c:368:19: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (Bchr *)calloc((unsigned) screen->max_col + 1, sizeof(Bchr))) == NULL) ^ scrollbar.c:405:6: warning: call to undeclared function 'Redraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Redraw (); ^ scrollbar.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] ScrollBarOn (xw, init, doalloc) ^ scrollbar.c:421:6: warning: call to undeclared function 'Redraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Redraw (); ^ scrollbar.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] ScrollBarOff(screen) ^ scrollbar.c:426:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ScrollTextTo(scrollbarWidget, client_data, call_data) ^ scrollbar.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 ScrollTextTo(); ^ scrollbar.c:453:15: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int pixels = (int) call_data; ^~~~~~~~~~~~~~~ scrollbar.c:448:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ScrollTextUpDownBy(scrollbarWidget, client_data, call_data) ^ scrollbar.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 ScrollTextUpDownBy(); ^ scrollbar.c:473:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int specialcmplowerwiths (a, b) ^ scrollbar.c:504:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register mult = 1; ~~~~~~~~ ^ int scrollbar.c:517:10: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] mult *= atoi (params[0]); ^ scrollbar.c:499:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int params_to_pixels (screen, params, n) ^ scrollbar.c:542:4: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)params_to_pixels (screen, params, (int) *nparams)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scrollbar.c:532:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleScrollForward (gw, event, params, nparams) ^ scrollbar.c:558:4: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)-params_to_pixels (screen, params, (int) *nparams)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scrollbar.c:548:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void HandleScrollBack (gw, event, params, nparams) ^ 44 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c tabs.c tabs.c:40:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] TabReset(tabs) ^ int tabs.c:49:3: warning: call to undeclared function 'TabSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TabSet(tabs, i); ^ tabs.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TabReset(tabs) ^ tabs.c:50:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tabs.c:56:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] TabSet(tabs, col) ^ int tabs.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] tabs.c:61:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tabs.c:66:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] TabClear(tabs, col) ^ int tabs.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] tabs.c:71:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tabs.c:78:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] TabNext (tabs, col) ^ int tabs.c:86:3: warning: call to undeclared function 'Index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Index(screen, 1); ^ tabs.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TabNext (tabs, col) ^ tabs.c:99:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] TabZonk (tabs) ^ int tabs.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] tabs.c:106:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 16 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c util.c util.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] FlushScroll(screen) ^ int util.c:63:3: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ util.c:84:5: warning: call to undeclared function 'ScrollBarDrawThumb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollBarDrawThumb(screen->scrollWidget); ^ util.c:113:2: warning: call to undeclared function 'scrolling_copy_area'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scrolling_copy_area(screen, scrolltop+screen->scroll_amt, ^ util.c:115:2: warning: call to undeclared function 'ScrollSelection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollSelection(screen, -(screen->scroll_amt)); ^ util.c:127:3: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, refreshtop, 0, refreshheight, ^ util.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] FlushScroll(screen) ^ util.c:130:1: warning: non-void function does not return a value [-Wreturn-type] } ^ util.c:132:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] AddToRefresh(screen) ^ int util.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] util.c:184:3: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ util.c:201:2: warning: call to undeclared function 'ScrollSelection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollSelection(screen, -(amount)); ^ util.c:203:3: warning: call to undeclared function 'ClearScreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearScreen(screen); ^ util.c:222:4: warning: call to undeclared function 'ScrollBarDrawThumb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollBarDrawThumb(screen->scrollWidget); ^ util.c:239:11: warning: passing arguments to 'CopyWait' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CopyWait(screen); ^ util.c:242:2: warning: call to undeclared function 'scrolling_copy_area'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scrolling_copy_area(screen, scrolltop+amount, scrollheight, amount); ^ util.c:257:3: warning: call to undeclared function 'ScrnDeleteLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnDeleteLine(screen->allbuf, screen->bot_marg + ^ util.c:263:3: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh(screen, refreshtop, 0, refreshheight, ^ util.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] Scroll(screen, amount) ^ util.c:274:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RevScroll(screen, amount) ^ int util.c:287:3: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ util.c:319:11: warning: passing arguments to 'CopyWait' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CopyWait(screen); ^ util.c:322:2: warning: call to undeclared function 'scrolling_copy_area'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scrolling_copy_area(screen, scrolltop-amount, scrollheight, -amount); ^ util.c:333:2: warning: call to undeclared function 'ScrnInsertLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnInsertLine (screen->buf, screen->bot_marg, screen->top_marg, ^ util.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RevScroll(screen, amount) ^ util.c:335:1: warning: non-void function does not return a value [-Wreturn-type] } ^ util.c:359:3: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ util.c:384:20: warning: passing arguments to 'vertical_copy_area' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vertical_copy_area(screen, scrolltop-n, scrollheight, -n); ^ util.c:396:2: warning: call to undeclared function 'ScrnInsertLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnInsertLine(screen->buf, screen->bot_marg, screen->cur_row, n, ^ util.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] InsertLine (screen, n) ^ util.c:421:3: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ util.c:451:4: warning: call to undeclared function 'ScrollBarDrawThumb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollBarDrawThumb(screen->scrollWidget); ^ util.c:462:20: warning: passing arguments to 'vertical_copy_area' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vertical_copy_area(screen, scrolltop+n, scrollheight, n); ^ util.c:475:3: warning: call to undeclared function 'ScrnDeleteLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnDeleteLine(screen->allbuf, screen->bot_marg + ^ util.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] DeleteLine(screen, n) ^ util.c:485:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] InsertChar (screen, n) ^ int util.c:492:3: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ util.c:495:2: warning: call to undeclared function 'BreakMBchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] BreakMBchar(screen); ^ util.c:511:7: warning: call to undeclared function 'non_blank_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (non_blank_line (screen->buf, screen->cur_row, ^ util.c:513:27: warning: passing arguments to 'horizontal_copy_area' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] horizontal_copy_area(screen, screen->cur_col, ^ util.c:533:2: warning: call to undeclared function 'ScrnInsertChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnInsertChar(screen->buf, screen->cur_row, screen->cur_col, n, ^ util.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] InsertChar (screen, n) ^ util.c:535:1: warning: non-void function does not return a value [-Wreturn-type] } ^ util.c:540:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] DeleteChar (screen, n) ^ int util.c:547:3: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ util.c:553:2: warning: call to undeclared function 'BreakMBchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] BreakMBchar(screen); ^ util.c:568:23: warning: passing arguments to 'horizontal_copy_area' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] horizontal_copy_area(screen, screen->cur_col+n, ^ util.c:586:2: warning: call to undeclared function 'ScrnDeleteChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnDeleteChar (screen->buf, screen->cur_row, screen->cur_col, n, ^ util.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteChar (screen, n) ^ util.c:589:1: warning: non-void function does not return a value [-Wreturn-type] } ^ util.c:594:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ClearAbove (screen) ^ int util.c:597:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register top, height; ~~~~~~~~ ^ int util.c:597:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register top, height; ~~~~~~~~ ^ int util.c:600:3: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ util.c:613:4: warning: call to undeclared function 'ClearLeft'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearLeft(screen); ^ util.c:615:2: warning: call to undeclared function 'ClearBufRows'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearBufRows(screen, 0, screen->cur_row - 1); ^ util.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearAbove (screen) ^ util.c:616:1: warning: non-void function does not return a value [-Wreturn-type] } ^ util.c:621:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ClearBelow (screen) ^ int util.c:624:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register top; ~~~~~~~~ ^ int util.c:626:2: warning: call to undeclared function 'ClearRight'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearRight(screen); ^ util.c:637:2: warning: call to undeclared function 'ClearBufRows'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearBufRows(screen, screen->cur_row + 1, screen->max_row); ^ util.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearBelow (screen) ^ util.c:638:1: warning: non-void function does not return a value [-Wreturn-type] } ^ util.c:643:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ClearRight (screen) ^ int util.c:647:3: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ util.c:650:2: warning: call to undeclared function 'BreakMBchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] BreakMBchar(screen); ^ util.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearRight (screen) ^ util.c:686:1: warning: non-void function does not return a value [-Wreturn-type] } ^ util.c:691:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ClearLeft (screen) ^ int util.c:702:3: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ util.c:705:2: warning: call to undeclared function 'BreakMBchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] BreakMBchar(screen); ^ util.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearLeft (screen) ^ util.c:747:1: warning: non-void function does not return a value [-Wreturn-type] } ^ util.c:752:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ClearLine(screen) ^ int util.c:756:3: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ util.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearLine(screen) ^ util.c:784:1: warning: non-void function does not return a value [-Wreturn-type] } ^ util.c:786:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ClearScreen(screen) ^ int util.c:792:3: warning: call to undeclared function 'HideCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HideCursor(); ^ util.c:810:2: warning: call to undeclared function 'ClearBufRows'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ClearBufRows (screen, 0, screen->max_row); ^ util.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] ClearScreen(screen) ^ util.c:811:1: warning: non-void function does not return a value [-Wreturn-type] } ^ util.c:825:4: warning: call to undeclared function 'HandleExposure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HandleExposure (screen, &reply); ^ util.c:814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CopyWait(screen) ^ util.c:42:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void CopyWait(); ^ util.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_area(screen, src_x, src_y, width, height, dest_x, dest_y) ^ util.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] horizontal_copy_area(screen, firstchar, nchars, amount) ^ util.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 horizontal_copy_area(); ^ util.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vertical_copy_area(screen, firstline, nlines, amount) ^ util.c:39:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void vertical_copy_area(); ^ util.c:935:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] scrolling_copy_area(screen, firstline, nlines, amount) ^ int util.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] util.c:945:1: warning: non-void function does not return a value [-Wreturn-type] } ^ util.c:951:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] HandleExposure (screen, event) ^ int util.c:959:9: warning: call to undeclared function 'handle_translated_exposure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return handle_translated_exposure (screen, reply->x, reply->y, ^ util.c:951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleExposure (screen, event) ^ util.c:996:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] handle_translated_exposure (screen, rect_x, rect_y, rect_width, rect_height) ^ int util.c:1036:3: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh (screen, toprow, leftcol, nrows, ncols, False); ^ util.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] handle_translated_exposure (screen, rect_x, rect_y, rect_width, rect_height) ^ util.c:1050:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ReverseVideo (termw) ^ int util.c:1106:17: warning: passing arguments to 'recolor_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] recolor_cursor (screen->pointer_cursor, ^ util.c:1108:17: warning: passing arguments to 'recolor_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] recolor_cursor (screen->arrow, ^ util.c:1121:3: warning: call to undeclared function 'ScrollBarReverseVideo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrollBarReverseVideo(screen->scrollWidget); ^ util.c:1131:2: warning: call to undeclared function 'ScrnRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ScrnRefresh (screen, 0, 0, screen->max_row + 1 + !!screen->statusheight, ^ util.c:1145:2: warning: call to undeclared function 'IMSendColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] IMSendColor(screen); ^ util.c:1148:2: warning: call to undeclared function 'Kinput2SendColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Kinput2SendColor(); ^ util.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReverseVideo (termw) ^ util.c:1150:1: warning: non-void function does not return a value [-Wreturn-type] } ^ util.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] recolor_cursor (cursor, fg, bg) ^ util.c:41:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void recolor_cursor(); ^ util.c:1175:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] BreakMBchar(screen) ^ int util.c:1175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] util.c:1205:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 114 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c VTPrsTbl.c cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c gset.c gset.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gsetmap_irv(c) ^ gset.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] gsetmap_uk(c) ^ gset.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] gsetmap_nats_fi_se(c) ^ gset.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] gsetmap_nats_dk_no(c) ^ gset.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gsetmap_se(c) ^ gset.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] gsetmap_se_c(c) ^ gset.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gsetmap_no(c) ^ gset.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gsetmap_no2(c) ^ gset.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] gsetmap_cn(c) ^ gset.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] gsetmap_de(c) ^ gset.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] gsetmap_old_fr(c) ^ gset.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] gsetmap_fr(c) ^ gset.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] gsetmap_it(c) ^ gset.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gsetmap_o_es(c) ^ gset.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gsetmap_ibm_es(c) ^ gset.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gsetmap_o_pt(c) ^ gset.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gsetmap_ibm_pt(c) ^ gset.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gsetmap_ca1(c) ^ gset.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gsetmap_ca2(c) ^ gset.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gsetmap_hu(c) ^ gset.c:630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gsetmap_yu(c) ^ gset.c:840: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_vt_box_per_gset(screen) ^ gset.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] csnames(fnum) ^ 23 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c convert.c convert.c:43:9: warning: call to undeclared function 'convCStoANY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return convCStoANY(cs, js, NULL); ^ convert.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] convCStoJIS(cs, js) ^ convert.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] CStoEUCJP(cs_p, es_p) ^ convert.c:83:9: warning: call to undeclared function 'convCStoANY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return convCStoANY(cs, es, CStoEUCJP); ^ convert.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convCStoEUCJP(cs, es) ^ convert.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] CStoEUCKR(cs_p, es_p) ^ convert.c:123:9: warning: call to undeclared function 'convCStoANY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return convCStoANY(cs, es, CStoEUCKR); ^ convert.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] convCStoEUCKR(cs, es) ^ convert.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] CStoSJIS(cs_p, ss_p) ^ convert.c:162:9: warning: call to undeclared function 'convCStoANY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return convCStoANY(cs, ss, CStoSJIS); ^ convert.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] convCStoSJIS(cs, ss) ^ convert.c:176:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = cs->code) { ~~~^~~~~~~~~~ convert.c:176:12: note: place parentheses around the assignment to silence this warning while (c1 = cs->code) { ^ ( ) convert.c:176:12: note: use '==' to turn this assignment into an equality comparison while (c1 = cs->code) { ^ == convert.c:177:27: 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 (func && (m = (*func)(&cs, &as))) { ^ convert.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convCStoANY(cs, as, func) ^ convert.c:272:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = cs->code) { ~~^~~~~~~~~~ convert.c:272:12: note: place parentheses around the assignment to silence this warning while (c = cs->code) { ^ ( ) convert.c:272:12: note: use '==' to turn this assignment into an equality comparison while (c = cs->code) { ^ == convert.c:280:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = cs->code) { ~~^~~~~~~~~~ convert.c:280:12: note: place parentheses around the assignment to silence this warning while (c = cs->code) { ^ ( ) convert.c:280:12: note: use '==' to turn this assignment into an equality comparison while (c = cs->code) { ^ == convert.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] convCStoLatin1(cs, ls) ^ convert.c:320:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = cs->code) { ~~~^~~~~~~~~~ convert.c:320:12: note: place parentheses around the assignment to silence this warning while (c1 = cs->code) { ^ ( ) convert.c:320:12: note: use '==' to turn this assignment into an equality comparison while (c1 = cs->code) { ^ == convert.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] convCStoCT(cs, as) ^ convert.c:386: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) ^ convert.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] getcsi(str, len) ^ convert.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] convCTtoCS(xstr, len, cs) ^ convert.c:629:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (e1 = *es++) { ~~~^~~~~~~ convert.c:629:12: note: place parentheses around the assignment to silence this warning while (e1 = *es++) { ^ ( ) convert.c:629:12: note: use '==' to turn this assignment into an equality comparison while (e1 = *es++) { ^ == convert.c:631:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e2 = *es++) { ~~~^~~~~~~ convert.c:631:11: note: place parentheses around the assignment to silence this warning if (e2 = *es++) { ^ ( ) convert.c:631:11: note: use '==' to turn this assignment into an equality comparison if (e2 = *es++) { ^ == convert.c:638:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e2 = *es++) { ~~~^~~~~~~ convert.c:638:11: note: place parentheses around the assignment to silence this warning if (e2 = *es++) { ^ ( ) convert.c:638:11: note: use '==' to turn this assignment into an equality comparison if (e2 = *es++) { ^ == convert.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convEUCtoJIS(es, js) ^ convert.c:694:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (e1 = *es++) { ~~~^~~~~~~ convert.c:694:12: note: place parentheses around the assignment to silence this warning while (e1 = *es++) { ^ ( ) convert.c:694:12: note: use '==' to turn this assignment into an equality comparison while (e1 = *es++) { ^ == convert.c:696:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e2 = *es++) { ~~~^~~~~~~ convert.c:696:11: note: place parentheses around the assignment to silence this warning if (e2 = *es++) { ^ ( ) convert.c:696:11: note: use '==' to turn this assignment into an equality comparison if (e2 = *es++) { ^ == convert.c:703:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e2 = *es++) { ~~~^~~~~~~ convert.c:703:11: note: place parentheses around the assignment to silence this warning if (e2 = *es++) { ^ ( ) convert.c:703:11: note: use '==' to turn this assignment into an equality comparison if (e2 = *es++) { ^ == convert.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convEUCtoSJIS(es, ss) ^ 30 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c xim.c xim.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] setColor(screen, fg_p, bg_p) ^ xim.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] IMSendColor(screen) ^ xim.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setSpot(screen, spot_p) ^ xim.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMSendSpot(screen) ^ xim.c:100:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fn = screen->_menu_font_names[fnum][fontnum]) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xim.c:100:10: note: place parentheses around the assignment to silence this warning if (fn = screen->_menu_font_names[fnum][fontnum]) ^ ( ) xim.c:100:10: note: use '==' to turn this assignment into an equality comparison if (fn = screen->_menu_font_names[fnum][fontnum]) ^ == xim.c:102:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fn = screen->menu_font_list[fontnum]) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xim.c:102:9: note: place parentheses around the assignment to silence this warning if (fn = screen->menu_font_list[fontnum]) ^ ( ) xim.c:102:9: note: use '==' to turn this assignment into an equality comparison if (fn = screen->menu_font_list[fontnum]) ^ == xim.c:111:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fn = screen->_menu_font_names[fnum][fontnum]) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xim.c:111:10: note: place parentheses around the assignment to silence this warning if (fn = screen->_menu_font_names[fnum][fontnum]) { ^ ( ) xim.c:111:10: note: use '==' to turn this assignment into an equality comparison if (fn = screen->_menu_font_names[fnum][fontnum]) { ^ == xim.c:115:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fn = screen->menu_font_list[fontnum]) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xim.c:115:9: note: place parentheses around the assignment to silence this warning if (fn = screen->menu_font_list[fontnum]) { ^ ( ) xim.c:115:9: note: use '==' to turn this assignment into an equality comparison if (fn = screen->menu_font_list[fontnum]) { ^ == xim.c:86: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(screen, fontset_p) ^ xim.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] IMSendFonts(screen) ^ xim.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setSize(screen, rect_p) ^ xim.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] IMSendSize(screen) ^ xim.c:180:26: warning: passing arguments to 'ParseList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (locales = ParseList(localelist); *locales; locales++) { ^ xim.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] SetLocale(localelist) ^ xim.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BestStyle(im_styles, style_name) ^ xim.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] IMDestroyCallback(im, client_data, call_data) ^ xim.c:304:24: warning: passing arguments to 'ParseList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (types = ParseList(term->misc.preedit_type); *types; types++) { ^ xim.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] IMInstantiateCallback(display, client_data, call_data) ^ xim.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CloseIM(screen) ^ xim.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] HandleCloseIM(gw, event, params, nparams) ^ xim.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] methodtomodifier(method) ^ xim.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] SetLocaleModifiers(params, nparams) ^ xim.c:450:3: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError,0); ^ xim.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OpenIM(screen) ^ xim.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] HandleOpenIM(gw, event, params, nparams) ^ 25 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c kinput2.c kinput2.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] flushEventQueue(dpy, win) ^ kinput2.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] forwardKeyEvent(w, cldata, ev, continuep) ^ kinput2.c:126: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] (*originalerrorhandler)(dpy, error); ^ kinput2.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] forwardErrorHandler(dpy, error) ^ kinput2.c:128:1: warning: non-void function does not return a value [-Wreturn-type] } ^ kinput2.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initializeForwarding(w) ^ kinput2.c:171:17: warning: passing arguments to 'convCTtoCS' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = convCTtoCS(str, size, NULL); ^ kinput2.c:174:19: warning: passing arguments to 'convCTtoCS' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)convCTtoCS(str, size, cs); ^ kinput2.c:186:18: 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] n = (*convfunc)(cs, NULL); ^ kinput2.c:188:20: 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)(*convfunc)(cs, lstr); ^ kinput2.c:204:3: warning: call to undeclared function 'v_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] v_write(pty, lp, p - lp + 1); ^ kinput2.c:208:3: warning: call to undeclared function 'v_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] v_write(pty, lp, p - lp); ^ kinput2.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] inputString(w, selection, type, format, size, str, client_data) ^ kinput2.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] startendProc(w, selection, state, client_data, forward) ^ kinput2.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setSpot(arg_p) ^ kinput2.c:262:32: warning: passing arguments to '_changeConversionAttributes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _changeConversionAttributes(term, converting, arg, 2); ^ kinput2.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setColor(arg_p) ^ kinput2.c:282:32: warning: passing arguments to '_changeConversionAttributes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _changeConversionAttributes(term, converting, arg, 2); ^ kinput2.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] setSize(arg_p) ^ kinput2.c:307:32: warning: passing arguments to '_changeConversionAttributes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _changeConversionAttributes(term, converting, arg, 1); ^ kinput2.c:319:2: warning: call to undeclared function 'LoadOneFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] LoadOneFont(screen, True, screen->menu_font_number, F_ISO8859_1, False); ^ kinput2.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] setFonts(arg_p) ^ kinput2.c:347:29: warning: passing arguments to '_changeConversionAttributes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _changeConversionAttributes(term, converting, arg, 1); ^ kinput2.c:371:3: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Bell(XkbBI_MinorError,0); ^ kinput2.c:411:36: warning: passing arguments to '_beginConversionWithAttributes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_beginConversionWithAttributes(w, catom, compound_text_atom, ^ kinput2.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] HandleBeginConversion(w, event, params, nparams) ^ 26 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DKTERM_XAW3D -c convlib.c convlib.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] callStart(w, context, convwin) ^ convlib.c:291:26: 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] (*context->startendproc)(w, context->convatom, ^ convlib.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] callFail(w, context) ^ convlib.c:302:26: 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] (*context->startendproc)(w, context->convatom, ^ convlib.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] callEnd(w, context) ^ convlib.c:313:26: 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] (*context->startendproc)(w, context->convatom, ^ convlib.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] getInputStyle(s) ^ convlib.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getCaptureMethod(s) ^ convlib.c:351: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(w) ^ convlib.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getConversionContext(w) ^ convlib.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] recvConvAck(w, closure, ev, junk) ^ convlib.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] getConv(w, closure, ev, junk) ^ convlib.c:552:23: 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] (*context->inputproc)(w, context->convatom, ^ convlib.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] setConvAttrProp(w, attrs, nattrs, prop) ^ convlib.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makeAttrData(w, args, nargs, datap) ^ convlib.c:705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkProtocols(dpy, window, cap) ^ convlib.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _beginConversionWithAttributes(w, catom, tatom, inputproc, startendproc, client_data, attrs, nattrs) ^ convlib.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _beginConversion(w, catom, tatom, inputproc, client_data) ^ convlib.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] _changeConversionAttributes(w, catom, attrs, nattrs) ^ convlib.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _endConversion(w, catom, throwaway) ^ 20 warnings generated. rm -f kterm cc -o kterm -O2 -L/usr/X11R6/lib -L/usr/local/lib button.o charproc.o cursor.o data.o input.o main.o menu.o misc.o screen.o scrollbar.o tabs.o util.o VTPrsTbl.o gset.o convert.o xim.o kinput2.o convlib.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lXdmcp -lXau -lcurses -lutil -Wl,-rpath,/usr/local/lib ld: warning: charproc.c(charproc.o:(SetVTFont)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: charproc.c(charproc.o:(HandleKeymapChange)): warning: sprintf() is often misused, please use snprintf() ld: warning: main.c(main.o:(spawn)): warning: strcat() is almost always misused, please use strlcat() rm -f kterm._man if test -z "" ; then cd `dirname kterm` && ln -s `basename kterm.man` `basename kterm._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" < kterm.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/\@\@$/\\/' >kterm._man; fi >>> Running package in japanese/kterm,xaw3d at 1732135462.00 ===> japanese/kterm,xaw3d ===> Faking installation for ja-kterm-6.2.0p9-xaw3d install -c -m 4755 kterm /exopi-obj/pobj/ja-kterm-6.2.0-xaw3d/fake-amd64-xaw3d/usr/local/bin/kterm + mkdir -p /exopi-obj/pobj/ja-kterm-6.2.0-xaw3d/fake-amd64-xaw3d/etc/X11/app-defaults install -c -m 0444 KTerm.ad /exopi-obj/pobj/ja-kterm-6.2.0-xaw3d/fake-amd64-xaw3d/usr/local/lib/X11/app-defaults/KTerm install in . done install -c -m 0444 kterm._man /exopi-obj/pobj/ja-kterm-6.2.0-xaw3d/fake-amd64-xaw3d/usr/local/man/man1/kterm.1 install.man in . done ===> Building package for ja-kterm-6.2.0p9-xaw3d Create /exopi-cvs/ports/packages/amd64/all/ja-kterm-6.2.0p9-xaw3d.tgz Creating package ja-kterm-6.2.0p9-xaw3d reading plist| checking dependencies| checking dependencies|x11/Xaw3d checksumming| checksumming| | 0% checksumming|** | 3% checksumming|**** | 7% checksumming|****** | 10% checksumming|******** | 14% checksumming|*********** | 17% checksumming|************* | 21% checksumming|*************** | 24% checksumming|***************** | 28% checksumming|******************* | 31% checksumming|********************* | 34% checksumming|*********************** | 38% checksumming|************************* | 41% checksumming|*************************** | 45% checksumming|***************************** | 48% checksumming|******************************** | 52% checksumming|********************************** | 55% checksumming|************************************ | 59% checksumming|************************************** | 62% checksumming|**************************************** | 66% checksumming|****************************************** | 69% checksumming|******************************************** | 72% checksumming|********************************************** | 76% checksumming|************************************************ | 79% checksumming|************************************************** | 83% checksumming|***************************************************** | 86% checksumming|******************************************************* | 90% checksumming|********************************************************* | 93% checksumming|*********************************************************** | 97% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|************************************************************ | 94% archiving|************************************************************* | 96% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/ja-kterm-6.2.0p9-xaw3d.tgz >>> Running clean in japanese/kterm,xaw3d at 1732135464.40 ===> japanese/kterm,xaw3d ===> Cleaning for ja-kterm-6.2.0p9-xaw3d >>> Ended at 1732135464.70 max_stuck=3.38/depends=3.45/show-prepare-results=1.15/build=8.76/package=2.40/clean=0.32