=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/games/spider", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for spider-1.1nb3 --- gfx.o --- --- spider.o --- --- gfx.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 -DXAW -DROUND_CARDS -DHELPDIR="\"/opt/pkg/share/doc/spider\"" -c gfx.c --- spider.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 -DXAW -DROUND_CARDS -DHELPDIR="\"/opt/pkg/share/doc/spider\"" -c spider.c --- gfx.o --- In file included from gfx.c:16: defs.h:34:7: warning: extra tokens at end of '#else' directive [-Wendif-labels] 34 | #else DEBUG | ^~~~~ defs.h:63:8: warning: extra tokens at end of '#endif' directive [-Wendif-labels] 63 | #endif DEBUG | ^~~~~ --- spider.o --- In file included from spider.c:17: defs.h:34:7: warning: extra tokens at end of '#else' directive [-Wendif-labels] 34 | #else DEBUG | ^~~~~ defs.h:63:8: warning: extra tokens at end of '#endif' directive [-Wendif-labels] 63 | #endif DEBUG | ^~~~~ --- gfx.o --- In file included from gfx.c:17: globals.h:95:8: warning: extra tokens at end of '#endif' directive [-Wendif-labels] 95 | #endif KITLESS | ^~~~~~~ gfx.c:123:1: error: return type defaults to 'int' [-Wimplicit-int] 123 | gfx_init(d, scr) | ^~~~~~~~ gfx.c: In function 'gfx_init': gfx.c:123:1: warning: old-style function definition [-Wold-style-definition] --- spider.o --- In file included from spider.c:18: globals.h:95:8: warning: extra tokens at end of '#endif' directive [-Wendif-labels] 95 | #endif KITLESS | ^~~~~~~ --- gfx.o --- gfx.c:174:8: warning: extra tokens at end of '#endif' directive [-Wendif-labels] 174 | #endif KITLESS | ^~~~~~~ --- spider.o --- spider.c:30:1: error: return type defaults to 'int' [-Wimplicit-int] 30 | card_init() | ^~~~~~~~~ spider.c: In function 'card_init': spider.c:65:33: error: implicit declaration of function 'add_card'; did you mean 'last_card'? [-Wimplicit-function-declaration] 65 | add_card(tmp, tmp2, LOC_BEFORE, deck); | ^~~~~~~~ | last_card --- gfx.o --- gfx.c:256:9: error: implicit declaration of function 'make_card_maps' [-Wimplicit-function-declaration] 256 | make_card_maps(); | ^~~~~~~~~~~~~~ gfx.c: In function 'make_red_map': gfx.c:266:1: warning: old-style function definition [-Wold-style-definition] 266 | make_red_map(bits, width, height) | ^~~~~~~~~~~~ gfx.c: At top level: gfx.c:297:1: error: return type defaults to 'int' [-Wimplicit-int] 297 | make_card_maps() | ^~~~~~~~~~~~~~ gfx.c: In function 'make_card_maps': gfx.c:310:17: error: implicit declaration of function 'rot_180' [-Wimplicit-function-declaration] 310 | rot_180((unsigned char *)rank_bits[(int)r], new_bits, | ^~~~~~~ --- spider.o --- spider.c:75:9: error: implicit declaration of function 'shuffle_cards' [-Wimplicit-function-declaration] 75 | shuffle_cards(); | ^~~~~~~~~~~~~ spider.c: At top level: spider.c:87:1: error: return type defaults to 'int' [-Wimplicit-int] 87 | compare(a1, a2) | ^~~~~~~ spider.c: In function 'compare': spider.c:87:1: warning: old-style function definition [-Wold-style-definition] spider.c: At top level: spider.c:96:1: error: return type defaults to 'int' [-Wimplicit-int] 96 | remove_all_cards(cache) | ^~~~~~~~~~~~~~~~ spider.c: In function 'remove_all_cards': spider.c:96:1: warning: old-style function definition [-Wold-style-definition] --- gfx.o --- gfx.c:348:9: error: implicit declaration of function 'flip_bits' [-Wimplicit-function-declaration] 348 | flip_bits((unsigned char *)spade_bits, new_bits, spade_width, | ^~~~~~~~~ --- spider.o --- spider.c:105:17: error: implicit declaration of function 'remove_card'; did you mean 'remove_all_cards'? [-Wimplicit-function-declaration] 105 | remove_card(tmp); | ^~~~~~~~~~~ | remove_all_cards --- gfx.o --- gfx.c: In function 'redraw_deck': gfx.c:597:23: error: too many arguments to function 'last_card'; expected 0, have 1 597 | tmp = last_card(deck); | ^~~~~~~~~ ~~~~ globals.h:67:9: note: declared here 67 | CardPtr last_card(); | ^~~~~~~~~ --- spider.o --- spider.c: At top level: spider.c:131:1: error: return type defaults to 'int' [-Wimplicit-int] 131 | shuffle_cards() | ^~~~~~~~~~~~~ --- gfx.o --- gfx.c:599:25: error: implicit declaration of function 'show_card' [-Wimplicit-function-declaration] 599 | show_card(tmp); | ^~~~~~~~~ gfx.c: At top level: gfx.c:720:1: error: return type defaults to 'int' [-Wimplicit-int] 720 | show_list(list, card) | ^~~~~~~~~ gfx.c: In function 'show_list': gfx.c:720:1: warning: old-style function definition [-Wold-style-definition] gfx.c: At top level: gfx.c:768:1: error: return type defaults to 'int' [-Wimplicit-int] 768 | show_card(card) | ^~~~~~~~~ gfx.c: In function 'show_card': gfx.c:768:1: warning: old-style function definition [-Wold-style-definition] --- spider.o --- spider.c: In function 'shuffle_cards': spider.c:153:9: error: implicit declaration of function 'make_deck_cache' [-Wimplicit-function-declaration] 153 | make_deck_cache(); | ^~~~~~~~~~~~~~~ --- gfx.o --- gfx.c:777:17: error: implicit declaration of function 'paint_card'; did you mean 'last_card'? [-Wimplicit-function-declaration] 777 | paint_card(card->x, card->y, card->rank, card->suit, delta); | ^~~~~~~~~~ | last_card --- spider.o --- spider.c:168:9: error: implicit declaration of function 'init_cache' [-Wimplicit-function-declaration] 168 | init_cache(); | ^~~~~~~~~~ spider.c: At top level: spider.c:174:1: error: return type defaults to 'int' [-Wimplicit-int] 174 | deal_cards() | ^~~~~~~~~~ --- gfx.o --- gfx.c:782:25: error: implicit declaration of function 'paint_cardback' [-Wimplicit-function-declaration] 782 | paint_cardback(card->x, card->y, CARD_HEIGHT); | ^~~~~~~~~~~~~~ gfx.c: At top level: gfx.c:791:1: error: return type defaults to 'int' [-Wimplicit-int] 791 | paint_cardback(x, y, delta) | ^~~~~~~~~~~~~~ gfx.c: In function 'paint_cardback': gfx.c:791:1: warning: old-style function definition [-Wold-style-definition] gfx.c: At top level: gfx.c:831:1: error: return type defaults to 'int' [-Wimplicit-int] 831 | paint_card(x, y, rank, suit, delta) | ^~~~~~~~~~ gfx.c: In function 'paint_card': gfx.c:831:1: warning: old-style function definition [-Wold-style-definition] --- spider.o --- spider.c: In function 'deal_cards': spider.c:214:17: error: implicit declaration of function 'show_list' [-Wimplicit-function-declaration] 214 | show_list(stack[i], stack[i]->cards); | ^~~~~~~~~ spider.c: In function 'deal_next_hand': spider.c:231:25: error: too many arguments to function 'show_message'; expected 0, have 1 231 | show_message("Can't deal until all spaces are filled"); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ --- gfx.o --- gfx.c:903:17: error: implicit declaration of function 'draw_king'; did you mean 'draw_did'? [-Wimplicit-function-declaration] 903 | draw_king(suit, x, y); | ^~~~~~~~~ | draw_did --- spider.o --- spider.c:232:25: error: implicit declaration of function 'spider_bell' [-Wimplicit-function-declaration] 232 | spider_bell(dpy, 0); | ^~~~~~~~~~~ spider.c:238:17: error: too many arguments to function 'show_message'; expected 0, have 1 238 | show_message("No more cards in deck"); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ --- gfx.o --- gfx.c:906:17: error: implicit declaration of function 'draw_queen' [-Wimplicit-function-declaration] 906 | draw_queen(suit, x, y); | ^~~~~~~~~~ --- spider.o --- spider.c:252:25: error: implicit declaration of function 'show_card' [-Wimplicit-function-declaration] 252 | show_card(tmp); | ^~~~~~~~~ --- gfx.o --- gfx.c:909:17: error: implicit declaration of function 'draw_jack' [-Wimplicit-function-declaration] 909 | draw_jack(suit, x, y); | ^~~~~~~~~ --- spider.o --- spider.c:265:17: error: implicit declaration of function 'record' [-Wimplicit-function-declaration] 265 | record (0, 0, 0, True); | ^~~~~~ spider.c:267:9: error: too many arguments to function 'show_message'; expected 0, have 1 267 | show_message(buf); | ^~~~~~~~~~~~ ~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ spider.c: At top level: spider.c:277:1: error: return type defaults to 'int' [-Wimplicit-int] 277 | flip_card(card, state) | ^~~~~~~~~ spider.c: In function 'flip_card': spider.c:277:1: warning: old-style function definition [-Wold-style-definition] spider.c: At top level: spider.c:290:1: error: return type defaults to 'int' [-Wimplicit-int] 290 | add_card(new, old, location, list) | ^~~~~~~~ spider.c: In function 'add_card': spider.c:290:1: warning: old-style function definition [-Wold-style-definition] --- gfx.o --- gfx.c:913:17: error: implicit declaration of function 'draw_pip'; did you mean 'draw_did'? [-Wimplicit-function-declaration] 913 | draw_pip(suit, MID_CARD_X + x, CARD_TEN_Y1 + y); | ^~~~~~~~ | draw_did --- spider.o --- spider.c:304:23: error: too many arguments to function 'last_card'; expected 0, have 1 304 | old = last_card(list); | ^~~~~~~~~ ~~~~ globals.h:67:9: note: declared here 67 | CardPtr last_card(); | ^~~~~~~~~ spider.c:344:9: error: too many arguments to function 'fix_coords'; expected 0, have 3 344 | fix_coords(new, list, False); | ^~~~~~~~~~ ~~~ spider.c:21:17: note: declared here 21 | static void fix_coords(); | ^~~~~~~~~~ spider.c: In function 'fix_coords': spider.c:359:1: warning: old-style function definition [-Wold-style-definition] 359 | fix_coords(new, list, display) | ^~~~~~~~~~ spider.c:369:25: error: too many arguments to function 'recompute_list_deltas'; expected 0, have 1 369 | recompute_list_deltas(list); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~ globals.h:74:9: note: declared here 74 | void recompute_list_deltas(); | ^~~~~~~~~~~~~~~~~~~~~ spider.c: In function 'recompute_list_deltas': spider.c:389:1: warning: old-style function definition [-Wold-style-definition] 389 | recompute_list_deltas(list) | ^~~~~~~~~~~~~~~~~~~~~ spider.c:391:1: error: number of arguments doesn't match prototype 391 | { | ^ globals.h:74:9: error: prototype declaration 74 | void recompute_list_deltas(); | ^~~~~~~~~~~~~~~~~~~~~ spider.c:422:25: error: too many arguments to function 'fix_coords'; expected 0, have 3 422 | fix_coords(tmp, list, False); | ^~~~~~~~~~ ~~~ spider.c:359:1: note: declared here 359 | fix_coords(new, list, display) | ^~~~~~~~~~ spider.c: At top level: spider.c:431:1: error: return type defaults to 'int' [-Wimplicit-int] 431 | remove_card(card) | ^~~~~~~~~~~ spider.c: In function 'remove_card': spider.c:431:1: warning: old-style function definition [-Wold-style-definition] spider.c: In function 'move_to_list': spider.c:454:1: warning: old-style function definition [-Wold-style-definition] 454 | move_to_list(card, list, log) | ^~~~~~~~~~~~ spider.c:458:1: error: number of arguments doesn't match prototype 458 | { | ^ globals.h:72:9: error: prototype declaration 72 | void move_to_list(); | ^~~~~~~~~~~~ spider.c:479:17: error: too many arguments to function 'recompute_list_deltas'; expected 0, have 1 479 | recompute_list_deltas(card->list); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ spider.c:389:1: note: declared here 389 | recompute_list_deltas(list) | ^~~~~~~~~~~~~~~~~~~~~ spider.c:490:15: error: too many arguments to function 'last_card'; expected 0, have 1 490 | tmp = last_card(list); | ^~~~~~~~~ ~~~~ globals.h:67:9: note: declared here 67 | CardPtr last_card(); | ^~~~~~~~~ spider.c:504:17: error: too many arguments to function 'fix_coords'; expected 0, have 3 504 | fix_coords(tmp, list, True); | ^~~~~~~~~~ ~~~ spider.c:359:1: note: declared here 359 | fix_coords(new, list, display) | ^~~~~~~~~~ spider.c: In function 'rnk_name': spider.c:573:1: warning: old-style function definition [-Wold-style-definition] 573 | rnk_name(rank) | ^~~~~~~~ spider.c:575:1: error: number of arguments doesn't match prototype 575 | { | ^ globals.h:55:10: error: prototype declaration 55 | char *rnk_name(); | ^~~~~~~~ spider.c: In function 'rank_name': spider.c:587:1: warning: old-style function definition [-Wold-style-definition] 587 | rank_name(rank) | ^~~~~~~~~ spider.c:589:1: error: number of arguments doesn't match prototype 589 | { | ^ globals.h:54:10: error: prototype declaration 54 | char *rank_name(); | ^~~~~~~~~ spider.c: In function 'suit_name': spider.c:600:1: warning: old-style function definition [-Wold-style-definition] 600 | suit_name(suit) | ^~~~~~~~~ spider.c:602:1: error: number of arguments doesn't match prototype 602 | { | ^ globals.h:56:10: error: prototype declaration 56 | char *suit_name(); | ^~~~~~~~~ spider.c: At top level: spider.c:621:8: warning: extra tokens at end of '#endif' directive [-Wendif-labels] 621 | #endif DEBUG | ^~~~~ spider.c: In function 'last_card': spider.c:628:1: warning: old-style function definition [-Wold-style-definition] 628 | last_card(list) | ^~~~~~~~~ spider.c:630:1: error: number of arguments doesn't match prototype 630 | { | ^ globals.h:67:9: error: prototype declaration 67 | CardPtr last_card(); | ^~~~~~~~~ spider.c: In function 'can_move': spider.c:647:1: warning: old-style function definition [-Wold-style-definition] 647 | can_move(card) | ^~~~~~~~ spider.c:649:1: error: number of arguments doesn't match prototype 649 | { | ^ globals.h:63:9: error: prototype declaration 63 | Bool can_move(); | ^~~~~~~~ spider.c: In function 'can_move_to': spider.c:670:1: warning: old-style function definition [-Wold-style-definition] 670 | can_move_to(card, list) | ^~~~~~~~~~~ spider.c:673:1: error: number of arguments doesn't match prototype 673 | { | ^ globals.h:64:9: error: prototype declaration 64 | Bool can_move_to(); | ^~~~~~~~~~~ spider.c:677:15: error: too many arguments to function 'last_card'; expected 0, have 1 677 | tmp = last_card(list); | ^~~~~~~~~ ~~~~ spider.c:628:1: note: declared here 628 | last_card(list) | ^~~~~~~~~ spider.c: In function 'best_card_move': spider.c:689:1: warning: old-style function definition [-Wold-style-definition] 689 | best_card_move(card) | ^~~~~~~~~~~~~~ spider.c:691:1: error: number of arguments doesn't match prototype 691 | { | ^ globals.h:66:17: error: prototype declaration 66 | CardList best_card_move(); | ^~~~~~~~~~~~~~ spider.c:702:23: error: too many arguments to function 'last_card'; expected 0, have 1 702 | tmp = last_card(stack[i]); | ^~~~~~~~~ ~~~~~~~~ spider.c:628:1: note: declared here 628 | last_card(list) | ^~~~~~~~~ spider.c: In function 'best_list_move': spider.c:727:1: warning: old-style function definition [-Wold-style-definition] 727 | best_list_move(list, first_card) | ^~~~~~~~~~~~~~ spider.c:730:1: error: number of arguments doesn't match prototype 730 | { | ^ globals.h:71:9: error: prototype declaration 71 | void best_list_move(); | ^~~~~~~~~~~~~~ spider.c:739:25: error: too many arguments to function 'show_message'; expected 0, have 1 739 | show_message("Empty list"); | ^~~~~~~~~~~~ ~~~~~~~~~~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ spider.c:750:21: error: too many arguments to function 'can_move'; expected 0, have 1 750 | if (can_move(tmp)) { | ^~~~~~~~ ~~~ spider.c:647:1: note: declared here 647 | can_move(card) | ^~~~~~~~ spider.c:755:40: error: too many arguments to function 'last_card'; expected 0, have 1 755 | tmp2 = last_card(list); | ^~~~~~~~~ ~~~~ spider.c:628:1: note: declared here 628 | last_card(list) | ^~~~~~~~~ spider.c:757:41: error: too many arguments to function 'move_to_pile'; expected 0, have 1 757 | move_to_pile(tmp); | ^~~~~~~~~~~~ ~~~ globals.h:73:9: note: declared here 73 | void move_to_pile(); | ^~~~~~~~~~~~ spider.c:761:32: error: too many arguments to function 'best_card_move'; expected 0, have 1 761 | best = best_card_move(tmp); | ^~~~~~~~~~~~~~ ~~~ spider.c:689:1: note: declared here 689 | best_card_move(card) | ^~~~~~~~~~~~~~ spider.c:763:33: error: too many arguments to function 'move_to_list'; expected 0, have 3 763 | move_to_list(tmp, best, True); | ^~~~~~~~~~~~ ~~~ spider.c:454:1: note: declared here 454 | move_to_list(card, list, log) | ^~~~~~~~~~~~ spider.c:765:33: error: too many arguments to function 'card_message'; expected 0, have 2 765 | card_message("Nowhere to move the", tmp); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ globals.h:77:9: note: declared here 77 | void card_message(); | ^~~~~~~~~~~~ spider.c: In function 'move_to_pile': spider.c:775:1: warning: old-style function definition [-Wold-style-definition] 775 | move_to_pile(card) | ^~~~~~~~~~~~ spider.c:777:1: error: number of arguments doesn't match prototype 777 | { | ^ --- gfx.o --- gfx.c:937:17: error: implicit declaration of function 'draw_four_pips'; did you mean 'draw_six_pips'? [-Wimplicit-function-declaration] 937 | draw_four_pips(suit, x, y); | ^~~~~~~~~~~~~~ | draw_six_pips gfx.c:944:17: error: implicit declaration of function 'draw_two_pips'; did you mean 'draw_six_pips'? [-Wimplicit-function-declaration] 944 | draw_two_pips(suit, x, y); | ^~~~~~~~~~~~~ | draw_six_pips gfx.c:953:9: error: implicit declaration of function 'draw_rank' [-Wimplicit-function-declaration] 953 | draw_rank(x, y, rank, suit); | ^~~~~~~~~ gfx.c: At top level: gfx.c:977:1: error: return type defaults to 'int' [-Wimplicit-int] 977 | draw_pip(suit, x, y) | ^~~~~~~~ gfx.c: In function 'draw_pip': gfx.c:977:1: warning: old-style function definition [-Wold-style-definition] gfx.c: At top level: gfx.c:1089:1: error: return type defaults to 'int' [-Wimplicit-int] 1089 | draw_two_pips(suit, x, y) | ^~~~~~~~~~~~~ gfx.c: In function 'draw_two_pips': gfx.c:1089:1: warning: old-style function definition [-Wold-style-definition] gfx.c: At top level: gfx.c:1100:1: error: return type defaults to 'int' [-Wimplicit-int] 1100 | draw_four_pips(suit, x, y) | ^~~~~~~~~~~~~~ gfx.c: In function 'draw_four_pips': gfx.c:1100:1: warning: old-style function definition [-Wold-style-definition] gfx.c: At top level: gfx.c:1147:1: error: return type defaults to 'int' [-Wimplicit-int] 1147 | draw_jack(suit, x, y) | ^~~~~~~~~ gfx.c: In function 'draw_jack': gfx.c:1147:1: warning: old-style function definition [-Wold-style-definition] gfx.c: At top level: gfx.c:1162:1: error: return type defaults to 'int' [-Wimplicit-int] 1162 | draw_queen(suit, x, y) | ^~~~~~~~~~ gfx.c: In function 'draw_queen': gfx.c:1162:1: warning: old-style function definition [-Wold-style-definition] gfx.c: At top level: gfx.c:1177:1: error: return type defaults to 'int' [-Wimplicit-int] 1177 | draw_king(suit, x, y) | ^~~~~~~~~ gfx.c: In function 'draw_king': gfx.c:1177:1: warning: old-style function definition [-Wold-style-definition] gfx.c: At top level: gfx.c:1192:1: error: return type defaults to 'int' [-Wimplicit-int] 1192 | draw_rank(x, y, rank, suit) | ^~~~~~~~~ gfx.c: In function 'draw_rank': gfx.c:1192:1: warning: old-style function definition [-Wold-style-definition] gfx.c: At top level: gfx.c:1318:9: warning: extra tokens at end of '#endif' directive [-Wendif-labels] 1318 | #endif KITLESS | ^~~~~~~ gfx.c: In function 'card_message': gfx.c:1321:1: warning: old-style function definition [-Wold-style-definition] 1321 | card_message(str, card) | ^~~~~~~~~~~~ gfx.c:1324:1: error: number of arguments doesn't match prototype 1324 | { | ^ globals.h:77:9: error: prototype declaration 77 | void card_message(); | ^~~~~~~~~~~~ gfx.c:1328:22: error: too many arguments to function 'rank_name'; expected 0, have 1 1328 | str, rank_name(card->rank), suit_name(card->suit)); | ^~~~~~~~~ ~~~~~~~~~~ globals.h:54:10: note: declared here 54 | char *rank_name(); | ^~~~~~~~~ gfx.c:1328:45: error: too many arguments to function 'suit_name'; expected 0, have 1 1328 | str, rank_name(card->rank), suit_name(card->suit)); | ^~~~~~~~~ ~~~~~~~~~~ globals.h:56:10: note: declared here 56 | char *suit_name(); | ^~~~~~~~~ gfx.c:1329:9: error: too many arguments to function 'show_message'; expected 0, have 1 1329 | show_message(buf); | ^~~~~~~~~~~~ ~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ gfx.c: In function 'card2_message': gfx.c:1333:1: warning: old-style function definition [-Wold-style-definition] 1333 | card2_message(str1, card1, str2, card2) | ^~~~~~~~~~~~~ gfx.c:1336:1: error: number of arguments doesn't match prototype 1336 | { | ^ globals.h:78:9: error: prototype declaration 78 | void card2_message(); | ^~~~~~~~~~~~~ gfx.c:1340:23: error: too many arguments to function 'rank_name'; expected 0, have 1 1340 | str1, rank_name(card1->rank), suit_name(card1->suit), | ^~~~~~~~~ ~~~~~~~~~~~ globals.h:54:10: note: declared here 54 | char *rank_name(); | ^~~~~~~~~ gfx.c:1340:47: error: too many arguments to function 'suit_name'; expected 0, have 1 1340 | str1, rank_name(card1->rank), suit_name(card1->suit), | ^~~~~~~~~ ~~~~~~~~~~~ globals.h:56:10: note: declared here 56 | char *suit_name(); | ^~~~~~~~~ gfx.c:1341:23: error: too many arguments to function 'rank_name'; expected 0, have 1 1341 | str2, rank_name(card2->rank), suit_name(card2->suit)); | ^~~~~~~~~ ~~~~~~~~~~~ globals.h:54:10: note: declared here 54 | char *rank_name(); | ^~~~~~~~~ gfx.c:1341:47: error: too many arguments to function 'suit_name'; expected 0, have 1 1341 | str2, rank_name(card2->rank), suit_name(card2->suit)); | ^~~~~~~~~ ~~~~~~~~~~~ globals.h:56:10: note: declared here 56 | char *suit_name(); | ^~~~~~~~~ gfx.c:1342:9: error: too many arguments to function 'show_message'; expected 0, have 1 1342 | show_message(buf); | ^~~~~~~~~~~~ ~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ gfx.c: In function 'clear_message': gfx.c:1348:9: error: too many arguments to function 'show_message'; expected 0, have 1 1348 | show_message(" "); | ^~~~~~~~~~~~ ~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ gfx.c: At top level: gfx.c:1390:1: error: return type defaults to 'int' [-Wimplicit-int] 1390 | flip_bits(src, dst, W, H) | ^~~~~~~~~ gfx.c: In function 'flip_bits': gfx.c:1390:1: warning: old-style function definition [-Wold-style-definition] gfx.c: At top level: gfx.c:1404:1: error: return type defaults to 'int' [-Wimplicit-int] 1404 | rot_180(src, dst, W, H) | ^~~~~~~ gfx.c: In function 'rot_180': gfx.c:1404:1: warning: old-style function definition [-Wold-style-definition] *** [gfx.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/games/spider/work/spider --- spider.o --- globals.h:73:9: error: prototype declaration 73 | void move_to_pile(); | ^~~~~~~~~~~~ spider.c:786:9: error: too many arguments to function 'move_to_list'; expected 0, have 3 786 | move_to_list(card, piles[i], True); | ^~~~~~~~~~~~ ~~~~ spider.c:454:1: note: declared here 454 | move_to_list(card, list, log) | ^~~~~~~~~~~~ spider.c: In function 'is_sequence': spider.c:794:1: warning: old-style function definition [-Wold-style-definition] 794 | is_sequence(card) | ^~~~~~~~~~~ spider.c: At top level: spider.c:883:1: error: return type defaults to 'int' [-Wimplicit-int] 883 | show_full_suits() | ^~~~~~~~~~~~~~~ spider.c: In function 'show_full_suits': spider.c:917:17: error: too many arguments to function 'show_message'; expected 0, have 1 917 | show_message("No suit has all 13 cards showing."); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ spider.c:923:51: error: too many arguments to function 'suit_name'; expected 0, have 1 923 | (void)strcat(buf, suit_name((Suit) j)); | ^~~~~~~~~ ~~~~~~~~ spider.c:600:1: note: declared here 600 | suit_name(suit) | ^~~~~~~~~ spider.c:931:17: error: too many arguments to function 'show_message'; expected 0, have 1 931 | show_message(buf); | ^~~~~~~~~~~~ ~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ spider.c: In function 'expand': spider.c:947:17: error: too many arguments to function 'show_message'; expected 0, have 1 947 | show_message("Empty column."); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ spider.c:965:41: error: too many arguments to function 'rnk_name'; expected 0, have 1 965 | rnk_name(last->rank), | ^~~~~~~~ ~~~~~~~~~~ spider.c:573:1: note: declared here 573 | rnk_name(rank) | ^~~~~~~~ spider.c:966:50: error: too many arguments to function 'suit_name'; expected 0, have 1 966 | tolower(*suit_name(last->suit)), | ^~~~~~~~~ ~~~~~~~~~~ spider.c:600:1: note: declared here 600 | suit_name(suit) | ^~~~~~~~~ spider.c:967:41: error: too many arguments to function 'rnk_name'; expected 0, have 1 967 | rnk_name(tmp->rank), | ^~~~~~~~ ~~~~~~~~~ spider.c:573:1: note: declared here 573 | rnk_name(rank) | ^~~~~~~~ spider.c:968:50: error: too many arguments to function 'suit_name'; expected 0, have 1 968 | tolower(*suit_name(tmp->suit))); | ^~~~~~~~~ ~~~~~~~~~ spider.c:600:1: note: declared here 600 | suit_name(suit) | ^~~~~~~~~ spider.c:971:61: error: too many arguments to function 'rnk_name'; expected 0, have 1 971 | (void)sprintf(buf2, " %s%c",rnk_name(tmp->rank), | ^~~~~~~~ ~~~~~~~~~ spider.c:573:1: note: declared here 573 | rnk_name(rank) | ^~~~~~~~ spider.c:972:50: error: too many arguments to function 'suit_name'; expected 0, have 1 972 | tolower(*suit_name(tmp->suit))); | ^~~~~~~~~ ~~~~~~~~~ spider.c:600:1: note: declared here 600 | suit_name(suit) | ^~~~~~~~~ spider.c:981:46: error: too many arguments to function 'rnk_name'; expected 0, have 1 981 | (void)sprintf(buf2, "-%s%c", rnk_name(last->rank), | ^~~~~~~~ ~~~~~~~~~~ spider.c:573:1: note: declared here 573 | rnk_name(rank) | ^~~~~~~~ spider.c:982:34: error: too many arguments to function 'suit_name'; expected 0, have 1 982 | tolower(*suit_name(last->suit))); | ^~~~~~~~~ ~~~~~~~~~~ spider.c:600:1: note: declared here 600 | suit_name(suit) | ^~~~~~~~~ spider.c:985:9: error: too many arguments to function 'show_message'; expected 0, have 1 985 | show_message(buf); | ^~~~~~~~~~~~ ~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ spider.c: In function 'col_locate': spider.c:989:1: warning: old-style function definition [-Wold-style-definition] 989 | col_locate(list, suit, rank, checksuit) | ^~~~~~~~~~ spider.c: In function 'locate': spider.c:1018:1: warning: old-style function definition [-Wold-style-definition] 1018 | locate(str) | ^~~~~~ spider.c:1020:1: error: number of arguments doesn't match prototype 1020 | { | ^ globals.h:83:9: error: prototype declaration 83 | void locate(); | ^~~~~~ spider.c:1080:33: error: too many arguments to function 'show_message'; expected 0, have 1 1080 | show_message(buf); | ^~~~~~~~~~~~ ~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ spider.c:1089:25: error: too many arguments to function 'rank_name'; expected 0, have 1 1089 | rank_name(rank), suit_name(suit)); | ^~~~~~~~~ ~~~~ spider.c:587:1: note: declared here 587 | rank_name(rank) | ^~~~~~~~~ spider.c:1089:42: error: too many arguments to function 'suit_name'; expected 0, have 1 1089 | rank_name(rank), suit_name(suit)); | ^~~~~~~~~ ~~~~ spider.c:600:1: note: declared here 600 | suit_name(suit) | ^~~~~~~~~ spider.c:1091:48: error: too many arguments to function 'rank_name'; expected 0, have 1 1091 | (void)sprintf(buf, "Free %s ", rank_name(rank)); | ^~~~~~~~~ ~~~~ spider.c:587:1: note: declared here 587 | rank_name(rank) | ^~~~~~~~~ spider.c:1114:9: error: too many arguments to function 'show_message'; expected 0, have 1 1114 | show_message(buf); | ^~~~~~~~~~~~ ~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ spider.c: In function 'advise_pile_move': spider.c:1125:1: warning: old-style function definition [-Wold-style-definition] 1125 | advise_pile_move(list) | ^~~~~~~~~~~~~~~~ spider.c:1132:9: error: too many arguments to function 'show_message'; expected 0, have 1 1132 | show_message(buf); | ^~~~~~~~~~~~ ~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ spider.c: In function 'advise_move': spider.c:1136:1: warning: old-style function definition [-Wold-style-definition] 1136 | advise_move(card, from, to) | ^~~~~~~~~~~ spider.c:1144:25: error: too many arguments to function 'rank_name'; expected 0, have 1 1144 | rank_name(card->rank), suit_name(card->suit), | ^~~~~~~~~ ~~~~~~~~~~ spider.c:587:1: note: declared here 587 | rank_name(rank) | ^~~~~~~~~ spider.c:1144:48: error: too many arguments to function 'suit_name'; expected 0, have 1 1144 | rank_name(card->rank), suit_name(card->suit), | ^~~~~~~~~ ~~~~~~~~~~ spider.c:600:1: note: declared here 600 | suit_name(suit) | ^~~~~~~~~ spider.c:1149:25: error: too many arguments to function 'rank_name'; expected 0, have 1 1149 | rank_name(card->rank), suit_name(card->suit), | ^~~~~~~~~ ~~~~~~~~~~ spider.c:587:1: note: declared here 587 | rank_name(rank) | ^~~~~~~~~ spider.c:1149:48: error: too many arguments to function 'suit_name'; expected 0, have 1 1149 | rank_name(card->rank), suit_name(card->suit), | ^~~~~~~~~ ~~~~~~~~~~ spider.c:600:1: note: declared here 600 | suit_name(suit) | ^~~~~~~~~ spider.c:1151:35: error: too many arguments to function 'last_card'; expected 0, have 1 1151 | rank_name(last_card(to)->rank), suit_name(last_card(to)->suit), | ^~~~~~~~~ ~~ spider.c:628:1: note: declared here 628 | last_card(list) | ^~~~~~~~~ spider.c:1151:25: error: too many arguments to function 'rank_name'; expected 0, have 1 1151 | rank_name(last_card(to)->rank), suit_name(last_card(to)->suit), | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ spider.c:587:1: note: declared here 587 | rank_name(rank) | ^~~~~~~~~ spider.c:1151:67: error: too many arguments to function 'last_card'; expected 0, have 1 1151 | rank_name(last_card(to)->rank), suit_name(last_card(to)->suit), | ^~~~~~~~~ ~~ spider.c:628:1: note: declared here 628 | last_card(list) | ^~~~~~~~~ spider.c:1151:57: error: too many arguments to function 'suit_name'; expected 0, have 1 1151 | rank_name(last_card(to)->rank), suit_name(last_card(to)->suit), | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ spider.c:600:1: note: declared here 600 | suit_name(suit) | ^~~~~~~~~ spider.c:1154:9: error: too many arguments to function 'show_message'; expected 0, have 1 1154 | show_message(buf); | ^~~~~~~~~~~~ ~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ spider.c: In function 'value_move': spider.c:1181:1: warning: old-style function definition [-Wold-style-definition] 1181 | value_move(card, from, to) | ^~~~~~~~~~ spider.c:1195:13: error: too many arguments to function 'last_card'; expected 0, have 1 1195 | if (last_card(to) == CARDNULL) { | ^~~~~~~~~ ~~ spider.c:628:1: note: declared here 628 | last_card(list) | ^~~~~~~~~ spider.c:1203:34: error: too many arguments to function 'last_card'; expected 0, have 1 1203 | } else if (card->suit == last_card(to)->suit) { | ^~~~~~~~~ ~~ spider.c:628:1: note: declared here 628 | last_card(list) | ^~~~~~~~~ spider.c: In function 'advise_best_move': spider.c:1239:29: error: too many arguments to function 'can_move'; expected 0, have 1 1239 | if (can_move(tmp)) { | ^~~~~~~~ ~~~ spider.c:647:1: note: declared here 647 | can_move(card) | ^~~~~~~~ spider.c:1244:48: error: too many arguments to function 'last_card'; expected 0, have 1 1244 | tmp2 = last_card(list); | ^~~~~~~~~ ~~~~ spider.c:628:1: note: declared here 628 | last_card(list) | ^~~~~~~~~ spider.c:1250:40: error: too many arguments to function 'best_card_move'; expected 0, have 1 1250 | move = best_card_move(tmp); | ^~~~~~~~~~~~~~ ~~~ spider.c:689:1: note: declared here 689 | best_card_move(card) | ^~~~~~~~~~~~~~ spider.c:1269:25: error: too many arguments to function 'show_message'; expected 0, have 1 1269 | show_message("Its all over."); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ spider.c:1271:25: error: too many arguments to function 'show_message'; expected 0, have 1 1271 | show_message("Deal the next hand."); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ globals.h:76:9: note: declared here 76 | void show_message(); | ^~~~~~~~~~~~ spider.c: In function 'fix_up_card_spacing': spider.c:1289:24: error: too many arguments to function 'last_card'; expected 0, have 1 1289 | last = last_card(list); | ^~~~~~~~~ ~~~~ spider.c:628:1: note: declared here 628 | last_card(list) | ^~~~~~~~~ spider.c:1292:25: error: too many arguments to function 'fix_coords'; expected 0, have 3 1292 | fix_coords(tmp, list, False); | ^~~~~~~~~~ ~~~ spider.c:359:1: note: declared here 359 | fix_coords(new, list, display) | ^~~~~~~~~~ *** [spider.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/games/spider/work/spider bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/games/spider/work/spider *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/spider *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/spider