>>> Building on exopi-5 under x11/tvtwm BDEPENDS = [devel/imake-cf;devel/imake] DIST = [x11/tvtwm:tvtwm.pl11.tar.gz] FULLPKGNAME = tvtwm-0pl11p3 (Junk lock obtained for exopi-5 at 1764445514.12) >>> Running depends in x11/tvtwm at 1764445514.16 last junk was in www/sassc /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 was: /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 >>> Running show-prepare-results in x11/tvtwm at 1764445515.78 ===> x11/tvtwm ===> Building from scratch tvtwm-0pl11p3 ===> tvtwm-0pl11p3 depends on: imake-* -> imake-1.0.10 ===> tvtwm-0pl11p3 depends on: imake-cf-* -> imake-cf-1.0.8 ===> Verifying specs: ICE SM X11 Xext Xmu Xpm Xt c Xau Xdmcp ===> found ICE.12.0 SM.9.0 X11.19.0 Xext.13.0 Xmu.11.0 Xpm.10.0 Xt.11.1 c.102.2 Xau.10.0 Xdmcp.11.0 imake-1.0.10 imake-cf-1.0.8 (Junk lock released for exopi-5 at 1764445516.52) distfiles size=224935 >>> Running build in x11/tvtwm at 1764445516.55 ===> 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 C23 [-Wdeprecated-non-prototype] 832 | 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 C23 [-Wdeprecated-non-prototype] 840 | 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 C23 [-Wdeprecated-non-prototype] 930 | 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 C23 [-Wdeprecated-non-prototype] 932 | 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 C23 [-Wdeprecated-non-prototype] 940 | 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 C23 [-Wdeprecated-non-prototype] 941 | 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 C23 [-Wdeprecated-non-prototype] 924 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | 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 C23 [-Wdeprecated-non-prototype] 967 | 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 C23 [-Wdeprecated-non-prototype] 948 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | 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 C23 [-Wdeprecated-non-prototype] 988 | 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 C23 [-Wdeprecated-non-prototype] 978 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | 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 C23 [-Wdeprecated-non-prototype] 1005 | 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 C23 [-Wdeprecated-non-prototype] 1000 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | 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 C23 [-Wdeprecated-non-prototype] 1015 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | 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 C23 [-Wdeprecated-non-prototype] 1030 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | 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 C23 [-Wdeprecated-non-prototype] 1043 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | 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 C23 [-Wdeprecated-non-prototype] 159 | { 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 C23 [-Wdeprecated-non-prototype] 163 | { 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 C23 [-Wdeprecated-non-prototype] 209 | 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 C23 [-Wdeprecated-non-prototype] 276 | 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 C23 [-Wdeprecated-non-prototype] 285 | 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 C23 [-Wdeprecated-non-prototype] 299 | { 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 C23 [-Wdeprecated-non-prototype] 309 | { 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 C23 [-Wdeprecated-non-prototype] 344 | { 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 C23 [-Wdeprecated-non-prototype] 423 | { 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 C23 [-Wdeprecated-non-prototype] 436 | 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 C23 [-Wdeprecated-non-prototype] 438 | 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 C23 [-Wdeprecated-non-prototype] 440 | 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 C23 [-Wdeprecated-non-prototype] 442 | 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 C23 [-Wdeprecated-non-prototype] 444 | 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 C23 [-Wdeprecated-non-prototype] 446 | 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 C23 [-Wdeprecated-non-prototype] 448 | 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 C23 [-Wdeprecated-non-prototype] 450 | 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 C23 [-Wdeprecated-non-prototype] 452 | 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 C23 [-Wdeprecated-non-prototype] 454 | 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 C23 [-Wdeprecated-non-prototype] 456 | 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 C23 [-Wdeprecated-non-prototype] 458 | 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 C23 [-Wdeprecated-non-prototype] 460 | 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 C23 [-Wdeprecated-non-prototype] 462 | 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 C23 [-Wdeprecated-non-prototype] 464 | 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 C23 [-Wdeprecated-non-prototype] 466 | 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 C23 [-Wdeprecated-non-prototype] 468 | 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 C23 [-Wdeprecated-non-prototype] 470 | 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 C23 [-Wdeprecated-non-prototype] 472 | 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 C23 [-Wdeprecated-non-prototype] 474 | 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 C23 [-Wdeprecated-non-prototype] 476 | 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 C23 [-Wdeprecated-non-prototype] 478 | 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 C23 [-Wdeprecated-non-prototype] 490 | { 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 C23 [-Wdeprecated-non-prototype] 499 | { 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 C23 [-Wdeprecated-non-prototype] 510 | { 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 C23 [-Wdeprecated-non-prototype] 529 | { 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 C23 [-Wdeprecated-non-prototype] 530 | { 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 C23 [-Wdeprecated-non-prototype] 543 | 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 C23 [-Wdeprecated-non-prototype] 566 | 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 C23 [-Wdeprecated-non-prototype] 583 | 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 C23 [-Wdeprecated-non-prototype] 582 | 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 C23 [-Wdeprecated-non-prototype] 589 | 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 C23 [-Wdeprecated-non-prototype] 588 | 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 C23 [-Wdeprecated-non-prototype] 603 | 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 C23 [-Wdeprecated-non-prototype] 616 | 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 C23 [-Wdeprecated-non-prototype] 643 | { 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 C23 [-Wdeprecated-non-prototype] 658 | 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 C23 [-Wdeprecated-non-prototype] 665 | 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 C23 [-Wdeprecated-non-prototype] 675 | 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 C23 [-Wdeprecated-non-prototype] 687 | { 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 C23 [-Wdeprecated-non-prototype] 702 | { 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 C23 [-Wdeprecated-non-prototype] 79 | { 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 C23 [-Wdeprecated-non-prototype] 87 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | 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 C23 [-Wdeprecated-non-prototype] 186 | 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 C23 [-Wdeprecated-non-prototype] 187 | 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 C23 [-Wdeprecated-non-prototype] 208 | 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 C23 [-Wdeprecated-non-prototype] 221 | 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 C23 [-Wdeprecated-non-prototype] 225 | (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] 225 | (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 C23 [-Wdeprecated-non-prototype] 238 | 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 C23 [-Wdeprecated-non-prototype] 241 | (!(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] 241 | (!(short)(int) LookInList(Scr->NoHighlight, tmp_win->full_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | &tmp_win->class)); | ~~~~~~~~~~~~~~~~ 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 C23 [-Wdeprecated-non-prototype] 245 | (!(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] 245 | (!(short)(int) LookInList(Scr->NoStackModeL, tmp_win->full_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 246 | &tmp_win->class)); | ~~~~~~~~~~~~~~~~ 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 C23 [-Wdeprecated-non-prototype] 249 | (!(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] 249 | (!(short)(int) LookInList(Scr->NoTitleHighlight, tmp_win->full_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | &tmp_win->class)); | ~~~~~~~~~~~~~~~~ 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 C23 [-Wdeprecated-non-prototype] 252 | 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] 252 | tmp_win->auto_raise = (short)(int) LookInList(Scr->AutoRaise, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | tmp_win->full_name, | ~~~~~~~~~~~~~~~~~~~ 254 | &tmp_win->class); | ~~~~~~~~~~~~~~~~ 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 C23 [-Wdeprecated-non-prototype] 260 | !(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] 260 | !(short)(int) LookInList(Scr->DontIconify, tmp_win->full_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | &tmp_win->class); | ~~~~~~~~~~~~~~~~ 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 C23 [-Wdeprecated-non-prototype] 264 | (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] 264 | (short)(int) LookInList(Scr->IconifyByUn, tmp_win->full_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | &tmp_win->class); | ~~~~~~~~~~~~~~~~ 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 C23 [-Wdeprecated-non-prototype] 267 | 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 C23 [-Wdeprecated-non-prototype] 287 | 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 C23 [-Wdeprecated-non-prototype] 290 | 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 C23 [-Wdeprecated-non-prototype] 298 | 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 C23 [-Wdeprecated-non-prototype] 301 | (short)(int)LookInList(Scr->SqueezeIconL, | ^ add_window.c:301:10: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 301 | (short)(int)LookInList(Scr->SqueezeIconL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 302 | tmp_win->full_name, &tmp_win->class)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 C23 [-Wdeprecated-non-prototype] 319 | 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 C23 [-Wdeprecated-non-prototype] 321 | 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 C23 [-Wdeprecated-non-prototype] 325 | 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 C23 [-Wdeprecated-non-prototype] 327 | 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 C23 [-Wdeprecated-non-prototype] 334 | 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 C23 [-Wdeprecated-non-prototype] 345 | 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 C23 [-Wdeprecated-non-prototype] 448 | 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 C23 [-Wdeprecated-non-prototype] 450 | 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 C23 [-Wdeprecated-non-prototype] 452 | 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 C23 [-Wdeprecated-non-prototype] 454 | 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 C23 [-Wdeprecated-non-prototype] 457 | 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 C23 [-Wdeprecated-non-prototype] 459 | 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 C23 [-Wdeprecated-non-prototype] 461 | 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 C23 [-Wdeprecated-non-prototype] 463 | 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 C23 [-Wdeprecated-non-prototype] 465 | 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 C23 [-Wdeprecated-non-prototype] 467 | 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 C23 [-Wdeprecated-non-prototype] 469 | 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 C23 [-Wdeprecated-non-prototype] 471 | 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 C23 [-Wdeprecated-non-prototype] 498 | 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 C23 [-Wdeprecated-non-prototype] 547 | 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 C23 [-Wdeprecated-non-prototype] 554 | 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 C23 [-Wdeprecated-non-prototype] 555 | 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 C23 [-Wdeprecated-non-prototype] 710 | 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 C23 [-Wdeprecated-non-prototype] 754 | 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 C23 [-Wdeprecated-non-prototype] 773 | 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 C23 [-Wdeprecated-non-prototype] 791 | 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 C23 [-Wdeprecated-non-prototype] 799 | 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 C23 [-Wdeprecated-non-prototype] 804 | 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 C23 [-Wdeprecated-non-prototype] 824 | 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 C23 [-Wdeprecated-non-prototype] 872 | 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 C23 [-Wdeprecated-non-prototype] 879 | 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 C23 [-Wdeprecated-non-prototype] 889 | 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 C23 [-Wdeprecated-non-prototype] 890 | 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 C23 [-Wdeprecated-non-prototype] 893 | (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 C23 [-Wdeprecated-non-prototype] 137 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | 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 C23 [-Wdeprecated-non-prototype] 943 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | 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 C23 [-Wdeprecated-non-prototype] 953 | 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 C23 [-Wdeprecated-non-prototype] 1008 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | 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 C23 [-Wdeprecated-non-prototype] 1043 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | 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 C23 [-Wdeprecated-non-prototype] 1155 | 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 C23 [-Wdeprecated-non-prototype] 1099 | 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 C23 [-Wdeprecated-non-prototype] 1229 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 326 | 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 C23 [-Wdeprecated-non-prototype] 1255 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 326 | 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 C23 [-Wdeprecated-non-prototype] 1306 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | 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 C23 [-Wdeprecated-non-prototype] 1384 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 405 | 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 C23 [-Wdeprecated-non-prototype] 1406 | 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 C23 [-Wdeprecated-non-prototype] 1425 | 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 C23 [-Wdeprecated-non-prototype] 1589 | 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 C23 [-Wdeprecated-non-prototype] 1598 | 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 C23 [-Wdeprecated-non-prototype] 1482 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 406 | 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 C23 [-Wdeprecated-non-prototype] 1612 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | 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 C23 [-Wdeprecated-non-prototype] 1638 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | 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 C23 [-Wdeprecated-non-prototype] 1662 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | 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 C23 [-Wdeprecated-non-prototype] 71 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | 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 C23 [-Wdeprecated-non-prototype] 78 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | 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 C23 [-Wdeprecated-non-prototype] 106 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | 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 C23 [-Wdeprecated-non-prototype] 148 | 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 C23 [-Wdeprecated-non-prototype] 181 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | 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 C23 [-Wdeprecated-non-prototype] 205 | 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 C23 [-Wdeprecated-non-prototype] 211 | 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 C23 [-Wdeprecated-non-prototype] 215 | 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 C23 [-Wdeprecated-non-prototype] 188 | 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 C23 [-Wdeprecated-non-prototype] 246 | 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 C23 [-Wdeprecated-non-prototype] 227 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | 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 C23 [-Wdeprecated-non-prototype] 302 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | 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 C23 [-Wdeprecated-non-prototype] 366 | 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 C23 [-Wdeprecated-non-prototype] 375 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | 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 C23 [-Wdeprecated-non-prototype] 415 | 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 C23 [-Wdeprecated-non-prototype] 402 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | 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 C23 [-Wdeprecated-non-prototype] 431 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | 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 C23 [-Wdeprecated-non-prototype] 492 | 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 C23 [-Wdeprecated-non-prototype] 499 | 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 C23 [-Wdeprecated-non-prototype] 530 | 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 C23 [-Wdeprecated-non-prototype] 532 | 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 C23 [-Wdeprecated-non-prototype] 537 | 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 C23 [-Wdeprecated-non-prototype] 541 | 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 C23 [-Wdeprecated-non-prototype] 542 | 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 C23 [-Wdeprecated-non-prototype] 543 | 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 C23 [-Wdeprecated-non-prototype] 544 | 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 C23 [-Wdeprecated-non-prototype] 593 | 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 C23 [-Wdeprecated-non-prototype] 596 | 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 C23 [-Wdeprecated-non-prototype] 615 | 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 C23 [-Wdeprecated-non-prototype] 621 | 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 C23 [-Wdeprecated-non-prototype] 624 | 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 C23 [-Wdeprecated-non-prototype] 662 | 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 C23 [-Wdeprecated-non-prototype] 665 | 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 C23 [-Wdeprecated-non-prototype] 674 | 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 C23 [-Wdeprecated-non-prototype] 675 | 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 C23 [-Wdeprecated-non-prototype] 730 | 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 C23 [-Wdeprecated-non-prototype] 246 | 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 C23 [-Wdeprecated-non-prototype] 749 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 191 | 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 C23 [-Wdeprecated-non-prototype] 773 | 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 C23 [-Wdeprecated-non-prototype] 838 | 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 C23 [-Wdeprecated-non-prototype] 839 | 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 C23 [-Wdeprecated-non-prototype] 840 | 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 C23 [-Wdeprecated-non-prototype] 841 | 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 C23 [-Wdeprecated-non-prototype] 842 | 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 C23 [-Wdeprecated-non-prototype] 843 | 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 C23 [-Wdeprecated-non-prototype] 844 | 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 C23 [-Wdeprecated-non-prototype] 845 | 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 C23 [-Wdeprecated-non-prototype] 846 | 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 C23 [-Wdeprecated-non-prototype] 847 | 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 C23 [-Wdeprecated-non-prototype] 848 | 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 C23 [-Wdeprecated-non-prototype] 849 | 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 C23 [-Wdeprecated-non-prototype] 850 | 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 C23 [-Wdeprecated-non-prototype] 851 | 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 C23 [-Wdeprecated-non-prototype] 852 | 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 C23 [-Wdeprecated-non-prototype] 853 | 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 C23 [-Wdeprecated-non-prototype] 854 | 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 C23 [-Wdeprecated-non-prototype] 855 | 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 C23 [-Wdeprecated-non-prototype] 856 | 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 C23 [-Wdeprecated-non-prototype] 857 | 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 C23 [-Wdeprecated-non-prototype] 858 | 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 C23 [-Wdeprecated-non-prototype] 859 | 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 C23 [-Wdeprecated-non-prototype] 860 | 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 C23 [-Wdeprecated-non-prototype] 861 | 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 C23 [-Wdeprecated-non-prototype] 862 | 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 C23 [-Wdeprecated-non-prototype] 863 | 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 C23 [-Wdeprecated-non-prototype] 864 | 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 C23 [-Wdeprecated-non-prototype] 865 | 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 C23 [-Wdeprecated-non-prototype] 866 | 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 C23 [-Wdeprecated-non-prototype] 867 | 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 C23 [-Wdeprecated-non-prototype] 868 | 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 C23 [-Wdeprecated-non-prototype] 869 | 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 C23 [-Wdeprecated-non-prototype] 870 | 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 C23 [-Wdeprecated-non-prototype] 871 | 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 C23 [-Wdeprecated-non-prototype] 872 | 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 C23 [-Wdeprecated-non-prototype] 873 | 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 C23 [-Wdeprecated-non-prototype] 875 | 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 C23 [-Wdeprecated-non-prototype] 876 | 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 C23 [-Wdeprecated-non-prototype] 877 | 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 C23 [-Wdeprecated-non-prototype] 878 | 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 C23 [-Wdeprecated-non-prototype] 879 | 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 C23 [-Wdeprecated-non-prototype] 880 | 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 C23 [-Wdeprecated-non-prototype] 881 | 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 C23 [-Wdeprecated-non-prototype] 882 | 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 C23 [-Wdeprecated-non-prototype] 883 | 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 C23 [-Wdeprecated-non-prototype] 884 | 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 C23 [-Wdeprecated-non-prototype] 885 | 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 C23 [-Wdeprecated-non-prototype] 1010 | 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 C23 [-Wdeprecated-non-prototype] 1011 | 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 C23 [-Wdeprecated-non-prototype] 1014 | 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 C23 [-Wdeprecated-non-prototype] 1016 | 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 C23 [-Wdeprecated-non-prototype] 1017 | 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 C23 [-Wdeprecated-non-prototype] 1018 | 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 C23 [-Wdeprecated-non-prototype] 1019 | 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 C23 [-Wdeprecated-non-prototype] 1020 | 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 C23 [-Wdeprecated-non-prototype] 1040 | 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 C23 [-Wdeprecated-non-prototype] 1030 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 322 | 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 C23 [-Wdeprecated-non-prototype] 1114 | 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 C23 [-Wdeprecated-non-prototype] 1120 | 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 C23 [-Wdeprecated-non-prototype] 1160 | 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 C23 [-Wdeprecated-non-prototype] 1098 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 323 | 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 C23 [-Wdeprecated-non-prototype] 1197 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 190 | 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 C23 [-Wdeprecated-non-prototype] 1214 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 189 | 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 C23 [-Wdeprecated-non-prototype] 119 | 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 C23 [-Wdeprecated-non-prototype] 147 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | 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 C23 [-Wdeprecated-non-prototype] 254 | 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 C23 [-Wdeprecated-non-prototype] 273 | 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 C23 [-Wdeprecated-non-prototype] 168 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | 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 C23 [-Wdeprecated-non-prototype] 277 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | 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 C23 [-Wdeprecated-non-prototype] 442 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | 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] 467 | TwmOutput(c) | ^ 468 | { parse.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | 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 C23 [-Wdeprecated-non-prototype] 867 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | 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 C23 [-Wdeprecated-non-prototype] 897 | 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 C23 [-Wdeprecated-non-prototype] 1074 | 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 C23 [-Wdeprecated-non-prototype] 1103 | 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 C23 [-Wdeprecated-non-prototype] 1147 | 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 C23 [-Wdeprecated-non-prototype] 1048 | 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 C23 [-Wdeprecated-non-prototype] 1180 | 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 C23 [-Wdeprecated-non-prototype] 1268 | 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 C23 [-Wdeprecated-non-prototype] 1272 | 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 C23 [-Wdeprecated-non-prototype] 1276 | 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 C23 [-Wdeprecated-non-prototype] 1280 | 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 C23 [-Wdeprecated-non-prototype] 1284 | 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 C23 [-Wdeprecated-non-prototype] 1288 | 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 C23 [-Wdeprecated-non-prototype] 1292 | 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 C23 [-Wdeprecated-non-prototype] 1296 | 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 C23 [-Wdeprecated-non-prototype] 1300 | 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 C23 [-Wdeprecated-non-prototype] 1304 | 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 C23 [-Wdeprecated-non-prototype] 1308 | 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 C23 [-Wdeprecated-non-prototype] 1312 | 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 C23 [-Wdeprecated-non-prototype] 1316 | 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 C23 [-Wdeprecated-non-prototype] 1261 | 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 C23 [-Wdeprecated-non-prototype] 1329 | 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 C23 [-Wdeprecated-non-prototype] 1334 | 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 C23 [-Wdeprecated-non-prototype] 1338 | 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 C23 [-Wdeprecated-non-prototype] 1343 | 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 C23 [-Wdeprecated-non-prototype] 1347 | 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 C23 [-Wdeprecated-non-prototype] 1351 | 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 C23 [-Wdeprecated-non-prototype] 1355 | 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 C23 [-Wdeprecated-non-prototype] 1359 | 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 C23 [-Wdeprecated-non-prototype] 1363 | 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 C23 [-Wdeprecated-non-prototype] 1367 | 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 C23 [-Wdeprecated-non-prototype] 1371 | 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 C23 [-Wdeprecated-non-prototype] 1322 | 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 C23 [-Wdeprecated-non-prototype] 1379 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 1427 | 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 C23 [-Wdeprecated-non-prototype] 1458 | 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 C23 [-Wdeprecated-non-prototype] 1453 | 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 C23 [-Wdeprecated-non-prototype] 1469 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | 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 C23 [-Wdeprecated-non-prototype] 1536 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | 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 C23 [-Wdeprecated-non-prototype] 1553 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | 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 C23 [-Wdeprecated-non-prototype] 1612 | 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 C23 [-Wdeprecated-non-prototype] 1570 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | 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 C23 [-Wdeprecated-non-prototype] 1616 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | 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 C23 [-Wdeprecated-non-prototype] 1672 | 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 C23 [-Wdeprecated-non-prototype] 1702 | 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 C23 [-Wdeprecated-non-prototype] 1724 | 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 C23 [-Wdeprecated-non-prototype] 1747 | 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 C23 [-Wdeprecated-non-prototype] 1838 | 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 C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 1855 | 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 C23 [-Wdeprecated-non-prototype] 1958 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | 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 C23 [-Wdeprecated-non-prototype] 309 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 159 | 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 C23 [-Wdeprecated-non-prototype] 359 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | 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 C23 [-Wdeprecated-non-prototype] 479 | 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 C23 [-Wdeprecated-non-prototype] 482 | 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 C23 [-Wdeprecated-non-prototype] 613 | 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 C23 [-Wdeprecated-non-prototype] 625 | 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 C23 [-Wdeprecated-non-prototype] 539 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 149 | 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 C23 [-Wdeprecated-non-prototype] 697 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 150 | 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 C23 [-Wdeprecated-non-prototype] 900 | 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 C23 [-Wdeprecated-non-prototype] 1073 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 152 | 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 C23 [-Wdeprecated-non-prototype] 1202 | 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 C23 [-Wdeprecated-non-prototype] 1203 | 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 C23 [-Wdeprecated-non-prototype] 1144 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 153 | 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 C23 [-Wdeprecated-non-prototype] 1229 | 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 C23 [-Wdeprecated-non-prototype] 1313 | 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 C23 [-Wdeprecated-non-prototype] 1236 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 154 | 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 C23 [-Wdeprecated-non-prototype] 1505 | 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 C23 [-Wdeprecated-non-prototype] 1530 | 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 C23 [-Wdeprecated-non-prototype] 1554 | 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 C23 [-Wdeprecated-non-prototype] 1578 | 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 C23 [-Wdeprecated-non-prototype] 1489 | 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 C23 [-Wdeprecated-non-prototype] 1599 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 156 | 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 C23 [-Wdeprecated-non-prototype] 1731 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 158 | 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 C23 [-Wdeprecated-non-prototype] 1746 | 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 C23 [-Wdeprecated-non-prototype] 1827 | 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 C23 [-Wdeprecated-non-prototype] 1843 | 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 C23 [-Wdeprecated-non-prototype] 1864 | 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 C23 [-Wdeprecated-non-prototype] 1784 | 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 C23 [-Wdeprecated-non-prototype] 1887 | 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 C23 [-Wdeprecated-non-prototype] 1883 | 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 C23 [-Wdeprecated-non-prototype] 1926 | 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 C23 [-Wdeprecated-non-prototype] 1928 | 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 C23 [-Wdeprecated-non-prototype] 1929 | 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 C23 [-Wdeprecated-non-prototype] 1936 | 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 C23 [-Wdeprecated-non-prototype] 2031 | 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 C23 [-Wdeprecated-non-prototype] 2031 | 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 C23 [-Wdeprecated-non-prototype] 2045 | 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 C23 [-Wdeprecated-non-prototype] 2047 | 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 C23 [-Wdeprecated-non-prototype] 2052 | 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 C23 [-Wdeprecated-non-prototype] 2054 | 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 C23 [-Wdeprecated-non-prototype] 2067 | 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 C23 [-Wdeprecated-non-prototype] 2084 | 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 C23 [-Wdeprecated-non-prototype] 2089 | 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 C23 [-Wdeprecated-non-prototype] 2095 | 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 C23 [-Wdeprecated-non-prototype] 2096 | 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 C23 [-Wdeprecated-non-prototype] 2106 | 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 C23 [-Wdeprecated-non-prototype] 2139 | 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 C23 [-Wdeprecated-non-prototype] 2140 | 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 C23 [-Wdeprecated-non-prototype] 2162 | 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 C23 [-Wdeprecated-non-prototype] 2163 | 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 C23 [-Wdeprecated-non-prototype] 2169 | 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 C23 [-Wdeprecated-non-prototype] 2179 | 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 C23 [-Wdeprecated-non-prototype] 2181 | 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 C23 [-Wdeprecated-non-prototype] 2190 | 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 C23 [-Wdeprecated-non-prototype] 2193 | 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 C23 [-Wdeprecated-non-prototype] 2197 | 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 C23 [-Wdeprecated-non-prototype] 2201 | 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 C23 [-Wdeprecated-non-prototype] 2224 | 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 C23 [-Wdeprecated-non-prototype] 2226 | 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 C23 [-Wdeprecated-non-prototype] 2227 | 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 C23 [-Wdeprecated-non-prototype] 2235 | 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 C23 [-Wdeprecated-non-prototype] 2263 | 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 C23 [-Wdeprecated-non-prototype] 2266 | 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 C23 [-Wdeprecated-non-prototype] 2305 | 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 C23 [-Wdeprecated-non-prototype] 2307 | 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 C23 [-Wdeprecated-non-prototype] 2314 | 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 C23 [-Wdeprecated-non-prototype] 2331 | 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 C23 [-Wdeprecated-non-prototype] 2335 | 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 C23 [-Wdeprecated-non-prototype] 2673 | 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 C23 [-Wdeprecated-non-prototype] 2673 | 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 C23 [-Wdeprecated-non-prototype] 2689 | 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 C23 [-Wdeprecated-non-prototype] 2694 | 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 C23 [-Wdeprecated-non-prototype] 2698 | 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 C23 [-Wdeprecated-non-prototype] 2704 | 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 C23 [-Wdeprecated-non-prototype] 2726 | 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 C23 [-Wdeprecated-non-prototype] 2731 | 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 C23 [-Wdeprecated-non-prototype] 2733 | 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 C23 [-Wdeprecated-non-prototype] 2738 | 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 C23 [-Wdeprecated-non-prototype] 2742 | 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 C23 [-Wdeprecated-non-prototype] 2744 | 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 C23 [-Wdeprecated-non-prototype] 2749 | 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 C23 [-Wdeprecated-non-prototype] 2761 | 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 C23 [-Wdeprecated-non-prototype] 2766 | 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 C23 [-Wdeprecated-non-prototype] 2768 | 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 C23 [-Wdeprecated-non-prototype] 2769 | 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 C23 [-Wdeprecated-non-prototype] 2777 | 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 C23 [-Wdeprecated-non-prototype] 2783 | 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 C23 [-Wdeprecated-non-prototype] 2791 | 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 C23 [-Wdeprecated-non-prototype] 2797 | 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 C23 [-Wdeprecated-non-prototype] 2803 | 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 C23 [-Wdeprecated-non-prototype] 2809 | 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 C23 [-Wdeprecated-non-prototype] 2812 | 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 C23 [-Wdeprecated-non-prototype] 2818 | 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 C23 [-Wdeprecated-non-prototype] 2822 | 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 C23 [-Wdeprecated-non-prototype] 2851 | (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 C23 [-Wdeprecated-non-prototype] 2855 | 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 C23 [-Wdeprecated-non-prototype] 2863 | (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 C23 [-Wdeprecated-non-prototype] 2872 | 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 C23 [-Wdeprecated-non-prototype] 2878 | 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 C23 [-Wdeprecated-non-prototype] 2886 | 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 C23 [-Wdeprecated-non-prototype] 2906 | 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 C23 [-Wdeprecated-non-prototype] 2931 | 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 C23 [-Wdeprecated-non-prototype] 2933 | 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 C23 [-Wdeprecated-non-prototype] 2935 | 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 C23 [-Wdeprecated-non-prototype] 2937 | 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 C23 [-Wdeprecated-non-prototype] 2945 | 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 C23 [-Wdeprecated-non-prototype] 2947 | 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 C23 [-Wdeprecated-non-prototype] 2949 | 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 C23 [-Wdeprecated-non-prototype] 3025 | 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 C23 [-Wdeprecated-non-prototype] 3026 | 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 C23 [-Wdeprecated-non-prototype] 3037 | 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 C23 [-Wdeprecated-non-prototype] 3040 | 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 C23 [-Wdeprecated-non-prototype] 3049 | 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 C23 [-Wdeprecated-non-prototype] 3089 | 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 C23 [-Wdeprecated-non-prototype] 3106 | 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 C23 [-Wdeprecated-non-prototype] 1961 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | 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 C23 [-Wdeprecated-non-prototype] 3135 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | 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 C23 [-Wdeprecated-non-prototype] 3191 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 241 | 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 C23 [-Wdeprecated-non-prototype] 3226 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 242 | 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 C23 [-Wdeprecated-non-prototype] 3251 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | 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 C23 [-Wdeprecated-non-prototype] 3331 | 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 C23 [-Wdeprecated-non-prototype] 3334 | 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 C23 [-Wdeprecated-non-prototype] 3337 | 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 C23 [-Wdeprecated-non-prototype] 3352 | 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 C23 [-Wdeprecated-non-prototype] 3359 | 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 C23 [-Wdeprecated-non-prototype] 3369 | 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 C23 [-Wdeprecated-non-prototype] 3370 | 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 C23 [-Wdeprecated-non-prototype] 3371 | 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 C23 [-Wdeprecated-non-prototype] 3374 | 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 C23 [-Wdeprecated-non-prototype] 3375 | 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 C23 [-Wdeprecated-non-prototype] 3380 | 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 C23 [-Wdeprecated-non-prototype] 3382 | 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 C23 [-Wdeprecated-non-prototype] 3393 | 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 C23 [-Wdeprecated-non-prototype] 3395 | 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 C23 [-Wdeprecated-non-prototype] 3399 | 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 C23 [-Wdeprecated-non-prototype] 3400 | 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 C23 [-Wdeprecated-non-prototype] 3401 | 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 C23 [-Wdeprecated-non-prototype] 3404 | 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 C23 [-Wdeprecated-non-prototype] 3405 | 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 C23 [-Wdeprecated-non-prototype] 3343 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 165 | 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 C23 [-Wdeprecated-non-prototype] 3432 | 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 C23 [-Wdeprecated-non-prototype] 3434 | 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 C23 [-Wdeprecated-non-prototype] 3435 | 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 C23 [-Wdeprecated-non-prototype] 3451 | 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 C23 [-Wdeprecated-non-prototype] 3453 | 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 C23 [-Wdeprecated-non-prototype] 3462 | 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 C23 [-Wdeprecated-non-prototype] 3465 | 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 C23 [-Wdeprecated-non-prototype] 3466 | 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 C23 [-Wdeprecated-non-prototype] 3467 | 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 C23 [-Wdeprecated-non-prototype] 3470 | 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 C23 [-Wdeprecated-non-prototype] 3481 | 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 C23 [-Wdeprecated-non-prototype] 3489 | 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 C23 [-Wdeprecated-non-prototype] 3491 | 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 C23 [-Wdeprecated-non-prototype] 3493 | 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 C23 [-Wdeprecated-non-prototype] 3496 | 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 C23 [-Wdeprecated-non-prototype] 3419 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 166 | 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 C23 [-Wdeprecated-non-prototype] 3545 | 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 C23 [-Wdeprecated-non-prototype] 3510 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 239 | 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 C23 [-Wdeprecated-non-prototype] 3626 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 167 | 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 C23 [-Wdeprecated-non-prototype] 3642 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 384 | 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 C23 [-Wdeprecated-non-prototype] 3671 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 169 | 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 C23 [-Wdeprecated-non-prototype] 3754 | 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 C23 [-Wdeprecated-non-prototype] 3757 | 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 C23 [-Wdeprecated-non-prototype] 3716 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 240 | 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 C23 [-Wdeprecated-non-prototype] 3766 | 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 C23 [-Wdeprecated-non-prototype] 3768 | 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 C23 [-Wdeprecated-non-prototype] 3776 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 170 | 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 C23 [-Wdeprecated-non-prototype] 3796 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 168 | 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 C23 [-Wdeprecated-non-prototype] 3845 | 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 C23 [-Wdeprecated-non-prototype] 3820 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 244 | 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 C23 [-Wdeprecated-non-prototype] 3876 | 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 C23 [-Wdeprecated-non-prototype] 3878 | 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 C23 [-Wdeprecated-non-prototype] 3867 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 245 | 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 C23 [-Wdeprecated-non-prototype] 3902 | 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 C23 [-Wdeprecated-non-prototype] 3919 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 171 | 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 C23 [-Wdeprecated-non-prototype] 3927 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 172 | 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 C23 [-Wdeprecated-non-prototype] 3936 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 173 | 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 C23 [-Wdeprecated-non-prototype] 191 | 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 C23 [-Wdeprecated-non-prototype] 188 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | 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 C23 [-Wdeprecated-non-prototype] 198 | 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 C23 [-Wdeprecated-non-prototype] 260 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | 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 C23 [-Wdeprecated-non-prototype] 302 | 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 C23 [-Wdeprecated-non-prototype] 372 | 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 C23 [-Wdeprecated-non-prototype] 405 | 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 C23 [-Wdeprecated-non-prototype] 440 | 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 C23 [-Wdeprecated-non-prototype] 479 | 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 C23 [-Wdeprecated-non-prototype] 491 | 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 C23 [-Wdeprecated-non-prototype] 594 | 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 C23 [-Wdeprecated-non-prototype] 640 | 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 C23 [-Wdeprecated-non-prototype] 652 | 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 C23 [-Wdeprecated-non-prototype] 698 | 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 C23 [-Wdeprecated-non-prototype] 701 | 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 C23 [-Wdeprecated-non-prototype] 687 | 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 C23 [-Wdeprecated-non-prototype] 725 | 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 C23 [-Wdeprecated-non-prototype] 730 | 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 C23 [-Wdeprecated-non-prototype] 718 | 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 C23 [-Wdeprecated-non-prototype] 754 | 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 C23 [-Wdeprecated-non-prototype] 768 | 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 C23 [-Wdeprecated-non-prototype] 835 | 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 C23 [-Wdeprecated-non-prototype] 852 | 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 C23 [-Wdeprecated-non-prototype] 866 | 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 C23 [-Wdeprecated-non-prototype] 880 | 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 C23 [-Wdeprecated-non-prototype] 912 | 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 C23 [-Wdeprecated-non-prototype] 933 | 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 C23 [-Wdeprecated-non-prototype] 991 | 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 C23 [-Wdeprecated-non-prototype] 996 | 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 C23 [-Wdeprecated-non-prototype] 1024 | 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 C23 [-Wdeprecated-non-prototype] 1028 | 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 C23 [-Wdeprecated-non-prototype] 1074 | 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 C23 [-Wdeprecated-non-prototype] 1075 | 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 C23 [-Wdeprecated-non-prototype] 1082 | 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 C23 [-Wdeprecated-non-prototype] 1083 | 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 C23 [-Wdeprecated-non-prototype] 1094 | 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 C23 [-Wdeprecated-non-prototype] 1095 | 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 C23 [-Wdeprecated-non-prototype] 1104 | 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 C23 [-Wdeprecated-non-prototype] 1109 | 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 C23 [-Wdeprecated-non-prototype] 1112 | 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 C23 [-Wdeprecated-non-prototype] 1142 | 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 C23 [-Wdeprecated-non-prototype] 1150 | 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 C23 [-Wdeprecated-non-prototype] 1151 | 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 C23 [-Wdeprecated-non-prototype] 1185 | 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 C23 [-Wdeprecated-non-prototype] 1191 | 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 C23 [-Wdeprecated-non-prototype] 1213 | 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 C23 [-Wdeprecated-non-prototype] 1219 | 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 C23 [-Wdeprecated-non-prototype] 1240 | 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 C23 [-Wdeprecated-non-prototype] 1246 | 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 C23 [-Wdeprecated-non-prototype] 1247 | 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 C23 [-Wdeprecated-non-prototype] 1257 | 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 C23 [-Wdeprecated-non-prototype] 1273 | 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 C23 [-Wdeprecated-non-prototype] 1294 | 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 C23 [-Wdeprecated-non-prototype] 1315 | 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 C23 [-Wdeprecated-non-prototype] 1333 | 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 C23 [-Wdeprecated-non-prototype] 1361 | 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 C23 [-Wdeprecated-non-prototype] 1374 | 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 C23 [-Wdeprecated-non-prototype] 1375 | 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 C23 [-Wdeprecated-non-prototype] 1387 | 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 C23 [-Wdeprecated-non-prototype] 1396 | 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 C23 [-Wdeprecated-non-prototype] 1474 | 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 C23 [-Wdeprecated-non-prototype] 1508 | 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 C23 [-Wdeprecated-non-prototype] 1512 | 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 C23 [-Wdeprecated-non-prototype] 1619 | 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 C23 [-Wdeprecated-non-prototype] 1631 | (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 C23 [-Wdeprecated-non-prototype] 1642 | 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 C23 [-Wdeprecated-non-prototype] 1652 | 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 C23 [-Wdeprecated-non-prototype] 1653 | 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 C23 [-Wdeprecated-non-prototype] 1660 | 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 C23 [-Wdeprecated-non-prototype] 1668 | 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 C23 [-Wdeprecated-non-prototype] 1675 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | 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 C23 [-Wdeprecated-non-prototype] 1706 | 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 C23 [-Wdeprecated-non-prototype] 1713 | 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 C23 [-Wdeprecated-non-prototype] 1773 | 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 C23 [-Wdeprecated-non-prototype] 1783 | 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 C23 [-Wdeprecated-non-prototype] 1808 | 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 C23 [-Wdeprecated-non-prototype] 1826 | 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 C23 [-Wdeprecated-non-prototype] 1866 | 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 C23 [-Wdeprecated-non-prototype] 1871 | 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 C23 [-Wdeprecated-non-prototype] 1923 | 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 C23 [-Wdeprecated-non-prototype] 1978 | 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 C23 [-Wdeprecated-non-prototype] 1979 | 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 C23 [-Wdeprecated-non-prototype] 1998 | 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 C23 [-Wdeprecated-non-prototype] 2045 | 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 C23 [-Wdeprecated-non-prototype] 2076 | 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 C23 [-Wdeprecated-non-prototype] 2054 | 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 C23 [-Wdeprecated-non-prototype] 2121 | 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 C23 [-Wdeprecated-non-prototype] 2127 | 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 C23 [-Wdeprecated-non-prototype] 2142 | 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 C23 [-Wdeprecated-non-prototype] 2186 | 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 C23 [-Wdeprecated-non-prototype] 2260 | 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 C23 [-Wdeprecated-non-prototype] 2320 | 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 C23 [-Wdeprecated-non-prototype] 2360 | 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 C23 [-Wdeprecated-non-prototype] 2375 | 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 C23 [-Wdeprecated-non-prototype] 2406 | 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 C23 [-Wdeprecated-non-prototype] 2472 | 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 C23 [-Wdeprecated-non-prototype] 2503 | 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 C23 [-Wdeprecated-non-prototype] 2507 | 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 C23 [-Wdeprecated-non-prototype] 2509 | 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 C23 [-Wdeprecated-non-prototype] 2522 | 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 C23 [-Wdeprecated-non-prototype] 2531 | 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 C23 [-Wdeprecated-non-prototype] 2564 | 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 C23 [-Wdeprecated-non-prototype] 2597 | 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 C23 [-Wdeprecated-non-prototype] 2672 | 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 C23 [-Wdeprecated-non-prototype] 2681 | 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 C23 [-Wdeprecated-non-prototype] 2783 | 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 C23 [-Wdeprecated-non-prototype] 2822 | 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 C23 [-Wdeprecated-non-prototype] 2848 | 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 C23 [-Wdeprecated-non-prototype] 2887 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | 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 C23 [-Wdeprecated-non-prototype] 2910 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 173 | 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 C23 [-Wdeprecated-non-prototype] 2931 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1205 | 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 C23 [-Wdeprecated-non-prototype] 2956 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | extern void InstallWindowColormaps(); | ^ events.c:3104:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3104 | } 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 C23 [-Wdeprecated-non-prototype] 3095 | 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 C23 [-Wdeprecated-non-prototype] 122 | 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 C23 [-Wdeprecated-non-prototype] 233 | 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 C23 [-Wdeprecated-non-prototype] 234 | 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 C23 [-Wdeprecated-non-prototype] 185 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | 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 C23 [-Wdeprecated-non-prototype] 333 | 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 C23 [-Wdeprecated-non-prototype] 338 | 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 C23 [-Wdeprecated-non-prototype] 346 | 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 C23 [-Wdeprecated-non-prototype] 243 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | 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 C23 [-Wdeprecated-non-prototype] 384 | 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 C23 [-Wdeprecated-non-prototype] 385 | 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 C23 [-Wdeprecated-non-prototype] 350 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | 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 C23 [-Wdeprecated-non-prototype] 438 | 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 C23 [-Wdeprecated-non-prototype] 440 | 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 C23 [-Wdeprecated-non-prototype] 404 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 557 | 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 C23 [-Wdeprecated-non-prototype] 562 | 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 C23 [-Wdeprecated-non-prototype] 570 | 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 C23 [-Wdeprecated-non-prototype] 463 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | 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 C23 [-Wdeprecated-non-prototype] 587 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | 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 C23 [-Wdeprecated-non-prototype] 656 | 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 C23 [-Wdeprecated-non-prototype] 661 | 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 C23 [-Wdeprecated-non-prototype] 667 | 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 C23 [-Wdeprecated-non-prototype] 678 | 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 C23 [-Wdeprecated-non-prototype] 682 | 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 C23 [-Wdeprecated-non-prototype] 693 | 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 C23 [-Wdeprecated-non-prototype] 695 | 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 C23 [-Wdeprecated-non-prototype] 700 | 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 C23 [-Wdeprecated-non-prototype] 690 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | 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 C23 [-Wdeprecated-non-prototype] 722 | 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 C23 [-Wdeprecated-non-prototype] 714 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | 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 C23 [-Wdeprecated-non-prototype] 741 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | 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 C23 [-Wdeprecated-non-prototype] 895 | 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 C23 [-Wdeprecated-non-prototype] 891 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | 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 C23 [-Wdeprecated-non-prototype] 941 | 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 C23 [-Wdeprecated-non-prototype] 983 | 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 C23 [-Wdeprecated-non-prototype] 1035 | 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 C23 [-Wdeprecated-non-prototype] 1039 | 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 C23 [-Wdeprecated-non-prototype] 898 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | 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 C23 [-Wdeprecated-non-prototype] 1043 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | 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 C23 [-Wdeprecated-non-prototype] 1180 | 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 C23 [-Wdeprecated-non-prototype] 1088 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | 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 C23 [-Wdeprecated-non-prototype] 1198 | 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 C23 [-Wdeprecated-non-prototype] 1190 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | 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 C23 [-Wdeprecated-non-prototype] 72 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 203 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | 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 C23 [-Wdeprecated-non-prototype] 259 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | 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 C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 307 | extern int XmuCompareISOLatin1(); | ^ /usr/X11R6/include/X11/Xmu/CharSet.h:51:5: note: conflicting prototype is here 51 | 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 C23 [-Wdeprecated-non-prototype] 366 | 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 C23 [-Wdeprecated-non-prototype] 379 | 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 C23 [-Wdeprecated-non-prototype] 403 | 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 C23 [-Wdeprecated-non-prototype] 309 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | 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 C23 [-Wdeprecated-non-prototype] 491 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | 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 C23 [-Wdeprecated-non-prototype] 500 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | 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 C23 [-Wdeprecated-non-prototype] 543 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | 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 C23 [-Wdeprecated-non-prototype] 585 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | 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 C23 [-Wdeprecated-non-prototype] 662 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | 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 C23 [-Wdeprecated-non-prototype] 693 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | 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 C23 [-Wdeprecated-non-prototype] 778 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | 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 C23 [-Wdeprecated-non-prototype] 813 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | 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 C23 [-Wdeprecated-non-prototype] 868 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | 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 C23 [-Wdeprecated-non-prototype] 899 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | 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 C23 [-Wdeprecated-non-prototype] 920 | 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 C23 [-Wdeprecated-non-prototype] 917 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | 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 C23 [-Wdeprecated-non-prototype] 923 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 368 | 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 C23 [-Wdeprecated-non-prototype] 1012 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | 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 C23 [-Wdeprecated-non-prototype] 91 | 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 C23 [-Wdeprecated-non-prototype] 129 | 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 C23 [-Wdeprecated-non-prototype] 145 | 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 C23 [-Wdeprecated-non-prototype] 146 | 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 C23 [-Wdeprecated-non-prototype] 150 | 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 C23 [-Wdeprecated-non-prototype] 151 | 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 C23 [-Wdeprecated-non-prototype] 169 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | 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 C23 [-Wdeprecated-non-prototype] 325 | 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 C23 [-Wdeprecated-non-prototype] 229 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | 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 C23 [-Wdeprecated-non-prototype] 405 | 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 C23 [-Wdeprecated-non-prototype] 354 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | 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 C23 [-Wdeprecated-non-prototype] 437 | 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 C23 [-Wdeprecated-non-prototype] 440 | !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 C23 [-Wdeprecated-non-prototype] 442 | 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 C23 [-Wdeprecated-non-prototype] 452 | 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 C23 [-Wdeprecated-non-prototype] 460 | 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 C23 [-Wdeprecated-non-prototype] 462 | 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 C23 [-Wdeprecated-non-prototype] 464 | 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 C23 [-Wdeprecated-non-prototype] 504 | 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 C23 [-Wdeprecated-non-prototype] 516 | 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 C23 [-Wdeprecated-non-prototype] 423 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | 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 C23 [-Wdeprecated-non-prototype] 556 | 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 C23 [-Wdeprecated-non-prototype] 535 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | 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 C23 [-Wdeprecated-non-prototype] 579 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | 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 C23 [-Wdeprecated-non-prototype] 630 | 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 C23 [-Wdeprecated-non-prototype] 634 | 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 C23 [-Wdeprecated-non-prototype] 605 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | 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 C23 [-Wdeprecated-non-prototype] 645 | 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 C23 [-Wdeprecated-non-prototype] 639 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | 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 C23 [-Wdeprecated-non-prototype] 652 | 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 C23 [-Wdeprecated-non-prototype] 648 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | 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 C23 [-Wdeprecated-non-prototype] 655 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | 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 C23 [-Wdeprecated-non-prototype] 706 | 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 C23 [-Wdeprecated-non-prototype] 716 | 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 C23 [-Wdeprecated-non-prototype] 686 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | 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 C23 [-Wdeprecated-non-prototype] 794 | 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 C23 [-Wdeprecated-non-prototype] 731 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | 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 C23 [-Wdeprecated-non-prototype] 123 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 366 | 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 C23 [-Wdeprecated-non-prototype] 144 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 369 | 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 C23 [-Wdeprecated-non-prototype] 227 | 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 C23 [-Wdeprecated-non-prototype] 230 | 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 C23 [-Wdeprecated-non-prototype] 211 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 367 | 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 C23 [-Wdeprecated-non-prototype] 138 | 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 C23 [-Wdeprecated-non-prototype] 192 | 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 C23 [-Wdeprecated-non-prototype] 214 | 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 C23 [-Wdeprecated-non-prototype] 200 | 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 C23 [-Wdeprecated-non-prototype] 260 | 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 C23 [-Wdeprecated-non-prototype] 261 | 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 C23 [-Wdeprecated-non-prototype] 252 | 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 C23 [-Wdeprecated-non-prototype] 299 | 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 C23 [-Wdeprecated-non-prototype] 316 | 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 C23 [-Wdeprecated-non-prototype] 273 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | 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 C23 [-Wdeprecated-non-prototype] 322 | 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 C23 [-Wdeprecated-non-prototype] 340 | 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 C23 [-Wdeprecated-non-prototype] 355 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | 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] 392 | AddIconRegion(name, type, geom, itterate, grav1, grav2, stepx, stepy) | ^ 393 | char *name; 394 | short type; 395 | char *geom; 396 | Bool itterate; 397 | int grav1, grav2; 398 | { icons.c:392:57: warning: parameter 'stepx' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 392 | AddIconRegion(name, type, geom, itterate, grav1, grav2, stepx, stepy) | ^ 393 | char *name; 394 | short type; 395 | char *geom; 396 | Bool itterate; 397 | int grav1, grav2; 398 | { icons.c:421:19: warning: passing arguments to 'AddOneIconRegion' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | 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 C23 [-Wdeprecated-non-prototype] 424 | 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 C23 [-Wdeprecated-non-prototype] 392 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | 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] 428 | AddOneIconRegion(name, type, x, y, w, h, grav1, grav2, stepx, stepy) | ^ 429 | char *name; 430 | short type; 431 | int x, y, w, h; 432 | int grav1, grav2; 433 | { icons.c:428:56: warning: parameter 'stepx' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 428 | AddOneIconRegion(name, type, x, y, w, h, grav1, grav2, stepx, stepy) | ^ 429 | char *name; 430 | short type; 431 | int x, y, w, h; 432 | int grav1, grav2; 433 | { icons.c:438:14: warning: passing arguments to 'AddToList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | 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 C23 [-Wdeprecated-non-prototype] 428 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 127 | 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 C23 [-Wdeprecated-non-prototype] 503 | 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 C23 [-Wdeprecated-non-prototype] 671 | 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 C23 [-Wdeprecated-non-prototype] 685 | 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 C23 [-Wdeprecated-non-prototype] 711 | 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 C23 [-Wdeprecated-non-prototype] 648 | 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 C23 [-Wdeprecated-non-prototype] 755 | 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 C23 [-Wdeprecated-non-prototype] 856 | 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 C23 [-Wdeprecated-non-prototype] 869 | 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 C23 [-Wdeprecated-non-prototype] 938 | 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 C23 [-Wdeprecated-non-prototype] 829 | 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 C23 [-Wdeprecated-non-prototype] 1086 | 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 C23 [-Wdeprecated-non-prototype] 1016 | 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 C23 [-Wdeprecated-non-prototype] 1114 | 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 C23 [-Wdeprecated-non-prototype] 1223 | 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 C23 [-Wdeprecated-non-prototype] 1200 | 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 C23 [-Wdeprecated-non-prototype] 1231 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | 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 C23 [-Wdeprecated-non-prototype] 1249 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | 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 C23 [-Wdeprecated-non-prototype] 221 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 283 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | 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 C23 [-Wdeprecated-non-prototype] 324 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | 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 C23 [-Wdeprecated-non-prototype] 350 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | 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 C23 [-Wdeprecated-non-prototype] 381 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | 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 C23 [-Wdeprecated-non-prototype] 411 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | 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 C23 [-Wdeprecated-non-prototype] 431 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | 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 C23 [-Wdeprecated-non-prototype] 459 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | 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 C23 [-Wdeprecated-non-prototype] 479 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | 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 C23 [-Wdeprecated-non-prototype] 499 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | 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 C23 [-Wdeprecated-non-prototype] 519 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | 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 C23 [-Wdeprecated-non-prototype] 547 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | 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 C23 [-Wdeprecated-non-prototype] 572 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | 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 C23 [-Wdeprecated-non-prototype] 757 | 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 C23 [-Wdeprecated-non-prototype] 811 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | 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 C23 [-Wdeprecated-non-prototype] 838 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | 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 C23 [-Wdeprecated-non-prototype] 876 | 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 C23 [-Wdeprecated-non-prototype] 879 | 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 C23 [-Wdeprecated-non-prototype] 855 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | 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 C23 [-Wdeprecated-non-prototype] 885 | 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 C23 [-Wdeprecated-non-prototype] 959 | 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 C23 [-Wdeprecated-non-prototype] 962 | 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 C23 [-Wdeprecated-non-prototype] 893 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | 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 C23 [-Wdeprecated-non-prototype] 1028 | 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 C23 [-Wdeprecated-non-prototype] 1032 | 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 C23 [-Wdeprecated-non-prototype] 981 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | 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 C23 [-Wdeprecated-non-prototype] 1060 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | 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 C23 [-Wdeprecated-non-prototype] 1144 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | 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 C23 [-Wdeprecated-non-prototype] 1214 | 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 C23 [-Wdeprecated-non-prototype] 1222 | 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 C23 [-Wdeprecated-non-prototype] 1189 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | 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 C23 [-Wdeprecated-non-prototype] 1244 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | 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 C23 [-Wdeprecated-non-prototype] 1290 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | 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 C23 [-Wdeprecated-non-prototype] 1323 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | 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 C23 [-Wdeprecated-non-prototype] 99 | 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 C23 [-Wdeprecated-non-prototype] 103 | 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 C23 [-Wdeprecated-non-prototype] 106 | 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 C23 [-Wdeprecated-non-prototype] 89 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | 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 C23 [-Wdeprecated-non-prototype] 132 | 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 C23 [-Wdeprecated-non-prototype] 136 | 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 C23 [-Wdeprecated-non-prototype] 138 | 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 C23 [-Wdeprecated-non-prototype] 122 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 195 | 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 C23 [-Wdeprecated-non-prototype] 244 | 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 C23 [-Wdeprecated-non-prototype] 154 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | 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 C23 [-Wdeprecated-non-prototype] 338 | 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 C23 [-Wdeprecated-non-prototype] 343 | 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 C23 [-Wdeprecated-non-prototype] 345 | 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 C23 [-Wdeprecated-non-prototype] 349 | 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 C23 [-Wdeprecated-non-prototype] 316 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | 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 C23 [-Wdeprecated-non-prototype] 432 | 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 C23 [-Wdeprecated-non-prototype] 357 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | 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 C23 [-Wdeprecated-non-prototype] 479 | 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 C23 [-Wdeprecated-non-prototype] 492 | 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 C23 [-Wdeprecated-non-prototype] 528 | 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 C23 [-Wdeprecated-non-prototype] 538 | 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 C23 [-Wdeprecated-non-prototype] 443 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | 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 C23 [-Wdeprecated-non-prototype] 596 | 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 C23 [-Wdeprecated-non-prototype] 575 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 370 | extern Pixmap XcprLocatePixmapFile(); | ^ LocPixmap.c:84:8: note: conflicting prototype is here 84 | 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 C23 [-Wdeprecated-non-prototype] 200 | 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 C23 [-Wdeprecated-non-prototype] 321 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | 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 C23 [-Wdeprecated-non-prototype] 208 | FAIL("NULL argument"); | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 215 | 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 C23 [-Wdeprecated-non-prototype] 216 | 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 C23 [-Wdeprecated-non-prototype] 221 | FAIL("regexp too big"); | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 226 | FAIL("out of space"); | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 232 | 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 C23 [-Wdeprecated-non-prototype] 233 | 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 C23 [-Wdeprecated-non-prototype] 242 | 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 C23 [-Wdeprecated-non-prototype] 262 | 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 C23 [-Wdeprecated-non-prototype] 198 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | 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 C23 [-Wdeprecated-non-prototype] 300 | FAIL("too many ()"); | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 303 | 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 C23 [-Wdeprecated-non-prototype] 308 | 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 C23 [-Wdeprecated-non-prototype] 312 | 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 C23 [-Wdeprecated-non-prototype] 320 | 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 C23 [-Wdeprecated-non-prototype] 323 | 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 C23 [-Wdeprecated-non-prototype] 330 | 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 C23 [-Wdeprecated-non-prototype] 331 | 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 C23 [-Wdeprecated-non-prototype] 334 | 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 C23 [-Wdeprecated-non-prototype] 335 | 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 C23 [-Wdeprecated-non-prototype] 339 | FAIL("unmatched ()"); | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 342 | FAIL("unmatched ()"); | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 344 | FAIL("junk on end"); /* "Can't happen". */ | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 285 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 168 | 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 C23 [-Wdeprecated-non-prototype] 367 | 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 C23 [-Wdeprecated-non-prototype] 370 | 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 C23 [-Wdeprecated-non-prototype] 377 | 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 C23 [-Wdeprecated-non-prototype] 381 | (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 C23 [-Wdeprecated-non-prototype] 357 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 169 | 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 C23 [-Wdeprecated-non-prototype] 404 | 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 C23 [-Wdeprecated-non-prototype] 415 | FAIL("*+ operand could be empty"); | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 419 | 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 C23 [-Wdeprecated-non-prototype] 422 | 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 C23 [-Wdeprecated-non-prototype] 423 | 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 C23 [-Wdeprecated-non-prototype] 423 | 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 C23 [-Wdeprecated-non-prototype] 424 | 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 C23 [-Wdeprecated-non-prototype] 425 | 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 C23 [-Wdeprecated-non-prototype] 425 | 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 C23 [-Wdeprecated-non-prototype] 426 | 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 C23 [-Wdeprecated-non-prototype] 426 | 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 C23 [-Wdeprecated-non-prototype] 428 | 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 C23 [-Wdeprecated-non-prototype] 431 | 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 C23 [-Wdeprecated-non-prototype] 432 | 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 C23 [-Wdeprecated-non-prototype] 433 | 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 C23 [-Wdeprecated-non-prototype] 433 | 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 C23 [-Wdeprecated-non-prototype] 434 | 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 C23 [-Wdeprecated-non-prototype] 434 | 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 C23 [-Wdeprecated-non-prototype] 435 | 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 C23 [-Wdeprecated-non-prototype] 435 | 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 C23 [-Wdeprecated-non-prototype] 438 | 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 C23 [-Wdeprecated-non-prototype] 439 | 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 C23 [-Wdeprecated-non-prototype] 439 | 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 C23 [-Wdeprecated-non-prototype] 440 | 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 C23 [-Wdeprecated-non-prototype] 441 | 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 C23 [-Wdeprecated-non-prototype] 442 | 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 C23 [-Wdeprecated-non-prototype] 446 | FAIL("nested *?+"); | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 396 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 170 | 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 C23 [-Wdeprecated-non-prototype] 470 | 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 C23 [-Wdeprecated-non-prototype] 473 | 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 C23 [-Wdeprecated-non-prototype] 476 | 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 C23 [-Wdeprecated-non-prototype] 484 | 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 C23 [-Wdeprecated-non-prototype] 487 | 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 C23 [-Wdeprecated-non-prototype] 489 | 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 C23 [-Wdeprecated-non-prototype] 494 | 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 C23 [-Wdeprecated-non-prototype] 499 | FAIL("invalid [] range"); | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 501 | 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 C23 [-Wdeprecated-non-prototype] 505 | 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 C23 [-Wdeprecated-non-prototype] 507 | 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 C23 [-Wdeprecated-non-prototype] 509 | FAIL("unmatched []"); | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 523 | FAIL("internal urp"); /* Supposed to be caught earlier. */ | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 528 | FAIL("?+* follows nothing"); | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 532 | FAIL("trailing \\"); | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 533 | 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 C23 [-Wdeprecated-non-prototype] 534 | 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 C23 [-Wdeprecated-non-prototype] 535 | 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 C23 [-Wdeprecated-non-prototype] 545 | FAIL("internal disaster"); | ^ regexp.c:141:27: note: expanded from macro 'FAIL' 141 | #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 C23 [-Wdeprecated-non-prototype] 552 | 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 C23 [-Wdeprecated-non-prototype] 554 | 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 C23 [-Wdeprecated-non-prototype] 557 | 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 C23 [-Wdeprecated-non-prototype] 460 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 171 | 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 C23 [-Wdeprecated-non-prototype] 569 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 172 | 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 C23 [-Wdeprecated-non-prototype] 594 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 174 | 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 C23 [-Wdeprecated-non-prototype] 609 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 175 | 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 C23 [-Wdeprecated-non-prototype] 652 | 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 C23 [-Wdeprecated-non-prototype] 638 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 176 | 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 C23 [-Wdeprecated-non-prototype] 670 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 177 | 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 C23 [-Wdeprecated-non-prototype] 717 | 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 C23 [-Wdeprecated-non-prototype] 723 | 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 C23 [-Wdeprecated-non-prototype] 744 | 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 C23 [-Wdeprecated-non-prototype] 751 | 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 C23 [-Wdeprecated-non-prototype] 758 | 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 C23 [-Wdeprecated-non-prototype] 709 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | 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 C23 [-Wdeprecated-non-prototype] 788 | 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 C23 [-Wdeprecated-non-prototype] 770 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 695 | 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 C23 [-Wdeprecated-non-prototype] 823 | 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 C23 [-Wdeprecated-non-prototype] 934 | 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 C23 [-Wdeprecated-non-prototype] 957 | 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 C23 [-Wdeprecated-non-prototype] 974 | 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 C23 [-Wdeprecated-non-prototype] 986 | 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 C23 [-Wdeprecated-non-prototype] 807 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 696 | 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 C23 [-Wdeprecated-non-prototype] 1027 | 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 C23 [-Wdeprecated-non-prototype] 994 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 697 | 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 C23 [-Wdeprecated-non-prototype] 1040 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 173 | 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: twm.c(twm.o:(SetRootProperties)): warning: sprintf() is often misused, please use snprintf() ld: warning: LocPixmap.c(LocPixmap.o:(XcprLocatePixmapFile)): warning: strcpy() is almost always misused, please use strlcpy() 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 C23 [-Wdeprecated-non-prototype] 243 | 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 C23 [-Wdeprecated-non-prototype] 249 | 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 C23 [-Wdeprecated-non-prototype] 260 | 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 C23 [-Wdeprecated-non-prototype] 265 | 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 C23 [-Wdeprecated-non-prototype] 273 | 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 C23 [-Wdeprecated-non-prototype] 274 | 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 C23 [-Wdeprecated-non-prototype] 279 | 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 C23 [-Wdeprecated-non-prototype] 280 | 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 C23 [-Wdeprecated-non-prototype] 307 | 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 C23 [-Wdeprecated-non-prototype] 94 | 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 C23 [-Wdeprecated-non-prototype] 365 | 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 C23 [-Wdeprecated-non-prototype] 366 | 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 C23 [-Wdeprecated-non-prototype] 357 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | 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 C23 [-Wdeprecated-non-prototype] 404 | 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 C23 [-Wdeprecated-non-prototype] 405 | 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 C23 [-Wdeprecated-non-prototype] 410 | 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 C23 [-Wdeprecated-non-prototype] 411 | 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 C23 [-Wdeprecated-non-prototype] 395 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | 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 C23 [-Wdeprecated-non-prototype] 447 | 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 C23 [-Wdeprecated-non-prototype] 448 | 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 C23 [-Wdeprecated-non-prototype] 440 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | 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 C23 [-Wdeprecated-non-prototype] 466 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | 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 C23 [-Wdeprecated-non-prototype] 494 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | 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 C23 [-Wdeprecated-non-prototype] 523 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | 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 C23 [-Wdeprecated-non-prototype] 576 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | 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 1764445527.27 ===> 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 1764445528.76 ===> x11/tvtwm ===> Cleaning for tvtwm-0pl11p3 >>> Ended at 1764445529.00 max_stuck=0.00/depends=1.62/show-prepare-results=0.77/build=10.68/package=1.52/clean=0.27