=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/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 --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSHAPE -I/opt/pkg/include -c manage.c --- 9wm.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSHAPE -I/opt/pkg/include -c 9wm.c --- manage.o --- manage.c: In function 'manage': manage.c:13:1: warning: old-style function definition [-Wold-style-definition] 13 | manage(c, mapped) | ^~~~~~ manage.c:16:1: error: number of arguments doesn't match prototype 16 | { | ^ In file included from manage.c:10: fns.h:25:9: error: prototype declaration 25 | int manage(); | ^~~~~~ manage.c:29:23: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 29 | c->is9term = (strcmp(c->class, "9term") == 0); | ^~~~~~ manage.c:11:1: note: include '' or provide a declaration of 'strcmp' 10 | #include "fns.h" +++ |+#include 11 | manage.c:36:19: error: too many arguments to function 'getprop'; expected 0, have 2 36 | c->iconname = getprop(c->window, XA_WM_ICON_NAME); | ^~~~~~~ ~~~~~~~~~ fns.h:33:10: note: declared here 33 | char *getprop(); | ^~~~~~~ manage.c:37:15: error: too many arguments to function 'getprop'; expected 0, have 2 37 | c->name = getprop(c->window, XA_WM_NAME); | ^~~~~~~ ~~~~~~~~~ fns.h:33:10: note: declared here 33 | char *getprop(); | ^~~~~~~ manage.c:38:5: error: too many arguments to function 'setlabel'; expected 0, have 1 38 | setlabel(c); | ^~~~~~~~ ~ fns.h:38:9: note: declared here 38 | void setlabel(); | ^~~~~~~~ manage.c:44:5: error: too many arguments to function 'getcmaps'; expected 0, have 1 44 | getcmaps(c); | ^~~~~~~~ ~ fns.h:31:9: note: declared here 31 | void getcmaps(); | ^~~~~~~~ manage.c:45:5: error: too many arguments to function 'getproto'; expected 0, have 1 45 | getproto(c); | ^~~~~~~~ ~ fns.h:39:9: note: declared here 39 | void getproto(); | ^~~~~~~~ manage.c:46:5: error: too many arguments to function 'gettrans'; expected 0, have 1 46 | gettrans(c); | ^~~~~~~~ ~ fns.h:40:9: note: declared here 40 | void gettrans(); | ^~~~~~~~ manage.c:48:19: error: too many arguments to function 'getiprop'; expected 0, have 2 48 | c->hold = getiprop(c->window, _9wm_hold_mode); | ^~~~~~~~ ~~~~~~~~~ fns.h:35:9: note: declared here 35 | int getiprop(); | ^~~~~~~~ manage.c:52:10: error: too many arguments to function 'getstate'; expected 0, have 2 52 | if (!getstate(c->window, &state)) | ^~~~~~~~ ~~~~~~~~~ fns.h:36:9: note: declared here 36 | int getstate(); | ^~~~~~~~ manage.c:93:9: error: too many arguments to function 'cmapfocus'; expected 0, have 1 93 | cmapfocus(0); | ^~~~~~~~~ ~ fns.h:30:9: note: declared here 30 | void cmapfocus(); | ^~~~~~~~~ manage.c:94:25: error: too many arguments to function 'drag'; expected 0, have 1 94 | if (!(fixsize ? drag(c) : sweep(c)) && c->is9term) { | ^~~~ ~ fns.h:73:9: note: declared here 73 | int drag(); | ^~~~ manage.c:94:35: error: too many arguments to function 'sweep'; expected 0, have 1 94 | if (!(fixsize ? drag(c) : sweep(c)) && c->is9term) { | ^~~~~ ~ fns.h:72:9: note: declared here 72 | int sweep(); | ^~~~~ manage.c:96:13: error: too many arguments to function 'rmclient'; expected 0, have 1 96 | rmclient(c); | ^~~~~~~~ ~ fns.h:64:9: note: declared here 64 | void rmclient(); | ^~~~~~~~ manage.c:97:13: error: too many arguments to function 'cmapfocus'; expected 0, have 1 97 | cmapfocus(current); | ^~~~~~~~~ ~~~~~~~ fns.h:30:9: note: declared here 30 | void cmapfocus(); | ^~~~~~~~~ manage.c:102:9: error: too many arguments to function 'gravitate'; expected 0, have 2 102 | gravitate(c, 0); | ^~~~~~~~~ ~ fns.h:28:9: note: declared here 28 | void gravitate(); | ^~~~~~~~~ manage.c:119:9: error: too many arguments to function 'setshape'; expected 0, have 1 119 | setshape(c); | ^~~~~~~~ ~ fns.h:26:9: note: declared here 26 | void setshape(); | ^~~~~~~~ manage.c:125:9: error: too many arguments to function 'hide'; expected 0, have 1 125 | hide(c); | ^~~~ ~ fns.h:50:9: note: declared here 50 | void hide(); | ^~~~ manage.c:130:13: error: too many arguments to function 'active'; expected 0, have 1 130 | active(c); | ^~~~~~ ~ fns.h:61:9: note: declared here 61 | void active(); | ^~~~~~ manage.c:132:13: error: too many arguments to function 'active'; expected 0, have 1 132 | active(c); | ^~~~~~ ~ fns.h:61:9: note: declared here 61 | void active(); | ^~~~~~ manage.c:134:13: error: too many arguments to function 'setactive'; expected 0, have 2 134 | setactive(c, 0); | ^~~~~~~~~ ~ fns.h:59:9: note: declared here 59 | void setactive(); | ^~~~~~~~~ manage.c:135:9: error: too many arguments to function 'setstate9'; expected 0, have 2 135 | setstate9(c, NormalState); | ^~~~~~~~~ ~ fns.h:37:9: note: declared here 37 | void setstate9(); | ^~~~~~~~~ manage.c:138:9: error: too many arguments to function 'cmapfocus'; expected 0, have 1 138 | cmapfocus(current); | ^~~~~~~~~ ~~~~~~~ fns.h:30:9: note: declared here 30 | void cmapfocus(); | ^~~~~~~~~ manage.c: In function 'gettrans': manage.c:144:1: warning: old-style function definition [-Wold-style-definition] 144 | gettrans(c) | ^~~~~~~~ manage.c:146:1: error: number of arguments doesn't match prototype 146 | { | ^ fns.h:40:9: error: prototype declaration 40 | void gettrans(); | ^~~~~~~~ manage.c: In function 'withdraw': manage.c:157:1: warning: old-style function definition [-Wold-style-definition] 157 | withdraw(c) | ^~~~~~~~ manage.c:159:1: error: number of arguments doesn't match prototype 159 | { | ^ fns.h:27:9: error: prototype declaration 27 | void withdraw(); | ^~~~~~~~ manage.c:161:5: error: too many arguments to function 'gravitate'; expected 0, have 2 161 | gravitate(c, 1); | ^~~~~~~~~ ~ fns.h:28:9: note: declared here 28 | void gravitate(); | ^~~~~~~~~ manage.c:163:5: error: too many arguments to function 'gravitate'; expected 0, have 2 163 | gravitate(c, 0); | ^~~~~~~~~ ~ fns.h:28:9: note: declared here 28 | void gravitate(); | ^~~~~~~~~ manage.c:165:5: error: too many arguments to function 'setstate9'; expected 0, have 2 165 | setstate9(c, WithdrawnState); | ^~~~~~~~~ ~ fns.h:37:9: note: declared here 37 | void setstate9(); | ^~~~~~~~~ manage.c: In function 'gravitate': manage.c:174:1: warning: old-style function definition [-Wold-style-definition] 174 | gravitate(c, invert) | ^~~~~~~~~ manage.c:177:1: error: number of arguments doesn't match prototype 177 | { | ^ fns.h:28:9: error: prototype declaration 28 | void gravitate(); | ^~~~~~~~~ --- 9wm.o --- 9wm.c: In function 'main': --- manage.o --- manage.c: In function 'cleanup': manage.c:245:9: error: too many arguments to function 'gravitate'; expected 0, have 2 245 | gravitate(c, 1); | ^~~~~~~~~ ~ manage.c:174:1: note: declared here 174 | gravitate(c, invert) | ^~~~~~~~~ --- 9wm.o --- 9wm.c:75:1: warning: old-style function definition [-Wold-style-definition] 75 | main(argc, argv) | ^~~~ --- manage.o --- manage.c:251:5: error: too many arguments to function 'cmapfocus'; expected 0, have 1 251 | cmapfocus(0); | ^~~~~~~~~ ~ fns.h:30:9: note: declared here 30 | void cmapfocus(); | ^~~~~~~~~ manage.c: In function 'installcmap': manage.c:256:1: warning: old-style function definition [-Wold-style-definition] 256 | installcmap(cmap) | ^~~~~~~~~~~ manage.c: In function 'cmapfocus': manage.c:263:1: warning: old-style function definition [-Wold-style-definition] 263 | cmapfocus(c) | ^~~~~~~~~ manage.c:265:1: error: number of arguments doesn't match prototype 265 | { | ^ fns.h:30:9: error: prototype declaration 30 | void cmapfocus(); | ^~~~~~~~~ manage.c:281:40: error: too many arguments to function 'getclient'; expected 0, have 2 281 | else if (c->trans != None && (cc = getclient(c->trans, 0)) != 0 && cc->ncmapwins != 0) | ^~~~~~~~~ ~~~~~~~~ fns.h:63:10: note: declared here 63 | Client *getclient(); | ^~~~~~~~~ manage.c:282:9: error: too many arguments to function 'cmapfocus'; expected 0, have 1 282 | cmapfocus(cc); | ^~~~~~~~~ ~~ manage.c:263:1: note: declared here 263 | cmapfocus(c) | ^~~~~~~~~ manage.c: In function 'getcmaps': manage.c:288:1: warning: old-style function definition [-Wold-style-definition] 288 | getcmaps(c) | ^~~~~~~~ manage.c:290:1: error: number of arguments doesn't match prototype 290 | { | ^ fns.h:31:9: error: prototype declaration 31 | void getcmaps(); | ^~~~~~~~ manage.c:300:9: error: too many arguments to function '_getprop'; expected 0, have 5 300 | n = _getprop(c->window, wm_colormaps, XA_WINDOW, 100L, (unsigned char **)&cw); | ^~~~~~~~ ~~~~~~~~~ fns.h:32:9: note: declared here 32 | int _getprop(); | ^~~~~~~~ manage.c: In function 'setlabel': manage.c:326:1: warning: old-style function definition [-Wold-style-definition] 326 | setlabel(c) | ^~~~~~~~ manage.c:328:1: error: number of arguments doesn't match prototype 328 | { | ^ fns.h:38:9: error: prototype declaration 38 | void setlabel(); | ^~~~~~~~ manage.c: In function 'setshape': manage.c:341:1: warning: old-style function definition [-Wold-style-definition] 341 | setshape(c) | ^~~~~~~~ manage.c:343:1: error: number of arguments doesn't match prototype 343 | { | ^ fns.h:26:9: error: prototype declaration 26 | void setshape(); | ^~~~~~~~ manage.c: In function '_getprop': manage.c:357:1: warning: old-style function definition [-Wold-style-definition] 357 | _getprop(w, a, type, len, p) | ^~~~~~~~ manage.c:363:1: error: number of arguments doesn't match prototype 363 | { | ^ fns.h:32:9: error: prototype declaration 32 | int _getprop(); | ^~~~~~~~ manage.c: In function 'getprop': manage.c:379:1: warning: old-style function definition [-Wold-style-definition] 379 | getprop(w, a) | ^~~~~~~ manage.c:382:1: error: number of arguments doesn't match prototype 382 | { | ^ fns.h:33:10: error: prototype declaration 33 | char *getprop(); | ^~~~~~~ manage.c:385:9: error: too many arguments to function '_getprop'; expected 0, have 5 385 | if (_getprop(w, a, XA_STRING, 100L, &p) <= 0) | ^~~~~~~~ ~ manage.c:357:1: note: declared here 357 | _getprop(w, a, type, len, p) | ^~~~~~~~ manage.c: In function 'get1prop': manage.c:391:1: warning: old-style function definition [-Wold-style-definition] 391 | get1prop(w, a, type) | ^~~~~~~~ manage.c:398:9: error: too many arguments to function '_getprop'; expected 0, have 5 398 | if (_getprop(w, a, type, 1L, &p) <= 0) | ^~~~~~~~ ~ manage.c:357:1: note: declared here 357 | _getprop(w, a, type, len, p) | ^~~~~~~~ manage.c:402:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 402 | return (int)x; | ^ manage.c: In function 'getwprop': manage.c:406:1: warning: old-style function definition [-Wold-style-definition] 406 | getwprop(w, a) | ^~~~~~~~ manage.c:409:1: error: number of arguments doesn't match prototype 409 | { | ^ fns.h:34:9: error: prototype declaration 34 | Window getwprop(); | ^~~~~~~~ manage.c: In function 'getiprop': manage.c:414:1: warning: old-style function definition [-Wold-style-definition] 414 | getiprop(w, a) | ^~~~~~~~ manage.c:417:1: error: number of arguments doesn't match prototype 417 | { | ^ fns.h:35:9: error: prototype declaration 35 | int getiprop(); | ^~~~~~~~ --- 9wm.o --- 9wm.c:156:9: error: too many arguments to function 'fatal'; expected 0, have 1 156 | fatal("can't open display"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~ --- manage.o --- manage.c: In function 'setstate9': manage.c:422:1: warning: old-style function definition [-Wold-style-definition] 422 | setstate9(c, state) | ^~~~~~~~~ manage.c:425:1: error: number of arguments doesn't match prototype 425 | { | ^ fns.h:37:9: error: prototype declaration 37 | void setstate9(); | ^~~~~~~~~ --- 9wm.o --- In file included from 9wm.c:12: fns.h:79:9: note: declared here 79 | void fatal(); | ^~~~~ --- manage.o --- manage.c: In function 'getstate': manage.c:437:1: warning: old-style function definition [-Wold-style-definition] 437 | getstate(w, state) | ^~~~~~~~ manage.c:440:1: error: number of arguments doesn't match prototype 440 | { | ^ fns.h:36:9: error: prototype declaration 36 | int getstate(); | ^~~~~~~~ manage.c:443:9: error: too many arguments to function '_getprop'; expected 0, have 5 443 | if (_getprop(w, wm_state, wm_state, 2L, (char**)&p) <= 0) | ^~~~~~~~ ~ manage.c:357:1: note: declared here 357 | _getprop(w, a, type, len, p) | ^~~~~~~~ manage.c: In function 'getproto': manage.c:452:1: warning: old-style function definition [-Wold-style-definition] 452 | getproto(c) | ^~~~~~~~ --- 9wm.o --- 9wm.c:163:22: error: passing argument 1 of 'XSetErrorHandler' from incompatible pointer type [-Wincompatible-pointer-types] 163 | XSetErrorHandler(handler); | ^~~~~~~ | | | int (*)(void) --- manage.o --- manage.c:454:1: error: number of arguments doesn't match prototype 454 | { | ^ fns.h:39:9: error: prototype declaration 39 | void getproto(); | ^~~~~~~~ manage.c:462:14: error: too many arguments to function '_getprop'; expected 0, have 5 462 | if ((n = _getprop(w, wm_protocols, XA_ATOM, 20L, (char**)&p)) <= 0) | ^~~~~~~~ ~ manage.c:357:1: note: declared here 357 | _getprop(w, a, type, len, p) | ^~~~~~~~ --- 9wm.o --- In file included from 9wm.c:7: /home/pbulk/work/wm/w9wm/work/.buildlink/include/X11/Xlib.h:1849:5: note: expected 'XErrorHandler' {aka 'int (*)(struct _XDisplay *, XErrorEvent *)'} but argument is of type 'int (*)(void)' 1849 | XErrorHandler /* handler */ | ^~~~~~~~~~~~~ fns.h:78:9: note: 'handler' declared here 78 | int handler(); | ^~~~~~~ /home/pbulk/work/wm/w9wm/work/.buildlink/include/X11/Xlib.h:1843:15: note: 'XErrorHandler' declared here 1843 | typedef int (*XErrorHandler) ( /* WARNING, this type not in Xlib spec */ | ^~~~~~~~~~~~~ 9wm.c:164:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 164 | if (signal(SIGTERM, sighandler) == SIG_IGN) | ^~~~~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from 9wm.c:3: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ 9wm.c:63:18: note: 'sighandler' declared here 63 | void usage(), sighandler(), getevent(); | ^~~~~~~~~~ 9wm.c:166:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 166 | if (signal(SIGINT, sighandler) == SIG_IGN) | ^~~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ 9wm.c:63:18: note: 'sighandler' declared here 63 | void usage(), sighandler(), getevent(); | ^~~~~~~~~~ 9wm.c:168:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 168 | if (signal(SIGHUP, sighandler) == SIG_IGN) | ^~~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ 9wm.c:63:18: note: 'sighandler' declared here 63 | void usage(), sighandler(), getevent(); | ^~~~~~~~~~ 9wm.c:176:9: error: too many arguments to function 'sendcmessage'; expected 0, have 3 176 | sendcmessage(root, exit_9wm, 0L); | ^~~~~~~~~~~~ ~~~~ fns.h:3:9: note: declared here 3 | void sendcmessage(); | ^~~~~~~~~~~~ 9wm.c:181:9: error: too many arguments to function 'sendcmessage'; expected 0, have 3 181 | sendcmessage(root, restart_9wm, 0L); | ^~~~~~~~~~~~ ~~~~ fns.h:3:9: note: declared here 3 | void sendcmessage(); | ^~~~~~~~~~~~ 9wm.c:250:5: error: too many arguments to function 'initb2menu'; expected 0, have 1 250 | initb2menu(numvirtuals); | ^~~~~~~~~~ ~~~~~~~~~~~ fns.h:56:9: note: declared here 56 | void initb2menu(); | ^~~~~~~~~~ 9wm.c:263:9: error: too many arguments to function 'getevent'; expected 0, have 1 263 | getevent(&ev); | ^~~~~~~~ ~~~ 9wm.c:63:32: note: declared here 63 | void usage(), sighandler(), getevent(); | ^~~~~~~~ 9wm.c:275:17: error: too many arguments to function 'shapenotify'; expected 0, have 1 275 | shapenotify((XShapeEvent *)&ev); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ fns.h:17:9: note: declared here 17 | void shapenotify(); | ^~~~~~~~~~~ 9wm.c:306:13: error: too many arguments to function 'button'; expected 0, have 1 306 | button(&ev.xbutton); | ^~~~~~ ~~~~~~~~~~~ fns.h:43:9: note: declared here 43 | void button(); | ^~~~~~ 9wm.c:315:13: error: too many arguments to function 'mapreq'; expected 0, have 1 315 | mapreq(&ev.xmaprequest); | ^~~~~~ ~~~~~~~~~~~~~~~ fns.h:8:9: note: declared here 8 | void mapreq(); | ^~~~~~ 9wm.c:318:11: error: too many arguments to function 'configurereq'; expected 0, have 1 318 | configurereq(&ev.xconfigurerequest); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ fns.h:7:9: note: declared here 7 | void configurereq(); | ^~~~~~~~~~~~ 9wm.c:321:13: error: too many arguments to function 'circulatereq'; expected 0, have 1 321 | circulatereq(&ev.xcirculaterequest); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ fns.h:9:9: note: declared here 9 | void circulatereq(); | ^~~~~~~~~~~~ 9wm.c:324:13: error: too many arguments to function 'unmap'; expected 0, have 1 324 | unmap(&ev.xunmap); | ^~~~~ ~~~~~~~~~~ fns.h:10:9: note: declared here 10 | void unmap(); | ^~~~~ 9wm.c:327:13: error: too many arguments to function 'newwindow'; expected 0, have 1 327 | newwindow(&ev.xcreatewindow); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ fns.h:11:9: note: declared here 11 | void newwindow(); | ^~~~~~~~~ 9wm.c:330:13: error: too many arguments to function 'destroy'; expected 0, have 1 330 | destroy(ev.xdestroywindow.window); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ fns.h:12:9: note: declared here 12 | void destroy(); | ^~~~~~~ 9wm.c:333:13: error: too many arguments to function 'clientmesg'; expected 0, have 1 333 | clientmesg(&ev.xclient); | ^~~~~~~~~~ ~~~~~~~~~~~ fns.h:14:9: note: declared here 14 | void clientmesg(); | ^~~~~~~~~~ 9wm.c:336:13: error: too many arguments to function 'cmap'; expected 0, have 1 336 | cmap(&ev.xcolormap); | ^~~~ ~~~~~~~~~~~~~ fns.h:15:9: note: declared here 15 | void cmap(); | ^~~~ 9wm.c:339:13: error: too many arguments to function 'property'; expected 0, have 1 339 | property(&ev.xproperty); | ^~~~~~~~ ~~~~~~~~~~~~~ fns.h:16:9: note: declared here 16 | void property(); | ^~~~~~~~ 9wm.c:351:13: error: too many arguments to function 'enter'; expected 0, have 1 351 | enter(&ev.xcrossing); | ^~~~~ ~~~~~~~~~~~~~ fns.h:18:9: note: declared here 18 | void enter(); | ^~~~~ 9wm.c:354:13: error: too many arguments to function 'reparent'; expected 0, have 1 354 | reparent(&ev.xreparent); | ^~~~~~~~ ~~~~~~~~~~~~~ fns.h:19:9: note: declared here 19 | void reparent(); | ^~~~~~~~ 9wm.c: In function 'activateprevious': 9wm.c:394:7: error: too many arguments to function 'active'; expected 0, have 1 394 | active(tmp); | ^~~~~~ ~~~ fns.h:61:9: note: declared here 61 | void active(); | ^~~~~~ 9wm.c: In function 'activatenext': 9wm.c:417:9: error: too many arguments to function 'active'; expected 0, have 1 417 | active(c); | ^~~~~~ ~ fns.h:61:9: note: declared here 61 | void active(); | ^~~~~~ 9wm.c: In function 'sendcmessage': 9wm.c:433:1: warning: old-style function definition [-Wold-style-definition] 433 | sendcmessage(w, a, x) | ^~~~~~~~~~~~ 9wm.c:437:1: error: number of arguments doesn't match prototype 437 | { | ^ fns.h:3:9: error: prototype declaration 3 | void sendcmessage(); | ^~~~~~~~~~~~ 9wm.c: In function 'sendconfig': 9wm.c:472:1: warning: old-style function definition [-Wold-style-definition] 472 | sendconfig(c) | ^~~~~~~~~~ 9wm.c:474:1: error: number of arguments doesn't match prototype 474 | { | ^ fns.h:5:9: error: prototype declaration 5 | void sendconfig(); | ^~~~~~~~~~ 9wm.c: In function 'scanwins': 9wm.c:503:13: error: too many arguments to function 'getclient'; expected 0, have 2 503 | c = getclient(wins[i], 1); | ^~~~~~~~~ ~~~~~~~ fns.h:63:10: note: declared here 63 | Client *getclient(); | ^~~~~~~~~ 9wm.c:511:17: error: too many arguments to function 'manage'; expected 0, have 2 511 | manage(c, 1); | ^~~~~~ ~ fns.h:25:9: note: declared here 25 | int manage(); | ^~~~~~ 9wm.c: In function 'configurereq': 9wm.c:518:1: warning: old-style function definition [-Wold-style-definition] 518 | configurereq(e) | ^~~~~~~~~~~~ 9wm.c:520:1: error: number of arguments doesn't match prototype 520 | { | ^ fns.h:7:9: error: prototype declaration 7 | void configurereq(); | ^~~~~~~~~~~~ 9wm.c:526:9: error: too many arguments to function 'getclient'; expected 0, have 2 526 | c = getclient(e->window, 0); | ^~~~~~~~~ ~~~~~~~~~ fns.h:63:10: note: declared here 63 | Client *getclient(); | ^~~~~~~~~ 9wm.c:528:9: error: too many arguments to function 'gravitate'; expected 0, have 2 528 | gravitate(c, 1); | ^~~~~~~~~ ~ fns.h:28:9: note: declared here 28 | void gravitate(); | ^~~~~~~~~ 9wm.c:546:9: error: too many arguments to function 'gravitate'; expected 0, have 2 546 | gravitate(c, 0); | ^~~~~~~~~ ~ fns.h:28:9: note: declared here 28 | void gravitate(); | ^~~~~~~~~ 9wm.c:556:13: error: too many arguments to function 'sendconfig'; expected 0, have 1 556 | sendconfig(c); | ^~~~~~~~~~ ~ 9wm.c:472:1: note: declared here 472 | sendconfig(c) | ^~~~~~~~~~ 9wm.c: In function 'mapreq': 9wm.c:579:1: warning: old-style function definition [-Wold-style-definition] 579 | mapreq(e) | ^~~~~~ 9wm.c:581:1: error: number of arguments doesn't match prototype 581 | { | ^ fns.h:8:9: error: prototype declaration 8 | void mapreq(); | ^~~~~~ 9wm.c:585:9: error: too many arguments to function 'getclient'; expected 0, have 2 585 | c = getclient(e->window, 0); | ^~~~~~~~~ ~~~~~~~~~ fns.h:63:10: note: declared here 63 | Client *getclient(); | ^~~~~~~~~ 9wm.c:594:18: error: too many arguments to function 'manage'; expected 0, have 2 594 | if (!manage(c, 0)) | ^~~~~~ ~ fns.h:25:9: note: declared here 25 | int manage(); | ^~~~~~ 9wm.c:604:9: error: too many arguments to function 'setstate9'; expected 0, have 2 604 | setstate9(c, NormalState); | ^~~~~~~~~ ~ fns.h:37:9: note: declared here 37 | void setstate9(); | ^~~~~~~~~ 9wm.c:606:17: error: too many arguments to function 'active'; expected 0, have 1 606 | active(c); | ^~~~~~ ~ fns.h:61:9: note: declared here 61 | void active(); | ^~~~~~ 9wm.c:609:9: error: too many arguments to function 'unhidec'; expected 0, have 2 609 | unhidec(c, 1); | ^~~~~~~ ~ fns.h:52:9: note: declared here 52 | void unhidec(); | ^~~~~~~ 9wm.c: In function 'unmap': 9wm.c:615:1: warning: old-style function definition [-Wold-style-definition] 615 | unmap(e) | ^~~~~ 9wm.c:617:1: error: number of arguments doesn't match prototype 617 | { | ^ fns.h:10:9: error: prototype declaration 10 | void unmap(); | ^~~~~ 9wm.c:621:9: error: too many arguments to function 'getclient'; expected 0, have 2 621 | c = getclient(e->window, 0); | ^~~~~~~~~ ~~~~~~~~~ fns.h:63:10: note: declared here 63 | Client *getclient(); | ^~~~~~~~~ 9wm.c:626:17: error: too many arguments to function 'unhidec'; expected 0, have 2 626 | unhidec(c, 0); | ^~~~~~~ ~ fns.h:52:9: note: declared here 52 | void unhidec(); | ^~~~~~~ 9wm.c:627:17: error: too many arguments to function 'withdraw'; expected 0, have 1 627 | withdraw(c); | ^~~~~~~~ ~ fns.h:27:9: note: declared here 27 | void withdraw(); | ^~~~~~~~ 9wm.c:635:17: error: too many arguments to function 'withdraw'; expected 0, have 1 635 | withdraw(c); | ^~~~~~~~ ~ fns.h:27:9: note: declared here 27 | void withdraw(); | ^~~~~~~~ 9wm.c: In function 'circulatereq': 9wm.c:644:1: warning: old-style function definition [-Wold-style-definition] 644 | circulatereq(e) | ^~~~~~~~~~~~ 9wm.c:646:1: error: number of arguments doesn't match prototype 646 | { | ^ fns.h:9:9: error: prototype declaration 9 | void circulatereq(); | ^~~~~~~~~~~~ 9wm.c: In function 'newwindow': 9wm.c:651:1: warning: old-style function definition [-Wold-style-definition] 651 | newwindow(e) | ^~~~~~~~~ 9wm.c:653:1: error: number of arguments doesn't match prototype 653 | { | ^ fns.h:11:9: error: prototype declaration 11 | void newwindow(); | ^~~~~~~~~ 9wm.c:659:9: error: too many arguments to function 'getclient'; expected 0, have 2 659 | c = getclient(e->window, 1); | ^~~~~~~~~ ~~~~~~~~~ fns.h:63:10: note: declared here 63 | Client *getclient(); | ^~~~~~~~~ 9wm.c: In function 'destroy': 9wm.c:670:1: warning: old-style function definition [-Wold-style-definition] 670 | destroy(w) | ^~~~~~~ 9wm.c:672:1: error: number of arguments doesn't match prototype 672 | { | ^ fns.h:12:9: error: prototype declaration 12 | void destroy(); | ^~~~~~~ 9wm.c:676:9: error: too many arguments to function 'getclient'; expected 0, have 2 676 | c = getclient(w, 0); | ^~~~~~~~~ ~ fns.h:63:10: note: declared here 63 | Client *getclient(); | ^~~~~~~~~ 9wm.c:680:5: error: too many arguments to function 'rmclient'; expected 0, have 1 680 | rmclient(c); | ^~~~~~~~ ~ fns.h:64:9: note: declared here 64 | void rmclient(); | ^~~~~~~~ 9wm.c: In function 'clientmesg': 9wm.c:689:1: warning: old-style function definition [-Wold-style-definition] 689 | clientmesg(e) | ^~~~~~~~~~ 9wm.c:691:1: error: number of arguments doesn't match prototype 691 | { | ^ fns.h:14:9: error: prototype declaration 14 | void clientmesg(); | ^~~~~~~~~~ 9wm.c:707:13: error: too many arguments to function 'getclient'; expected 0, have 2 707 | c = getclient(e->window, 0); | ^~~~~~~~~ ~~~~~~~~~ fns.h:63:10: note: declared here 63 | Client *getclient(); | ^~~~~~~~~ 9wm.c:710:17: error: too many arguments to function 'hide'; expected 0, have 1 710 | hide(c); | ^~~~ ~ fns.h:50:9: note: declared here 50 | void hide(); | ^~~~ 9wm.c: In function 'cmap': 9wm.c:722:1: warning: old-style function definition [-Wold-style-definition] 722 | cmap(e) | ^~~~ 9wm.c:724:1: error: number of arguments doesn't match prototype 724 | { | ^ fns.h:15:9: error: prototype declaration 15 | void cmap(); | ^~~~ 9wm.c:730:13: error: too many arguments to function 'getclient'; expected 0, have 2 730 | c = getclient(e->window, 0); | ^~~~~~~~~ ~~~~~~~~~ fns.h:63:10: note: declared here 63 | Client *getclient(); | ^~~~~~~~~ 9wm.c:734:17: error: too many arguments to function 'cmapfocus'; expected 0, have 1 734 | cmapfocus(c); | ^~~~~~~~~ ~ fns.h:30:9: note: declared here 30 | void cmapfocus(); | ^~~~~~~~~ 9wm.c:742:29: error: too many arguments to function 'cmapfocus'; expected 0, have 1 742 | cmapfocus(c); | ^~~~~~~~~ ~ fns.h:30:9: note: declared here 30 | void cmapfocus(); | ^~~~~~~~~ 9wm.c: In function 'property': 9wm.c:749:1: warning: old-style function definition [-Wold-style-definition] 749 | property(e) | ^~~~~~~~ 9wm.c:751:1: error: number of arguments doesn't match prototype 751 | { | ^ fns.h:16:9: error: prototype declaration 16 | void property(); | ^~~~~~~~ 9wm.c:759:9: error: too many arguments to function 'getclient'; expected 0, have 2 759 | c = getclient(e->window, 0); | ^~~~~~~~~ ~~~~~~~~~ fns.h:63:10: note: declared here 63 | Client *getclient(); | ^~~~~~~~~ 9wm.c:767:23: error: too many arguments to function 'getprop'; expected 0, have 2 767 | c->iconname = getprop(c->window, XA_WM_ICON_NAME); | ^~~~~~~ ~~~~~~~~~ fns.h:33:10: note: declared here 33 | char *getprop(); | ^~~~~~~ 9wm.c:768:9: error: too many arguments to function 'setlabel'; expected 0, have 1 768 | setlabel(c); | ^~~~~~~~ ~ fns.h:38:9: note: declared here 38 | void setlabel(); | ^~~~~~~~ 9wm.c:769:9: error: too many arguments to function 'renamec'; expected 0, have 2 769 | renamec(c, c->label); | ^~~~~~~ ~ fns.h:53:9: note: declared here 53 | void renamec(); | ^~~~~~~ 9wm.c:774:19: error: too many arguments to function 'getprop'; expected 0, have 2 774 | c->name = getprop(c->window, XA_WM_NAME); | ^~~~~~~ ~~~~~~~~~ fns.h:33:10: note: declared here 33 | char *getprop(); | ^~~~~~~ 9wm.c:775:9: error: too many arguments to function 'setlabel'; expected 0, have 1 775 | setlabel(c); | ^~~~~~~~ ~ fns.h:38:9: note: declared here 38 | void setlabel(); | ^~~~~~~~ 9wm.c:776:9: error: too many arguments to function 'renamec'; expected 0, have 2 776 | renamec(c, c->label); | ^~~~~~~ ~ fns.h:53:9: note: declared here 53 | void renamec(); | ^~~~~~~ 9wm.c:779:9: error: too many arguments to function 'gettrans'; expected 0, have 1 779 | gettrans(c); | ^~~~~~~~ ~ fns.h:40:9: note: declared here 40 | void gettrans(); | ^~~~~~~~ 9wm.c:783:19: error: too many arguments to function 'getiprop'; expected 0, have 2 783 | c->hold = getiprop(c->window, _9wm_hold_mode); | ^~~~~~~~ ~~~~~~~~~ fns.h:35:9: note: declared here 35 | int getiprop(); | ^~~~~~~~ 9wm.c:785:13: error: too many arguments to function 'draw_border'; expected 0, have 2 785 | draw_border(c, 1); | ^~~~~~~~~~~ ~ fns.h:60:9: note: declared here 60 | void draw_border(); | ^~~~~~~~~~~ 9wm.c:788:9: error: too many arguments to function 'getcmaps'; expected 0, have 1 788 | getcmaps(c); | ^~~~~~~~ ~ fns.h:31:9: note: declared here 31 | void getcmaps(); | ^~~~~~~~ 9wm.c:790:13: error: too many arguments to function 'cmapfocus'; expected 0, have 1 790 | cmapfocus(c); | ^~~~~~~~~ ~ fns.h:30:9: note: declared here 30 | void cmapfocus(); | ^~~~~~~~~ 9wm.c: In function 'reparent': 9wm.c:795:1: warning: old-style function definition [-Wold-style-definition] 795 | reparent(e) | ^~~~~~~~ 9wm.c:797:1: error: number of arguments doesn't match prototype 797 | { | ^ fns.h:19:9: error: prototype declaration 19 | void reparent(); | ^~~~~~~~ 9wm.c:804:13: error: too many arguments to function 'getclient'; expected 0, have 2 804 | c = getclient(e->window, 1); | ^~~~~~~~~ ~~~~~~~~~ fns.h:63:10: note: declared here 63 | Client *getclient(); | ^~~~~~~~~ 9wm.c:815:13: error: too many arguments to function 'getclient'; expected 0, have 2 815 | c = getclient(e->window, 0); | ^~~~~~~~~ ~~~~~~~~~ fns.h:63:10: note: declared here 63 | Client *getclient(); | ^~~~~~~~~ 9wm.c:817:13: error: too many arguments to function 'rmclient'; expected 0, have 1 817 | rmclient(c); | ^~~~~~~~ ~ fns.h:64:9: note: declared here 64 | void rmclient(); | ^~~~~~~~ 9wm.c: In function 'shapenotify': 9wm.c:823:1: warning: old-style function definition [-Wold-style-definition] 823 | shapenotify(e) | ^~~~~~~~~~~ 9wm.c:825:1: error: number of arguments doesn't match prototype 825 | { | ^ fns.h:17:9: error: prototype declaration 17 | void shapenotify(); | ^~~~~~~~~~~ 9wm.c:828:9: error: too many arguments to function 'getclient'; expected 0, have 2 828 | c = getclient(e->window, 0); | ^~~~~~~~~ ~~~~~~~~~ fns.h:63:10: note: declared here 63 | Client *getclient(); | ^~~~~~~~~ 9wm.c:832:5: error: too many arguments to function 'setshape'; expected 0, have 1 832 | setshape(c); | ^~~~~~~~ ~ fns.h:26:9: note: declared here 26 | void setshape(); | ^~~~~~~~ 9wm.c: In function 'enter': 9wm.c:837:1: warning: old-style function definition [-Wold-style-definition] 837 | enter(e) | ^~~~~ 9wm.c:839:1: error: number of arguments doesn't match prototype 839 | { | ^ fns.h:18:9: error: prototype declaration 18 | void enter(); | ^~~~~ 9wm.c:845:9: error: too many arguments to function 'getclient'; expected 0, have 2 845 | c = getclient(e->window, 0); | ^~~~~~~~~ ~~~~~~~~~ fns.h:63:10: note: declared here 63 | Client *getclient(); | ^~~~~~~~~ 9wm.c:848:9: error: too many arguments to function 'active'; expected 0, have 1 848 | active(c); | ^~~~~~ ~ fns.h:61:9: note: declared here 61 | void active(); | ^~~~~~ 9wm.c: In function 'getevent': 9wm.c:859:1: warning: old-style function definition [-Wold-style-definition] 859 | getevent(e) | ^~~~~~~~ 9wm.c:861:1: error: number of arguments doesn't match prototype 861 | { | ^ 9wm.c:63:32: error: prototype declaration 63 | void usage(), sighandler(), getevent(); | ^~~~~~~~ --- manage.o --- *** [manage.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/wm/w9wm/work/w9wm-0.4.2.orig --- 9wm.o --- *** [9wm.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/wm/w9wm/work/w9wm-0.4.2.orig bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/wm/w9wm/work/w9wm-0.4.2.orig *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/wm/w9wm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/wm/w9wm