=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/wm/w9wm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for w9wm-0.4.2nb1 --- 9wm.o --- --- manage.o --- --- 9wm.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -I/opt/pkg/include -c 9wm.c --- manage.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -I/opt/pkg/include -c manage.c manage.c:37:26: warning: passing arguments to 'getprop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | c->iconname = getprop(c->window, XA_WM_ICON_NAME); | ^ manage.c:38:22: warning: passing arguments to 'getprop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | c->name = getprop(c->window, XA_WM_NAME); | ^ manage.c:39:13: warning: passing arguments to 'setlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | setlabel(c); | ^ manage.c:45:13: warning: passing arguments to 'getcmaps' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | getcmaps(c); | ^ manage.c:46:13: warning: passing arguments to 'getproto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | getproto(c); | ^ manage.c:47:13: warning: passing arguments to 'gettrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | gettrans(c); | ^ manage.c:49:27: warning: passing arguments to 'getiprop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | c->hold = getiprop(c->window, _9wm_hold_mode); | ^ manage.c:53:18: warning: passing arguments to 'getstate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if (!getstate(c->window, &state)) | ^ manage.c:94:18: warning: passing arguments to 'cmapfocus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | cmapfocus(0); | ^ manage.c:95:29: warning: passing arguments to 'drag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | if (!(fixsize ? drag(c) : sweep(c)) && c->is9term) { | ^ manage.c:95:40: warning: passing arguments to 'sweep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | if (!(fixsize ? drag(c) : sweep(c)) && c->is9term) { | ^ manage.c:97:21: warning: passing arguments to 'rmclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | rmclient(c); | ^ manage.c:98:22: warning: passing arguments to 'cmapfocus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | cmapfocus(current); | ^ manage.c:103:18: warning: passing arguments to 'gravitate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | gravitate(c, 0); | ^ manage.c:120:17: warning: passing arguments to 'setshape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | setshape(c); | ^ manage.c:126:13: warning: passing arguments to 'hide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | hide(c); | ^ manage.c:131:19: warning: passing arguments to 'active' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | active(c); | ^ manage.c:133:19: warning: passing arguments to 'active' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | active(c); | ^ manage.c:135:22: warning: passing arguments to 'setactive' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | setactive(c, 0); | ^ manage.c:136:18: warning: passing arguments to 'setstate9' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | setstate9(c, NormalState); | ^ manage.c:139:18: warning: passing arguments to 'cmapfocus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | cmapfocus(current); | ^ manage.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | manage(c, mapped) | ^ In file included from manage.c:11: ./fns.h:25:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | int manage(); | ^ manage.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | gettrans(c) | ^ In file included from manage.c:11: ./fns.h:40:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | void gettrans(); | ^ manage.c:162:14: warning: passing arguments to 'gravitate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | gravitate(c, 1); | ^ manage.c:164:14: warning: passing arguments to 'gravitate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | gravitate(c, 0); | ^ manage.c:166:14: warning: passing arguments to 'setstate9' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | setstate9(c, WithdrawnState); | ^ manage.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | withdraw(c) | ^ In file included from manage.c:11: ./fns.h:27:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | void withdraw(); | ^ manage.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | gravitate(c, invert) | ^ In file included from manage.c:11: ./fns.h:28:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | void gravitate(); | ^ manage.c:252:14: warning: passing arguments to 'cmapfocus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | cmapfocus(0); | ^ manage.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | installcmap(cmap) | ^ manage.c:282:49: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | else if (c->trans != None && (cc = getclient(c->trans, 0)) != 0 && cc->ncmapwins != 0) | ^ manage.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | cmapfocus(c) | ^ In file included from manage.c:11: ./fns.h:30:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | void cmapfocus(); | ^ manage.c:301:17: warning: passing arguments to '_getprop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | n = _getprop(c->window, wm_colormaps, XA_WINDOW, 100L, (unsigned char **)&cw); | ^ manage.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | getcmaps(c) | ^ In file included from manage.c:11: ./fns.h:31:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | void getcmaps(); | ^ manage.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | setlabel(c) | ^ In file included from manage.c:11: ./fns.h:38:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | void setlabel(); | ^ manage.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | setshape(c) | ^ In file included from manage.c:11: ./fns.h:26:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | void setshape(); | ^ manage.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | _getprop(w, a, type, len, p) | ^ In file included from manage.c:11: ./fns.h:32:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | int _getprop(); | ^ manage.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | getprop(w, a) | ^ In file included from manage.c:11: ./fns.h:33:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | char *getprop(); | ^ manage.c:399:34: warning: incompatible pointer types passing 'char ***' to parameter of type 'unsigned char **' [-Wincompatible-pointer-types] 399 | if (_getprop(w, a, type, 1L, &p) <= 0) | ^~ manage.c:403:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 403 | return (int)x; | ^~~~~~ manage.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 | get1prop(w, a, type) | ^ manage.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | getwprop(w, a) | ^ In file included from manage.c:11: ./fns.h:34:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | Window getwprop(); | ^ manage.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | getiprop(w, a) | ^ In file included from manage.c:11: ./fns.h:35:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | int getiprop(); | ^ manage.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | setstate9(c, state) | ^ In file included from manage.c:11: ./fns.h:37:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | void setstate9(); | ^ manage.c:444:45: warning: incompatible pointer types passing 'char **' to parameter of type 'unsigned char **' [-Wincompatible-pointer-types] 444 | if (_getprop(w, wm_state, wm_state, 2L, (char**)&p) <= 0) | ^~~~~~~~~~ manage.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | getstate(w, state) | ^ In file included from manage.c:11: ./fns.h:36:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | int getstate(); | ^ manage.c:463:54: warning: incompatible pointer types passing 'char **' to parameter of type 'unsigned char **' [-Wincompatible-pointer-types] 463 | if ((n = _getprop(w, wm_protocols, XA_ATOM, 20L, (char**)&p)) <= 0) | ^~~~~~~~~~ manage.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | getproto(c) | ^ In file included from manage.c:11: ./fns.h:39:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | void getproto(); | ^ --- 9wm.o --- 9wm.c:156:14: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | fatal("can't open display"); | ^ 9wm.c:176:21: warning: passing arguments to 'sendcmessage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | sendcmessage(root, exit_9wm, 0L); | ^ 9wm.c:181:21: warning: passing arguments to 'sendcmessage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | sendcmessage(root, restart_9wm, 0L); | ^ 9wm.c:250:15: warning: passing arguments to 'initb2menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | initb2menu(numvirtuals); | ^ 9wm.c:263:17: warning: passing arguments to 'getevent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | getevent(&ev); | ^ 9wm.c:275:28: warning: passing arguments to 'shapenotify' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | shapenotify((XShapeEvent *)&ev); | ^ 9wm.c:306:19: warning: passing arguments to 'button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | button(&ev.xbutton); | ^ 9wm.c:315:19: warning: passing arguments to 'mapreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | mapreq(&ev.xmaprequest); | ^ 9wm.c:318:16: warning: passing arguments to 'configurereq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | configurereq(&ev.xconfigurerequest); | ^ 9wm.c:321:25: warning: passing arguments to 'circulatereq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | circulatereq(&ev.xcirculaterequest); | ^ 9wm.c:324:18: warning: passing arguments to 'unmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | unmap(&ev.xunmap); | ^ 9wm.c:327:22: warning: passing arguments to 'newwindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | newwindow(&ev.xcreatewindow); | ^ 9wm.c:330:20: warning: passing arguments to 'destroy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | destroy(ev.xdestroywindow.window); | ^ 9wm.c:333:23: warning: passing arguments to 'clientmesg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | clientmesg(&ev.xclient); | ^ 9wm.c:336:17: warning: passing arguments to 'cmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | cmap(&ev.xcolormap); | ^ 9wm.c:339:21: warning: passing arguments to 'property' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | property(&ev.xproperty); | ^ 9wm.c:351:18: warning: passing arguments to 'enter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | enter(&ev.xcrossing); | ^ 9wm.c:354:21: warning: passing arguments to 'reparent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | reparent(&ev.xreparent); | ^ 9wm.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | main(argc, argv) | ^ 9wm.c:394:13: warning: passing arguments to 'active' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | active(tmp); | ^ 9wm.c:417:8: warning: passing arguments to 'active' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | active(c); | ^ 9wm.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | sendcmessage(w, a, x) | ^ In file included from 9wm.c:12: ./fns.h:3:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | void sendcmessage(); | ^ 9wm.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 | sendconfig(c) | ^ In file included from 9wm.c:12: ./fns.h:5:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | void sendconfig(); | ^ 9wm.c:503:22: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | c = getclient(wins[i], 1); | ^ 9wm.c:511:23: warning: passing arguments to 'manage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | manage(c, 1); | ^ 9wm.c:526:18: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | c = getclient(e->window, 0); | ^ 9wm.c:528:18: warning: passing arguments to 'gravitate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | gravitate(c, 1); | ^ 9wm.c:546:18: warning: passing arguments to 'gravitate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | gravitate(c, 0); | ^ 9wm.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | configurereq(e) | ^ In file included from 9wm.c:12: ./fns.h:7:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | void configurereq(); | ^ 9wm.c:585:18: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | c = getclient(e->window, 0); | ^ 9wm.c:594:24: warning: passing arguments to 'manage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | if (!manage(c, 0)) | ^ 9wm.c:604:18: warning: passing arguments to 'setstate9' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | setstate9(c, NormalState); | ^ 9wm.c:606:23: warning: passing arguments to 'active' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | active(c); | ^ 9wm.c:609:16: warning: passing arguments to 'unhidec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | unhidec(c, 1); | ^ 9wm.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | mapreq(e) | ^ In file included from 9wm.c:12: ./fns.h:8:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | void mapreq(); | ^ 9wm.c:621:18: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | c = getclient(e->window, 0); | ^ 9wm.c:626:24: warning: passing arguments to 'unhidec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | unhidec(c, 0); | ^ 9wm.c:627:25: warning: passing arguments to 'withdraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | withdraw(c); | ^ 9wm.c:635:25: warning: passing arguments to 'withdraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | withdraw(c); | ^ 9wm.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | unmap(e) | ^ In file included from 9wm.c:12: ./fns.h:10:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | void unmap(); | ^ 9wm.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | circulatereq(e) | ^ In file included from 9wm.c:12: ./fns.h:9:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | void circulatereq(); | ^ 9wm.c:659:18: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | c = getclient(e->window, 1); | ^ 9wm.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 | newwindow(e) | ^ In file included from 9wm.c:12: ./fns.h:11:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | void newwindow(); | ^ 9wm.c:676:18: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | c = getclient(w, 0); | ^ 9wm.c:680:13: warning: passing arguments to 'rmclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | rmclient(c); | ^ 9wm.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | destroy(w) | ^ In file included from 9wm.c:12: ./fns.h:12:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | void destroy(); | ^ 9wm.c:707:22: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | c = getclient(e->window, 0); | ^ 9wm.c:710:21: warning: passing arguments to 'hide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | hide(c); | ^ 9wm.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | clientmesg(e) | ^ In file included from 9wm.c:12: ./fns.h:14:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | void clientmesg(); | ^ 9wm.c:730:22: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | c = getclient(e->window, 0); | ^ 9wm.c:734:26: warning: passing arguments to 'cmapfocus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | cmapfocus(c); | ^ 9wm.c:742:38: warning: passing arguments to 'cmapfocus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | cmapfocus(c); | ^ 9wm.c:722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | cmap(e) | ^ In file included from 9wm.c:12: ./fns.h:15:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | void cmap(); | ^ 9wm.c:759:18: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | c = getclient(e->window, 0); | ^ 9wm.c:767:30: warning: passing arguments to 'getprop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | c->iconname = getprop(c->window, XA_WM_ICON_NAME); | ^ 9wm.c:768:17: warning: passing arguments to 'setlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | setlabel(c); | ^ 9wm.c:769:16: warning: passing arguments to 'renamec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | renamec(c, c->label); | ^ 9wm.c:774:26: warning: passing arguments to 'getprop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | c->name = getprop(c->window, XA_WM_NAME); | ^ 9wm.c:775:17: warning: passing arguments to 'setlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | setlabel(c); | ^ 9wm.c:776:16: warning: passing arguments to 'renamec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | renamec(c, c->label); | ^ 9wm.c:779:17: warning: passing arguments to 'gettrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | gettrans(c); | ^ 9wm.c:783:27: warning: passing arguments to 'getiprop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | c->hold = getiprop(c->window, _9wm_hold_mode); | ^ 9wm.c:785:24: warning: passing arguments to 'draw_border' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | draw_border(c, 1); | ^ 9wm.c:788:17: warning: passing arguments to 'getcmaps' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | getcmaps(c); | ^ 9wm.c:790:22: warning: passing arguments to 'cmapfocus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | cmapfocus(c); | ^ 9wm.c:753:9: warning: variable 'delete' set but not used [-Wunused-but-set-variable] 753 | int delete; | ^ 9wm.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | property(e) | ^ In file included from 9wm.c:12: ./fns.h:16:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | void property(); | ^ 9wm.c:804:22: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | c = getclient(e->window, 1); | ^ 9wm.c:815:22: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | c = getclient(e->window, 0); | ^ 9wm.c:817:21: warning: passing arguments to 'rmclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | rmclient(c); | ^ 9wm.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | reparent(e) | ^ In file included from 9wm.c:12: ./fns.h:19:9: warning: a function declaration without a prototype is 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 | void reparent(); | ^ 9wm.c:828:18: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | c = getclient(e->window, 0); | ^ 9wm.c:832:13: warning: passing arguments to 'setshape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | setshape(c); | ^ 9wm.c:823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | shapenotify(e) | ^ In file included from 9wm.c:12: ./fns.h:17:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | void shapenotify(); | ^ 9wm.c:845:18: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | c = getclient(e->window, 0); | ^ 9wm.c:848:15: warning: passing arguments to 'active' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | active(c); | ^ 9wm.c:837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | enter(e) | ^ In file included from 9wm.c:12: ./fns.h:18:9: warning: a function declaration without a prototype is 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 | void enter(); | ^ 9wm.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | getevent(e) | ^ 9wm.c:63:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | void usage(), sighandler(), getevent(); | ^ --- manage.o --- 63 warnings generated. --- menu.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -I/opt/pkg/include -c menu.c --- 9wm.o --- 93 warnings generated. --- client.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -I/opt/pkg/include -c client.c --- menu.o --- menu.c:81:18: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | c = getclient(e->window, 0); | ^ menu.c:93:19: warning: passing arguments to 'active' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | active(c); | ^ menu.c:101:22: warning: passing arguments to 'menuhit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | if ((n = menuhit(e, &progs)) != -1) | ^ menu.c:118:19: warning: passing arguments to 'active' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | active(c); | ^ menu.c:123:24: warning: passing arguments to 'menuhit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | menuhit(e, &egg); | ^ menu.c:125:17: warning: passing arguments to 'button2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | button2(e); | ^ menu.c:133:19: warning: passing arguments to 'active' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | active(c); | ^ menu.c:137:20: warning: passing arguments to 'button3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | button3(e); | ^ menu.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | button(e) | ^ In file included from menu.c:12: ./fns.h:43:9: warning: a function declaration without a prototype is 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 button(); | ^ menu.c:148:14: warning: passing arguments to 'cmapfocus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | cmapfocus(0); | ^ menu.c:149:21: warning: passing arguments to 'menuhit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | if ((n = menuhit(e, &b2menu)) == -1) | ^ menu.c:151:14: warning: passing arguments to 'switch_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | switch_to(n); | ^ menu.c:153:18: warning: passing arguments to 'cmapfocus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | cmapfocus(current); | ^ menu.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | button2(e) | ^ In file included from menu.c:12: ./fns.h:44:9: warning: a function declaration without a prototype is 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 button2(); | ^ menu.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | initb2menu(n) | ^ In file included from menu.c:12: ./fns.h:56: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] 56 | void initb2menu(); | ^ menu.c:169:14: warning: passing arguments to 'cmapfocus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | cmapfocus(0); | ^ menu.c:170:24: warning: passing arguments to 'menuhit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | switch (n = menuhit(e, &b3menu)) { | ^ menu.c:175:26: warning: passing arguments to 'selectwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | reshape(selectwin(1, 0)); | ^ menu.c:175:16: warning: passing arguments to 'reshape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | reshape(selectwin(1, 0)); | ^ menu.c:178:23: warning: passing arguments to 'selectwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | move(selectwin(0, 0)); | ^ menu.c:178:13: warning: passing arguments to 'move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | move(selectwin(0, 0)); | ^ menu.c:182:22: warning: passing arguments to 'selectwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | c = selectwin(1, &shift); | ^ menu.c:183:15: warning: passing arguments to 'delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | delete(c, shift); | ^ menu.c:186:23: warning: passing arguments to 'selectwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | hide(selectwin(1, 0)); | ^ menu.c:186:13: warning: passing arguments to 'hide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | hide(selectwin(1, 0)); | ^ menu.c:189:15: warning: passing arguments to 'unhide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | unhide(n - B3FIXED, 1); | ^ menu.c:195:18: warning: passing arguments to 'cmapfocus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | cmapfocus(current); | ^ menu.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | button3(e) | ^ In file included from menu.c:12: ./fns.h:45:9: warning: a function declaration without a prototype is 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 button3(); | ^ menu.c:209:14: warning: passing arguments to 'switch_to_c' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | switch_to_c(n,clients); | ^ menu.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | switch_to(n) | ^ In file included from menu.c:12: ./fns.h:54: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] 54 | void switch_to(); | ^ menu.c:229:16: warning: passing arguments to 'setstate9' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | setstate9(c, IconicState); | ^ menu.c:245:13: warning: passing arguments to 'setstate9' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | setstate9(c, NormalState); | ^ menu.c:247:12: warning: passing arguments to 'active' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | active(c); | ^ menu.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | switch_to_c(n,c) | ^ In file included from menu.c:12: ./fns.h:55: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] 55 | void switch_to_c(); | ^ menu.c:289:14: warning: passing arguments to 'sweep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | if (sweep(c) == 0) | ^ menu.c:291:11: warning: passing arguments to 'active' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | active(c); | ^ menu.c:296:19: warning: passing arguments to 'sendconfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | sendconfig(c); | ^ menu.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | reshape(c) | ^ In file included from menu.c:12: ./fns.h:47:9: warning: a function declaration without a prototype is 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 | void reshape(); | ^ menu.c:307:13: warning: passing arguments to 'drag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | if (drag(c) == 0) | ^ menu.c:309:11: warning: passing arguments to 'active' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | active(c); | ^ menu.c:312:15: warning: passing arguments to 'sendconfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | sendconfig(c); | ^ menu.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | move(c) | ^ In file included from menu.c:12: ./fns.h:48:9: warning: a function declaration without a prototype is 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 | void move(); | ^ menu.c:323:21: warning: passing arguments to 'sendcmessage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | sendcmessage(c->window, wm_protocols, wm_delete); | ^ menu.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | delete(c, shift) | ^ In file included from menu.c:12: ./fns.h:49:9: warning: a function declaration without a prototype is 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 | void delete(); | ^ menu.c:340:14: warning: passing arguments to 'setstate9' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | setstate9(c, IconicState); | ^ menu.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | hide(c) | ^ In file included from menu.c:12: ./fns.h:50:9: warning: a function declaration without a prototype is 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 | void hide(); | ^ menu.c:371:18: warning: passing arguments to 'setstate9' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | setstate9(c, NormalState); | ^ menu.c:372:15: warning: passing arguments to 'active' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | active(c); | ^ menu.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | unhide(n, map) | ^ In file included from menu.c:12: ./fns.h:51:9: warning: a function declaration without a prototype is 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 | void unhide(); | ^ menu.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | unhidec(c, map) | ^ In file included from menu.c:12: ./fns.h:52:9: warning: a function declaration without a prototype is 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 | void unhidec(); | ^ menu.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | renamec(c, name) | ^ In file included from menu.c:12: ./fns.h:53:9: warning: a function declaration without a prototype is 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 | void renamec(); | ^ 64 warnings generated. --- grab.o --- --- client.o --- client.c:37:25: warning: passing arguments to 'sendcmessage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | sendcmessage(c->window, wm_protocols, wm_take_focus); | ^ client.c:38:18: warning: passing arguments to 'cmapfocus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | cmapfocus(c); | ^ client.c:43:16: warning: passing arguments to 'draw_border' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | draw_border(c, on); | ^ client.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | setactive(c, on) | ^ In file included from client.c:10: ./fns.h:59:9: warning: a function declaration without a prototype is 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 | void setactive(); | ^ client.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | draw_border(c, active) | ^ In file included from client.c:10: ./fns.h:60:9: warning: a function declaration without a prototype is 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 | void draw_border(); | ^ client.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | active(c) | ^ In file included from client.c:10: ./fns.h:61:9: warning: a function declaration without a prototype is 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 | void active(); | ^ client.c:141:14: warning: passing arguments to 'cmapfocus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | cmapfocus(0); | ^ client.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | getclient(w, create) | ^ In file included from client.c:10: ./fns.h:63:10: warning: a function declaration without a prototype is 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 | Client *getclient(); | ^ client.c:199:16: warning: passing arguments to 'unhidec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | unhidec(c, 0); | ^ client.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | rmclient(c) | ^ In file included from client.c:10: ./fns.h:64:9: warning: a function declaration without a prototype is 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 | void rmclient(); | ^ --- grab.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -I/opt/pkg/include -c grab.c --- client.o --- 15 warnings generated. --- cursor.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -I/opt/pkg/include -c cursor.c --- grab.o --- grab.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | nobuttons(e) /* Einstuerzende */ | ^ grab.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | grab(w, mask, curs, t) | ^ grab.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | ungrab(e) | ^ grab.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | draw_text(been_here, wide, high, n, cur, m) | ^ In file included from grab.c:8: ./fns.h:70:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | void draw_text(); | ^ grab.c:138:17: warning: passing arguments to 'setmouse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | setmouse(e->x, e->y); | ^ grab.c:86:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | int menuhit(e, m) | ^ In file included from grab.c:8: ./fns.h:69:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | int menuhit(); | ^ grab.c:217:18: warning: passing arguments to 'graberror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | graberror("selectwin", status); /* */ | ^ grab.c:232:30: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | c = getclient(w, 0); | ^ grab.c:246:29: warning: passing arguments to 'getclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | return getclient(w, 0); | ^ grab.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | selectwin(release, shift) | ^ In file included from grab.c:8: ./fns.h:71:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | Client *selectwin(); | ^ grab.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | sweepcalc(c, x, y) | ^ grab.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | dragcalc(c, x, y) | ^ grab.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | drawbound(c) | ^ grab.c:355:15: 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] 355 | recalc(c, e0->x, e0->y); | ^ grab.c:358:17: warning: passing arguments to 'getmouse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | getmouse(&cx, &cy); | ^ grab.c:365:21: warning: passing arguments to 'getmouse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | getmouse(&rx, &ry); | ^ grab.c:369: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] 369 | recalc(c, rx, ry); | ^ grab.c:386: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] 386 | recalc(c, ev.xbutton.x, ev.xbutton.y); | ^ grab.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | sweepdrag(c, e0, recalc) | ^ grab.c:422:18: warning: passing arguments to 'graberror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | graberror("sweep", status); /* */ | ^ grab.c:433:17: warning: passing arguments to 'setmouse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | setmouse(e->x+c->min_dx, e->y+c->min_dy); | ^ grab.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | sweep(c) | ^ In file included from grab.c:8: ./fns.h:72:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | int sweep(); | ^ grab.c:445:17: warning: passing arguments to 'setmouse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | setmouse(c->x-BORDER, c->y-BORDER); | ^ grab.c:447:17: warning: passing arguments to 'getmouse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | getmouse(&c->x, &c->y); /* start at current mouse pos */ | ^ grab.c:450:18: warning: passing arguments to 'graberror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | graberror("drag", status); /* */ | ^ grab.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | drag(c) | ^ In file included from grab.c:8: ./fns.h:73:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | int drag(); | ^ grab.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | getmouse(x, y) | ^ In file included from grab.c:8: ./fns.h:74:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | void getmouse(); | ^ grab.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | setmouse(x, y) | ^ In file included from grab.c:8: ./fns.h:75:9: warning: a function declaration without a prototype is 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 | void setmouse(); | ^ --- cursor.o --- cursor.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 | getcursor(c) | ^ 1 warning generated. --- error.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -I/opt/pkg/include -c error.c --- grab.o --- 35 warnings generated. --- w9wm._man --- rm -f w9wm._man if test -z "" ; then cd `dirname w9wm` && ln -s `basename w9wm.man` `basename w9wm._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" < w9wm.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/\@\@$/\/' >w9wm._man; fi --- error.o --- error.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | fatal(s) | ^ In file included from error.c:9: ./fns.h:79:9: warning: a function declaration without a prototype is 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 | void fatal(); | ^ error.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | handler(d, e) | ^ In file included from error.c:9: ./fns.h:78:9: warning: a function declaration without a prototype is 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 | int handler(); | ^ error.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | graberror(f, err) | ^ In file included from error.c:9: ./fns.h:80:9: warning: a function declaration without a prototype is 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 | void graberror(); | ^ error.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | showhints(c, size) | ^ In file included from error.c:9: ./fns.h:81:9: warning: a function declaration without a prototype is 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 | void showhints(); | ^ 8 warnings generated. --- w9wm --- rm -f w9wm clang -o w9wm -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib 9wm.o manage.o menu.o client.o grab.o cursor.o error.o -lXext -lX11