=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/wm/tvtwm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tvtwm-11nb3 --- add_window.o --- --- gc.o --- --- add_window.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c add_window.c --- gc.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c gc.c --- add_window.o --- In file included from add_window.c:41: ./twm.h:516:13: warning: a function 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] --- gc.o --- In file included from gc.c:40: ./twm.h:516:13: warning: a function 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] --- add_window.o --- 516 | extern void FetchWmProtocols(); --- gc.o --- 516 | extern void FetchWmProtocols(); --- add_window.o --- | ^ --- gc.o --- | ^ --- add_window.o --- ./twm.h:450:6: note: conflicting prototype is here --- gc.o --- ./twm.h:450:6: note: conflicting prototype is here --- add_window.o --- 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ --- gc.o --- 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ --- add_window.o --- ./twm.h:517:13: warning: a function 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] --- gc.o --- ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ --- add_window.o --- 517 | extern void FetchWmColormapWindows(); | ^ --- gc.o --- ./twm.h:451:6: note: conflicting prototype is here --- add_window.o --- ./twm.h:451:6: note: conflicting prototype is here --- gc.o --- 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ --- add_window.o --- 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ --- gc.o --- In file included from gc.c:41: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | extern void MoveOutline(); | ^ ./twm.h:509:6: note: conflicting prototype is here 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^ In file included from gc.c:41: ./util.h:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^ ./twm.h:457:8: note: conflicting prototype is here --- add_window.o --- In file included from add_window.c:45: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | extern void MoveOutline(); | ^ --- gc.o --- 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^ In file included from gc.c:41: --- add_window.o --- ./twm.h:509:6: note: conflicting prototype is here 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^ --- gc.o --- ./util.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 previous declaration [-Wdeprecated-non-prototype] 46 | extern int GetColor(); | ^ ./twm.h:478:5: note: conflicting prototype is here --- add_window.o --- In file included from add_window.c:45: ./util.h:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^ --- gc.o --- 478 | int GetColor(int kind, Pixel *what, char *name); --- add_window.o --- ./twm.h:457:8: note: conflicting prototype is here --- gc.o --- | ^ --- add_window.o --- 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^ In file included from add_window.c:45: ./util.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 previous declaration [-Wdeprecated-non-prototype] 46 | extern int GetColor(); | ^ ./twm.h:478:5: note: conflicting prototype is here 478 | int GetColor(int kind, Pixel *what, char *name); | ^ In file included from add_window.c:46: ./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 previous declaration [-Wdeprecated-non-prototype] 48 | extern void SetupWindow(); | ^ ./twm.h:468:6: note: conflicting prototype is here 468 | void SetupWindow (TwmWindow *tmp_win, int x, int y, int w, int h, int bw); | ^ In file included from add_window.c:46: ./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 previous declaration [-Wdeprecated-non-prototype] 49 | extern void SetupFrame(); | ^ ./twm.h:466:6: note: conflicting prototype is here 466 | void SetupFrame (TwmWindow *tmp_win, int x, int y, int w, int h, int bw, | ^ In file included from add_window.c:46: ./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 previous declaration [-Wdeprecated-non-prototype] 50 | extern void SendSyntheticConfigureNotify(); | ^ ./twm.h:465:6: note: conflicting prototype is here 465 | void SendSyntheticConfigureNotify(TwmWindow *tmp_win); | ^ In file included from add_window.c:53: ./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 previous declaration [-Wdeprecated-non-prototype] 42 | void DragFrame(); | ^ ./twm.h:491:6: note: conflicting prototype is here 491 | void DragFrame(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown); | ^ In file included from add_window.c:53: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | void DragIcon(); | ^ ./twm.h:490:6: note: conflicting prototype is here 490 | void DragIcon(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown); | ^ In file included from add_window.c:53: ./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 previous declaration [-Wdeprecated-non-prototype] 45 | void RelativeMove(); | ^ ./twm.h:421:6: note: conflicting prototype is here 421 | void RelativeMove(TwmWindow *win, char *geom); | ^ add_window.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | GetGravityOffsets (tmp, xp, yp) | ^ add_window.c:220: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] 220 | getTWM_FLAGS(tmp_win->w, &tmp_win->flags); | ^ 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:300:10: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 300 | (short)(int)LookInList(Scr->SqueezeIconL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 301 | tmp_win->full_name, &tmp_win->class)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c:344: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] 344 | GetWindowSizeHints (tmp_win); | ^ add_window.c:553: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] 553 | CreateWindowTitlebarButtons (tmp_win); | ^ add_window.c:554: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] 554 | ComputeTitleLocation (tmp_win); | ^ add_window.c:709: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] 709 | StartMove(tmp_win, tmp_win->frame, tmp_win->title_height, | ^ add_window.c:753: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] 753 | AddStartResize(tmp_win, AddingX, AddingY, AddingW, AddingH); | ^ add_window.c:772: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] 772 | AddEndResize(tmp_win); | ^ add_window.c:790: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] 790 | DoResize(AddingX, AddingY, tmp_win); | ^ add_window.c:798: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] 798 | AddEndResize(tmp_win); | ^ add_window.c:888: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] 888 | GrabButtons(tmp_win); | ^ add_window.c:889: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] 889 | GrabKeys(tmp_win); | ^ add_window.c:892: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] 892 | (void) AddIconManager(tmp_win); | ^ add_window.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | AddWindow(w, iconm, iconp) | ^ In file included from add_window.c:44: ./add_window.h:44: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] 44 | extern TwmWindow *AddWindow(); | ^ --- gc.o --- 5 warnings generated. --- add_window.o --- add_window.c:942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | MappedNotOverride(w) | ^ In file included from add_window.c:44: ./add_window.h:45: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] 45 | extern int MappedNotOverride(); | ^ add_window.c:952:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | static void do_add_binding (button, context, modifier, func) | ^ add_window.c:1007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | GrabButtons(tmp_win) | ^ In file included from add_window.c:44: ./add_window.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 GrabButtons(); | ^ add_window.c:1042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | GrabKeys(tmp_win) | ^ In file included from add_window.c:44: ./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 GrabKeys(); | ^ add_window.c:1167:5: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1167 | &Scr->hilite.width, &Scr->hilite.height, | ^~~~~~~~~~~~~~~~~~ /var/tmp/work/wm/tvtwm/work/.buildlink/include/X11/Xmu/Drawing.h:115:9: note: passing argument to parameter 'width_return' here 115 | int *width_return, | ^ add_window.c:1167:25: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1167 | &Scr->hilite.width, &Scr->hilite.height, | ^~~~~~~~~~~~~~~~~~~ /var/tmp/work/wm/tvtwm/work/.buildlink/include/X11/Xmu/Drawing.h:116:9: note: passing argument to parameter 'height_return' here 116 | int *height_return, | ^ add_window.c:1098:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | static Window CreateHighlightWindow (tmp_win) | ^ add_window.c:1228:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | void ComputeWindowTitleOffsets (tmp_win, width, squeeze) | ^ In file included from add_window.c:41: ./twm.h:329: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] 329 | void ComputeWindowTitleOffsets(), ComputeTitleLocation(); | ^ --- list.o --- --- add_window.o --- add_window.c:1254:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1254 | void ComputeTitleLocation (tmp) | ^ In file included from add_window.c:41: ./twm.h:329: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] 329 | void ComputeWindowTitleOffsets(), ComputeTitleLocation(); | ^ add_window.c:1305:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | static void CreateWindowTitlebarButtons (tmp_win) | ^ add_window.c:64:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | static void CreateWindowTitlebarButtons(); | ^ add_window.c:1383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | FetchWmProtocols (tmp) | ^ In file included from add_window.c:41: ./twm.h:516:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 516 | extern void FetchWmProtocols(); | ^ add_window.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | CreateTwmColormap(c) | ^ add_window.c:1424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | CreateColormapWindow(w, creating_parent, property_window) | ^ add_window.c:1588: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] 1588 | free_cwins(tmp); | ^ add_window.c:1481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | FetchWmColormapWindows (tmp) | ^ In file included from add_window.c:41: ./twm.h:517:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 517 | extern void FetchWmColormapWindows(); | ^ add_window.c:1611:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1611 | void GetWindowSizeHints (tmp) | ^ In file included from add_window.c:44: ./add_window.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 GetWindowSizeHints(); | ^ add_window.c:1637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | getTWM_FLAGS (w, flags) | ^ 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 getTWM_FLAGS(); | ^ add_window.c:1661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1661 | SetTWM_FLAGS(tmp_win) | ^ In file included from add_window.c:44: ./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 SetTWM_FLAGS(); | ^ --- list.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c list.c --- add_window.o --- 57 warnings generated. --- twm.o --- rm -f twm.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -DXLOADIMAGE=\"/opt/pkg/bin/xloadimage\" -DM4_DEFAULT twm.c --- list.o --- In file included from list.c:43: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ In file included from list.c:46: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | extern void MoveOutline(); | ^ ./twm.h:509:6: note: conflicting prototype is here 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^ In file included from list.c:46: ./util.h:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^ ./twm.h:457:8: note: conflicting prototype is here 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^ In file included from list.c:46: ./util.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 previous declaration [-Wdeprecated-non-prototype] 46 | extern int GetColor(); | ^ ./twm.h:478:5: note: conflicting prototype is here 478 | int GetColor(int kind, Pixel *what, char *name); | ^ list.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | next_entry(list) | ^ list.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | contents_of_entry(list) | ^ list.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | AddToList(list_head, name, type, /* property,*/ ptr) | ^ list.c:110:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 110 | short type; | ^ ./list.h:71:52: note: previous declaration is here 71 | AddToList(name_list **list_head, char *name, short type, char *ptr); | ^ list.c:126:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 125 | fprintf (stderr, "unable to allocate %d bytes for name_list\n", | ~~ | %lu 126 | sizeof(name_list)); | ^~~~~~~~~~~~~~~~~ list.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | printNameList(name, nptr) | ^ list.c:182:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | 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:203: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] 203 | if ((matcher = regcomp(pattern)) == NULL) { | ^ list.c:209: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] 209 | result = regexec(matcher, name, 1); | ^ list.c:213: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] 213 | return regexec(compiled, name, 1); | ^ list.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | MatchName(name, pattern, compiled, type) | ^ list.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | MultiLookInList(list_head, name, class, continuation) | ^ list.c:240: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] 240 | if ((matcher = regcomp(nptr->name)) == NULL) { | ^ list.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | LookInList(list_head, name, class/*, win*/) | ^ list.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | MultiLookInNameList(list_head, name, continuation) | ^ list.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | LookInNameList(list_head, name) | ^ list.c:398:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | int GetColorFromList(list_head, name, class, /*win,*/ ptr) | ^ list.c:427:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | void FreeList(list) | ^ 24 warnings generated. --- parse.o --- rm -f parse.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM '-DSYSTEM_INIT_FILE="'/opt/pkg/lib/X11/twm'/system.tvtwmrc"' parse.c --- twm.o --- In file included from twm.c:146: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ In file included from twm.c:153: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | extern void MoveOutline(); | ^ ./twm.h:509:6: note: conflicting prototype is here 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^ In file included from twm.c:153: ./util.h:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^ ./twm.h:457:8: note: conflicting prototype is here 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^ In file included from twm.c:153: ./util.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 previous declaration [-Wdeprecated-non-prototype] 46 | extern int GetColor(); | ^ ./twm.h:478:5: note: conflicting prototype is here 478 | int GetColor(int kind, Pixel *what, char *name); | ^ In file included from twm.c:163: ./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 previous declaration [-Wdeprecated-non-prototype] 50 | extern void RaiseFrame(); | ^ ./twm.h:507:6: note: conflicting prototype is here 507 | void RaiseFrame(TwmWindow *tmp_win); | ^ In file included from twm.c:163: ./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 previous declaration [-Wdeprecated-non-prototype] 56 | extern void MoveIcon(); | ^ ./twm.h:454:6: note: conflicting prototype is here 454 | void MoveIcon(TwmWindow *tmp_win, int x, int y); | ^ In file included from twm.c:163: ./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 previous declaration [-Wdeprecated-non-prototype] 57 | extern void ResizeVirtual(); | ^ ./twm.h:397:6: note: conflicting prototype is here 397 | void ResizeVirtual(Window window, int width, int height); | ^ In file included from twm.c:163: ./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 previous declaration [-Wdeprecated-non-prototype] 58 | extern Window MakeVirtual(); | ^ ./twm.h:455:8: note: conflicting prototype is here 455 | Window MakeVirtual(TwmWindow *tmp_win, int x, int y, int width, int height, | ^ In file included from twm.c:163: ./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 previous declaration [-Wdeprecated-non-prototype] 65 | extern void ResizeDesktop(); | ^ ./twm.h:508:6: note: conflicting prototype is here 508 | void ResizeDesktop(int width, int height); | ^ twm.c:495: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] 495 | CreateColormapWindow(Scr->Root, True, False); | ^ 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(&UpperLeftCursor, "top_left_corner"); | ^ twm.c:545: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] 545 | NewFontCursor(&RightButt, "rightbutton"); | ^ twm.c:546: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] 546 | NewFontCursor(&LeftButt, "leftbutton"); | ^ twm.c:547: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] 547 | NewFontCursor(&MiddleButt, "middlebutton"); | ^ twm.c:596: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] 596 | if (!ParseTwmrc(InitFile)) { | ^ twm.c:599: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] 599 | ParseStringList(defTwmrc); | ^ twm.c:618: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] 618 | SetRootProperties(Scr->Root); | ^ twm.c:624: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] 624 | MakeVirtualDesktop(Scr->vdtWidth, Scr->vdtHeight); | ^ twm.c:627: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] 627 | SetRootProperties(Scr->VirtualDesktop); | ^ twm.c:665: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] 665 | if (children[i] && MappedNotOverride(children[i])) | ^ twm.c:668: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] 668 | SimulateMapRequest(children[i]); | ^ twm.c:678: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] 678 | MapFrame(Scr->iconmgr.twm_win); | ^ twm.c:249:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | int main(argc, argv, environ) | ^ twm.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 | 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:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | RemoveRootProperties(w) | ^ 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->FrameCursor, "top_left_arrow"); | ^ 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->TitleCursor, "top_left_arrow"); | ^ 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->IconCursor, "top_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->IconMgrCursor, "top_left_arrow"); | ^ 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->MoveCursor, "fleur"); | ^ 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->ResizeCursor, "fleur"); | ^ 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->MenuCursor, "sb_left_arrow"); | ^ twm.c:886: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] 886 | NewFontCursor(&Scr->ButtonCursor, "hand2"); | ^ twm.c:887: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] 887 | NewFontCursor(&Scr->WaitCursor, "watch"); | ^ twm.c:888: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] 888 | NewFontCursor(&Scr->SelectCursor, "dot"); | ^ twm.c:889: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] 889 | NewFontCursor(&Scr->DestroyCursor, "pirate"); | ^ twm.c:1033:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | void RestoreWithdrawnLocation (tmp) | ^ twm.c:1101:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | void Reborder (time) | ^ In file included from twm.c:146: ./twm.h:326:13: warning: a function declaration without a prototype is 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 | extern void Reborder(); | ^ twm.c:1200:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | 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:1217:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | 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 */ | ^ --- parse.o --- In file included from parse.c:45: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ In file included from parse.c:48: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | extern void MoveOutline(); | ^ ./twm.h:509:6: note: conflicting prototype is here 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^ In file included from parse.c:48: ./util.h:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^ ./twm.h:457:8: note: conflicting prototype is here 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^ In file included from parse.c:48: ./util.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 previous declaration [-Wdeprecated-non-prototype] 46 | extern int GetColor(); | ^ ./twm.h:478:5: note: conflicting prototype is here 478 | int GetColor(int kind, Pixel *what, char *name); | ^ In file included from parse.c:52: ./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 previous declaration [-Wdeprecated-non-prototype] 50 | extern void RaiseFrame(); | ^ ./twm.h:507:6: note: conflicting prototype is here 507 | void RaiseFrame(TwmWindow *tmp_win); | ^ In file included from parse.c:52: ./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 previous declaration [-Wdeprecated-non-prototype] 56 | extern void MoveIcon(); | ^ ./twm.h:454:6: note: conflicting prototype is here 454 | void MoveIcon(TwmWindow *tmp_win, int x, int y); | ^ In file included from parse.c:52: ./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 previous declaration [-Wdeprecated-non-prototype] 57 | extern void ResizeVirtual(); | ^ ./twm.h:397:6: note: conflicting prototype is here 397 | void ResizeVirtual(Window window, int width, int height); | ^ In file included from parse.c:52: ./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 previous declaration [-Wdeprecated-non-prototype] 58 | extern Window MakeVirtual(); | ^ ./twm.h:455:8: note: conflicting prototype is here 455 | Window MakeVirtual(TwmWindow *tmp_win, int x, int y, int width, int height, | ^ In file included from parse.c:52: ./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 previous declaration [-Wdeprecated-non-prototype] 65 | extern void ResizeDesktop(); | ^ ./twm.h:508:6: note: conflicting prototype is here 508 | void ResizeDesktop(int width, int height); | ^ parse.c:122:12: 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 int doparse (ifunc, srctypename, srcname) | ^ parse.c:150:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | int ParseMenuFile(filename, menuname) | ^ parse.c:257: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] 257 | twmrc = start_m4(raw); | ^ parse.c:276: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] 276 | return ParseStringList (defTwmrc); | ^ parse.c:171:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | int ParseTwmrc (filename) | ^ In file included from parse.c:50: ./parse.h:42:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | extern int ParseTwmrc(), ParseStringList(); | ^ parse.c:280:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | int ParseStringList (sl) | ^ In file included from parse.c:50: ./parse.h:42: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] 42 | extern int ParseTwmrc(), ParseStringList(); | ^ parse.c:445:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | void twmUnput (c) | ^ parse.c:104: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] 104 | void twmUnput(); | ^ parse.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | TwmOutput(c) | ^ 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 TwmOutput(); | ^ parse.c:871:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | int parse_keyword (s, nump) | ^ parse.c:901:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | int do_single_keyword (keyword) | ^ parse.c:1078: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] 1078 | int state = ParseState(s); | ^ parse.c:1107: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] 1107 | int ppos = ParseUsePPosition (s); | ^ parse.c:1151: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] 1151 | if (Scr->FirstTime) Scr->IconDirectory = ExpandFilename (s); | ^ parse.c:1052:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | int do_string_keyword (keyword, s) | ^ parse.c:1184:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | int do_number_keyword (keyword, num) | ^ parse.c:1265:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | name_list **do_colorlist_keyword (keyword, colormode, s) | ^ parse.c:1326:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | int do_color_keyword (keyword, colormode, s) | ^ parse.c:1383:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | int do_pixmap_keyword(keyword, filename) | ^ parse.c:1431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | put_pixel_on_root(pixel) | ^ parse.c:1457:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1457 | void do_string_savecolor(colormode, s) | ^ parse.c:1473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1473 | do_var_savecolor(key) | ^ parse.c:1540:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1540 | static int ParseUsePPosition (s) | ^ parse.c:86:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static int ParseUsePPosition(); | ^ parse.c:1557:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1557 | static int ParseState (s) | ^ parse.c:87:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static int ParseState(); | ^ --- twm.o --- 45 warnings generated. --- parse.o --- parse.c:1574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1574 | do_squeeze_entry (list, name, matchtype, justify, num, denom) | ^ parse.c:1577:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 1577 | short matchtype; /* match type */ | ^ ./twm.h:448:60: note: previous declaration is here 448 | void do_squeeze_entry (name_list **list, char *name, short icontype, int justify, | ^ parse.c:1610:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1609 | fprintf (stderr, "unable to allocate %d bytes for squeeze info\n", | ~~ | %lu 1610 | sizeof(SqueezeInfo)); | ^~~~~~~~~~~~~~~~~~~ parse.c:1620:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | static FILE *start_m4(fraw) | ^ parse.c:88: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] 88 | static FILE *start_m4(); | ^ parse.c:1679:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1679 | static char *MkDef(name, def) | ^ parse.c:1709:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1709 | char *MkQte(name, def) | ^ parse.c:1716:56: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1716 | fprintf(stderr, "Can't get %d bytes for arg parm\n", 3 + strlen(def)); | ~~ ^~~~~~~~~~~~~~~ | %lu parse.c:1731:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1731 | static char *MkNum(name, def) | ^ parse.c:1754:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1754 | char *m4_defs(display, host) | ^ parse.c:1867: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] 1867 | extern char *strtok(); | ^ --- menus.o --- --- parse.o --- parse.c:1890:27: warning: passing 'int[32]' to parameter of type 'gid_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 1890 | ngids = getgroups(NGIDS, gids); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:460:40: note: passing argument to parameter here 460 | int getgroups(int __gidsetsize, gid_t [_LIBC_COUNT(__gidsetsize)]); | ^ parse.c:1971:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1971 | void def_netmask(tmpf) | ^ --- menus.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c menus.c --- parse.o --- 52 warnings generated. --- events.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c events.c --- menus.o --- In file included from menus.c:184: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ In file included from menus.c:187: ./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 previous declaration [-Wdeprecated-non-prototype] 48 | extern void SetupWindow(); | ^ ./twm.h:468:6: note: conflicting prototype is here 468 | void SetupWindow (TwmWindow *tmp_win, int x, int y, int w, int h, int bw); | ^ In file included from menus.c:187: ./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 previous declaration [-Wdeprecated-non-prototype] 49 | extern void SetupFrame(); | ^ ./twm.h:466:6: note: conflicting prototype is here 466 | void SetupFrame (TwmWindow *tmp_win, int x, int y, int w, int h, int bw, | ^ In file included from menus.c:187: ./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 previous declaration [-Wdeprecated-non-prototype] 50 | extern void SendSyntheticConfigureNotify(); | ^ ./twm.h:465:6: note: conflicting prototype is here 465 | void SendSyntheticConfigureNotify(TwmWindow *tmp_win); | ^ In file included from menus.c:189: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | extern void MoveOutline(); | ^ ./twm.h:509:6: note: conflicting prototype is here 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^ In file included from menus.c:189: ./util.h:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^ ./twm.h:457:8: note: conflicting prototype is here 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^ In file included from menus.c:189: ./util.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 previous declaration [-Wdeprecated-non-prototype] 46 | extern int GetColor(); | ^ ./twm.h:478:5: note: conflicting prototype is here 478 | int GetColor(int kind, Pixel *what, char *name); | ^ In file included from menus.c:196: ./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 previous declaration [-Wdeprecated-non-prototype] 50 | extern void RaiseFrame(); | ^ ./twm.h:507:6: note: conflicting prototype is here 507 | void RaiseFrame(TwmWindow *tmp_win); | ^ In file included from menus.c:196: ./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 previous declaration [-Wdeprecated-non-prototype] 56 | extern void MoveIcon(); | ^ ./twm.h:454:6: note: conflicting prototype is here 454 | void MoveIcon(TwmWindow *tmp_win, int x, int y); | ^ In file included from menus.c:196: ./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 previous declaration [-Wdeprecated-non-prototype] 57 | extern void ResizeVirtual(); | ^ ./twm.h:397:6: note: conflicting prototype is here 397 | void ResizeVirtual(Window window, int width, int height); | ^ In file included from menus.c:196: ./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 previous declaration [-Wdeprecated-non-prototype] 58 | extern Window MakeVirtual(); | ^ ./twm.h:455:8: note: conflicting prototype is here 455 | Window MakeVirtual(TwmWindow *tmp_win, int x, int y, int width, int height, | ^ In file included from menus.c:196: ./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 previous declaration [-Wdeprecated-non-prototype] 65 | extern void ResizeDesktop(); | ^ ./twm.h:508:6: note: conflicting prototype is here 508 | void ResizeDesktop(int width, int height); | ^ menus.c:306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | Bool AddFuncKey (name, cont, mods, func, win_name, action) | ^ menus.c:356:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | int CreateTitleButton (name, func, action, menuroot, rightside, append) | ^ menus.c:369:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 368 | "%s: unable to allocate %d bytes for title button\n", | ~~ | %lu 369 | ProgramName, sizeof(TitleButton)); | ^~~~~~~~~~~~~~~~~~~ menus.c:489:24: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 489 | tb->name, NULL, 0, &tb->width, &tb->height, | ^~~~~~~~~~ /var/tmp/work/wm/tvtwm/work/.buildlink/include/X11/Xmu/Drawing.h:115:9: note: passing argument to parameter 'width_return' here 115 | int *width_return, | ^ menus.c:489:36: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 489 | tb->name, NULL, 0, &tb->width, &tb->height, | ^~~~~~~~~~~ /var/tmp/work/wm/tvtwm/work/.buildlink/include/X11/Xmu/Drawing.h:116:9: note: passing argument to parameter 'height_return' here 116 | int *height_return, | ^ menus.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 PaintEntry(mr, mi, exposure) | ^ menus.c:621: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] 621 | Scr->pullrightPm.pm = CreateMenuIcon(Scr->MenuFont.height, | ^ menus.c:692:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | void PaintMenu(mr, e) | ^ menus.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | NewMenuRoot(name) | ^ menus.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | AddToMenu(menu, item, action, sub, func, fore, back) | ^ menus.c:1092:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | void MakeMenu(mr) | ^ menus.c:1386: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] 1386 | if (((*compar)(sortlist[loop-1]->name,bakwin->name))>0) | ^ menus.c:1410: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] 1410 | if ((*compar)(tmp_win2->name,WindowNames[i]->name) < 0) | ^ menus.c:1345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | HandleChangingMenus(menu) | ^ menus.c:1455:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | Bool PopUpMenu (menu, x, y, center) | ^ menus.c:1586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1586 | FindMenuRoot(name) | ^ menus.c:1601:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1601 | static Bool belongs_to_twm_window (t, w) | ^ menus.c:1639:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | void resizeFromCenter(w, tmp_win) | ^ menus.c:1742: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] 1742 | Reborder (time); | ^ menus.c:1738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1738 | RestartTwm(time) | ^ menus.c:1791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1791 | GetDefaultAction(menu) | ^ menus.c:1816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1816 | ExecuteFunction(func, action, sub, w, tmp_win, eventp, context, pulldown) | ^ menus.c:1896: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] 1896 | tmp_win = AddWindow(Scr->Panner, FALSE, NULL); | ^ menus.c:1898: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] 1898 | UnmapFrame(tmp_win); | ^ menus.c:1905: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] 1905 | MapFrame(tmp_win); | ^ menus.c:1919: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] 1919 | ScrollDesktop(func, action); | ^ menus.c:1936: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] 1936 | MoveIconManager(func); | ^ menus.c:1941: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] 1941 | JumpIconManager(func); | ^ menus.c:1990: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] 1990 | SetTWM_FLAGS(tmp_win); | ^ menus.c:2013: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] 2013 | SetTWM_FLAGS(tmp_win); | ^ menus.c:2029: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] 2029 | SortIconManager((IconMgr *) NULL); | ^ menus.c:2031: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] 2031 | SortIconManager(tmp_win->iconmgrp); | ^ menus.c:2043: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] 2043 | Identify(tmp_win); | ^ menus.c:2047: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] 2047 | Identify ((TwmWindow *) NULL); | ^ menus.c:2113: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] 2113 | StartResize (eventp, tmp_win, fromtitlebar); | ^ menus.c:2116: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] 2116 | StartResize (eventp, tmp_win, fromtitlebar); | ^ menus.c:2157: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] 2157 | fullzoom(tmp_win, func); | ^ menus.c:2581: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] 2581 | RaiseIcon(tmp_win); | ^ menus.c:2592: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] 2592 | LowerIcon(tmp_win); | ^ menus.c:2594: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] 2594 | LowerFrame(tmp_win); | ^ menus.c:2633: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] 2633 | UnmapFrame(tmp_win); | ^ menus.c:2659: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] 2659 | UnmapFrame(tmp_win); | ^ menus.c:2756: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] 2756 | ptr = ExpandFilename(tmp); | ^ menus.c:2899: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] 2899 | action = ExpandFilename(action); | ^ menus.c:2985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2985 | DeferExecution(context, func, action, cursor) | ^ menus.c:3040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3040 | Deferrable(func) | ^ menus.c:3074:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3074 | Bool NeedToDefer(root) | ^ menus.c:3099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3099 | Execute(s, tmp_win) | ^ menus.c:3190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3190 | void DeIconify(tmp_win) | ^ menus.c:3199: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] 3199 | Zoom(tmp_win->icon.w, tmp_win->frame); | ^ menus.c:3206: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] 3206 | Zoom(t->icon.w, tmp_win->frame); | ^ menus.c:3217: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] 3217 | MapFrame(tmp_win); | ^ menus.c:3221: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] 3221 | UnmapIcon(tmp_win); | ^ menus.c:3240: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] 3240 | Zoom(t->icon.w, t->frame); | ^ menus.c:3242: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] 3242 | Zoom(tmp_win->icon.w, t->frame); | ^ menus.c:3247: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] 3247 | MapFrame(t); | ^ menus.c:3251: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] 3251 | UnmapIcon(t); | ^ menus.c:3265:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3265 | void Iconify(tmp_win, def_x, def_y) | ^ menus.c:3281: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] 3281 | MapIcon(tmp_win); | ^ menus.c:3297: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] 3297 | Zoom(t->icon.w, tmp_win->icon.w); | ^ menus.c:3299: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] 3299 | Zoom(t->frame, tmp_win->icon.w); | ^ menus.c:3308: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] 3308 | UnmapFrame(t); | ^ menus.c:3311: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] 3311 | UnmapIcon(t); | ^ menus.c:3327: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] 3327 | Zoom(tmp_win->frame, tmp_win->icon.w); | ^ menus.c:3335: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] 3335 | UnmapFrame(tmp_win); | ^ menus.c:3391: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] 3391 | if ((s = GetPropertyString(t->w, XA_WM_CLIENT_MACHINE)) != NULL) | ^ menus.c:3356:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3356 | static void Identify (t) | ^ menus.c:237:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 237 | static void Identify(); | ^ menus.c:3472:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3472 | void SetMapStateProp(tmp_win, state) | ^ menus.c:3488:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3488 | 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:3516:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3516 | void WarpToScreen (n, inc) | ^ menus.c:3560:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3560 | void BumpWindowColormap (tmp, inc) | ^ menus.c:3609: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] 3609 | UnmapFrame(Scr->iconmgr.twm_win); | ^ menus.c:3611: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] 3611 | UnmapIcon(Scr->iconmgr.twm_win); | ^ menus.c:3618:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3618 | void SetBorder (tmp, onoroff) | ^ menus.c:3637:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3637 | void DestroyMenu (menu) | ^ menus.c:3661:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3661 | void WarpAlongRing (ev, forward) | ^ menus.c:3708:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3708 | void WarpToWindow (t) | ^ menus.c:3719: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] 3719 | if (t->auto_raise || !Scr->NoRaiseWarp) AutoRaiseWindow (t); | ^ menus.c:3743:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3743 | static void send_clientmessage (w, a, timestamp) | ^ menus.c:3759:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3759 | void SendDeleteWindowMessage (tmp, timestamp) | ^ menus.c:3766:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3766 | void SendSaveYourselfMessage (tmp, timestamp) | ^ menus.c:3774:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3774 | void SendTakeFocusMessage (tmp, timestamp) | ^ --- events.o --- In file included from events.c:123: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ In file included from events.c:128: ./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 previous declaration [-Wdeprecated-non-prototype] 48 | extern void SetupWindow(); | ^ ./twm.h:468:6: note: conflicting prototype is here 468 | void SetupWindow (TwmWindow *tmp_win, int x, int y, int w, int h, int bw); | ^ In file included from events.c:128: ./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 previous declaration [-Wdeprecated-non-prototype] 49 | extern void SetupFrame(); | ^ ./twm.h:466:6: note: conflicting prototype is here 466 | void SetupFrame (TwmWindow *tmp_win, int x, int y, int w, int h, int bw, | ^ In file included from events.c:128: ./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 previous declaration [-Wdeprecated-non-prototype] 50 | extern void SendSyntheticConfigureNotify(); | ^ ./twm.h:465:6: note: conflicting prototype is here 465 | void SendSyntheticConfigureNotify(TwmWindow *tmp_win); | ^ In file included from events.c:131: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | extern void MoveOutline(); | ^ ./twm.h:509:6: note: conflicting prototype is here 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^ In file included from events.c:131: ./util.h:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^ ./twm.h:457:8: note: conflicting prototype is here 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^ In file included from events.c:131: ./util.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 previous declaration [-Wdeprecated-non-prototype] 46 | extern int GetColor(); | ^ ./twm.h:478:5: note: conflicting prototype is here 478 | int GetColor(int kind, Pixel *what, char *name); | ^ In file included from events.c:135: ./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 previous declaration [-Wdeprecated-non-prototype] 50 | extern void RaiseFrame(); | ^ ./twm.h:507:6: note: conflicting prototype is here 507 | void RaiseFrame(TwmWindow *tmp_win); | ^ In file included from events.c:135: ./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 previous declaration [-Wdeprecated-non-prototype] 56 | extern void MoveIcon(); | ^ ./twm.h:454:6: note: conflicting prototype is here 454 | void MoveIcon(TwmWindow *tmp_win, int x, int y); | ^ In file included from events.c:135: ./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 previous declaration [-Wdeprecated-non-prototype] 57 | extern void ResizeVirtual(); | ^ ./twm.h:397:6: note: conflicting prototype is here 397 | void ResizeVirtual(Window window, int width, int height); | ^ In file included from events.c:135: ./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 previous declaration [-Wdeprecated-non-prototype] 58 | extern Window MakeVirtual(); | ^ ./twm.h:455:8: note: conflicting prototype is here 455 | Window MakeVirtual(TwmWindow *tmp_win, int x, int y, int width, int height, | ^ In file included from events.c:135: ./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 previous declaration [-Wdeprecated-non-prototype] 65 | extern void ResizeDesktop(); | ^ ./twm.h:508:6: note: conflicting prototype is here 508 | void ResizeDesktop(int width, int height); | ^ events.c:187:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | 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:197:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | void SetRaiseWindow (tmp) | ^ events.c:259:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | 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:301:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | Window WindowOfEvent (e) | ^ events.c:371: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] 371 | Scr = FindScreenInfo (WindowOfEvent (&Event)); | ^ events.c:404: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] 404 | Scr = FindScreenInfo (WindowOfEvent (&Event)); | ^ events.c:478: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] 478 | cwin->colormap = CreateTwmColormap(cevent->colormap); | ^ events.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | LastFocusEvent(w, first) | ^ events.c:700: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] 700 | ActiveIconManager(Tmp_win->list); | ^ events.c:686:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | /* ARGSUSED */ HandleFocusIn(event) | ^ events.c:729: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] 729 | NotActiveIconManager(Tmp_win->list); | ^ events.c:717:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | /* ARGSUSED */ HandleFocusOut(event) | ^ events.c:745:17: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XFocusInEvent *' (aka 'XFocusChangeEvent *') [-Wincompatible-pointer-types] 745 | HandleFocusIn(event); | ^~~~~ events.c:747:22: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XFocusOutEvent *' (aka 'XFocusChangeEvent *') [-Wincompatible-pointer-types] 747 | HandleFocusOut(event); | ^~~~~ events.c:753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | SynthesizeFocusOut(w) | ^ events.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | SynthesizeFocusIn(w) | ^ events.c:911:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | static void free_window_names (tmp, nukefull, nukename, nukeicon) | ^ events.c:932:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | void free_cwins (tmp) | ^ events.c:1027: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] 1027 | if (Tmp_win->virtualWindow) PaintVirtualWindow(Tmp_win); | ^ events.c:1073: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] 1073 | ConfigureIconWindows(Tmp_win); | ^ events.c:1074: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] 1074 | ShapeIconWindows(Tmp_win); | ^ events.c:1103: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] 1103 | GetWindowSizeHints (Tmp_win); | ^ events.c:1140: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] 1140 | SortIconManager(Tmp_win->list->iconmgr); | ^ events.c:1148: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] 1148 | ConfigureIconWindows(Tmp_win); | ^ events.c:1149: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] 1149 | ShapeIconWindows(Tmp_win); | ^ events.c:1189: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] 1189 | RestartTwm(CurrentTime); | ^ events.c:1211: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] 1211 | HandlePannerExpose(&Event); | ^ events.c:1238: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] 1238 | flush_expose (Event.xany.window); | ^ events.c:1244: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] 1244 | PaintVirtualWindow(Tmp_win); | ^ events.c:1245: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] 1245 | flush_expose (Event.xany.window); | ^ events.c:1255: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] 1255 | flush_expose (Event.xany.window); | ^ events.c:1271: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] 1271 | flush_expose (Event.xany.window); | ^ events.c:1331: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] 1331 | flush_expose (Event.xany.window); | ^ events.c:1359: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] 1359 | flush_expose (w); | ^ events.c:1372: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] 1372 | DrawIconManagerBorder(Tmp_win->list); | ^ events.c:1373: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] 1373 | flush_expose (Event.xany.window); | ^ events.c:1385: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] 1385 | flush_expose (Event.xany.window); | ^ events.c:1394:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1394 | static void remove_window_from_ring (tmp) | ^ events.c:1510: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] 1510 | RemoveIconManager(Tmp_win); /* 7 */ | ^ events.c:1617: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] 1617 | Tmp_win = AddWindow(Event.xany.window, FALSE, (IconMgr *) NULL); | ^ events.c:1629: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] 1629 | (void) AddIconManager (Tmp_win); | ^ events.c:1640: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] 1640 | if (!(RestartPreviousState && GetWMState(Tmp_win->w, &state, &icon) && | ^ events.c:1650: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] 1650 | MapFrame(Tmp_win); | ^ events.c:1673:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1673 | 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:1704: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] 1704 | UnmapIcon(Tmp_win); | ^ events.c:1711: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] 1711 | MapFrame(Tmp_win); | ^ events.c:1806: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] 1806 | HandlePannerMotionNotify(&Event); | ^ events.c:1824: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] 1824 | DoResize(Event.xmotion.x_root, Event.xmotion.y_root, Tmp_win); | ^ events.c:1864: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] 1864 | HandlePannerButtonRelease(&Event); | ^ events.c:2043: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] 2043 | if (Scr->Highlight) DrawIconManagerBorder(DownIconManager); | ^ events.c:2052:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2052 | static void do_menu (menu, w) | ^ events.c:2119: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] 2119 | HandlePannerButtonPress(&Event); | ^ events.c:2258: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] 2258 | if (Scr->Highlight) DrawIconManagerBorder(Tmp_win->list); | ^ events.c:2404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2404 | HENQueueScanner(dpy, ev, args) | ^ events.c:2595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2595 | HLNQueueScanner(dpy, ev, args) | ^ events.c:2885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2885 | Transient(w, propw) | ^ events.c:2908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2908 | 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:2929:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2929 | static void flush_expose (w) | ^ events.c:1203:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1203 | static void flush_expose(); | ^ events.c:2953:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2953 | void InstallWindowColormaps (type, tmp) | ^ events.c:3091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3091 | UninstallRootColormapQScanner(dpy, ev, args) | ^ --- menus.o --- 97 warnings generated. --- resize.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c resize.c --- events.o --- 78 warnings generated. --- util.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c util.c --- resize.o --- In file included from resize.c:86: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ In file included from resize.c:88: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | extern void MoveOutline(); | ^ ./twm.h:509:6: note: conflicting prototype is here 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^ In file included from resize.c:88: ./util.h:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^ ./twm.h:457:8: note: conflicting prototype is here 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^ In file included from resize.c:88: ./util.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 previous declaration [-Wdeprecated-non-prototype] 46 | extern int GetColor(); | ^ ./twm.h:478:5: note: conflicting prototype is here 478 | int GetColor(int kind, Pixel *what, char *name); | ^ 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 previous declaration [-Wdeprecated-non-prototype] 48 | extern void SetupWindow(); | ^ ./twm.h:468:6: note: conflicting prototype is here 468 | void SetupWindow (TwmWindow *tmp_win, int x, int y, int w, int h, int bw); | ^ 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 previous declaration [-Wdeprecated-non-prototype] 49 | extern void SetupFrame(); | ^ ./twm.h:466:6: note: conflicting prototype is here 466 | void SetupFrame (TwmWindow *tmp_win, int x, int y, int w, int h, int bw, | ^ 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 previous declaration [-Wdeprecated-non-prototype] 50 | extern void SendSyntheticConfigureNotify(); | ^ ./twm.h:465:6: note: conflicting prototype is here 465 | void SendSyntheticConfigureNotify(TwmWindow *tmp_win); | ^ resize.c:123:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | static void do_auto_clamp (tmp_win, evp) | ^ resize.c:234: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] 234 | DisplaySize(tmp_win, origWidth, origHeight); | ^ resize.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | StartResize(evp, tmp_win, fromtitlebar) | ^ 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 StartResize(); | ^ resize.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | MenuDoResize(x_root, y_root, tmp_win) | ^ resize.c:347: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] 347 | DisplaySize(tmp_win, dragWidth, dragHeight); | ^ resize.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | MenuStartResize(tmp_win, x, y, w, h) | ^ resize.c:385: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] 385 | DisplaySize(tmp_win, origWidth, origHeight); | ^ resize.c:439: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] 439 | DisplaySize(tmp_win, origWidth, origHeight); | ^ resize.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | 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:571: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] 571 | DisplaySize(tmp_win, dragWidth, dragHeight); | ^ resize.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | DoResize(x_root, y_root, tmp_win) | ^ 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 DoResize(); | ^ resize.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | DisplaySize(tmp_win, width, height) | ^ 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 DisplaySize(); | ^ resize.c:679: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] 679 | PackIconManager(tmp_win->iconmgrp); | ^ resize.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | MenuEndResize(tmp_win) | ^ resize.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | AddEndResize(tmp_win) | ^ In file included from resize.c:89: ./resize.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 AddEndResize(); | ^ resize.c:741:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | void ConstrainSize (tmp_win, widthp, heightp) | ^ 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: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 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: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: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 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: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 SendSyntheticConfigureNotify(); | ^ 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: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 fullzoom(); | ^ 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) | ^ 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); | ^ --- util.o --- In file included from util.c:39: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ 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 previous declaration [-Wdeprecated-non-prototype] 43 | extern void MoveOutline(); | ^ ./twm.h:509:6: note: conflicting prototype is here 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^ In file included from util.c:40: ./util.h:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^ ./twm.h:457:8: note: conflicting prototype is here 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^ In file included from util.c:40: ./util.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 previous declaration [-Wdeprecated-non-prototype] 46 | extern int GetColor(); | ^ ./twm.h:478:5: note: conflicting prototype is here 478 | int GetColor(int kind, Pixel *what, char *name); | ^ 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:270:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 269 | "%s: unable to allocate %d bytes to expand filename %s/%s\n", | ~~ | %lu 270 | ProgramName, HomeLen + strlen(name) + 2, Home, &name[1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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 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(); | ^ /var/tmp/work/wm/tvtwm/work/.buildlink/include/X11/Xmu/CharSet.h:51:5: note: conflicting prototype is here 51 | int XmuCompareISOLatin1 | ^ util.c:367: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] 367 | return (*pmtab[i].proc) (widthp, heightp); | ^ util.c:380:32: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 380 | return GetCursorGlyph(name+1, widthp, heightp, shape_mask); | ^~~~~~ ./twm.h:406:40: note: passing argument to parameter 'widthp' here 406 | Pixmap GetCursorGlyph(char *name, int *widthp, int *heightp, | ^ util.c:380:40: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 380 | return GetCursorGlyph(name+1, widthp, heightp, shape_mask); | ^~~~~~~ ./twm.h:406:53: note: passing argument to parameter 'heightp' here 406 | Pixmap GetCursorGlyph(char *name, int *widthp, int *heightp, | ^ util.c:406:28: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 406 | Scr->d_depth, NULL, 0, widthp, heightp, &HotX, &HotY, | ^~~~~~ ./twm.h:402:14: note: passing argument to parameter 'widthp' here 402 | int *widthp, int *heightp, int *xhotp, int *yhotp, | ^ util.c:406:36: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 406 | Scr->d_depth, NULL, 0, widthp, heightp, &HotX, &HotY, | ^~~~~~~ ./twm.h:402:27: note: passing argument to parameter 'heightp' here 402 | int *widthp, int *heightp, int *xhotp, int *yhotp, | ^ util.c:310:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | Pixmap FindPixmap (name, widthp, heightp, isXpm, bg_color, colors, | ^ In file included from util.c:40: ./util.h:44: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] 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^ util.c:492:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | Pixmap GetPixmap (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 Pixmap GetPixmap(), FindPixmap(); | ^ util.c:500:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | void InsertRGBColormap (a, maps, nmaps, replace) | ^ util.c:518:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 517 | fprintf (stderr, "%s: unable to allocate %d bytes for StdCmap\n", | ~~ | %lu 518 | ProgramName, sizeof (StdCmap)); | ^~~~~~~~~~~~~~~~ util.c:542:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | void RemoveRGBColormap (a) | ^ util.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | GetColor(kind, what, name) | ^ In file included from util.c:40: ./util.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 GetColor(); | ^ util.c:659:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | void GetFont(font) | ^ util.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 | SetFocus (tmp_win, time) | ^ util.c:775:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | 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:810:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | 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:865:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | 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:896:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | 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:917:20: warning: passing arguments to 'CreateMenuIcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | CreateMenuIcon (Scr->TBInfo.width - Scr->TBInfo.border * 2,widthp,heightp); | ^ util.c:914:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | 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:921:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | Pixmap CreateMenuIcon (height, widthp, heightp) | ^ In file included from util.c:39: ./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 CreateMenuIcon(); | ^ util.c:1010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | GetPropertyString(win, atom) | ^ In file included from util.c:40: ./util.h:47: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] 47 | extern char *GetPropertyString(); | ^ --- resize.o --- 40 warnings generated. --- version.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c version.c --- util.o --- 44 warnings generated. --- iconmgr.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c iconmgr.c --- cursor.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c cursor.c --- iconmgr.o --- In file included from iconmgr.c:33: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ In file included from iconmgr.c:34: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | extern void MoveOutline(); | ^ ./twm.h:509:6: note: conflicting prototype is here 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^ In file included from iconmgr.c:34: ./util.h:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^ ./twm.h:457:8: note: conflicting prototype is here 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^ In file included from iconmgr.c:34: ./util.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 previous declaration [-Wdeprecated-non-prototype] 46 | extern int GetColor(); | ^ ./twm.h:478:5: note: conflicting prototype is here 478 | int GetColor(int kind, Pixel *what, char *name); | ^ In file included from iconmgr.c:37: ./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 previous declaration [-Wdeprecated-non-prototype] 48 | extern void SetupWindow(); | ^ ./twm.h:468:6: note: conflicting prototype is here 468 | void SetupWindow (TwmWindow *tmp_win, int x, int y, int w, int h, int bw); | ^ In file included from iconmgr.c:37: ./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 previous declaration [-Wdeprecated-non-prototype] 49 | extern void SetupFrame(); | ^ ./twm.h:466:6: note: conflicting prototype is here 466 | void SetupFrame (TwmWindow *tmp_win, int x, int y, int w, int h, int bw, | ^ In file included from iconmgr.c:37: ./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 previous declaration [-Wdeprecated-non-prototype] 50 | extern void SendSyntheticConfigureNotify(); | ^ ./twm.h:465:6: note: conflicting prototype is here 465 | void SendSyntheticConfigureNotify(TwmWindow *tmp_win); | ^ In file included from iconmgr.c:40: ./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 previous declaration [-Wdeprecated-non-prototype] 50 | extern void RaiseFrame(); | ^ ./twm.h:507:6: note: conflicting prototype is here 507 | void RaiseFrame(TwmWindow *tmp_win); | ^ In file included from iconmgr.c:40: ./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 previous declaration [-Wdeprecated-non-prototype] 56 | extern void MoveIcon(); | ^ ./twm.h:454:6: note: conflicting prototype is here 454 | void MoveIcon(TwmWindow *tmp_win, int x, int y); | ^ In file included from iconmgr.c:40: ./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 previous declaration [-Wdeprecated-non-prototype] 57 | extern void ResizeVirtual(); | ^ ./twm.h:397:6: note: conflicting prototype is here 397 | void ResizeVirtual(Window window, int width, int height); | ^ In file included from iconmgr.c:40: ./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 previous declaration [-Wdeprecated-non-prototype] 58 | extern Window MakeVirtual(); | ^ ./twm.h:455:8: note: conflicting prototype is here 455 | Window MakeVirtual(TwmWindow *tmp_win, int x, int y, int width, int height, | ^ In file included from iconmgr.c:40: ./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 previous declaration [-Wdeprecated-non-prototype] 65 | extern void ResizeDesktop(); | ^ ./twm.h:508:6: note: conflicting prototype is here 508 | void ResizeDesktop(int width, int height); | ^ 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: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: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: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: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: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: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(); | ^ --- cursor.o --- In file included from cursor.c:33: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ In file included from cursor.c:36: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | extern void MoveOutline(); | ^ ./twm.h:509:6: note: conflicting prototype is here 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^ In file included from cursor.c:36: ./util.h:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^ ./twm.h:457:8: note: conflicting prototype is here 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^ In file included from cursor.c:36: ./util.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 previous declaration [-Wdeprecated-non-prototype] 46 | extern int GetColor(); | ^ ./twm.h:478:5: note: conflicting prototype is here 478 | int GetColor(int kind, Pixel *what, char *name); | ^ 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:369:13: warning: a function declaration without a prototype is 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 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) | ^ 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) | ^ 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); | ^ --- iconmgr.o --- 50 warnings generated. --- icons.o --- --- cursor.o --- 11 warnings generated. --- icons.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c icons.c --- vdt.o --- rm -f vdt.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -DXLOADIMAGE=\"/opt/pkg/bin/xloadimage\" vdt.c --- icons.o --- In file included from icons.c:120: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ In file included from icons.c:125: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | extern void MoveOutline(); | ^ ./twm.h:509:6: note: conflicting prototype is here 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^ In file included from icons.c:125: ./util.h:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^ ./twm.h:457:8: note: conflicting prototype is here 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^ In file included from icons.c:125: ./util.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 previous declaration [-Wdeprecated-non-prototype] 46 | extern int GetColor(); | ^ ./twm.h:478:5: note: conflicting prototype is here 478 | int GetColor(int kind, Pixel *what, char *name); | ^ icons.c:139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | void splitEntry (ie, grav1, grav2, w, h) | ^ icons.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | roundUp (v, multiple) | ^ icons.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | PlaceIcon(tmp_win, def_x, def_y, final_x, final_y) | ^ icons.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | FindIconEntry (tmp_win, irp) | ^ icons.c:273:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | void IconUp (tmp_win) | ^ icons.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 | prevIconEntry (ie, ir) | ^ icons.c:341:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | void mergeEntries (old, ie) | ^ icons.c:355:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | void IconDown (tmp_win) | ^ 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, icontype, geom, itterate, grav1, grav2, stepx, stepy) | ^ icons.c:394:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 394 | short icontype; | ^ ./twm.h:444:38: note: previous declaration is here 444 | void AddIconRegion(char *name, short type, char *geom, Bool iterate, | ^ icons.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 | AddOneIconRegion(name, type, x, y, w, h, grav1, grav2, stepx, stepy) | ^ icons.c:433:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 433 | short type; | ^ icons.c:128:36: note: previous declaration is here 128 | AddOneIconRegion(char *name, short type, int x, int y, int w, int h, | ^ icons.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | pm_n_mask_to_pm(pm, mask, depth, | ^ icons.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | CreateIconImage(tmp_win, parent, name, | ^ icons.c:756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | CreateSuppliedImage(tmp_win, parent, | ^ 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: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: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:1230:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | void CreateIconWindow(tmp_win, def_x, def_y) | ^ icons.c:1247:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | void DestroyIconWindow(tmp_win) | ^ --- vdt.o --- In file included from vdt.c:146: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ In file included from vdt.c:148: ./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 previous declaration [-Wdeprecated-non-prototype] 50 | extern void RaiseFrame(); | ^ ./twm.h:507:6: note: conflicting prototype is here 507 | void RaiseFrame(TwmWindow *tmp_win); | ^ In file included from vdt.c:148: ./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 previous declaration [-Wdeprecated-non-prototype] 56 | extern void MoveIcon(); | ^ ./twm.h:454:6: note: conflicting prototype is here 454 | void MoveIcon(TwmWindow *tmp_win, int x, int y); | ^ In file included from vdt.c:148: ./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 previous declaration [-Wdeprecated-non-prototype] 57 | extern void ResizeVirtual(); | ^ ./twm.h:397:6: note: conflicting prototype is here 397 | void ResizeVirtual(Window window, int width, int height); | ^ In file included from vdt.c:148: ./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 previous declaration [-Wdeprecated-non-prototype] 58 | extern Window MakeVirtual(); | ^ ./twm.h:455:8: note: conflicting prototype is here 455 | Window MakeVirtual(TwmWindow *tmp_win, int x, int y, int width, int height, | ^ In file included from vdt.c:148: ./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 previous declaration [-Wdeprecated-non-prototype] 65 | extern void ResizeDesktop(); | ^ ./twm.h:508:6: note: conflicting prototype is here 508 | void ResizeDesktop(int width, int height); | ^ In file included from vdt.c:150: ./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 previous declaration [-Wdeprecated-non-prototype] 42 | void DragFrame(); | ^ ./twm.h:491:6: note: conflicting prototype is here 491 | void DragFrame(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown); | ^ In file included from vdt.c:150: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | void DragIcon(); | ^ ./twm.h:490:6: note: conflicting prototype is here 490 | void DragIcon(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown); | ^ In file included from vdt.c:150: ./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 previous declaration [-Wdeprecated-non-prototype] 45 | void RelativeMove(); | ^ ./twm.h:421:6: note: conflicting prototype is here 421 | void RelativeMove(TwmWindow *win, char *geom); | ^ vdt.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | SetSWM_ROOT(tmp_win) | ^ vdt.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | MakeVirtual(tmp_win, x, y, width, height, background, border) | ^ In file included from vdt.c:148: ./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:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | ResizeVirtual(window, width, height) | ^ In file included from vdt.c:148: ./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:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | MapFrame(tmp_win) | ^ In file included from vdt.c:148: ./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:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | UnmapFrame(tmp_win) | ^ In file included from vdt.c:148: ./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: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 | RaiseFrame(tmp_win) | ^ In file included from vdt.c:148: ./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:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | LowerFrame(tmp_win) | ^ In file included from vdt.c:148: ./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:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | MapIcon(tmp_win) | ^ In file included from vdt.c:148: ./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:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | UnmapIcon(tmp_win) | ^ In file included from vdt.c:148: ./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:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | RaiseIcon(tmp_win) | ^ In file included from vdt.c:148: ./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:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | LowerIcon(tmp_win) | ^ In file included from vdt.c:148: ./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:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | MoveIcon(tmp_win, x, y) | ^ In file included from vdt.c:148: ./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:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | MakeVirtualDesktop(width, height) | ^ In file included from vdt.c:148: ./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:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | HandlePannerExpose(ev) | ^ In file included from vdt.c:148: ./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: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 | HandlePannerButtonPress(ev) | ^ In file included from vdt.c:148: ./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:867: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] 867 | MoveDesktop(xx, yy); | ^ vdt.c:870: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] 870 | MoveDesktop(Scr->PannerOutlineX*Scr->PannerScale, | ^ vdt.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | HandlePannerButtonRelease(ev) | ^ In file included from vdt.c:148: ./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:876:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | static int TRUNCATE(pos, grid) | ^ vdt.c:950: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] 950 | MoveDesktop(xx, yy); | ^ vdt.c:953: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] 953 | MoveDesktop(Scr->PannerOutlineX*Scr->PannerScale, | ^ vdt.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | HandlePannerMotionNotify(ev) | ^ In file included from vdt.c:148: ./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:972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | MoveDesktop(x, y) | ^ In file included from vdt.c:148: ./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 MoveDesktop(); | ^ vdt.c:1051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | ScrollDesktop(func, pos) | ^ In file included from vdt.c:148: ./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 ScrollDesktop(); | ^ vdt.c:1135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | ResizeDesktop(width, height) | ^ In file included from vdt.c:148: ./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 ResizeDesktop(); | ^ vdt.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | HandlePannerMove(ev, tmp_win) | ^ vdt.c:1205: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] 1205 | StartMove(tmp_win, ev->window, tmp_win->title_height, | ^ vdt.c:1235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1235 | ScrollTo(tmp_win) | ^ In file included from vdt.c:148: ./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 ScrollTo(); | ^ vdt.c:1281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | ScrollToQuadrant(tmp_win) | ^ vdt.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | PaintVirtualWindow(tmp_win) | ^ In file included from vdt.c:148: ./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 PaintVirtualWindow(); | ^ --- icons.o --- 26 warnings generated. --- move.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c move.c --- vdt.o --- 61 warnings generated. --- LocPixmap.o --- rm -f LocPixmap.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM '-DBITMAPDIR="/opt/pkg/include/X11/bitmaps"' LocPixmap.c --- move.o --- In file included from move.c:40: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ In file included from move.c:42: ./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 previous declaration [-Wdeprecated-non-prototype] 50 | extern void RaiseFrame(); | ^ ./twm.h:507:6: note: conflicting prototype is here 507 | void RaiseFrame(TwmWindow *tmp_win); | ^ In file included from move.c:42: ./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 previous declaration [-Wdeprecated-non-prototype] 56 | extern void MoveIcon(); | ^ ./twm.h:454:6: note: conflicting prototype is here 454 | void MoveIcon(TwmWindow *tmp_win, int x, int y); | ^ In file included from move.c:42: ./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 previous declaration [-Wdeprecated-non-prototype] 57 | extern void ResizeVirtual(); | ^ ./twm.h:397:6: note: conflicting prototype is here 397 | void ResizeVirtual(Window window, int width, int height); | ^ In file included from move.c:42: ./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 previous declaration [-Wdeprecated-non-prototype] 58 | extern Window MakeVirtual(); | ^ ./twm.h:455:8: note: conflicting prototype is here 455 | Window MakeVirtual(TwmWindow *tmp_win, int x, int y, int width, int height, | ^ In file included from move.c:42: ./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 previous declaration [-Wdeprecated-non-prototype] 65 | extern void ResizeDesktop(); | ^ ./twm.h:508:6: note: conflicting prototype is here 508 | void ResizeDesktop(int width, int height); | ^ In file included from move.c:43: ./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 previous declaration [-Wdeprecated-non-prototype] 42 | void DragFrame(); | ^ ./twm.h:491:6: note: conflicting prototype is here 491 | void DragFrame(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown); | ^ In file included from move.c:43: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | void DragIcon(); | ^ ./twm.h:490:6: note: conflicting prototype is here 490 | void DragIcon(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown); | ^ In file included from move.c:43: ./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 previous declaration [-Wdeprecated-non-prototype] 45 | void RelativeMove(); | ^ ./twm.h:421:6: note: conflicting prototype is here 421 | void RelativeMove(TwmWindow *win, char *geom); | ^ move.c:93: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] 93 | StartMove(tmp_win, tmp_win->frame, tmp_win->title_height, | ^ move.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | DragFrame(tmp_win, ev, pulldown) | ^ In file included from move.c:43: ./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:126: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] 126 | StartMove(tmp_win, tmp_win->icon.w, 0, &x_root, &y_root, &cancel, | ^ move.c:132: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] 132 | RaiseIcon(tmp_win); | ^ move.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | DragIcon(tmp_win, ev, pulldown) | ^ In file included from move.c:43: ./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:236: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] 236 | reallyStartMove(tmp_win, window, x_root, y_root, cancel, outlineWindow, &first, adding, pulldown, panner); | ^ move.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 | StartMove(tmp_win, window, title_height, x_root, y_root, cancel, | ^ In file included from move.c:43: ./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:330: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] 330 | doMove(tmp_win, window, *x_root, *y_root, &xdest, &ydest, panner, True); | ^ move.c:337: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] 337 | doMove(tmp_win, window, *x_root, *y_root, &xdest, &ydest, panner, False); | ^ move.c:341: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] 341 | doMove(tmp_win, window, *x_root, *y_root, &xdest, &ydest, panner, True); | ^ move.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | reallyStartMove(tmp_win, window, x_root, y_root, | ^ move.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 reallyStartMove(); | ^ move.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | doMove(tmp_win, window, x_root, y_root, x_dest, y_dest, panner, paint) | ^ move.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void doMove(); | ^ move.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | getPointer(/*window,*/ x_root, y_root, cancel, done, first, adding, pulldown) | ^ move.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | RelativeMove(win, geom) | ^ In file included from move.c:43: ./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(); | ^ --- LocPixmap.o --- In file included from LocPixmap.c:39: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ LocPixmap.c:199: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] 199 | split_path_string (value.addr); | ^ LocPixmap.c:320:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | static char **split_path_string (src) | ^ LocPixmap.c:77:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | static char **split_path_string(); | ^ --- move.o --- 30 warnings generated. --- regexp.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c regexp.c --- LocPixmap.o --- 5 warnings generated. --- ssetroot.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c ssetroot.c --- regexp.o --- regexp.c:206: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] 206 | FAIL("NULL argument"); | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #define FAIL(m) { regerror(m); return(NULL); } | ^ regexp.c:213: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] 213 | regc(MAGIC); | ^ regexp.c:214: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] 214 | if (reg(0, &flags) == NULL) | ^ regexp.c:219: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] 219 | FAIL("regexp too big"); | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #define FAIL(m) { regerror(m); return(NULL); } | ^ regexp.c:224: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] 224 | FAIL("out of space"); | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #define FAIL(m) { regerror(m); return(NULL); } | ^ regexp.c:230: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] 230 | regc(MAGIC); | ^ regexp.c:231: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] 231 | if (reg(0, &flags) == NULL) | ^ regexp.c:240: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] 240 | if (OP(regnext(scan)) == END) { /* Only one top-level choice. */ | ^ regexp.c:260: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] 260 | for (; scan != NULL; scan = regnext(scan)) | ^ regexp.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | regcomp(exp) | ^ In file included from regexp.c:29: ./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:298: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] 298 | FAIL("too many ()"); | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #define FAIL(m) { regerror(m); return(NULL); } | ^ regexp.c:301: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] 301 | ret = regnode(OPEN+parno); | ^ regexp.c:306: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] 306 | br = regbranch(&flags); | ^ regexp.c:310: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] 310 | regtail(ret, br); /* OPEN -> first. */ | ^ regexp.c:318: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] 318 | br = regbranch(&flags); | ^ regexp.c:321: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] 321 | regtail(ret, br); /* BRANCH -> BRANCH. */ | ^ regexp.c:328: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] 328 | ender = regnode((paren) ? CLOSE+parno : END); | ^ regexp.c:329: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] 329 | regtail(ret, ender); | ^ regexp.c:332: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] 332 | for (br = ret; br != NULL; br = regnext(br)) | ^ regexp.c:333: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] 333 | regoptail(br, ender); | ^ regexp.c:337: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] 337 | FAIL("unmatched ()"); | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #define FAIL(m) { regerror(m); return(NULL); } | ^ regexp.c:340: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] 340 | FAIL("unmatched ()"); | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #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("junk on end"); /* "Can't happen". */ | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #define FAIL(m) { regerror(m); return(NULL); } | ^ regexp.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 | reg(paren, flagp) | ^ regexp.c:166: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] 166 | STATIC char *reg(); | ^ regexp.c:365: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] 365 | ret = regnode(BRANCH); | ^ regexp.c:368: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] 368 | latest = regpiece(&flags); | ^ regexp.c:375: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] 375 | regtail(chain, latest); | ^ regexp.c:379: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] 379 | (void) regnode(NOTHING); | ^ regexp.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 | regbranch(flagp) | ^ regexp.c:167: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] 167 | STATIC char *regbranch(); | ^ regexp.c:402: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] 402 | ret = regatom(&flags); | ^ regexp.c:413: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] 413 | FAIL("*+ operand could be empty"); | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #define FAIL(m) { regerror(m); return(NULL); } | ^ regexp.c:417: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] 417 | reginsert(STAR, ret); | ^ regexp.c:420: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] 420 | reginsert(BRANCH, ret); /* Either x */ | ^ regexp.c:421: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] 421 | regoptail(ret, regnode(BACK)); /* and loop */ | ^ regexp.c:421: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] 421 | regoptail(ret, regnode(BACK)); /* and loop */ | ^ regexp.c:422: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] 422 | regoptail(ret, ret); /* back */ | ^ regexp.c:423: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] 423 | regtail(ret, regnode(BRANCH)); /* or */ | ^ regexp.c:423: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] 423 | regtail(ret, regnode(BRANCH)); /* or */ | ^ regexp.c:424: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] 424 | regtail(ret, regnode(NOTHING)); /* null. */ | ^ regexp.c:424: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] 424 | regtail(ret, regnode(NOTHING)); /* null. */ | ^ regexp.c:426: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] 426 | reginsert(PLUS, ret); | ^ regexp.c:429: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] 429 | next = regnode(BRANCH); /* Either */ | ^ regexp.c:430: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] 430 | regtail(ret, next); | ^ regexp.c:431: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] 431 | regtail(regnode(BACK), ret); /* loop back */ | ^ regexp.c:431: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] 431 | regtail(regnode(BACK), ret); /* loop back */ | ^ regexp.c:432: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] 432 | regtail(next, regnode(BRANCH)); /* or */ | ^ 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(next, regnode(BRANCH)); /* or */ | ^ regexp.c:433: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] 433 | regtail(ret, regnode(NOTHING)); /* null. */ | ^ 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(ret, regnode(NOTHING)); /* null. */ | ^ regexp.c:436: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] 436 | reginsert(BRANCH, ret); /* Either x */ | ^ regexp.c:437: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] 437 | regtail(ret, regnode(BRANCH)); /* or */ | ^ regexp.c:437: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] 437 | regtail(ret, regnode(BRANCH)); /* or */ | ^ regexp.c:438: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] 438 | next = regnode(NOTHING); /* null. */ | ^ 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, next); | ^ regexp.c:440: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] 440 | regoptail(ret, next); | ^ regexp.c:444: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] 444 | FAIL("nested *?+"); | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #define FAIL(m) { regerror(m); return(NULL); } | ^ regexp.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | regpiece(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 *regpiece(); | ^ regexp.c:468: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] 468 | ret = regnode(BOL); | ^ regexp.c:471: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] 471 | ret = regnode(EOL); | ^ regexp.c:474: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] 474 | ret = regnode(ANY); | ^ regexp.c:482: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] 482 | ret = regnode(ANYBUT); | ^ regexp.c:485: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] 485 | ret = regnode(ANYOF); | ^ regexp.c:487: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] 487 | regc(*regparse++); | ^ regexp.c:492: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] 492 | regc('-'); | ^ regexp.c:497: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] 497 | FAIL("invalid [] range"); | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #define FAIL(m) { regerror(m); return(NULL); } | ^ regexp.c:499: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] 499 | regc(class); | ^ regexp.c:503: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] 503 | regc(*regparse++); | ^ regexp.c:505: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] 505 | regc('\0'); | ^ regexp.c:507: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] 507 | FAIL("unmatched []"); | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #define FAIL(m) { regerror(m); return(NULL); } | ^ regexp.c:521: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] 521 | FAIL("internal urp"); /* Supposed to be caught earlier. */ | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #define FAIL(m) { regerror(m); return(NULL); } | ^ regexp.c:526: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] 526 | FAIL("?+* follows nothing"); | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #define FAIL(m) { regerror(m); return(NULL); } | ^ regexp.c:530: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] 530 | FAIL("trailing \\"); | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #define FAIL(m) { regerror(m); return(NULL); } | ^ regexp.c:531: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] 531 | ret = regnode(EXACTLY); | ^ regexp.c:532: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] 532 | regc(*regparse++); | ^ regexp.c:533: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] 533 | regc('\0'); | ^ regexp.c:543: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] 543 | FAIL("internal disaster"); | ^ regexp.c:139:27: note: expanded from macro 'FAIL' 139 | #define FAIL(m) { regerror(m); return(NULL); } | ^ regexp.c:550: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] 550 | ret = regnode(EXACTLY); | ^ regexp.c:552: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] 552 | regc(*regparse++); | ^ regexp.c:555: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] 555 | regc('\0'); | ^ regexp.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | regatom(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 *regatom(); | ^ regexp.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | regnode(op) | ^ 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 *regnode(); | ^ regexp.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | regc(b) | ^ regexp.c:172:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 172 | STATIC void regc(); | ^ regexp.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | reginsert(op, opnd) | ^ regexp.c:173:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 173 | STATIC void reginsert(); | ^ regexp.c:650: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] 650 | temp = regnext(scan); | ^ regexp.c:636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | regtail(p, val) | ^ 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 regtail(); | ^ regexp.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | regoptail(p, val) | ^ 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 regoptail(); | ^ regexp.c:715: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] 715 | regerror("NULL parameter"); | ^ regexp.c:721: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] 721 | regerror("corrupted program"); | ^ regexp.c:742: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] 742 | return(regtry(prog, string)); | ^ regexp.c:749: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] 749 | if (regtry(prog, s)) | ^ regexp.c:756: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] 756 | if (regtry(prog, s)) | ^ regexp.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | regexec(prog, string) | ^ In file included from regexp.c:29: ./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:786: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] 786 | if (regmatch(prog->program + 1)) { | ^ regexp.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 | regtry(prog, string) | ^ regexp.c:693: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] 693 | STATIC int regtry(); | ^ regexp.c:821: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] 821 | next = regnext(scan); | ^ regexp.c:932: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] 932 | scan = regnext(scan); | ^ regexp.c:955: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] 955 | no = regrepeat(OPERAND(scan)); | ^ regexp.c:972: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] 972 | regerror("memory corruption"); | ^ regexp.c:984: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] 984 | regerror("corrupted pointers"); | ^ regexp.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | regmatch(prog) | ^ regexp.c:694: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] 694 | STATIC int regmatch(); | ^ regexp.c:1025: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] 1025 | regerror("internal foulup"); | ^ regexp.c:992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | regrepeat(p) | ^ 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 regrepeat(); | ^ regexp.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | regnext(p) | ^ 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 *regnext(); | ^ --- ssetroot.o --- ssetroot.c:47:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 47 | char *index(); | ^ ssetroot.c:251: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] 251 | cursor = CreateCursorFromName (cursor_name); | ^ ssetroot.c:267: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] 267 | XSetWindowBackground(dpy, root, NameToPixel(solid_color, | ^ ssetroot.c:275: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] 275 | bitmap = ReadBitmapFile(bitmap_file, &ww, &hh, (int *)NULL, (int *)NULL); | ^ ssetroot.c:281: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] 281 | bitmap = MakeModulaBitmap(mod_x, mod_y); | ^ ssetroot.c:289:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 289 | #endif NOT_ALLOWED | ^ | // ssetroot.c:104:11: warning: variable 'name' set but not used [-Wunused-but-set-variable] 104 | char *name = NULL; | ^ ssetroot.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | main(argc, argv) | ^ ssetroot.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | SetBackgroundToBitmap(bitmap, width, height) | ^ ssetroot.c:367: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] 367 | gc_init.foreground = NameToPixel(fore_color, BlackPixel(dpy, screen)); | ^ ssetroot.c:368: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] 368 | gc_init.background = NameToPixel(back_color, WhitePixel(dpy, screen)); | ^ ssetroot.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | CreateCursorFromFiles(cursor_file, mask_file) | ^ ssetroot.c:406: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] 406 | fg = NameToXColor(fore_color, BlackPixel(dpy, screen)); | ^ ssetroot.c:407: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] 407 | bg = NameToXColor(back_color, WhitePixel(dpy, screen)); | ^ ssetroot.c:412: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] 412 | cursor_bitmap = ReadBitmapFile(cursor_file, &width, &height, &x_hot, &y_hot); | ^ ssetroot.c:413: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] 413 | mask_bitmap = ReadBitmapFile(mask_file, &ww, &hh, (int *)NULL, (int *)NULL); | ^ ssetroot.c:449: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] 449 | fg = NameToXColor(fore_color, BlackPixel(dpy, screen)); | ^ ssetroot.c:450: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] 450 | bg = NameToXColor(back_color, WhitePixel(dpy, screen)); | ^ ssetroot.c:442:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | Cursor CreateCursorFromName(name) | ^ ssetroot.c:52: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] 52 | Cursor CreateCursorFromName(); | ^ ssetroot.c:468:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | Pixmap MakeModulaBitmap(mod_x, mod_y) | ^ ssetroot.c:49: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] 49 | Pixmap MakeModulaBitmap(), ReadBitmapFile(); | ^ ssetroot.c:496:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | XColor NameToXColor(name, pixel) | ^ ssetroot.c:50: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] 50 | XColor NameToXColor(); | ^ ssetroot.c:525:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | unsigned long NameToPixel(name, pixel) | ^ ssetroot.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 | unsigned long NameToPixel(); | ^ ssetroot.c:578:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | Pixmap ReadBitmapFile(filename, width, height, x_hot, y_hot) | ^ ssetroot.c:49: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] 49 | Pixmap MakeModulaBitmap(), ReadBitmapFile(); | ^ 28 warnings generated. --- tvtwm._man --- rm -f tvtwm._man if test -z "" ; then cd `dirname tvtwm` && ln -s `basename tvtwm.man` `basename tvtwm._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/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 --- regexp.o --- 118 warnings generated. --- gram.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c gram.c --- lex.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c lex.c --- gram.o --- In file included from gram.y:46: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ In file included from gram.y:49: ./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 previous declaration [-Wdeprecated-non-prototype] 43 | extern void MoveOutline(); | ^ ./twm.h:509:6: note: conflicting prototype is here 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^ In file included from gram.y:49: ./util.h:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^ ./twm.h:457:8: note: conflicting prototype is here 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^ In file included from gram.y:49: ./util.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 previous declaration [-Wdeprecated-non-prototype] 46 | extern int GetColor(); | ^ ./twm.h:478:5: note: conflicting prototype is here 478 | int GetColor(int kind, Pixel *what, char *name); | ^ --- lex.o --- In file included from lex.l:40: ./twm.h:516:13: warning: a function 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] 516 | extern void FetchWmProtocols(); | ^ ./twm.h:450:6: note: conflicting prototype is here 450 | void FetchWmProtocols (TwmWindow *tmp); | ^ ./twm.h:517:13: warning: a function 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] 517 | extern void FetchWmColormapWindows(); | ^ ./twm.h:451:6: note: conflicting prototype is here 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^ --- gram.o --- gram.y:135:26: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | {input_menu = GetRoot(menu_name, NULL, NULL); } | ^ gram.y:138:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | { root = GetRoot(menu_name, NULL, NULL); } | ^ gram.y:192:23: warning: passing arguments to 'GotTitleButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | GotTitleButton ((yyvsp[(2) - (4)].ptr), (yyvsp[(4) - (4)].num), False); | ^ gram.y:195:23: warning: passing arguments to 'GotTitleButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | GotTitleButton ((yyvsp[(2) - (4)].ptr), (yyvsp[(4) - (4)].num), True); | ^ gram.y:197:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | { root = GetRoot((yyvsp[(2) - (2)].ptr), NULLSTR, NULLSTR); | ^ gram.y:209:24: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | root = GetRoot(TWM_ROOT,NULLSTR,NULLSTR); | ^ gram.y:218:13: warning: passing arguments to 'GotKey' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | { GotKey((yyvsp[(1) - (2)].ptr), (yyvsp[(2) - (2)].num)); } | ^ gram.y:219:16: warning: passing arguments to 'GotButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | { GotButton((yyvsp[(1) - (2)].num), (yyvsp[(2) - (2)].num)); } | ^ gram.y:259:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | { root = GetRoot((yyvsp[(2) - (2)].ptr), NULLSTR, NULLSTR); } | ^ gram.y:277:24: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | root = GetRoot(TWM_ROOT,NULLSTR,NULLSTR); | ^ gram.y:287:23: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | root = GetRoot(TWM_ROOT,NULLSTR,NULLSTR); | ^ gram.y:304:30: 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] 304 | { if (!do_single_keyword ((yyvsp[(1) - (1)].num))) { | ^ gram.y:314:30: 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] 314 | { if (!do_string_keyword ((yyvsp[(1) - (2)].num), (yyvsp[(2) - (2)].ptr))) { | ^ gram.y:344:4: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 344 | yyerror("\"pixmap\" : \"mask\" syntax no longer supported"); | ^ gram.y:349:30: 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] 349 | { if (!do_number_keyword ((yyvsp[(1) - (2)].num), (yyvsp[(2) - (2)].num))) { | ^ gram.y:443: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] 443 | NewFontCursor(&Scr->FrameCursor, (yyvsp[(2) - (2)].ptr)); } | ^ gram.y:447: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] 447 | NewFontCursor(&Scr->TitleCursor, (yyvsp[(2) - (2)].ptr)); } | ^ gram.y:451: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] 451 | NewFontCursor(&Scr->IconCursor, (yyvsp[(2) - (2)].ptr)); } | ^ gram.y:455: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] 455 | NewFontCursor(&Scr->IconMgrCursor, (yyvsp[(2) - (2)].ptr)); } | ^ gram.y:459: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] 459 | NewFontCursor(&Scr->ButtonCursor, (yyvsp[(2) - (2)].ptr)); } | ^ gram.y:463: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] 463 | NewFontCursor(&Scr->MoveCursor, (yyvsp[(2) - (2)].ptr)); } | ^ gram.y:467: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] 467 | NewFontCursor(&Scr->ResizeCursor, (yyvsp[(2) - (2)].ptr)); } | ^ gram.y:471: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] 471 | NewFontCursor(&Scr->WaitCursor, (yyvsp[(2) - (2)].ptr)); } | ^ gram.y:475: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] 475 | NewFontCursor(&Scr->MenuCursor, (yyvsp[(2) - (2)].ptr)); } | ^ gram.y:479: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] 479 | NewFontCursor(&Scr->SelectCursor, (yyvsp[(2) - (2)].ptr)); } | ^ gram.y:483: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] 483 | NewFontCursor(&Scr->DestroyCursor, (yyvsp[(2) - (2)].ptr)); } | ^ gram.y:495:33: 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] 495 | { if (!do_colorlist_keyword ((yyvsp[(1) - (2)].num), color, | ^ gram.y:504:34: 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] 504 | { list = do_colorlist_keyword((yyvsp[(1) - (2)].num),color, | ^ --- lex.o --- lex.yy.c:1328:17: warning: unused function 'yyunput' [-Wunused-function] --- gram.o --- gram.y:515:29: 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] --- lex.o --- 1328 | static void yyunput (int c, char * yy_bp ) | ^~~~~~~ lex.yy.c:1375:16: warning: function 'input' is not needed and will not be emitted [-Wunneeded-internal-declaration] --- gram.o --- 515 | { if (!do_color_keyword ((yyvsp[(1) - (2)].num), color, | ^ --- lex.o --- 1375 | static int input (void) | ^~~~~ --- gram.o --- gram.y:534:26: 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] 534 | { do_string_savecolor(color, (yyvsp[(1) - (1)].ptr)); } | ^ gram.y:588: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] 588 | AllocateIconManager((yyvsp[(1) - (3)].match).lval, NULLSTR, | ^ gram.y:594: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] 594 | AllocateIconManager((yyvsp[(1) - (4)].match).lval, (yyvsp[(2) - (4)].ptr), | ^ gram.y:634:4: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 634 | yyerror("\"pixmap\" : \"mask\" syntax no longer supported"); | ^ gram.y:656:20: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | root = GetRoot((yyvsp[(2) - (7)].ptr), (yyvsp[(4) - (7)].ptr), (yyvsp[(6) - (7)].ptr)); } | ^ gram.y:658:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | { root = GetRoot((yyvsp[(2) - (2)].ptr), NULLSTR, NULLSTR); } | ^ gram.y:664: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] 664 | root->file = ExpandFilename((yyvsp[(1) - (1)].ptr)); | ^ gram.y:699:12: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 699 | yyerror("two defaults in menu"); | ^ gram.y:714:12: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 714 | yyerror("two defaults in menu"); | ^ gram.y:735:24: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | pull = GetRoot ((yyvsp[(2) - (2)].ptr), NULLSTR,NULLSTR); | ^ gram.y:739:31: warning: passing arguments to 'CheckWarpRingArg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | if (!CheckWarpRingArg (Action)) { | ^ gram.y:747:33: warning: passing arguments to 'CheckWarpScreenArg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | if (!CheckWarpScreenArg (Action)) { | ^ gram.y:756:30: warning: passing arguments to 'CheckColormapArg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | if (CheckColormapArg (Action)) { | ^ gram.y:771:20: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | pull = GetRoot ((yyvsp[(2) - (4)].ptr), NULLSTR,NULLSTR); | ^ gram.y:785:7: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 785 | yyerror("bad button 0"); | ^ gram.y:823:8: warning: call to undeclared function 'RemoveDQuote'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 823 | RemoveDQuote(ptr); | ^ y.tab.c:3099:7: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3099 | yyerror (YY_("syntax error")); | ^ y.tab.c:3245:3: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3245 | yyerror (YY_("memory exhausted")); | ^ gram.y:839:1: error: conflicting types for 'yyerror' 839 | yyerror(s) char *s; | ^ gram.y:344:4: note: previous implicit declaration is here 344 | yyerror("\"pixmap\" : \"mask\" syntax no longer supported"); | ^ gram.y:839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | yyerror(s) char *s; | ^ gram.y:847:1: error: conflicting types for 'RemoveDQuote' 847 | RemoveDQuote(str) | ^ gram.y:823:8: note: previous implicit declaration is here 823 | RemoveDQuote(ptr); | ^ gram.y:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | RemoveDQuote(str) | ^ gram.y:931:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | 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:955:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | 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:985:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | 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:1007:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | 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:1022:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | 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:1037:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | 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:1050:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | 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(); | ^ 68 warnings and 2 errors generated. *** [gram.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/wm/tvtwm/work/tvtwm --- lex.o --- 4 warnings generated. bmake: 1 error bmake: stopped making "all" in /var/tmp/work/wm/tvtwm/work/tvtwm *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/wm/tvtwm *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/wm/tvtwm