>>> Building on exopi-3 under x11/tvtwm BDEPENDS = [devel/imake-cf;devel/imake] DIST = [x11/tvtwm:tvtwm.pl11.tar.gz] FULLPKGNAME = tvtwm-0pl11p3 (Junk lock obtained for exopi-3 at 1731872059.25) >>> Running depends in x11/tvtwm at 1731872059.30 last junk was in www/selfoss /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 was: /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 >>> Running show-prepare-results in x11/tvtwm at 1731872063.36 ===> x11/tvtwm ===> Building from scratch tvtwm-0pl11p3 ===> tvtwm-0pl11p3 depends on: imake-* -> imake-1.0.9 ===> tvtwm-0pl11p3 depends on: imake-cf-* -> imake-cf-1.0.7p0 ===> Verifying specs: ICE SM X11 Xext Xmu Xpm Xt c Xau Xdmcp ===> found ICE.11.0 SM.9.0 X11.18.2 Xext.13.0 Xmu.11.0 Xpm.10.0 Xt.11.1 c.100.3 Xau.10.0 Xdmcp.11.0 imake-1.0.9 imake-cf-1.0.7p0 (Junk lock released for exopi-3 at 1731872064.80) distfiles size=224935 >>> Running build in x11/tvtwm at 1731872064.85 ===> x11/tvtwm ===> Checking files for tvtwm-0pl11p3 `/exopi-cvs/ports/distfiles/tvtwm.pl11.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for tvtwm-0pl11p3 ===> Patching for tvtwm-0pl11p3 ===> Applying OpenBSD patch patch-Imakefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Imakefile.orig Fri Feb 3 01:25:44 1995 |+++ Imakefile Sat May 22 16:16:03 2010 -------------------------- Patching file Imakefile using Plan A... Hunk #1 succeeded at 25. Hunk #2 succeeded at 100. Hunk #3 succeeded at 120. done ===> Applying OpenBSD patch patch-LocPixmap_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: LocPixmap.c |--- LocPixmap.c.orig |+++ LocPixmap.c -------------------------- Patching file LocPixmap.c using Plan A... Hunk #1 succeeded at 223. done ===> Applying OpenBSD patch patch-add_window_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: add_window.c |--- add_window.c.orig |+++ add_window.c -------------------------- Patching file add_window.c using Plan A... Hunk #1 succeeded at 50. Hunk #2 succeeded at 1492. done ===> Applying OpenBSD patch patch-add_window_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: add_window.h |--- add_window.h.orig |+++ add_window.h -------------------------- Patching file add_window.h using Plan A... Hunk #1 succeeded at 41. done ===> Applying OpenBSD patch patch-cursor_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: cursor.c |--- cursor.c.orig |+++ cursor.c -------------------------- Patching file cursor.c using Plan A... Hunk #1 succeeded at 208. done ===> Applying OpenBSD patch patch-events_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: events.c |--- events.c.orig |+++ events.c -------------------------- Patching file events.c using Plan A... Hunk #1 succeeded at 137. Hunk #2 succeeded at 176. Hunk #3 succeeded at 741. Hunk #4 succeeded at 1128. Hunk #5 succeeded at 1187. Hunk #6 succeeded at 1574. Hunk #7 succeeded at 2051. Hunk #8 succeeded at 2135. Hunk #9 succeeded at 2952. Hunk #10 succeeded at 3071. Hunk #11 succeeded at 3111. done ===> Applying OpenBSD patch patch-events_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: events.h |--- events.h.orig |+++ events.h -------------------------- Patching file events.h using Plan A... Hunk #1 succeeded at 67. done ===> Applying OpenBSD patch patch-gram_y Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: gram.y |--- gram.y.orig |+++ gram.y -------------------------- Patching file gram.y using Plan A... Hunk #1 succeeded at 829. Hunk #2 succeeded at 1054. done ===> Applying OpenBSD patch patch-icons_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: icons.c |--- icons.c.orig |+++ icons.c -------------------------- Patching file icons.c using Plan A... Hunk #1 succeeded at 122. Hunk #2 succeeded at 134. Hunk #3 succeeded at 188. Hunk #4 succeeded at 196. Hunk #5 succeeded at 211. Hunk #6 succeeded at 269. Hunk #7 succeeded at 296. Hunk #8 succeeded at 336. Hunk #9 succeeded at 351. Hunk #10 succeeded at 388. Hunk #11 succeeded at 424. Hunk #12 succeeded at 825. Hunk #13 succeeded at 1012. Hunk #14 succeeded at 1110. Hunk #15 succeeded at 1196. Hunk #16 succeeded at 1227. Hunk #17 succeeded at 1245. done ===> Applying OpenBSD patch patch-icons_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: icons.h |--- icons.h.orig |+++ icons.h -------------------------- Patching file icons.h using Plan A... Hunk #1 succeeded at 81. done ===> Applying OpenBSD patch patch-lex_l Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: lex.l |--- lex.l.orig |+++ lex.l -------------------------- Patching file lex.l using Plan A... Hunk #1 succeeded at 37. Hunk #2 succeeded at 108. done ===> Applying OpenBSD patch patch-list_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: list.c |--- list.c.orig |+++ list.c -------------------------- Patching file list.c using Plan A... Hunk #1 succeeded at 121. Hunk #2 succeeded at 203. done ===> Applying OpenBSD patch patch-list_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: list.h |--- list.h.orig |+++ list.h -------------------------- Patching file list.h using Plan A... Hunk #1 succeeded at 66. done ===> Applying OpenBSD patch patch-menus_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: menus.c |--- menus.c.orig |+++ menus.c -------------------------- Patching file menus.c using Plan A... Hunk #1 succeeded at 191. Hunk #2 succeeded at 230. Hunk #3 succeeded at 368. Hunk #4 succeeded at 535. Hunk #5 succeeded at 693. Hunk #6 succeeded at 721. Hunk #7 succeeded at 1216. Hunk #8 succeeded at 1232. Hunk #9 succeeded at 1485. Hunk #10 succeeded at 1679. Hunk #11 succeeded at 3164. Hunk #12 succeeded at 3187. Hunk #13 succeeded at 3222. Hunk #14 succeeded at 3339. Hunk #15 succeeded at 3415. Hunk #16 succeeded at 3623. Hunk #17 succeeded at 3667. Hunk #18 succeeded at 3712. Hunk #19 succeeded at 3726. Hunk #20 succeeded at 3759. Hunk #21 succeeded at 3772. Hunk #22 succeeded at 3792. Hunk #23 succeeded at 3817. Hunk #24 succeeded at 3864. Hunk #25 succeeded at 3915. Hunk #26 succeeded at 3923. Hunk #27 succeeded at 3932. done ===> Applying OpenBSD patch patch-menus_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: menus.h |--- menus.h.orig |+++ menus.h -------------------------- Patching file menus.h using Plan A... Hunk #1 succeeded at 143. done ===> Applying OpenBSD patch patch-move_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: move.c |--- move.c.orig |+++ move.c -------------------------- Patching file move.c using Plan A... Hunk #1 succeeded at 48. done ===> Applying OpenBSD patch patch-parse_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: parse.c |--- parse.c.orig |+++ parse.c -------------------------- Patching file parse.c using Plan A... Hunk #1 succeeded at 41. Hunk #2 succeeded at 82. Hunk #3 succeeded at 97. Hunk #4 succeeded at 1423. Hunk #5 succeeded at 1567. Hunk #6 succeeded at 1602. Hunk #7 succeeded at 1631. Hunk #8 succeeded at 1706. Hunk #9 succeeded at 1955. done ===> Applying OpenBSD patch patch-parse_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: parse.h |--- parse.h.orig |+++ parse.h -------------------------- Patching file parse.h using Plan A... Hunk #1 succeeded at 39. done ===> Applying OpenBSD patch patch-regexp_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: regexp.c |--- regexp.c.orig |+++ regexp.c -------------------------- Patching file regexp.c using Plan A... Hunk #1 succeeded at 24. Hunk #2 succeeded at 34. Hunk #3 succeeded at 203. done ===> Applying OpenBSD patch patch-resize_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: resize.c |--- resize.c.orig |+++ resize.c -------------------------- Patching file resize.c using Plan A... Hunk #1 succeeded at 89. Hunk #2 succeeded at 737. Hunk #3 succeeded at 1186. done ===> Applying OpenBSD patch patch-resize_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: resize.h |--- resize.h.orig |+++ resize.h -------------------------- Patching file resize.h using Plan A... Hunk #1 succeeded at 39. done ===> Applying OpenBSD patch patch-ssetroot_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: ssetroot.c |--- ssetroot.c.orig |+++ ssetroot.c -------------------------- Patching file ssetroot.c using Plan A... Hunk #1 succeeded at 37. Hunk #2 succeeded at 59. Hunk #3 succeeded at 90. Hunk #4 succeeded at 284. Hunk #5 succeeded at 317. Hunk #6 succeeded at 353. Hunk #7 succeeded at 391. done ===> Applying OpenBSD patch patch-twm_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: twm.c |--- twm.c.orig |+++ twm.c -------------------------- Patching file twm.c using Plan A... Hunk #1 succeeded at 141. Hunk #2 succeeded at 156. Hunk #3 succeeded at 189. Hunk #4 succeeded at 243. Hunk #5 succeeded at 832. Hunk #6 succeeded at 1026. Hunk #7 succeeded at 1234. done ===> Applying OpenBSD patch patch-twm_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: twm.h |--- twm.h.orig |+++ twm.h -------------------------- Patching file twm.h using Plan A... Hunk #1 succeeded at 319. Hunk #2 succeeded at 364. Hunk #3 succeeded at 382. done ===> Applying OpenBSD patch patch-util_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: util.c |--- util.c.orig |+++ util.c -------------------------- Patching file util.c using Plan A... Hunk #1 succeeded at 266. Hunk #2 succeeded at 496. Hunk #3 succeeded at 514. Hunk #4 succeeded at 539. Hunk #5 succeeded at 560. Hunk #6 succeeded at 658. Hunk #7 succeeded at 689. Hunk #8 succeeded at 917. done ===> Applying OpenBSD patch patch-util_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: util.h |--- util.h.orig |+++ util.h -------------------------- Patching file util.h using Plan A... Hunk #1 succeeded at 41. done ===> Applying OpenBSD patch patch-vdt_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: vdt.c |--- vdt.c.orig |+++ vdt.c -------------------------- Patching file vdt.c using Plan A... Hunk #1 succeeded at 145. Hunk #2 succeeded at 153. Hunk #3 succeeded at 641. done ===> Applying OpenBSD patch patch-vdt_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: vdt.h |--- vdt.h.orig |+++ vdt.h -------------------------- Patching file vdt.h using Plan A... Hunk #1 succeeded at 40. Hunk #2 succeeded at 60. 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 tvtwm-0pl11p3 ===> Configuring for tvtwm-0pl11p3 imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend lex -l -o lex.c lex.l yacc -d gram.y mv -f y.tab.c gram.c mv -f y.tab.h gram.h rm -f deftwmrc.c sed -e '/^#/d' -e 's/"/\\"/g' -e 's/^/ "/' -e 's/$/",/' system.twmrc >>deftwmrc.c rm -f .depend gccmakedep -f- -- -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -- gram.c lex.c deftwmrc.c add_window.c gc.c list.c twm.c parse.c menus.c events.c resize.c util.c version.c iconmgr.c cursor.c icons.c vdt.c move.c LocPixmap.c regexp.c > .depend ===> Building for tvtwm-0pl11p3 cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c gram.c gram.y:832: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 yyerror(s) char *s; ^ gram.y:840: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 RemoveDQuote(str) ^ gram.y:930:23: warning: passing arguments to 'FindMenuRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = FindMenuRoot(name); ^ gram.y:932:19: warning: passing arguments to 'NewMenuRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = NewMenuRoot(name); ^ gram.y:940:10: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor(COLOR, &tmp->hi_fore, fore); ^ gram.y:941:10: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor(COLOR, &tmp->hi_back, back); ^ gram.y:924:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static MenuRoot *GetRoot(name, fore, back) ^ gram.y:60:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static MenuRoot *GetRoot(); ^ gram.y:967:48: warning: passing arguments to 'AddToMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr->Mouse[butt][i][mods].item = AddToMenu(root,"x",Action, ^ gram.y:948: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 GotButton(butt, func) ^ gram.y:64:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GotButton(), GotKey(), GotTitleButton(); ^ gram.y:988:17: warning: passing arguments to 'AddFuncKey' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!AddFuncKey(key, i, mods, func, Name, Action)) ^ gram.y:978: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 GotKey(key, func) ^ gram.y:64:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GotButton(), GotKey(), GotTitleButton(); ^ gram.y:1005:28: warning: passing arguments to 'CreateTitleButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!CreateTitleButton (bitmapname, func, Action, pull, rightside, True)) { ^ gram.y:1000: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 GotTitleButton (bitmapname, func, rightside) ^ gram.y:64:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GotButton(), GotKey(), GotTitleButton(); ^ gram.y:1015: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 CheckWarpScreenArg (s) ^ gram.y: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 Bool CheckWarpScreenArg(), CheckWarpRingArg(); ^ gram.y:1030: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 CheckWarpRingArg (s) ^ gram.y:62:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Bool CheckWarpScreenArg(), CheckWarpRingArg(); ^ gram.y:1043: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 CheckColormapArg (s) ^ gram.y:63:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Bool CheckColormapArg(); ^ gram.y:159:16: warning: passing arguments to 'AddIconRegion' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { AddIconRegion("", LTYPE_ANYTHING, ^ gram.y:163:16: warning: passing arguments to 'AddIconRegion' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { AddIconRegion(yyvsp[-5].match.lval, yyvsp[-5].match.ltype, ^ gram.y:209:16: warning: passing arguments to 'AddToMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToMenu(root,"x",Action, ^ gram.y:276:16: warning: passing arguments to 'AddToMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToMenu(root,"x",Action, ^ gram.y:285:16: warning: passing arguments to 'AddToMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToMenu(root,"x",Action, ^ gram.y:299:26: warning: passing arguments to 'do_single_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_single_keyword (yyvsp[0].num)) { ^ gram.y:309:26: warning: passing arguments to 'do_string_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_string_keyword (yyvsp[-1].num, yyvsp[0].ptr)) { ^ gram.y:344:26: warning: passing arguments to 'do_number_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_number_keyword (yyvsp[-1].num, yyvsp[0].num)) { ^ gram.y:423:20: warning: passing arguments to 'do_pixmap_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { do_pixmap_keyword(yyvsp[-1].num,yyvsp[0].ptr); } ^ gram.y:436:19: warning: passing arguments to 'NewBitmapCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewBitmapCursor(&Scr->FrameCursor, yyvsp[-1].ptr, yyvsp[0].ptr); } ^ gram.y:438:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->FrameCursor, yyvsp[0].ptr); } ^ gram.y:440:19: warning: passing arguments to 'NewBitmapCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewBitmapCursor(&Scr->TitleCursor, yyvsp[-1].ptr, yyvsp[0].ptr); } ^ gram.y:442:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->TitleCursor, yyvsp[0].ptr); } ^ gram.y:444:19: warning: passing arguments to 'NewBitmapCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewBitmapCursor(&Scr->IconCursor, yyvsp[-1].ptr, yyvsp[0].ptr); } ^ gram.y:446:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->IconCursor, yyvsp[0].ptr); } ^ gram.y:448:19: warning: passing arguments to 'NewBitmapCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewBitmapCursor(&Scr->IconMgrCursor, yyvsp[-1].ptr, yyvsp[0].ptr); } ^ gram.y:450:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->IconMgrCursor, yyvsp[0].ptr); } ^ gram.y:452:19: warning: passing arguments to 'NewBitmapCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewBitmapCursor(&Scr->ButtonCursor, yyvsp[-1].ptr, yyvsp[0].ptr); } ^ gram.y:454:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->ButtonCursor, yyvsp[0].ptr); } ^ gram.y:456:19: warning: passing arguments to 'NewBitmapCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewBitmapCursor(&Scr->MoveCursor, yyvsp[-1].ptr, yyvsp[0].ptr); } ^ gram.y:458:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->MoveCursor, yyvsp[0].ptr); } ^ gram.y:460:19: warning: passing arguments to 'NewBitmapCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewBitmapCursor(&Scr->ResizeCursor, yyvsp[-1].ptr, yyvsp[0].ptr); } ^ gram.y:462:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->ResizeCursor, yyvsp[0].ptr); } ^ gram.y:464:19: warning: passing arguments to 'NewBitmapCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewBitmapCursor(&Scr->WaitCursor, yyvsp[-1].ptr, yyvsp[0].ptr); } ^ gram.y:466:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->WaitCursor, yyvsp[0].ptr); } ^ gram.y:468:19: warning: passing arguments to 'NewBitmapCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewBitmapCursor(&Scr->MenuCursor, yyvsp[-1].ptr, yyvsp[0].ptr); } ^ gram.y:470:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->MenuCursor, yyvsp[0].ptr); } ^ gram.y:472:19: warning: passing arguments to 'NewBitmapCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewBitmapCursor(&Scr->SelectCursor, yyvsp[-1].ptr, yyvsp[0].ptr); } ^ gram.y:474:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->SelectCursor, yyvsp[0].ptr); } ^ gram.y:476:19: warning: passing arguments to 'NewBitmapCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewBitmapCursor(&Scr->DestroyCursor, yyvsp[-1].ptr, yyvsp[0].ptr); } ^ gram.y:478:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->DestroyCursor, yyvsp[0].ptr); } ^ gram.y:490:29: warning: passing arguments to 'do_colorlist_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_colorlist_keyword (yyvsp[-1].num, color, ^ gram.y:499:30: warning: passing arguments to 'do_colorlist_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { list = do_colorlist_keyword(yyvsp[-1].num,color, ^ gram.y:510:25: warning: passing arguments to 'do_color_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_color_keyword (yyvsp[-1].num, color, ^ gram.y:529:22: warning: passing arguments to 'do_string_savecolor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { do_string_savecolor(color, yyvsp[0].ptr); } ^ gram.y:530:19: warning: passing arguments to 'do_var_savecolor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { do_var_savecolor(yyvsp[0].num); } ^ gram.y:543:19: warning: passing arguments to 'AddToList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToList(list, yyvsp[-1].match.lval, yyvsp[-1].match.ltype, ^ gram.y:566:25: warning: passing arguments to 'do_squeeze_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_squeeze_entry (list, yyvsp[-3].match.lval, yyvsp[-3].match.ltype, ^ gram.y:583:26: warning: passing arguments to 'AllocateIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocateIconManager(yyvsp[-2].match.lval, NULLSTR, ^ gram.y:582:19: warning: passing arguments to 'AddToList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToList(list, yyvsp[-2].match.lval, yyvsp[-2].match.ltype, (char *) ^ gram.y:589:26: warning: passing arguments to 'AllocateIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocateIconManager(yyvsp[-3].match.lval, yyvsp[-2].ptr, ^ gram.y:588:19: warning: passing arguments to 'AddToList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToList(list, yyvsp[-3].match.lval, yyvsp[-3].match.ltype, (char *) ^ gram.y:603:19: warning: passing arguments to 'AddToList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToList(list, yyvsp[0].match.lval, yyvsp[0].match.ltype, 0); ^ gram.y:616:16: warning: passing arguments to 'AddToList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToList(list, yyvsp[-1].match.lval, yyvsp[-1].match.ltype, yyvsp[0].ptr); } ^ gram.y:643:12: warning: passing arguments to 'AddToMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { AddToMenu(root, "", Action, NULLSTR, yyvsp[0].num, ^ gram.y:658:32: warning: passing arguments to 'ExpandFilename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] root->file = ExpandFilename(yyvsp[0].ptr); ^ gram.y:665:19: warning: passing arguments to 'DestroyMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMenu(root); ^ gram.y:675:16: warning: passing arguments to 'MakeMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeMenu(root); ^ gram.y:687:12: warning: passing arguments to 'AddToMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { AddToMenu(root, yyvsp[-1].ptr, Action, pull, yyvsp[0].num, ^ gram.y:702:12: warning: passing arguments to 'AddToMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { AddToMenu(root, yyvsp[-6].ptr, Action, pull, yyvsp[0].num, ^ 73 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c lex.c lex.l:79:29: warning: passing arguments to 'parse_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { int token = parse_keyword (yytext, ^ 1 warning generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c deftwmrc.c cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c add_window.c add_window.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGravityOffsets (tmp, xp, yp) ^ In file included from add_window.c:43: ./add_window.h:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void GetGravityOffsets(); ^ add_window.c:186:22: warning: passing arguments to 'FetchWmProtocols' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FetchWmProtocols (tmp_win); ^ add_window.c:187:28: warning: passing arguments to 'FetchWmColormapWindows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FetchWmColormapWindows (tmp_win); ^ add_window.c:208:35: warning: passing arguments to 'Transient' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp_win->transient = Transient(tmp_win->w, &tmp_win->transientfor); ^ add_window.c:221:14: warning: passing arguments to 'getTWM_FLAGS' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getTWM_FLAGS(tmp_win->w, &tmp_win->flags); ^ add_window.c:225:28: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (short)(int)LookInList(Scr->StickyL, tmp_win->full_name, &tmp_win->class); ^ add_window.c:225:13: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] (short)(int)LookInList(Scr->StickyL, tmp_win->full_name, &tmp_win->class); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c:238:17: warning: passing arguments to 'SetTWM_FLAGS' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTWM_FLAGS(tmp_win); ^ add_window.c:241:27: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (!(short)(int) LookInList(Scr->NoHighlight, tmp_win->full_name, ^ add_window.c:241:11: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] (!(short)(int) LookInList(Scr->NoHighlight, tmp_win->full_name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c:245:27: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (!(short)(int) LookInList(Scr->NoStackModeL, tmp_win->full_name, ^ add_window.c:245:11: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] (!(short)(int) LookInList(Scr->NoStackModeL, tmp_win->full_name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c:249:27: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (!(short)(int) LookInList(Scr->NoTitleHighlight, tmp_win->full_name, ^ add_window.c:249:11: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] (!(short)(int) LookInList(Scr->NoTitleHighlight, tmp_win->full_name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c:252:50: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp_win->auto_raise = (short)(int) LookInList(Scr->AutoRaise, ^ add_window.c:252:34: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] tmp_win->auto_raise = (short)(int) LookInList(Scr->AutoRaise, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c:260:30: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !(short)(int) LookInList(Scr->DontIconify, tmp_win->full_name, ^ add_window.c:260:14: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] !(short)(int) LookInList(Scr->DontIconify, tmp_win->full_name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c:264:25: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (short)(int) LookInList(Scr->IconifyByUn, tmp_win->full_name, ^ add_window.c:264:9: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] (short)(int) LookInList(Scr->IconifyByUn, tmp_win->full_name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c:267:19: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (LookInList(Scr->WindowRingL, tmp_win->full_name, &tmp_win->class)) { ^ add_window.c:287:18: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!LookInList (Scr->DontSqueezeTitleL, tmp_win->full_name, ^ add_window.c:290:19: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LookInList (Scr->SqueezeTitleL, tmp_win->full_name, ^ add_window.c:298:17: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!LookInList(Scr->DontSqueezeIconL, tmp_win->full_name, ^ add_window.c:301:25: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (short)(int)LookInList(Scr->SqueezeIconL, ^ add_window.c:301:10: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] (short)(int)LookInList(Scr->SqueezeIconL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c:319:19: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (LookInList(Scr->MakeTitle, tmp_win->full_name, &tmp_win->class)) ^ add_window.c:321:19: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (LookInList(Scr->NoTitle, tmp_win->full_name, &tmp_win->class)) ^ add_window.c:325:19: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (LookInList(Scr->NoIconTitleL, tmp_win->full_name, &tmp_win->class)) ^ add_window.c:327:19: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (LookInList(Scr->IconTitleL, tmp_win->full_name, &tmp_win->class)) ^ add_window.c:334:19: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (LookInList(Scr->StartIconified, tmp_win->full_name, &tmp_win->class)) ^ add_window.c:345:24: warning: passing arguments to 'GetWindowSizeHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetWindowSizeHints (tmp_win); ^ add_window.c:448:18: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->TitleForegroundL, tmp_win->full_name, &tmp_win->class, ^ add_window.c:450:18: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->TitleBackgroundL, tmp_win->full_name, &tmp_win->class, ^ add_window.c:452:18: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->VirtualForegroundL, tmp_win->full_name, &tmp_win->class, ^ add_window.c:454:18: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->VirtualBackgroundL, tmp_win->full_name, &tmp_win->class, ^ add_window.c:457:21: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->BorderColorL, tmp_win->full_name, &tmp_win->class, ^ add_window.c:459:21: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->IconBorderColorL, tmp_win->full_name, &tmp_win->class, ^ add_window.c:461:21: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->BorderTileForegroundL, tmp_win->full_name, ^ add_window.c:463:21: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->BorderTileBackgroundL, tmp_win->full_name, ^ add_window.c:465:21: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->TitleForegroundL, tmp_win->full_name, &tmp_win->class, ^ add_window.c:467:21: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->TitleBackgroundL, tmp_win->full_name, &tmp_win->class, ^ add_window.c:469:21: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->IconForegroundL, tmp_win->full_name, &tmp_win->class, ^ add_window.c:471:21: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->IconBackgroundL, tmp_win->full_name, &tmp_win->class, ^ add_window.c:498:38: warning: passing arguments to 'MakeVirtual' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp_win->virtualWindow = MakeVirtual(tmp_win, ^ add_window.c:547:12: warning: passing arguments to 'SetBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBorder (tmp_win, False); ^ add_window.c:554:30: warning: passing arguments to 'CreateWindowTitlebarButtons' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateWindowTitlebarButtons (tmp_win); ^ add_window.c:555:23: warning: passing arguments to 'ComputeTitleLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeTitleLocation (tmp_win); ^ add_window.c:710:15: warning: passing arguments to 'StartMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartMove(tmp_win, tmp_win->frame, tmp_win->title_height, ^ add_window.c:754:17: warning: passing arguments to 'AddStartResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddStartResize(tmp_win, AddingX, AddingY, AddingW, AddingH); ^ add_window.c:773:16: warning: passing arguments to 'AddEndResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddEndResize(tmp_win); ^ add_window.c:791:12: warning: passing arguments to 'DoResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoResize(AddingX, AddingY, tmp_win); ^ add_window.c:799:16: warning: passing arguments to 'AddEndResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddEndResize(tmp_win); ^ add_window.c:804:14: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline(tmp_win->root, 0, 0, 0, 0, 0, 0); ^ add_window.c:824:17: warning: passing arguments to 'ConstrainSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConstrainSize (tmp_win, &AddingW, &AddingH); /* w/o borders */ ^ add_window.c:872:16: warning: passing arguments to 'SetSWM_ROOT' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSWM_ROOT(tmp_win); ^ add_window.c:879:16: warning: passing arguments to 'SetupFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupFrame (tmp_win, tmpX, tmp_win->frame_y, ^ add_window.c:889:13: warning: passing arguments to 'GrabButtons' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabButtons(tmp_win); ^ add_window.c:890:10: warning: passing arguments to 'GrabKeys' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabKeys(tmp_win); ^ add_window.c:893:26: warning: passing arguments to 'AddIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) AddIconManager(tmp_win); ^ add_window.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddWindow(w, iconm, iconp) ^ In file included from add_window.c:43: ./add_window.h:45:19: warning: a function declaration without a prototype is 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 TwmWindow *AddWindow(); ^ add_window.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MappedNotOverride(w) ^ In file included from add_window.c:43: ./add_window.h:46: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 MappedNotOverride(); ^ add_window.c:953: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_add_binding (button, context, modifier, func) ^ add_window.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabButtons(tmp_win) ^ In file included from add_window.c:43: ./add_window.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 GrabButtons(); ^ add_window.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabKeys(tmp_win) ^ In file included from add_window.c:43: ./add_window.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 GrabKeys(); ^ add_window.c:1155:29: warning: passing arguments to 'FindPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr->hilite.pm = FindPixmap(Scr->hilite.name, &Scr->hilite.width, ^ add_window.c:1099: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 Window CreateHighlightWindow (tmp_win) ^ add_window.c:1229: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 ComputeWindowTitleOffsets (tmp_win, width, squeeze) ^ In file included from add_window.c:41: ./twm.h:326: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 ComputeWindowTitleOffsets(), ComputeTitleLocation(); ^ add_window.c:1255: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 ComputeTitleLocation (tmp) ^ In file included from add_window.c:41: ./twm.h:326:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void ComputeWindowTitleOffsets(), ComputeTitleLocation(); ^ add_window.c:1306: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 CreateWindowTitlebarButtons (tmp_win) ^ add_window.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 CreateWindowTitlebarButtons(); ^ add_window.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FetchWmProtocols (tmp) ^ In file included from add_window.c:41: ./twm.h:405:13: warning: a function declaration without a prototype is 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 FetchWmProtocols(); ^ add_window.c:1406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateTwmColormap(c) ^ add_window.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateColormapWindow(w, creating_parent, property_window) ^ add_window.c:1589:12: warning: passing arguments to 'free_cwins' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_cwins(tmp); ^ add_window.c:1598:24: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps(PropertyNotify, (TwmWindow *) NULL); ^ add_window.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FetchWmColormapWindows (tmp) ^ In file included from add_window.c:41: ./twm.h:406:13: warning: a function declaration without a prototype is 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 FetchWmColormapWindows(); ^ add_window.c:1612: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 GetWindowSizeHints (tmp) ^ In file included from add_window.c:43: ./add_window.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 GetWindowSizeHints(); ^ add_window.c:1638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getTWM_FLAGS (w, flags) ^ add_window.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 getTWM_FLAGS(); ^ add_window.c:1662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTWM_FLAGS(tmp_win) ^ In file included from add_window.c:43: ./add_window.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 SetTWM_FLAGS(); ^ 92 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c gc.c cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c list.c list.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next_entry(list) ^ In file included from list.c:44: In file included from ./screen.h:38: ./list.h:73:19: warning: a function declaration without a prototype is 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 name_list *next_entry(); ^ list.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] contents_of_entry(list) ^ In file included from list.c:44: In file included from ./screen.h:38: ./list.h:74: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] extern char *contents_of_entry(); ^ list.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToList(list_head, name, type, /* property,*/ ptr) ^ In file included from list.c:44: In file included from ./screen.h:38: ./list.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 AddToList(); ^ list.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] printNameList(name, nptr) ^ list.c:181: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 regerror(txt) ^ In file included from list.c:47: ./regexp.h:21:13: warning: a function declaration without a prototype is 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 regerror(); ^ list.c:205:24: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((matcher = regcomp(pattern)) == NULL) { ^ list.c:211:18: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = regexec(matcher, name, 1); ^ list.c:215:16: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return regexec(compiled, name, 1); ^ list.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] MatchName(name, pattern, length, compiled, type) ^ list.c:246:28: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((matcher = regcomp(nptr->name)) == NULL) { ^ list.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MultiLookInList(list_head, name, class, /* win,*/ continuation) ^ In file included from list.c:44: In file included from ./screen.h:38: ./list.h:69: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] extern char* MultiLookInList(); ^ list.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LookInList(list_head, name, class/*, win*/) ^ In file included from list.c:44: In file included from ./screen.h:38: ./list.h:67: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] extern char* LookInList(); ^ list.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MultiLookInNameList(list_head, name, continuation) ^ list.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LookInNameList(list_head, name) ^ In file included from list.c:44: In file included from ./screen.h:38: ./list.h:68: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] extern char* LookInNameList(); ^ list.c:415:10: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor(Scr->Monochrome, ptr, val); ^ list.c:402: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 GetColorFromList(list_head, name, class, /*win,*/ ptr) ^ In file included from list.c:44: In file included from ./screen.h:38: ./list.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 int GetColorFromList(); ^ list.c:431: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 FreeList(list) ^ In file included from list.c:44: In file included from ./screen.h:38: ./list.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 FreeList(); ^ 26 warnings generated. rm -f twm.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -DXLOADIMAGE=\"/usr/local/bin/xloadimage\" -DM4_DEFAULT twm.c twm.c:492:23: warning: passing arguments to 'CreateColormapWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateColormapWindow(Scr->Root, True, False); ^ twm.c:499:24: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps(0, &Scr->TwmRoot); ^ twm.c:530:10: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor(Scr->Monochrome, &black, "black"); ^ twm.c:532:10: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor(Scr->Monochrome, &white, "white"); ^ twm.c:537:15: warning: passing arguments to 'SetFocus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFocus ((TwmWindow *)NULL, CurrentTime); ^ twm.c:541:19: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&UpperLeftCursor, "top_left_corner"); ^ twm.c:542:19: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&RightButt, "rightbutton"); ^ twm.c:543:19: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&LeftButt, "leftbutton"); ^ twm.c:544:19: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&MiddleButt, "middlebutton"); ^ twm.c:593:17: warning: passing arguments to 'ParseTwmrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!ParseTwmrc(InitFile)) { ^ twm.c:596:21: warning: passing arguments to 'ParseStringList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseStringList(defTwmrc); ^ twm.c:615:19: warning: passing arguments to 'SetRootProperties' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetRootProperties(Scr->Root); ^ twm.c:621:24: warning: passing arguments to 'MakeVirtualDesktop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeVirtualDesktop(Scr->vdtWidth, Scr->vdtHeight); ^ twm.c:624:23: warning: passing arguments to 'SetRootProperties' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetRootProperties(Scr->VirtualDesktop); ^ twm.c:662:42: warning: passing arguments to 'MappedNotOverride' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (children[i] && MappedNotOverride(children[i])) ^ twm.c:665:21: warning: passing arguments to 'SimulateMapRequest' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SimulateMapRequest(children[i]); ^ twm.c:674:19: warning: passing arguments to 'SetMapStateProp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetMapStateProp (Scr->iconmgr.twm_win, NormalState); ^ twm.c:675:11: warning: passing arguments to 'MapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(Scr->iconmgr.twm_win); ^ twm.c:730:10: warning: passing arguments to 'Execute' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Execute(Scr->AfterSetupRun, NULL); ^ twm.c:246: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 main(argc, argv, environ) ^ twm.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetRootProperties(w) ^ twm.c:191:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetRootProperties(); /* leave note on root window */ ^ twm.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveRootProperties(w) ^ twm.c:838:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->BorderColorL); ^ twm.c:839:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->IconBorderColorL); ^ twm.c:840:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->BorderTileForegroundL); ^ twm.c:841:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->BorderTileBackgroundL); ^ twm.c:842:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->TitleForegroundL); ^ twm.c:843:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->TitleBackgroundL); ^ twm.c:844:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->IconForegroundL); ^ twm.c:845:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->IconBackgroundL); ^ twm.c:846:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->IconManagerFL); ^ twm.c:847:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->IconManagerBL); ^ twm.c:848:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->IconMgrs); ^ twm.c:849:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->NoTitle); ^ twm.c:850:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->MakeTitle); ^ twm.c:851:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->AutoRaise); ^ twm.c:852:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->IconNames); ^ twm.c:853:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->NoHighlight); ^ twm.c:854:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->NoStackModeL); ^ twm.c:855:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->NoTitleHighlight); ^ twm.c:856:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->DontIconify); ^ twm.c:857:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->IconMgrNoShow); ^ twm.c:858:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->IconMgrShow); ^ twm.c:859:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->IconifyByUn); ^ twm.c:860:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->StartIconified); ^ twm.c:861:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->IconManagerHighlightL); ^ twm.c:862:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->SqueezeTitleL); ^ twm.c:863:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->DontSqueezeTitleL); ^ twm.c:864:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->SqueezeIconL); ^ twm.c:865:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->DontSqueezeIconL); ^ twm.c:866:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->WindowRingL); ^ twm.c:867:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->WarpCursorL); ^ twm.c:868:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->StickyL); ^ twm.c:869:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->VirtualBackgroundL); ^ twm.c:870:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->VirtualForegroundL); ^ twm.c:871:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->NoIconTitleL); ^ twm.c:872:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->IconTitleL); ^ twm.c:873:13: warning: passing arguments to 'FreeList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeList(&Scr->IconRegions); ^ twm.c:875:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->FrameCursor, "top_left_arrow"); ^ twm.c:876:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->TitleCursor, "top_left_arrow"); ^ twm.c:877:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->IconCursor, "top_left_arrow"); ^ twm.c:878:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->IconMgrCursor, "top_left_arrow"); ^ twm.c:879:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->MoveCursor, "fleur"); ^ twm.c:880:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->ResizeCursor, "fleur"); ^ twm.c:881:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->MenuCursor, "sb_left_arrow"); ^ twm.c:882:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->ButtonCursor, "hand2"); ^ twm.c:883:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->WaitCursor, "watch"); ^ twm.c:884:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->SelectCursor, "dot"); ^ twm.c:885:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->DestroyCursor, "pirate"); ^ twm.c:1010:12: warning: passing arguments to 'GetFont' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetFont(&Scr->TitleBarFont); ^ twm.c:1011:12: warning: passing arguments to 'GetFont' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetFont(&Scr->MenuFont); ^ twm.c:1014:9: warning: passing arguments to 'GetFont' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetFont(&Scr->MenuTitleFont); ^ twm.c:1016:12: warning: passing arguments to 'GetFont' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetFont(&Scr->IconFont); ^ twm.c:1017:12: warning: passing arguments to 'GetFont' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetFont(&Scr->SizeFont); ^ twm.c:1018:12: warning: passing arguments to 'GetFont' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetFont(&Scr->IconManagerFont); ^ twm.c:1019:12: warning: passing arguments to 'GetFont' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetFont(&Scr->DefaultFont); ^ twm.c:1020:12: warning: passing arguments to 'GetFont' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetFont(&Scr->VirtualFont); ^ twm.c:1040:20: warning: passing arguments to 'GetGravityOffsets' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGravityOffsets (tmp, &gravx, &gravy); ^ twm.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] RestoreWithdrawnLocation (tmp) ^ In file included from twm.c:146: ./twm.h:322:13: warning: a function declaration without a prototype is 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 RestoreWithdrawnLocation(); ^ twm.c:1114:25: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps (0, &Scr->TwmRoot); /* force reinstall */ ^ twm.c:1120:20: warning: passing arguments to 'DestroyIconWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyIconWindow(tmp); ^ twm.c:1160:14: warning: passing arguments to 'SetFocus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFocus ((TwmWindow*)NULL, time); ^ twm.c:1098: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 Reborder (time) ^ In file included from twm.c:146: ./twm.h:323:13: warning: a function declaration without a prototype is 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 Reborder(); ^ twm.c:1197: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 TwmErrorHandler(dpy, event) ^ twm.c:190: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 TwmErrorHandler(); /* for everything else */ ^ twm.c:1214: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 CatchRedirectError(dpy, event) ^ twm.c:189: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 CatchRedirectError(); /* for settting RedirectError */ ^ 90 warnings generated. rm -f parse.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM '-DSYSTEM_INIT_FILE="'/usr/local/lib/X11/twm'/system.twmrc"' parse.c parse.c:119: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 doparse (ifunc, srctypename, srcname) ^ parse.c:147: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 ParseMenuFile(filename, menuname) ^ In file included from parse.c:50: ./parse.h:47: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 ParseMenuFile(); ^ parse.c:254:23: warning: passing arguments to 'start_m4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] twmrc = start_m4(raw); ^ parse.c:273:25: warning: passing arguments to 'ParseStringList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return ParseStringList (defTwmrc); ^ parse.c:168: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 ParseTwmrc (filename) ^ In file included from parse.c:50: ./parse.h:46: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 ParseTwmrc(), ParseStringList(); ^ parse.c:277: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 ParseStringList (sl) ^ In file included from parse.c:50: ./parse.h:46:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int ParseTwmrc(), ParseStringList(); ^ parse.c:442: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 twmUnput (c) ^ parse.c:102: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 twmUnput(); ^ parse.c:467:11: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] TwmOutput(c) ^ parse.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TwmOutput(c) ^ In file included from parse.c:50: ./parse.h:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void TwmOutput(); ^ parse.c:867: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 parse_keyword (s, nump) ^ In file included from parse.c:50: ./parse.h:48:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int parse_keyword(); ^ parse.c:897: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 do_single_keyword (keyword) ^ parse.c:1074:28: warning: passing arguments to 'ParseState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int state = ParseState(s); ^ parse.c:1103:35: warning: passing arguments to 'ParseUsePPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ppos = ParseUsePPosition (s); ^ parse.c:1147:58: warning: passing arguments to 'ExpandFilename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Scr->FirstTime) Scr->IconDirectory = ExpandFilename (s); ^ parse.c:1048: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 do_string_keyword (keyword, s) ^ parse.c:1180: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 do_number_keyword (keyword, num) ^ parse.c:1268:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->BorderColor, s); ^ parse.c:1272:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->IconManagerHighlight, s); ^ parse.c:1276:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->BorderTileC.fore, s); ^ parse.c:1280:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->BorderTileC.back, s); ^ parse.c:1284:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->TitleC.fore, s); ^ parse.c:1288:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->TitleC.back, s); ^ parse.c:1292:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->VirtualC.fore, s); ^ parse.c:1296:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->VirtualC.back, s); ^ parse.c:1300:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->IconC.fore, s); ^ parse.c:1304:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->IconC.back, s); ^ parse.c:1308:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->IconBorderColor, s); ^ parse.c:1312:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->IconManagerC.fore, s); ^ parse.c:1316:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->IconManagerC.back, s); ^ parse.c:1261:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name_list **do_colorlist_keyword (keyword, colormode, s) ^ parse.c:1329:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->PannerC.back, s); ^ parse.c:1334:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->PannerC.fore, s); ^ parse.c:1338:15: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (GetColor (colormode, &Scr->vdtC.back, s)) ^ parse.c:1343:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->vdtC.fore, s); ^ parse.c:1347:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->DefaultC.fore, s); ^ parse.c:1351:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->DefaultC.back, s); ^ parse.c:1355:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->MenuC.fore, s); ^ parse.c:1359:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->MenuC.back, s); ^ parse.c:1363:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->MenuTitleC.fore, s); ^ parse.c:1367:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->MenuTitleC.back, s); ^ parse.c:1371:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor (colormode, &Scr->MenuShadowColor, s); ^ parse.c:1322: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 do_color_keyword (keyword, colormode, s) ^ parse.c:1379: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 do_pixmap_keyword(keyword, filename) ^ In file included from parse.c:50: ./parse.h:43: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 do_pixmap_keyword(); ^ parse.c:1427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_pixel_on_root(pixel) ^ parse.c:1458:11: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor(colormode, &p, s); ^ parse.c:1453: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_string_savecolor(colormode, s) ^ parse.c:1469: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_var_savecolor(key) ^ In file included from parse.c:50: ./parse.h:44:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void do_var_savecolor(); ^ parse.c:1536: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 ParseUsePPosition (s) ^ parse.c:82:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int ParseUsePPosition(); ^ parse.c:1553: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 ParseState (s) ^ parse.c:83:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int ParseState(); ^ parse.c:1612:12: warning: passing arguments to 'AddToList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToList (list, name, type, (char *)sinfo); ^ parse.c:1570: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_squeeze_entry (list, name, type, justify, num, denom) ^ In file included from parse.c:50: ./parse.h:45:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void do_squeeze_entry(); ^ parse.c:1616:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static FILE *start_m4(fraw) ^ parse.c:84: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 FILE *start_m4(); ^ parse.c:1672:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *MkDef(name, def) ^ parse.c:1702:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *MkQte(name, def) ^ parse.c:1724:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *MkNum(name, def) ^ parse.c:1747:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *m4_defs(display, host) ^ parse.c:1838:13: warning: passing arguments to 'def_netmask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] def_netmask(tmpf); ^ parse.c:1855: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 previous declaration [-Wdeprecated-non-prototype] extern char *strtok(); ^ parse.c:1958: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 def_netmask(tmpf) ^ parse.c:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void def_netmask(); ^ 72 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c menus.c menus.c:309:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool AddFuncKey (name, cont, mods, func, win_name, action) ^ In file included from menus.c:186: ./menus.h:159:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Bool AddFuncKey(); ^ menus.c:359: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 CreateTitleButton (name, func, action, menuroot, rightside, append) ^ In file included from menus.c:186: ./menus.h:147: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 CreateTitleButton(); ^ menus.c:479:26: warning: passing arguments to 'FindPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tb->bitmap = FindPixmap (tb->name, &tb->width, &tb->height, ^ menus.c:482:30: warning: passing arguments to 'FindPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tb->bitmap = FindPixmap (TBPM_QUESTION, &tb->width, &tb->height, ^ menus.c:613:39: warning: passing arguments to 'FindPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr->pullrightPm.pm = FindPixmap(Scr->pullrightPm.name, ^ menus.c:625:43: warning: passing arguments to 'CreateMenuIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr->pullrightPm.pm = CreateMenuIcon(Scr->MenuFont.height, ^ menus.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] PaintEntry(mr, mi, exposure) ^ In file included from menus.c:186: ./menus.h:149:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void PaintEntry(); ^ menus.c:697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintMenu(mr, e) ^ In file included from menus.c:186: ./menus.h:150:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void PaintMenu(); ^ menus.c:900:13: warning: passing arguments to 'PopUpMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopUpMenu (ActiveItem->sub, ^ menus.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] NewMenuRoot(name) ^ In file included from menus.c:186: ./menus.h:152: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] extern MenuRoot *NewMenuRoot(); ^ menus.c:1202:10: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor(COLOR, &tmp->fore, fore); ^ menus.c:1203:10: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor(COLOR, &tmp->back, back); ^ menus.c:1144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToMenu(menu, item, action, sub, func, fore, back) ^ In file included from menus.c:186: ./menus.h:153: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] extern MenuItem *AddToMenu(); ^ menus.c:1229:10: warning: passing arguments to 'MakeMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeMenu(mr); ^ menus.c:1313:32: warning: passing arguments to 'FindPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr->shadowPm.pm = FindPixmap(Scr->shadowPm.name, ^ menus.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeMenu(mr) ^ In file included from menus.c:186: ./menus.h:154:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void MakeMenu(); ^ menus.c:1505:13: warning: passing arguments to 'DestroyMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMenu(menu); ^ menus.c:1530:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (((*compar)(sortlist[loop-1]->name,bakwin->name))>0) ^ menus.c:1554: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 ((*compar)(tmp_win2->name,WindowNames[i]->name) < 0) ^ menus.c:1578:19: warning: passing arguments to 'ParseMenuFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseMenuFile(menu->file, menu->name); ^ menus.c:1489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleChangingMenus(menu) ^ menus.c:1599:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool PopUpMenu (menu, x, y, center) ^ In file included from menus.c:186: ./menus.h:156:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Bool PopUpMenu(); ^ menus.c:1731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindMenuRoot(name) ^ In file included from menus.c:186: ./menus.h:158: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] extern MenuRoot *FindMenuRoot(); ^ menus.c:1746: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 belongs_to_twm_window (t, w) ^ menus.c:1827:18: warning: passing arguments to 'MenuStartResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuStartResize(tmp_win, origDragX, origDragY, DragWidth, DragHeight); ^ menus.c:1843:15: warning: passing arguments to 'MenuEndResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuEndResize(tmp_win); ^ menus.c:1864:14: warning: passing arguments to 'MenuDoResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuDoResize(AddingX, AddingY, tmp_win); ^ menus.c:1784: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 resizeFromCenter(w, tmp_win) ^ menus.c:1887:14: warning: passing arguments to 'Reborder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Reborder (time); ^ menus.c:1883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RestartTwm(time) ^ menus.c:1926:15: warning: passing arguments to 'DeIconify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeIconify(t); ^ menus.c:1928:16: warning: passing arguments to 'RaiseFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseFrame(t); ^ menus.c:1929:14: warning: passing arguments to 'WarpToWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WarpToWindow(t); ^ menus.c:1936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDefaultAction(menu) ^ menus.c:2031:16: warning: passing arguments to 'Deferrable' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Deferrable(item->func) && DeferExecution(context, item->func, ^ menus.c:2031:46: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Deferrable(item->func) && DeferExecution(context, item->func, ^ menus.c:2045:22: warning: passing arguments to 'AddWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp_win = AddWindow(Scr->Panner, FALSE, NULL); ^ menus.c:2047:13: warning: passing arguments to 'UnmapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(tmp_win); ^ menus.c:2052:16: warning: passing arguments to 'DeIconify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeIconify(tmp_win); ^ menus.c:2054:15: warning: passing arguments to 'MapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(tmp_win); ^ menus.c:2067:15: warning: passing arguments to 'ScrollDesktop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollDesktop(func, action); ^ menus.c:2084:17: warning: passing arguments to 'MoveIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveIconManager(func); ^ menus.c:2089:17: warning: passing arguments to 'JumpIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JumpIconManager(func); ^ menus.c:2095:11: warning: passing arguments to 'DeIconify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeIconify(Scr->iconmgr.twm_win); ^ menus.c:2096:12: warning: passing arguments to 'RaiseFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseFrame(Scr->iconmgr.twm_win); ^ menus.c:2106:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:2139:14: warning: passing arguments to 'SetSWM_ROOT' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSWM_ROOT(tmp_win); ^ menus.c:2140:15: warning: passing arguments to 'SetTWM_FLAGS' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTWM_FLAGS(tmp_win); ^ menus.c:2162:14: warning: passing arguments to 'SetSWM_ROOT' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSWM_ROOT(tmp_win); ^ menus.c:2163:15: warning: passing arguments to 'SetTWM_FLAGS' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTWM_FLAGS(tmp_win); ^ menus.c:2169:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:2179:18: warning: passing arguments to 'SortIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SortIconManager((IconMgr *) NULL); ^ menus.c:2181:18: warning: passing arguments to 'SortIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SortIconManager(tmp_win->iconmgrp); ^ menus.c:2190:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:2193:10: warning: passing arguments to 'Identify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Identify(tmp_win); ^ menus.c:2197:11: warning: passing arguments to 'Identify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Identify ((TwmWindow *) NULL); ^ menus.c:2201:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:2224:15: warning: passing arguments to 'DeIconify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeIconify(tmp_win); ^ menus.c:2226:19: warning: passing arguments to 'ScrollToQuadrant' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollToQuadrant(tmp_win); ^ menus.c:2227:17: warning: passing arguments to 'RaiseFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseFrame (tmp_win); ^ menus.c:2235:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->MoveCursor)) ^ menus.c:2263:15: warning: passing arguments to 'StartResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartResize (eventp, tmp_win, fromtitlebar); ^ menus.c:2266:15: warning: passing arguments to 'StartResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartResize (eventp, tmp_win, fromtitlebar); ^ menus.c:2305:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:2307:10: warning: passing arguments to 'fullzoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fullzoom(tmp_win, func); ^ menus.c:2314:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->MoveCursor)) ^ menus.c:2331:14: warning: passing arguments to 'DragIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DragIcon(tmp_win, eventp, pulldown); ^ menus.c:2335:15: warning: passing arguments to 'DragFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DragFrame(tmp_win, eventp, pulldown); ^ menus.c:2673:21: warning: passing arguments to 'NeedToDefer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (NeedToDefer(mroot) && DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:2673:46: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (NeedToDefer(mroot) && DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:2689:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:2694:15: warning: passing arguments to 'DeIconify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeIconify(tmp_win); ^ menus.c:2698:14: warning: passing arguments to 'Iconify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Iconify (tmp_win, eventp->xbutton.x_root - 5, ^ menus.c:2704:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:2726:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:2731:15: warning: passing arguments to 'RaiseIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseIcon(tmp_win); ^ menus.c:2733:16: warning: passing arguments to 'RaiseFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseFrame(tmp_win); ^ menus.c:2738:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:2742:15: warning: passing arguments to 'LowerIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LowerIcon(tmp_win); ^ menus.c:2744:16: warning: passing arguments to 'LowerFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LowerFrame(tmp_win); ^ menus.c:2749:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:2761:17: warning: passing arguments to 'SetBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBorder (Scr->Focus, False); ^ menus.c:2766:26: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps (0, tmp_win); ^ menus.c:2768:13: warning: passing arguments to 'SetBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBorder (tmp_win, True); ^ menus.c:2769:12: warning: passing arguments to 'SetFocus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFocus (tmp_win, eventp->xbutton.time); ^ menus.c:2777:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->DestroyCursor)) ^ menus.c:2783:16: warning: passing arguments to 'UnmapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(tmp_win); ^ menus.c:2791:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->DestroyCursor)) ^ menus.c:2797:28: warning: passing arguments to 'SendDeleteWindowMessage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendDeleteWindowMessage (tmp_win, LastTimestamp()); ^ menus.c:2803:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->DestroyCursor)) ^ menus.c:2809:16: warning: passing arguments to 'UnmapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(tmp_win); ^ menus.c:2812:30: warning: passing arguments to 'SendDeleteWindowMessage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendDeleteWindowMessage (tmp_win, LastTimestamp()); ^ menus.c:2818:21: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution (context, func, action, Scr->SelectCursor)) ^ menus.c:2822:28: warning: passing arguments to 'SendSaveYourselfMessage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendSaveYourselfMessage (tmp_win, LastTimestamp()); ^ menus.c:2851:15: warning: passing arguments to 'Execute' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)Execute(action, tmp_win); ^ menus.c:2855:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:2863:15: warning: passing arguments to 'Execute' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)Execute(action, tmp_win); ^ menus.c:2872:26: warning: passing arguments to 'Execute' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_next_action= (Execute(action, tmp_win)==0); ^ menus.c:2878:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:2886:27: warning: passing arguments to 'Execute' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_next_action = (Execute(action, tmp_win) == 0); ^ menus.c:2906:23: warning: passing arguments to 'ExpandFilename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptr = ExpandFilename(tmp); ^ menus.c:2931:16: warning: passing arguments to 'WarpToScreen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WarpToScreen (Scr->screen + 1, 1); ^ menus.c:2933:16: warning: passing arguments to 'WarpToScreen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WarpToScreen (Scr->screen - 1, -1); ^ menus.c:2935:16: warning: passing arguments to 'WarpToScreen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WarpToScreen (PreviousScreen, 0); ^ menus.c:2937:16: warning: passing arguments to 'WarpToScreen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WarpToScreen (atoi (action), 0); ^ menus.c:2945:22: warning: passing arguments to 'BumpWindowColormap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BumpWindowColormap (tmp_win, 1); ^ menus.c:2947:22: warning: passing arguments to 'BumpWindowColormap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BumpWindowColormap (tmp_win, -1); ^ menus.c:2949:22: warning: passing arguments to 'BumpWindowColormap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BumpWindowColormap (tmp_win, 0); ^ menus.c:3025:14: warning: passing arguments to 'RaiseFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseFrame (raiseFrame); ^ menus.c:3026:19: warning: passing arguments to 'ScrollToQuadrant' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollToQuadrant(raiseFrame); ^ menus.c:3037:20: warning: passing arguments to 'WarpAlongRing' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WarpAlongRing (&eventp->xbutton, True); ^ menus.c:3040:20: warning: passing arguments to 'WarpAlongRing' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WarpAlongRing (&eventp->xbutton, False); ^ menus.c:3049:25: warning: passing arguments to 'ExpandFilename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] action = ExpandFilename(action); ^ menus.c:3089:20: warning: passing arguments to 'DeferExecution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (DeferExecution(context, func, action, Scr->SelectCursor)) ^ menus.c:3106:18: warning: passing arguments to 'RelativeMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RelativeMove(tmp_win, action); ^ menus.c:1961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExecuteFunction(func, action, sub, w, tmp_win, eventp, context, pulldown) ^ In file included from menus.c:186: ./menus.h:160: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 ExecuteFunction(); ^ menus.c:3135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeferExecution(context, func, action, cursor) ^ In file included from menus.c:186: ./menus.h:161: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 DeferExecution(); ^ menus.c:3191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Deferrable(func) ^ menus.c:241:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Bool Deferrable(); ^ menus.c:3226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NeedToDefer(root) ^ menus.c:242:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Bool NeedToDefer(); ^ menus.c:3251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Execute(s, tmp_win) ^ In file included from menus.c:186: ./menus.h:162:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int Execute(); ^ menus.c:3331:14: warning: passing arguments to 'SetFocus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFocus ((TwmWindow *) NULL, LastTimestamp()); ^ menus.c:3334:12: warning: passing arguments to 'SetBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBorder (Scr->Focus, False); ^ menus.c:3337:27: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps(0, &Scr->TwmRoot); ^ menus.c:3352:10: warning: passing arguments to 'Zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(tmp_win->icon.w, tmp_win->frame); ^ menus.c:3359:11: warning: passing arguments to 'Zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(t->icon.w, tmp_win->frame); ^ menus.c:3369:12: warning: passing arguments to 'RaiseFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseFrame(tmp_win); ^ menus.c:3370:13: warning: passing arguments to 'MapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(tmp_win); ^ menus.c:3371:20: warning: passing arguments to 'SetMapStateProp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetMapStateProp(tmp_win, NormalState); ^ menus.c:3374:11: warning: passing arguments to 'UnmapIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapIcon(tmp_win); ^ menus.c:3375:11: warning: passing arguments to 'IconDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IconDown (tmp_win); ^ menus.c:3380:13: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LookInList(Scr->WarpCursorL, tmp_win->full_name, &tmp_win->class)) && ^ menus.c:3382:20: warning: passing arguments to 'WarpToWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WarpToWindow (tmp_win); ^ menus.c:3393:12: warning: passing arguments to 'Zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(t->icon.w, t->frame); ^ menus.c:3395:12: warning: passing arguments to 'Zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(tmp_win->icon.w, t->frame); ^ menus.c:3399:18: warning: passing arguments to 'RaiseFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseFrame(t); ^ menus.c:3400:14: warning: passing arguments to 'MapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(t); ^ menus.c:3401:21: warning: passing arguments to 'SetMapStateProp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetMapStateProp(t, NormalState); ^ menus.c:3404:17: warning: passing arguments to 'UnmapIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapIcon(t); ^ menus.c:3405:17: warning: passing arguments to 'IconDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IconDown (t); ^ menus.c:3343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeIconify(tmp_win) ^ In file included from menus.c:186: ./menus.h:165:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void DeIconify(); ^ menus.c:3432:22: warning: passing arguments to 'CreateIconWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateIconWindow(tmp_win, def_x, def_y); ^ menus.c:3434:12: warning: passing arguments to 'IconUp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IconUp(tmp_win); ^ menus.c:3435:9: warning: passing arguments to 'MapIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapIcon(tmp_win); ^ menus.c:3451:8: warning: passing arguments to 'Zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(t->icon.w, tmp_win->icon.w); ^ menus.c:3453:8: warning: passing arguments to 'Zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(t->frame, tmp_win->icon.w); ^ menus.c:3462:13: warning: passing arguments to 'UnmapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(t); ^ menus.c:3465:16: warning: passing arguments to 'UnmapIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapIcon(t); ^ menus.c:3466:18: warning: passing arguments to 'SetMapStateProp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetMapStateProp(t, IconicState); ^ menus.c:3467:13: warning: passing arguments to 'SetBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBorder (t, False); ^ menus.c:3470:16: warning: passing arguments to 'SetFocus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFocus ((TwmWindow *) NULL, LastTimestamp()); ^ menus.c:3481:6: warning: passing arguments to 'Zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(tmp_win->frame, tmp_win->icon.w); ^ menus.c:3489:15: warning: passing arguments to 'UnmapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(tmp_win); ^ menus.c:3491:20: warning: passing arguments to 'SetMapStateProp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetMapStateProp(tmp_win, IconicState); ^ menus.c:3493:15: warning: passing arguments to 'SetBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBorder (tmp_win, False); ^ menus.c:3496:11: warning: passing arguments to 'SetFocus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFocus ((TwmWindow *) NULL, LastTimestamp()); ^ menus.c:3419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Iconify(tmp_win, def_x, def_y) ^ In file included from menus.c:186: ./menus.h:166:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void Iconify(); ^ menus.c:3545:28: warning: passing arguments to 'GetPropertyString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((s = GetPropertyString(t->w, XA_WM_CLIENT_MACHINE)) != NULL) ^ menus.c:3510: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 Identify (t) ^ menus.c:239:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Identify(); ^ menus.c:3626: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 SetMapStateProp(tmp_win, state) ^ In file included from menus.c:186: ./menus.h:167:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void SetMapStateProp(); ^ menus.c:3642:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool GetWMState (w, statep, iwp) ^ In file included from menus.c:184: ./twm.h:384:13: warning: a function declaration without a prototype is 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 Bool GetWMState(); ^ menus.c:3671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WarpToScreen (n, inc) ^ In file included from menus.c:186: ./menus.h:169:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void WarpToScreen(); ^ menus.c:3754:25: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps(PropertyNotify, (TwmWindow *) NULL); ^ menus.c:3757:25: warning: passing arguments to 'FetchWmColormapWindows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FetchWmColormapWindows (tmp); ^ menus.c:3716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BumpWindowColormap (tmp, inc) ^ menus.c:240:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void BumpWindowColormap(); ^ menus.c:3766:15: warning: passing arguments to 'UnmapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(Scr->iconmgr.twm_win); ^ menus.c:3768:16: warning: passing arguments to 'UnmapIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapIcon(Scr->iconmgr.twm_win); ^ menus.c:3776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBorder (tmp, onoroff) ^ In file included from menus.c:186: ./menus.h:170:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void SetBorder(); ^ menus.c:3796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMenu (menu) ^ In file included from menus.c:186: ./menus.h:168:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void DestroyMenu(); ^ menus.c:3845:15: warning: passing arguments to 'WarpToWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WarpToWindow (r); ^ menus.c:3820: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 WarpAlongRing (ev, forward) ^ menus.c:244:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void WarpAlongRing(); ^ menus.c:3876:18: warning: passing arguments to 'ScrollToQuadrant' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollToQuadrant(t); ^ menus.c:3878:61: warning: passing arguments to 'AutoRaiseWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (t->auto_raise || !Scr->NoRaiseWarp) AutoRaiseWindow (t); ^ menus.c:3867: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 WarpToWindow (t) ^ menus.c:245:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void WarpToWindow(); ^ menus.c:3902: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 send_clientmessage (w, a, timestamp) ^ menus.c:3919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendDeleteWindowMessage (tmp, timestamp) ^ In file included from menus.c:186: ./menus.h:171:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void SendDeleteWindowMessage(); ^ menus.c:3927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendSaveYourselfMessage (tmp, timestamp) ^ In file included from menus.c:186: ./menus.h:172:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void SendSaveYourselfMessage(); ^ menus.c:3936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendTakeFocusMessage (tmp, timestamp) ^ In file included from menus.c:186: ./menus.h:173:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void SendTakeFocusMessage(); ^ 205 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c events.c events.c:191:15: warning: passing arguments to 'RaiseFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseFrame(tmp); ^ events.c:188: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 AutoRaiseWindow (tmp) ^ In file included from events.c:127: ./events.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 AutoRaiseWindow(); ^ events.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 SetRaiseWindow (tmp) ^ events.c:260:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool StashEventTime (ev) ^ In file included from events.c:127: ./events.h:45:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Bool StashEventTime(); ^ events.c:302:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Window WindowOfEvent (e) ^ events.c:372:23: warning: passing arguments to 'FindScreenInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr = FindScreenInfo (WindowOfEvent (&Event)); ^ events.c:405:23: warning: passing arguments to 'FindScreenInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr = FindScreenInfo (WindowOfEvent (&Event)); ^ events.c:440:25: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps(ColormapNotify, (TwmWindow *) NULL); ^ events.c:479:40: warning: passing arguments to 'CreateTwmColormap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cwin->colormap = CreateTwmColormap(cevent->colormap); ^ events.c:491:28: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps(ColormapNotify, (TwmWindow *) NULL); ^ events.c:594:25: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps(ColormapNotify, (TwmWindow *) NULL); ^ events.c:640:24: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps(VisibilityNotify, (TwmWindow *) NULL); ^ events.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LastFocusEvent(w, first) ^ events.c:698:15: warning: passing arguments to 'SetBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBorder (Tmp_win, True); ^ events.c:701:19: warning: passing arguments to 'ActiveIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ActiveIconManager(Tmp_win->list); ^ events.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] HandleFocusIn(event) ^ events.c:725:14: warning: passing arguments to 'SetBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBorder(Tmp_win, False); ^ events.c:730:22: warning: passing arguments to 'NotActiveIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NotActiveIconManager(Tmp_win->list); ^ events.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleFocusOut(event) ^ events.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SynthesizeFocusOut(w) ^ events.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SynthesizeFocusIn(w) ^ events.c:835:18: warning: passing arguments to 'ExecuteFunction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExecuteFunction(key->func, key->action, NULL, Event.xany.window, ^ events.c:852:19: warning: passing arguments to 'ExecuteFunction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExecuteFunction(key->func, key->action, NULL, ^ events.c:866:19: warning: passing arguments to 'ExecuteFunction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExecuteFunction(key->func, key->action, NULL, ^ events.c:880:19: warning: passing arguments to 'ExecuteFunction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExecuteFunction(key->func, key->action, NULL, ^ events.c:912: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 free_window_names (tmp, nukefull, nukename, nukeicon) ^ events.c:933: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 free_cwins (tmp) ^ events.c:991:21: warning: passing arguments to 'InsertRGBColormap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertRGBColormap (Event.xproperty.atom, maps, nmaps, True); ^ events.c:996:24: warning: passing arguments to 'RemoveRGBColormap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveRGBColormap (Event.xproperty.atom); ^ events.c:1024:14: warning: passing arguments to 'SetupWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupWindow (Tmp_win, Tmp_win->frame_x, Tmp_win->frame_y, ^ events.c:1028:48: warning: passing arguments to 'PaintVirtualWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Tmp_win->virtualWindow) PaintVirtualWindow(Tmp_win); ^ events.c:1074:27: warning: passing arguments to 'ConfigureIconWindows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureIconWindows(Tmp_win); ^ events.c:1075:23: warning: passing arguments to 'ShapeIconWindows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShapeIconWindows(Tmp_win); ^ events.c:1082:24: warning: passing arguments to 'DestroyIconWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyIconWindow(Tmp_win); ^ events.c:1083:23: warning: passing arguments to 'CreateIconWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateIconWindow(Tmp_win, ^ events.c:1094:23: warning: passing arguments to 'DestroyIconWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyIconWindow(Tmp_win); ^ events.c:1095:22: warning: passing arguments to 'CreateIconWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateIconWindow(Tmp_win, ^ events.c:1104:21: warning: passing arguments to 'GetWindowSizeHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetWindowSizeHints (Tmp_win); ^ events.c:1109:29: warning: passing arguments to 'FetchWmColormapWindows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FetchWmColormapWindows (Tmp_win); /* frees old data */ ^ events.c:1112:23: warning: passing arguments to 'FetchWmProtocols' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FetchWmProtocols (Tmp_win); ^ events.c:1142:21: warning: passing arguments to 'SortIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SortIconManager(Tmp_win->list->iconmgr); ^ events.c:1150:22: warning: passing arguments to 'ConfigureIconWindows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureIconWindows(Tmp_win); ^ events.c:1151:18: warning: passing arguments to 'ShapeIconWindows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShapeIconWindows(Tmp_win); ^ events.c:1185:18: warning: passing arguments to 'ExecuteFunction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExecuteFunction(F_ICONIFY, NULLSTR, NULL, Event.xany.window, ^ events.c:1191:19: warning: passing arguments to 'RestartTwm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RestartTwm(CurrentTime); ^ events.c:1213:20: warning: passing arguments to 'HandlePannerExpose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerExpose(&Event); ^ events.c:1219:11: warning: passing arguments to 'PaintMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintMenu(tmp, &Event); ^ events.c:1240:15: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1246:24: warning: passing arguments to 'PaintVirtualWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintVirtualWindow(Tmp_win); ^ events.c:1247:19: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1257:19: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1273:19: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1294:38: warning: passing arguments to 'FindPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr->hiliteLeft.pm = FindPixmap(Scr->hiliteLeft.name, ^ events.c:1315:39: warning: passing arguments to 'FindPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr->hiliteRight.pm = FindPixmap(Scr->hiliteRight.name, ^ events.c:1333:19: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1361:20: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (w); ^ events.c:1374:24: warning: passing arguments to 'DrawIconManagerBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawIconManagerBorder(Tmp_win->list); ^ events.c:1375:16: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1387:16: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1396: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 remove_window_from_ring (tmp) ^ events.c:1474:24: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps(DestroyNotify, &Scr->TwmRoot); ^ events.c:1508:19: warning: passing arguments to 'DestroyIconWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyIconWindow(Tmp_win); ^ events.c:1512:22: warning: passing arguments to 'RemoveIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveIconManager(Tmp_win); /* 7 */ ^ events.c:1619:21: warning: passing arguments to 'AddWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tmp_win = AddWindow(Event.xany.window, FALSE, (IconMgr *) NULL); ^ events.c:1631:28: warning: passing arguments to 'AddIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) AddIconManager (Tmp_win); ^ events.c:1642:42: warning: passing arguments to 'GetWMState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(RestartPreviousState && GetWMState(Tmp_win->w, &state, &icon) && ^ events.c:1652:11: warning: passing arguments to 'MapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(Tmp_win); ^ events.c:1653:18: warning: passing arguments to 'SetMapStateProp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetMapStateProp(Tmp_win, NormalState); ^ events.c:1660:10: warning: passing arguments to 'Iconify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Iconify(Tmp_win, 0, 0); ^ events.c:1668:11: warning: passing arguments to 'DeIconify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeIconify(Tmp_win); ^ events.c:1675: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 SimulateMapRequest (w) ^ In file included from events.c:127: ./events.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 SimulateMapRequest(); ^ events.c:1706:11: warning: passing arguments to 'UnmapIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapIcon(Tmp_win); ^ events.c:1713:13: warning: passing arguments to 'MapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(Tmp_win); ^ events.c:1773:18: warning: passing arguments to 'SetMapStateProp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetMapStateProp (Tmp_win, WithdrawnState); ^ events.c:1783:28: warning: passing arguments to 'RestoreWithdrawnLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RestoreWithdrawnLocation (Tmp_win); ^ events.c:1808:26: warning: passing arguments to 'HandlePannerMotionNotify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerMotionNotify(&Event); ^ events.c:1826:10: warning: passing arguments to 'DoResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoResize(Event.xmotion.x_root, Event.xmotion.y_root, Tmp_win); ^ events.c:1866:27: warning: passing arguments to 'HandlePannerButtonRelease' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerButtonRelease(&Event); ^ events.c:1871:13: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline(None, 0, 0, 0, 0, 0, 0); ^ events.c:1923:18: warning: passing arguments to 'SetupWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupWindow (Tmp_win, xl, yt, ^ events.c:1978:13: warning: passing arguments to 'PaintEntry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintEntry(ActiveMenu, item, FALSE); ^ events.c:1979:13: warning: passing arguments to 'PaintEntry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintEntry(ActiveMenu, ActiveItem, FALSE); ^ events.c:1998:21: warning: passing arguments to 'ExecuteFunction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExecuteFunction(func, Action, sub, ^ events.c:2045:47: warning: passing arguments to 'DrawIconManagerBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Scr->Highlight) DrawIconManagerBorder(DownIconManager); ^ events.c:2076:19: warning: passing arguments to 'PopUpMenu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopUpMenu (menu, x, y, center)) { ^ events.c:2054: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_menu (menu, w) ^ events.c:2121:25: warning: passing arguments to 'HandlePannerButtonPress' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerButtonPress(&Event); ^ events.c:2127:18: warning: passing arguments to 'HandlePannerMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerMove(&Event, Tmp_win); ^ events.c:2142:14: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline(None, 0, 0, 0, 0, 0, 0); ^ events.c:2186:23: warning: passing arguments to 'ExecuteFunction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExecuteFunction (tbw->info->func, tbw->info->action, ^ events.c:2260:47: warning: passing arguments to 'DrawIconManagerBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Scr->Highlight) DrawIconManagerBorder(Tmp_win->list); ^ events.c:2320:17: warning: passing arguments to 'ExecuteFunction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExecuteFunction(RootFunction, RootAction, NULL, Event.xany.window, ^ events.c:2360:17: warning: passing arguments to 'ExecuteFunction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExecuteFunction(Scr->Mouse[Event.xbutton.button][Context][modifier].func, ^ events.c:2375:21: warning: passing arguments to 'ExecuteFunction' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExecuteFunction(Scr->DefaultFunction.func, Action, ^ events.c:2406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HENQueueScanner(dpy, ev, args) ^ events.c:2472:25: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps(EnterNotify, &Scr->TwmRoot); ^ events.c:2503:31: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps (EnterNotify, /* 2 */ ^ events.c:2507:15: warning: passing arguments to 'SetFocus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFocus (Tmp_win, ewp->time); ^ events.c:2509:27: warning: passing arguments to 'SendTakeFocusMessage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendTakeFocusMessage (Tmp_win, ewp->time); ^ events.c:2522:30: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps(EnterNotify, Tmp_win); ^ events.c:2531:30: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps(EnterNotify, Tmp_win); ^ events.c:2564:17: warning: passing arguments to 'PaintEntry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintEntry (ActiveMenu, ActiveItem, False); ^ events.c:2597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HLNQueueScanner(dpy, ev, args) ^ events.c:2672:13: warning: passing arguments to 'SetFocus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFocus ((TwmWindow *) NULL, Event.xcrossing.time); ^ events.c:2681:30: warning: passing arguments to 'InstallWindowColormaps' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps (LeaveNotify, &Scr->TwmRoot); ^ events.c:2783:23: warning: passing arguments to 'GetGravityOffsets' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGravityOffsets (Tmp_win, &gravx, &gravy); ^ events.c:2822:17: warning: passing arguments to 'SetupWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupWindow (Tmp_win, x, y, width, height, bw); ^ events.c:2848:19: warning: passing arguments to 'SetFrameShape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFrameShape (Tmp_win); ^ events.c:2887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Transient(w, propw) ^ In file included from events.c:127: ./events.h:70: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 Transient(); ^ events.c:2910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindScreenInfo(w) ^ events.c:173:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] ScreenInfo *FindScreenInfo(); ^ events.c:2931: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 flush_expose (w) ^ events.c:1205:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void flush_expose(); ^ events.c:2956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallWindowColormaps (type, tmp) ^ In file included from events.c:127: ./events.h: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] extern void InstallWindowColormaps(); ^ events.c:3104:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (ev->type == LeaveNotify) { ^ events.c:3095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UninstallRootColormapQScanner(dpy, ev, args) ^ 121 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c resize.c resize.c:122: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_auto_clamp (tmp_win, evp) ^ resize.c:233:16: warning: passing arguments to 'DisplaySize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaySize(tmp_win, origWidth, origHeight); ^ resize.c:234:17: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline (outlineWindow, dragx - tmp_win->frame_bw, ^ resize.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartResize(evp, tmp_win, fromtitlebar) ^ In file included from resize.c:89: ./resize.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 StartResize(); ^ resize.c:333:23: warning: passing arguments to 'ConstrainSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConstrainSize (tmp_win, &dragWidth, &dragHeight); ^ resize.c:338:20: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline(Scr->Root, ^ resize.c:346:16: warning: passing arguments to 'DisplaySize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaySize(tmp_win, dragWidth, dragHeight); ^ resize.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] MenuDoResize(x_root, y_root, tmp_win) ^ In file included from resize.c:89: ./resize.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 MenuDoResize(); ^ resize.c:384:16: warning: passing arguments to 'DisplaySize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaySize(tmp_win, origWidth, origHeight); ^ resize.c:385:17: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline (Scr->Root, dragx - tmp_win->frame_bw, ^ resize.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] MenuStartResize(tmp_win, x, y, w, h) ^ In file included from resize.c:89: ./resize.h:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void MenuStartResize(); ^ resize.c:438:16: warning: passing arguments to 'DisplaySize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaySize(tmp_win, origWidth, origHeight); ^ resize.c:440:16: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline(outlineWindow, ^ resize.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] AddStartResize(tmp_win, x, y, w, h) ^ In file included from resize.c:89: ./resize.h:43:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void AddStartResize(); ^ resize.c:557:23: warning: passing arguments to 'ConstrainSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConstrainSize (tmp_win, &dragWidth, &dragHeight); ^ resize.c:562:20: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline(outlineWindow, ^ resize.c:570:16: warning: passing arguments to 'DisplaySize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaySize(tmp_win, dragWidth, dragHeight); ^ resize.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoResize(x_root, y_root, tmp_win) ^ In file included from resize.c:89: ./resize.h:45:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void DoResize(); ^ resize.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaySize(tmp_win, width, height) ^ In file included from resize.c:89: ./resize.h: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] extern void DisplaySize(); ^ resize.c:656:16: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline(outlineWindow, 0, 0, 0, 0, 0, 0); ^ resize.c:661:19: warning: passing arguments to 'ConstrainSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConstrainSize (tmp_win, &dragWidth, &dragHeight); ^ resize.c:667:17: warning: passing arguments to 'SetupWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupWindow (tmp_win, dragx - tmp_win->frame_bw, dragy - tmp_win->frame_bw, ^ resize.c:678:24: warning: passing arguments to 'PackIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PackIconManager(tmp_win->iconmgrp); ^ resize.c:682:19: warning: passing arguments to 'RaiseFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseFrame(dpy, tmp_win); ^ resize.c:693:13: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline(Scr->Root, 0, 0, 0, 0, 0, 0); ^ resize.c:695:16: warning: passing arguments to 'ConstrainSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConstrainSize (tmp_win, &dragWidth, &dragHeight); ^ resize.c:700:14: warning: passing arguments to 'SetupWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupWindow (tmp_win, AddingX, AddingY, AddingW, AddingH, -1); ^ resize.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuEndResize(tmp_win) ^ In file included from resize.c:89: ./resize.h:49:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void MenuEndResize(); ^ resize.c:722:19: warning: passing arguments to 'ConstrainSize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConstrainSize (tmp_win, &dragWidth, &dragHeight); ^ resize.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddEndResize(tmp_win) ^ In file included from resize.c:89: ./resize.h:42:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void AddEndResize(); ^ resize.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConstrainSize (tmp_win, widthp, heightp) ^ In file included from resize.c:89: ./resize.h:44:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void ConstrainSize(); ^ resize.c:895:16: warning: passing arguments to 'SetupFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupFrame (tmp_win, x, y, w, h, bw, False); ^ resize.c:891: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 SetupWindow (tmp_win, x, y, w, h, bw) ^ In file included from resize.c:89: ./resize.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 SetupWindow(); ^ resize.c:941:31: warning: passing arguments to 'ComputeWindowTitleOffsets' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeWindowTitleOffsets (tmp_win, xwc.width, True); ^ resize.c:983:15: warning: passing arguments to 'ResizeDesktop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResizeDesktop(w, h-tmp_win->title_height); ^ resize.c:1035:16: warning: passing arguments to 'SetFrameShape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFrameShape (tmp_win); ^ resize.c:1039:30: warning: passing arguments to 'SendSyntheticConfigureNotify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendSyntheticConfigureNotify(tmp_win); ^ resize.c:898: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 SetupFrame (tmp_win, x, y, w, h, bw, sendEvent) ^ In file included from resize.c:89: ./resize.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 SetupFrame(); ^ resize.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendSyntheticConfigureNotify(tmp_win) ^ In file included from resize.c:89: ./resize.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 SendSyntheticConfigureNotify(); ^ resize.c:1180:19: warning: passing arguments to 'RaiseFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseFrame(dpy, tmp_win); ^ resize.c:1088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fullzoom(tmp_win,flag) ^ In file included from resize.c:89: ./resize.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 fullzoom(); ^ resize.c:1198:23: warning: passing arguments to 'ComputeTitleLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeTitleLocation (tmp); ^ resize.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFrameShape (tmp) ^ In file included from resize.c:89: ./resize.h:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void SetFrameShape(); ^ 57 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c util.c util.c:72: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 MoveOutline(root, x, y, width, height, bw, th) ^ In file included from util.c:40: ./util.h:43:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void MoveOutline(); ^ util.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(wf, wt) ^ In file included from util.c:40: ./util.h:42:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void Zoom(); ^ util.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExpandFilename(name) ^ In file included from util.c:40: ./util.h:44: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 char *ExpandFilename(); ^ util.c:307: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 previous declaration [-Wdeprecated-non-prototype] extern int XmuCompareISOLatin1(); ^ /usr/X11R6/include/X11/Xmu/CharSet.h:51:5: note: conflicting prototype is here int XmuCompareISOLatin1 ^ util.c:366:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (*pmtab[i].proc) (widthp, heightp); ^ util.c:379:23: warning: passing arguments to 'GetCursorGlyph' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return GetCursorGlyph(name+1, widthp, heightp, shape_mask); ^ util.c:403:31: warning: passing arguments to 'XcprLocatePixmapFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pm = XcprLocatePixmapFile (ScreenOfDisplay(dpy, Scr->screen), bigname, ^ util.c:309:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap FindPixmap (name, widthp, heightp, isXpm, bg_color, colors, ^ In file included from util.c:40: ./util.h:45:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Pixmap GetPixmap(), FindPixmap(); ^ util.c:491:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap GetPixmap (name) ^ In file included from util.c:40: ./util.h:45: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 Pixmap GetPixmap(), FindPixmap(); ^ util.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertRGBColormap (a, maps, nmaps, replace) ^ In file included from util.c:40: ./util.h: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] extern void InsertRGBColormap(); ^ util.c:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveRGBColormap (a) ^ In file included from util.c:40: ./util.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 RemoveRGBColormap(); ^ util.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor(kind, what, name) ^ In file included from util.c:40: ./util.h:49: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 GetColor(); ^ util.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetFont(font) ^ In file included from util.c:40: ./util.h:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void GetFont(); ^ util.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFocus (tmp_win, time) ^ In file included from util.c:40: ./util.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 SetFocus(); ^ util.c:778: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 Pixmap CreateXLogoPixmap (widthp, heightp) ^ util.c:49:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Pixmap CreateXLogoPixmap(), CreateResizePixmap(); ^ util.c:813: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 Pixmap CreateResizePixmap (widthp, heightp) ^ util.c:49:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Pixmap CreateXLogoPixmap(), CreateResizePixmap(); ^ util.c:868: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 Pixmap CreateDotPixmap (widthp, heightp) ^ util.c:51:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Pixmap CreateDotPixmap(); ^ util.c:899: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 Pixmap CreateQuestionPixmap (widthp, heightp) ^ util.c:50:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Pixmap CreateQuestionPixmap(), CreateMenuPixmap(); ^ util.c:920:27: warning: passing arguments to 'CreateMenuIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return CreateMenuIcon (Scr->TBInfo.width - Scr->TBInfo.border * 2,widthp,heightp); ^ util.c:917: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 Pixmap CreateMenuPixmap (widthp, heightp) ^ util.c:50: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] static Pixmap CreateQuestionPixmap(), CreateMenuPixmap(); ^ util.c:923:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap CreateMenuIcon (height, widthp, heightp) ^ In file included from util.c:39: ./twm.h:368: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 Pixmap CreateMenuIcon(); ^ util.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetPropertyString(win, atom) ^ In file included from util.c:40: ./util.h:51: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] extern char *GetPropertyString(); ^ 39 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c version.c cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c iconmgr.c iconmgr.c:91:36: warning: passing arguments to 'FindPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr->iconifyPm.pm = FindPixmap(Scr->iconifyPm.name, ^ iconmgr.c:129:18: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->IconManagerBL, p->name, (XClassHint *)NULL, ^ iconmgr.c:145:24: warning: passing arguments to 'AddWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p->twm_win = AddWindow(p->w, TRUE, p); ^ iconmgr.c:146:18: warning: passing arguments to 'SetMapStateProp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetMapStateProp (p->twm_win, WithdrawnState); ^ iconmgr.c:150:13: warning: passing arguments to 'GrabButtons' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabButtons(p->twm_win); ^ iconmgr.c:151:10: warning: passing arguments to 'GrabKeys' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabKeys(p->twm_win); ^ iconmgr.c:169:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IconMgr *AllocateIconManager(name, icon_name, geom, columns) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:75: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] extern IconMgr *AllocateIconManager(); ^ iconmgr.c:325:12: warning: passing arguments to 'RaiseFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseFrame(ip->twm_win); ^ iconmgr.c:229: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 MoveIconManager(dir) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void MoveIconManager(); ^ iconmgr.c:405:15: warning: passing arguments to 'RaiseFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseFrame(tmp_ip->twm_win); ^ iconmgr.c:354: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 JumpIconManager(dir) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h: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] extern void JumpIconManager(); ^ iconmgr.c:437:19: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (LookInList(Scr->IconMgrNoShow, tmp_win->full_name, &tmp_win->class)) ^ iconmgr.c:440:13: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !LookInList(Scr->IconMgrShow, tmp_win->full_name, &tmp_win->class)) ^ iconmgr.c:442:36: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((ip = (IconMgr *)LookInList(Scr->IconMgrs, tmp_win->full_name, ^ iconmgr.c:452:24: warning: passing arguments to 'InsertInIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertInIconManager(ip, tmp, tmp_win); ^ iconmgr.c:460:21: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->IconManagerFL, tmp_win->full_name, &tmp_win->class, ^ iconmgr.c:462:21: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->IconManagerBL, tmp_win->full_name, &tmp_win->class, ^ iconmgr.c:464:21: warning: passing arguments to 'GetColorFromList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorFromList(Scr->IconManagerHighlightL, tmp_win->full_name, ^ iconmgr.c:504:20: warning: passing arguments to 'PackIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PackIconManager(ip); ^ iconmgr.c:516:10: warning: passing arguments to 'MapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(ip->twm_win); ^ iconmgr.c:423:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WList *AddIconManager(tmp_win) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:78: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 WList *AddIconManager(); ^ iconmgr.c:556: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 ((*compar)(tmp_win->icon_name, tmp1->twm->icon_name) < 0) ^ iconmgr.c:535: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 InsertInIconManager(ip, tmp, tmp_win) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void InsertInIconManager(); ^ iconmgr.c:579: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 RemoveFromIconManager(ip, tmp) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.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 RemoveFromIconManager(); ^ iconmgr.c:630:20: warning: passing arguments to 'PackIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PackIconManager(ip); ^ iconmgr.c:634:12: warning: passing arguments to 'UnmapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(ip->twm_win); ^ iconmgr.c:605: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 RemoveIconManager(tmp_win) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.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 RemoveIconManager(); ^ iconmgr.c:645:26: warning: passing arguments to 'DrawIconManagerBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawIconManagerBorder(active); ^ iconmgr.c:639: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 ActiveIconManager(active) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void ActiveIconManager(); ^ iconmgr.c:652:26: warning: passing arguments to 'DrawIconManagerBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawIconManagerBorder(active); ^ iconmgr.c:648: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 NotActiveIconManager(active) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void NotActiveIconManager(); ^ iconmgr.c:655: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 DrawIconManagerBorder(tmp) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.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 DrawIconManagerBorder(); ^ iconmgr.c:706: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 ((*compar)(tmp1->twm->icon_name, tmp2->twm->icon_name) > 0) ^ iconmgr.c:716:20: warning: passing arguments to 'PackIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PackIconManager(ip); ^ iconmgr.c:686: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 SortIconManager(ip) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void SortIconManager(); ^ iconmgr.c:794:19: warning: passing arguments to 'SetupWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupWindow (ip->twm_win, ^ iconmgr.c:731: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 PackIconManager(ip) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void PackIconManager(); ^ 49 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c cursor.c cursor.c:123: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 NewFontCursor (cp, str) ^ In file included from cursor.c:33: ./twm.h:366:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void NewFontCursor(); ^ cursor.c:144:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap GetCursorGlyph(name, widthp, heightp, shape_mask) ^ In file included from cursor.c:33: ./twm.h:369: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 Pixmap GetCursorGlyph(); ^ cursor.c:227:20: warning: passing arguments to 'GetPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spm = GetPixmap(source); ^ cursor.c:230:20: warning: passing arguments to 'GetPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mpm = GetPixmap(mask); ^ cursor.c:211: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 NewBitmapCursor(cp, source, mask) ^ In file included from cursor.c:33: ./twm.h:367:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void NewBitmapCursor(); ^ 8 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c icons.c icons.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] splitEntry (ie, grav1, grav2, w, h) ^ icons.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roundUp (v, multiple) ^ icons.c:214:41: warning: passing arguments to 'MultiLookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((ir = (IconRegion *)MultiLookInList(ir_list, tmp_win->full_name, ^ icons.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] PlaceIcon(tmp_win, def_x, def_y, final_x, final_y) ^ icons.c:260:69: warning: passing arguments to 'next_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (ir_list = Scr->IconRegions ; ir_list ; ir_list = next_entry(ir_list)) { ^ icons.c:261:38: warning: passing arguments to 'contents_of_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ir = (IconRegion *)contents_of_entry(ir_list); ^ icons.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindIconEntry (tmp_win, irp) ^ icons.c:299:45: warning: passing arguments to 'MultiLookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((ir = (IconRegion *)MultiLookInList(ir_list, tmp_win->full_name, ^ icons.c:316:10: warning: passing arguments to 'MoveIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveIcon(tmp_win, x, y); ^ icons.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IconUp (tmp_win) ^ In file included from icons.c:119: In file included from ./twm.h:52: ./icons.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 IconUp(); ^ icons.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] prevIconEntry (ie, ir) ^ icons.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mergeEntries (old, ie) ^ icons.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IconDown (tmp_win) ^ In file included from icons.c:119: In file included from ./twm.h:52: ./icons.h:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void IconDown(); ^ icons.c:392:64: warning: parameter 'stepy' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] AddIconRegion(name, type, geom, itterate, grav1, grav2, stepx, stepy) ^ icons.c:392:57: warning: parameter 'stepx' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] AddIconRegion(name, type, geom, itterate, grav1, grav2, stepx, stepy) ^ icons.c:421:19: warning: passing arguments to 'AddOneIconRegion' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddOneIconRegion(name, type, x1, y1, w, h, ^ icons.c:424:18: warning: passing arguments to 'AddOneIconRegion' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddOneIconRegion(name, type, x, y, w, h, grav1, grav2, stepx, stepy); ^ icons.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddIconRegion(name, type, geom, itterate, grav1, grav2, stepx, stepy) ^ In file included from icons.c:119: In file included from ./twm.h:52: ./icons.h:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void AddIconRegion(); ^ icons.c:428:63: warning: parameter 'stepy' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] AddOneIconRegion(name, type, x, y, w, h, grav1, grav2, stepx, stepy) ^ icons.c:428:56: warning: parameter 'stepx' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] AddOneIconRegion(name, type, x, y, w, h, grav1, grav2, stepx, stepy) ^ icons.c:438:14: warning: passing arguments to 'AddToList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToList(&(Scr->IconRegions), name, type, (char *)ir); ^ icons.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddOneIconRegion(name, type, x, y, w, h, grav1, grav2, stepx, stepy) ^ icons.c:127:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void AddOneIconRegion(); ^ icons.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pm_n_mask_to_pm(pm, mask, depth, ^ icons.c:671:46: warning: passing arguments to 'LookInNameList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((cached=(struct cent *)LookInNameList(Scr->Icons, name)) == None) { ^ icons.c:685:31: warning: passing arguments to 'FindPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((cached->pm = FindPixmap (name, ^ icons.c:711:11: warning: passing arguments to 'AddToList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToList(&Scr->Icons, name, LTYPE_EXACT_NAME, cached); ^ icons.c:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateIconImage(tmp_win, parent, name, ^ icons.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateSuppliedImage(tmp_win, parent, ^ icons.c:856:36: warning: passing arguments to 'MakeVirtual' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp_win->virtualIcon = MakeVirtual(tmp_win, 0, 0, 0, 0, ^ icons.c:869:29: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((icon_name = LookInList(Scr->IconNames, tmp_win->full_name, ^ icons.c:938:29: warning: passing arguments to 'LookInList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((icon_name = LookInList(Scr->IconNames, tmp_win->full_name, ^ icons.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateIconWindows(tmp_win) ^ icons.c:1086:18: warning: passing arguments to 'ResizeVirtual' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResizeVirtual(tmp_win->virtualIcon, ^ icons.c:1016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureIconWindows(tmp_win) ^ icons.c:1114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShapeIconWindows(tmp_win) ^ icons.c:1223:13: warning: passing arguments to 'MoveIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveIcon(tmp_win, final_x, final_y); ^ icons.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaceIconWindows(tmp_win, def_x, def_y) ^ icons.c:1231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateIconWindow(tmp_win, def_x, def_y) ^ In file included from icons.c:119: In file included from ./twm.h:52: ./icons.h:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void CreateIconWindow(); ^ icons.c:1249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyIconWindow(tmp_win) ^ In file included from icons.c:119: In file included from ./twm.h:52: ./icons.h:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void DestroyIconWindow(); ^ 45 warnings generated. rm -f vdt.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -DXLOADIMAGE=\"/usr/local/bin/xloadimage\" vdt.c vdt.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSWM_ROOT(tmp_win) ^ In file included from vdt.c:153: ./vdt.h:43:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void SetSWM_ROOT(); ^ vdt.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeVirtual(tmp_win, x, y, width, height, background, border) ^ In file included from vdt.c:153: ./vdt.h:58: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 Window MakeVirtual(); ^ vdt.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResizeVirtual(window, width, height) ^ In file included from vdt.c:153: ./vdt.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 ResizeVirtual(); ^ vdt.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] MapFrame(tmp_win) ^ In file included from vdt.c:153: ./vdt.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 MapFrame(); ^ vdt.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(tmp_win) ^ In file included from vdt.c:153: ./vdt.h:49:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void UnmapFrame(); ^ vdt.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] RaiseFrame(tmp_win) ^ In file included from vdt.c:153: ./vdt.h:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void RaiseFrame(); ^ vdt.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LowerFrame(tmp_win) ^ In file included from vdt.c:153: ./vdt.h:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void LowerFrame(); ^ vdt.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapIcon(tmp_win) ^ In file included from vdt.c:153: ./vdt.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 MapIcon(); ^ vdt.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapIcon(tmp_win) ^ In file included from vdt.c:153: ./vdt.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 UnmapIcon(); ^ vdt.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseIcon(tmp_win) ^ In file included from vdt.c:153: ./vdt.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 RaiseIcon(); ^ vdt.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LowerIcon(tmp_win) ^ In file included from vdt.c:153: ./vdt.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 LowerIcon(); ^ vdt.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveIcon(tmp_win, x, y) ^ In file included from vdt.c:153: ./vdt.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 MoveIcon(); ^ vdt.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeVirtualDesktop(width, height) ^ In file included from vdt.c:153: ./vdt.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 MakeVirtualDesktop(); ^ vdt.c:757:17: warning: passing arguments to 'FindPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pm = FindPixmap(Scr->PannerPixmap, &JunkWidth, &JunkHeight, JunkIsXpm, ^ vdt.c:811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerExpose(ev) ^ In file included from vdt.c:153: ./vdt.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 HandlePannerExpose(); ^ vdt.c:838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerButtonPress(ev) ^ In file included from vdt.c:153: ./vdt.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 HandlePannerButtonPress(); ^ vdt.c:876:17: warning: passing arguments to 'MoveDesktop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveDesktop(xx, yy); ^ vdt.c:879:17: warning: passing arguments to 'MoveDesktop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveDesktop(Scr->PannerOutlineX*Scr->PannerScale, ^ vdt.c:855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerButtonRelease(ev) ^ In file included from vdt.c:153: ./vdt.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 HandlePannerButtonRelease(); ^ vdt.c:885: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 TRUNCATE(pos, grid) ^ vdt.c:959:17: warning: passing arguments to 'MoveDesktop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveDesktop(xx, yy); ^ vdt.c:962:17: warning: passing arguments to 'MoveDesktop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveDesktop(Scr->PannerOutlineX*Scr->PannerScale, ^ vdt.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerMotionNotify(ev) ^ In file included from vdt.c:153: ./vdt.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 HandlePannerMotionNotify(); ^ vdt.c:1028:31: warning: passing arguments to 'SendSyntheticConfigureNotify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendSyntheticConfigureNotify(tmp); ^ vdt.c:1032:13: warning: passing arguments to 'SetupFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupFrame( tmp, tmp->frame_x + delta_x, tmp->frame_y + delta_y, ^ vdt.c:981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveDesktop(x, y) ^ In file included from vdt.c:153: ./vdt.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 MoveDesktop(); ^ vdt.c:1060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollDesktop(func, pos) ^ In file included from vdt.c:153: ./vdt.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 ScrollDesktop(); ^ vdt.c:1144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResizeDesktop(width, height) ^ In file included from vdt.c:153: ./vdt.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 ResizeDesktop(); ^ vdt.c:1214:14: warning: passing arguments to 'StartMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartMove(tmp_win, ev->window, tmp_win->title_height, ^ vdt.c:1222:18: warning: passing arguments to 'SetupWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupWindow (tmp_win, x_root, y_root, ^ vdt.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerMove(ev, tmp_win) ^ In file included from vdt.c:153: ./vdt.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 HandlePannerMove(); ^ vdt.c:1244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollTo(tmp_win) ^ In file included from vdt.c:153: ./vdt.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 ScrollTo(); ^ vdt.c:1290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollToQuadrant(tmp_win) ^ In file included from vdt.c:153: ./vdt.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 ScrollToQuadrant(); ^ vdt.c:1323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintVirtualWindow(tmp_win) ^ In file included from vdt.c:153: ./vdt.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 PaintVirtualWindow(); ^ 58 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c move.c move.c:99:14: warning: passing arguments to 'StartMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartMove(tmp_win, tmp_win->frame, tmp_win->title_height, ^ move.c:103:14: warning: passing arguments to 'SetupWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupWindow (tmp_win, x_root, y_root, ^ move.c:106:16: warning: passing arguments to 'RaiseFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseFrame(tmp_win); ^ move.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DragFrame(tmp_win, ev, pulldown) ^ In file included from move.c:48: ./move.h: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 DragFrame(); ^ move.c:132:14: warning: passing arguments to 'StartMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartMove(tmp_win, tmp_win->icon.w, 0, &x_root, &y_root, &cancel, ^ move.c:136:10: warning: passing arguments to 'MoveIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveIcon(tmp_win, x_root, y_root); ^ move.c:138:15: warning: passing arguments to 'RaiseIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseIcon(tmp_win); ^ move.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] DragIcon(tmp_win, ev, pulldown) ^ In file included from move.c:48: ./move.h:43: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 DragIcon(); ^ move.c:195:10: warning: passing arguments to 'SetFocus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFocus(NULL, CurrentTime); ^ move.c:244:17: warning: passing arguments to 'reallyStartMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reallyStartMove(tmp_win, window, x_root, y_root, cancel, outlineWindow, &first, adding, pulldown, panner); ^ move.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartMove(tmp_win, window, title_height, x_root, y_root, cancel, ^ In file included from move.c:48: ./move.h:44: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 StartMove(); ^ move.c:338:8: warning: passing arguments to 'doMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doMove(tmp_win, window, *x_root, *y_root, &xdest, &ydest, panner, True); ^ move.c:343:12: warning: passing arguments to 'getPointer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getPointer(outlineWindow, x_root, y_root, cancel, &done, first, adding, pulldown); ^ move.c:345:12: warning: passing arguments to 'doMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doMove(tmp_win, window, *x_root, *y_root, &xdest, &ydest, panner, False); ^ move.c:349:12: warning: passing arguments to 'doMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doMove(tmp_win, window, *x_root, *y_root, &xdest, &ydest, panner, True); ^ move.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reallyStartMove(tmp_win, window, x_root, y_root, ^ move.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 reallyStartMove(); ^ move.c:432:14: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline(outlineWindow, xl, yt, dragWidth, dragHeight, 0, titleHeight); ^ move.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doMove(tmp_win, window, x_root, y_root, x_dest, y_dest, panner, paint) ^ move.c:74:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void doMove(); ^ move.c:479:18: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline(outlineWindow, 0,0,0,0,0,0); ^ move.c:492:14: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline(outlineWindow, 0,0,0,0,0,0); ^ move.c:528:32: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline(outlineWindow, 0,0,0,0,0,0); ^ move.c:538:32: warning: passing arguments to 'MoveOutline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveOutline(outlineWindow, 0,0,0,0,0,0); ^ move.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] getPointer(window, x_root, y_root, cancel, done, first, adding, pulldown) ^ move.c:75:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void getPointer(); ^ move.c:596:17: warning: passing arguments to 'SetupWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupWindow (win, new_x, new_y, ^ move.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RelativeMove(win, geom) ^ In file included from move.c:48: ./move.h:45: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 RelativeMove(); ^ 32 warnings generated. rm -f LocPixmap.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM '-DBITMAPDIR="/usr/local/include/bitmaps"' LocPixmap.c In file included from LocPixmap.c:40: ./twm.h:370: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 Pixmap XcprLocatePixmapFile(); ^ LocPixmap.c:84:8: note: conflicting prototype is here Pixmap XcprLocatePixmapFile (Screen *screen, _Xconst char *name, ^ LocPixmap.c:200:23: warning: passing arguments to 'split_path_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] split_path_string (value.addr); ^ LocPixmap.c:321: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 char **split_path_string (src) ^ LocPixmap.c:78: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 char **split_path_string(); ^ 4 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c regexp.c regexp.c:208:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("NULL argument"); ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:215:6: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(MAGIC); ^ regexp.c:216:9: warning: passing arguments to 'reg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (reg(0, &flags) == NULL) ^ regexp.c:221:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("regexp too big"); ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:226:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("out of space"); ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:232:6: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(MAGIC); ^ regexp.c:233:9: warning: passing arguments to 'reg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (reg(0, &flags) == NULL) ^ regexp.c:242:16: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (OP(regnext(scan)) == END) { /* Only one top-level choice. */ ^ regexp.c:262:39: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (; scan != NULL; scan = regnext(scan)) ^ regexp.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regcomp(exp) ^ In file included from regexp.c:31: ./regexp.h:18: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] extern regexp *regcomp(); ^ regexp.c:300:4: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("too many ()"); ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:303:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(OPEN+parno); ^ regexp.c:308:16: warning: passing arguments to 'regbranch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] br = regbranch(&flags); ^ regexp.c:312:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, br); /* OPEN -> first. */ ^ regexp.c:320:17: warning: passing arguments to 'regbranch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] br = regbranch(&flags); ^ regexp.c:323:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, br); /* BRANCH -> BRANCH. */ ^ regexp.c:330:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ender = regnode((paren) ? CLOSE+parno : END); ^ regexp.c:331:9: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, ender); ^ regexp.c:334:41: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (br = ret; br != NULL; br = regnext(br)) ^ regexp.c:335:12: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(br, ender); ^ regexp.c:339:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("unmatched ()"); ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:342:4: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("unmatched ()"); ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:344:4: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("junk on end"); /* "Can't happen". */ ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.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] reg(paren, flagp) ^ regexp.c:168:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *reg(); ^ regexp.c:367:15: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(BRANCH); ^ regexp.c:370:20: warning: passing arguments to 'regpiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] latest = regpiece(&flags); ^ regexp.c:377:11: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(chain, latest); ^ regexp.c:381:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) regnode(NOTHING); ^ regexp.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regbranch(flagp) ^ regexp.c:169:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regbranch(); ^ regexp.c:404:15: warning: passing arguments to 'regatom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regatom(&flags); ^ regexp.c:415:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("*+ operand could be empty"); ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:419:12: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(STAR, ret); ^ regexp.c:422:12: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(BRANCH, ret); /* Either x */ ^ regexp.c:423:25: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, regnode(BACK)); /* and loop */ ^ regexp.c:423:12: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, regnode(BACK)); /* and loop */ ^ regexp.c:424:12: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, ret); /* back */ ^ regexp.c:425:23: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:425:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:426:23: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:426:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:428:12: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(PLUS, ret); ^ regexp.c:431:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = regnode(BRANCH); /* Either */ ^ regexp.c:432:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, next); ^ regexp.c:433:18: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(regnode(BACK), ret); /* loop back */ ^ regexp.c:433:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(regnode(BACK), ret); /* loop back */ ^ regexp.c:434:24: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(next, regnode(BRANCH)); /* or */ ^ regexp.c:434:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(next, regnode(BRANCH)); /* or */ ^ regexp.c:435:23: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:435:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:438:12: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(BRANCH, ret); /* Either x */ ^ regexp.c:439:23: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:439:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:440:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = regnode(NOTHING); /* null. */ ^ regexp.c:441:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, next); ^ regexp.c:442:12: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, next); ^ regexp.c:446:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("nested *?+"); ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regpiece(flagp) ^ regexp.c:170:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regpiece(); ^ regexp.c:470:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(BOL); ^ regexp.c:473:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(EOL); ^ regexp.c:476:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(ANY); ^ regexp.c:484:18: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(ANYBUT); ^ regexp.c:487:18: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(ANYOF); ^ regexp.c:489:9: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(*regparse++); ^ regexp.c:494:11: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('-'); ^ regexp.c:499:8: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("invalid [] range"); ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:501:12: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(class); ^ regexp.c:505:10: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(*regparse++); ^ regexp.c:507:8: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('\0'); ^ regexp.c:509:5: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("unmatched []"); ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:523:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("internal urp"); /* Supposed to be caught earlier. */ ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:528:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("?+* follows nothing"); ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:532:4: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("trailing \\"); ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:533:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(EXACTLY); ^ regexp.c:534:7: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(*regparse++); ^ regexp.c:535:7: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('\0'); ^ regexp.c:545:5: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("internal disaster"); ^ regexp.c:141:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:552:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(EXACTLY); ^ regexp.c:554:9: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(*regparse++); ^ regexp.c:557:8: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('\0'); ^ regexp.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regatom(flagp) ^ regexp.c:171:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regatom(); ^ regexp.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regnode(op) ^ regexp.c:172:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regnode(); ^ regexp.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] regc(b) ^ regexp.c:174:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC void regc(); ^ regexp.c:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(op, opnd) ^ regexp.c:175:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC void reginsert(); ^ regexp.c:652:17: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp = regnext(scan); ^ regexp.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(p, val) ^ regexp.c:176:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC void regtail(); ^ regexp.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(p, val) ^ regexp.c:177:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC void regoptail(); ^ regexp.c:717:11: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("NULL parameter"); ^ regexp.c:723:11: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("corrupted program"); ^ regexp.c:744:16: warning: passing arguments to 'regtry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return(regtry(prog, string)); ^ regexp.c:751:14: warning: passing arguments to 'regtry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regtry(prog, s)) ^ regexp.c:758:14: warning: passing arguments to 'regtry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regtry(prog, s)) ^ regexp.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regexec(prog, string) ^ In file included from regexp.c:31: ./regexp.h:19: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 regexec(); ^ regexp.c:788:14: warning: passing arguments to 'regmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regmatch(prog->program + 1)) { ^ regexp.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtry(prog, string) ^ regexp.c:695: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 regtry(); ^ regexp.c:823:17: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = regnext(scan); ^ regexp.c:934:21: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan = regnext(scan); ^ regexp.c:957:19: warning: passing arguments to 'regrepeat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] no = regrepeat(OPERAND(scan)); ^ regexp.c:974:12: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("memory corruption"); ^ regexp.c:986:10: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("corrupted pointers"); ^ regexp.c:807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regmatch(prog) ^ regexp.c:696: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 regmatch(); ^ regexp.c:1027:11: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("internal foulup"); ^ regexp.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regrepeat(p) ^ regexp.c:697: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 regrepeat(); ^ regexp.c:1040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regnext(p) ^ regexp.c:173:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regnext(); ^ 118 warnings generated. rm -f tvtwm cc -o tvtwm -O2 -L/usr/X11R6/lib -L/usr/local/lib gram.o lex.o deftwmrc.o add_window.o gc.o list.o twm.o parse.o menus.o events.o resize.o util.o version.o iconmgr.o cursor.o icons.o vdt.o move.o LocPixmap.o regexp.o -lXmu -lXt -lSM -lICE -lXext -lX11 -lXdmcp -lXau -lXext -lXpm -lXext -lX11 -lXdmcp -lXau -Wl,-rpath,/usr/local/lib ld: warning: gram.c(gram.o:(yyparse)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: util.c(util.o:(ExpandFilename)): warning: sprintf() is often misused, please use snprintf() ld: warning: util.c(util.o:(GetPropertyString)): warning: strcat() is almost always misused, please use strlcat() cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -DXPM -c ssetroot.c ssetroot.c:243:32: warning: passing arguments to 'CreateCursorFromFiles' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor = CreateCursorFromFiles(cursor_file, cursor_mask); ^ ssetroot.c:249:32: warning: passing arguments to 'CreateCursorFromName' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor = CreateCursorFromName (cursor_name); ^ ssetroot.c:260:23: warning: passing arguments to 'SetBackgroundToBitmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBackgroundToBitmap(bitmap, gray_width, gray_height); ^ ssetroot.c:265:45: warning: passing arguments to 'NameToPixel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XSetWindowBackground(dpy, root, NameToPixel(solid_color, ^ ssetroot.c:273:25: warning: passing arguments to 'ReadBitmapFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bitmap = ReadBitmapFile(bitmap_file, &ww, &hh, (int *)NULL, (int *)NULL); ^ ssetroot.c:274:23: warning: passing arguments to 'SetBackgroundToBitmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBackgroundToBitmap(bitmap, ww, hh); ^ ssetroot.c:279:27: warning: passing arguments to 'MakeModulaBitmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bitmap = MakeModulaBitmap(mod_x, mod_y); ^ ssetroot.c:280:23: warning: passing arguments to 'SetBackgroundToBitmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBackgroundToBitmap(bitmap, 16, 16); ^ ssetroot.c:307:24: warning: passing arguments to 'SetBackgroundToBitmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBackgroundToBitmap(bitmap, root_weave_width, root_weave_height); ^ ssetroot.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ ssetroot.c:365:37: warning: passing arguments to 'NameToPixel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gc_init.foreground = NameToPixel(fore_color, BlackPixel(dpy, screen)); ^ ssetroot.c:366:37: warning: passing arguments to 'NameToPixel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gc_init.background = NameToPixel(back_color, WhitePixel(dpy, screen)); ^ ssetroot.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBackgroundToBitmap(bitmap, width, height) ^ ssetroot.c:63: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 SetBackgroundToBitmap(); ^ ssetroot.c:404:22: warning: passing arguments to 'NameToXColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fg = NameToXColor(fore_color, BlackPixel(dpy, screen)); ^ ssetroot.c:405:22: warning: passing arguments to 'NameToXColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bg = NameToXColor(back_color, WhitePixel(dpy, screen)); ^ ssetroot.c:410:35: warning: passing arguments to 'ReadBitmapFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor_bitmap = ReadBitmapFile(cursor_file, &width, &height, &x_hot, &y_hot); ^ ssetroot.c:411:33: warning: passing arguments to 'ReadBitmapFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mask_bitmap = ReadBitmapFile(mask_file, &ww, &hh, (int *)NULL, (int *)NULL); ^ ssetroot.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateCursorFromFiles(cursor_file, mask_file) ^ ssetroot.c:64:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Cursor CreateCursorFromFiles(); ^ ssetroot.c:447:22: warning: passing arguments to 'NameToXColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fg = NameToXColor(fore_color, BlackPixel(dpy, screen)); ^ ssetroot.c:448:22: warning: passing arguments to 'NameToXColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bg = NameToXColor(back_color, WhitePixel(dpy, screen)); ^ ssetroot.c:440: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 CreateCursorFromName(name) ^ ssetroot.c:91:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Cursor CreateCursorFromName(); ^ ssetroot.c:466:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap MakeModulaBitmap(mod_x, mod_y) ^ ssetroot.c:88:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Pixmap MakeModulaBitmap(), ReadBitmapFile(); ^ ssetroot.c:494:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XColor NameToXColor(name, pixel) ^ ssetroot.c:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] XColor NameToXColor(); ^ ssetroot.c:523:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long NameToPixel(name, pixel) ^ ssetroot.c:90: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] unsigned long NameToPixel(); ^ ssetroot.c:576:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap ReadBitmapFile(filename, width, height, x_hot, y_hot) ^ ssetroot.c:88:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Pixmap MakeModulaBitmap(), ReadBitmapFile(); ^ 32 warnings generated. rm -f ssetroot cc -o ssetroot -O2 -L/usr/X11R6/lib -L/usr/local/lib ssetroot.o -lXmu -lXt -lSM -lICE -lXext -lX11 -lXdmcp -lXau -lXext -lXpm -lXext -lX11 -lXdmcp -lXau -Wl,-rpath,/usr/local/lib rm -f tvtwm._man if test -z "" ; then cd `dirname tvtwm` && ln -s `basename tvtwm.man` `basename tvtwm._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" < tvtwm.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/\@\@$/\\/' >tvtwm._man; fi >>> Running package in x11/tvtwm at 1731872078.36 ===> x11/tvtwm ===> Faking installation for tvtwm-0pl11p3 /exopi-obj/pobj/tvtwm-0pl11/bin/install -c -s -m 755 /exopi-obj/pobj/tvtwm-0pl11/tvtwm/tvtwm /exopi-obj/pobj/tvtwm-0pl11/fake-amd64/usr/local/bin /exopi-obj/pobj/tvtwm-0pl11/bin/install -c -m 644 /exopi-obj/pobj/tvtwm-0pl11/tvtwm/tvtwm.man /exopi-obj/pobj/tvtwm-0pl11/fake-amd64/usr/local/man/man1/tvtwm.1 ===> Building package for tvtwm-0pl11p3 Create /exopi-cvs/ports/packages/amd64/all/tvtwm-0pl11p3.tgz Creating package tvtwm-0pl11p3 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|*** | 5% checksumming|****** | 11% checksumming|********** | 16% checksumming|************* | 21% checksumming|**************** | 26% checksumming|******************* | 32% checksumming|********************** | 37% checksumming|************************** | 42% checksumming|***************************** | 47% checksumming|******************************** | 53% checksumming|*********************************** | 58% checksumming|*************************************** | 63% checksumming|****************************************** | 68% checksumming|********************************************* | 74% checksumming|************************************************ | 79% checksumming|*************************************************** | 84% checksumming|******************************************************* | 89% checksumming|********************************************************** | 95% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|************************************************* | 77% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/tvtwm-0pl11p3.tgz >>> Running clean in x11/tvtwm at 1731872080.32 ===> x11/tvtwm ===> Cleaning for tvtwm-0pl11p3 >>> Ended at 1731872080.66 max_stuck=3.93/depends=4.06/show-prepare-results=1.49/build=13.51/package=1.98/clean=0.37