>>> Building on exopi-4 under games/spider BDEPENDS = [devel/imake-cf;devel/imake] DIST = [games/spider:spider.tar.Z] FULLPKGNAME = spider-1.1p7 (Junk lock obtained for exopi-4 at 1764616386.67) >>> Running depends in games/spider at 1764616386.71 last junk was in sysutils/dwdiff /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 was: /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 >>> Running show-prepare-results in games/spider at 1764616387.83 ===> games/spider ===> Building from scratch spider-1.1p7 ===> spider-1.1p7 depends on: imake-* -> imake-1.0.10 ===> spider-1.1p7 depends on: imake-cf-* -> imake-cf-1.0.8 ===> Verifying specs: ICE SM X11 Xau Xdmcp Xaw Xext Xmu Xpm Xt c xcb ===> found ICE.12.0 SM.9.0 X11.19.0 Xau.10.0 Xdmcp.11.0 Xaw.16.0 Xext.13.0 Xmu.11.0 Xpm.10.0 Xt.11.1 c.102.2 xcb.4.1 imake-1.0.10 imake-cf-1.0.8 (Junk lock released for exopi-4 at 1764616388.43) distfiles size=209283 >>> Running build in games/spider at 1764616388.46 ===> games/spider ===> Checking files for spider-1.1p7 `/exopi-cvs/ports/distfiles/spider.tar.Z' is up to date. >> (SHA256) all files: OK ===> Extracting for spider-1.1p7 ===> Patching for spider-1.1p7 ===> Applying OpenBSD patch patch-Imakefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Imakefile |--- Imakefile.orig |+++ Imakefile -------------------------- Patching file Imakefile using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 8. Hunk #3 succeeded at 16. Hunk #4 succeeded at 94. Hunk #5 succeeded at 235. done ===> Applying OpenBSD patch patch-defs_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: defs.h |--- defs.h.orig |+++ defs.h -------------------------- Patching file defs.h using Plan A... Hunk #1 succeeded at 31. Hunk #2 succeeded at 60. done ===> Applying OpenBSD patch patch-gfx_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: gfx.c |--- gfx.c.orig |+++ gfx.c -------------------------- Patching file gfx.c using Plan A... Hunk #1 succeeded at 16. Hunk #2 succeeded at 27. Hunk #3 succeeded at 146. Hunk #4 succeeded at 207. Hunk #5 succeeded at 607. Hunk #6 succeeded at 641. Hunk #7 succeeded at 684. Hunk #8 succeeded at 1055. Hunk #9 succeeded at 1096. Hunk #10 succeeded at 1156. Hunk #11 succeeded at 1176. done ===> Applying OpenBSD patch patch-globals_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: globals.h |--- globals.h.orig |+++ globals.h -------------------------- Patching file globals.h using Plan A... Hunk #1 succeeded at 13. Hunk #2 succeeded at 90. done ===> Applying OpenBSD patch patch-movelog_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: movelog.c |--- movelog.c.orig |+++ movelog.c -------------------------- Patching file movelog.c using Plan A... Hunk #1 succeeded at 17. Hunk #2 succeeded at 32. Hunk #3 succeeded at 98. Hunk #4 succeeded at 578. Hunk #5 succeeded at 746. Hunk #6 succeeded at 765. Hunk #7 succeeded at 777. done ===> Applying OpenBSD patch patch-spider_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: spider.c |--- spider.c.orig |+++ spider.c -------------------------- Patching file spider.c using Plan A... Hunk #1 succeeded at 17. Hunk #2 succeeded at 218. Hunk #3 succeeded at 620. Hunk #4 succeeded at 937. done ===> Applying OpenBSD patch patch-spider_man Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: spider.man |--- spider.man.orig |+++ spider.man -------------------------- Patching file spider.man using Plan A... Hunk #1 succeeded at 53. done ===> Applying OpenBSD patch patch-util_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: util.c |--- util.c.orig |+++ util.c -------------------------- Patching file util.c using Plan A... Hunk #1 succeeded at 24. done ===> Applying OpenBSD patch patch-windows_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: windows.c |--- windows.c.orig |+++ windows.c -------------------------- Patching file windows.c using Plan A... Hunk #1 succeeded at 116. Hunk #2 succeeded at 140. done ===> Applying OpenBSD patch patch-xaw_ui_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: xaw_ui.c |--- xaw_ui.c.orig |+++ xaw_ui.c -------------------------- Patching file xaw_ui.c using Plan A... Hunk #1 succeeded at 447. Hunk #2 succeeded at 509. done ===> Applying OpenBSD patch patch-xv_stubs_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: xv_stubs.c |--- xv_stubs.c.orig |+++ xv_stubs.c -------------------------- Patching file xv_stubs.c using Plan A... Hunk #1 succeeded at 10. done ===> Applying OpenBSD patch patch-xv_ui_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: xv_ui.c |--- xv_ui.c.orig |+++ xv_ui.c -------------------------- Patching file xv_ui.c using Plan A... Hunk #1 succeeded at 16. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for spider-1.1p7 ===> Configuring for spider-1.1p7 imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I. -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -- gfx.c spider.c events.c windows.c movelog.c util.c version.c xaw_ui.c xaw_stubs.c > .depend ===> Building for spider-1.1p7 cc -O2 -I. -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c gfx.c gfx.c:159:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 159 | gfx_init(d, scr) | ^ | int gfx.c:292:2: warning: call to undeclared function 'make_card_maps'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | make_card_maps(); | ^ gfx.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | gfx_init(d, scr) | ^ gfx.c:293:1: warning: non-void function does not return a value [-Wreturn-type] 293 | } | ^ gfx.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 | make_red_map(bits, width, height) | ^ gfx.c:333:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 333 | make_card_maps() | ^ | int gfx.c:346:3: warning: call to undeclared function 'rot_180'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 346 | rot_180((unsigned char *)rank_bits[(int)r], new_bits, | ^ gfx.c:357:3: warning: call to undeclared function 'rot_180'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | rot_180((unsigned char *)rank_bits[(int)r], new_bits, | ^ gfx.c:384:2: warning: call to undeclared function 'flip_bits'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 384 | flip_bits((unsigned char *)spade_bits, new_bits, spade_width, | ^ gfx.c:583:1: warning: non-void function does not return a value [-Wreturn-type] 583 | } | ^ gfx.c:635:18: warning: passing arguments to 'last_card' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | tmp = last_card(deck); | ^ gfx.c:637:4: warning: call to undeclared function 'show_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 637 | show_card(tmp); | ^ gfx.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | redraw_deck(x, y, w, h) | ^ gfx.c:659:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 659 | if (tmp = piles[i]->cards) { | ~~~~^~~~~~~~~~~~~~~~~ gfx.c:659:12: note: place parentheses around the assignment to silence this warning 659 | if (tmp = piles[i]->cards) { | ^ | ( ) gfx.c:659:12: note: use '==' to turn this assignment into an equality comparison 659 | if (tmp = piles[i]->cards) { | ^ | == gfx.c:665:6: warning: call to undeclared function 'show_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 665 | show_card(tmp); | ^ gfx.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | redraw_card_piles(x, y, w, h) | ^ gfx.c:702:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 702 | if (tmp = stack[i]->cards) { | ~~~~^~~~~~~~~~~~~~~~~ gfx.c:702:12: note: place parentheses around the assignment to silence this warning 702 | if (tmp = stack[i]->cards) { | ^ | ( ) gfx.c:702:12: note: use '==' to turn this assignment into an equality comparison 702 | if (tmp = stack[i]->cards) { | ^ | == gfx.c:726:8: warning: call to undeclared function 'show_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 726 | show_card(tmp); | ^ gfx.c:735:8: warning: call to undeclared function 'show_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 735 | show_card(tmp); | ^ gfx.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | redraw_card_stacks(x, y, w, h) | ^ gfx.c:762:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 762 | show_list(list, card) | ^ | int gfx.c:802:3: warning: call to undeclared function 'show_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 802 | show_card(tmp); | ^ gfx.c:762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | show_list(list, card) | ^ gfx.c:805:1: warning: non-void function does not return a value [-Wreturn-type] 805 | } | ^ gfx.c:810:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 810 | show_card(card) | ^ | int gfx.c:819:3: warning: call to undeclared function 'paint_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 819 | paint_card(card->x, card->y, card->rank, card->suit, delta); | ^ gfx.c:824:4: warning: call to undeclared function 'paint_cardback'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 824 | paint_cardback(card->x, card->y, CARD_HEIGHT); | ^ gfx.c:827:4: warning: call to undeclared function 'paint_cardback'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 827 | paint_cardback(card->x, card->y, | ^ gfx.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | show_card(card) | ^ gfx.c:831:1: warning: non-void function does not return a value [-Wreturn-type] 831 | } | ^ gfx.c:833:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 833 | paint_cardback(x, y, delta) | ^ | int gfx.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gfx.c:867:1: warning: non-void function does not return a value [-Wreturn-type] 867 | } | ^ gfx.c:873:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 873 | paint_card(x, y, rank, suit, delta) | ^ | int gfx.c:945:3: warning: call to undeclared function 'draw_king'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 945 | draw_king(suit, x, y); | ^ gfx.c:948:3: warning: call to undeclared function 'draw_queen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 948 | draw_queen(suit, x, y); | ^ gfx.c:951:3: warning: call to undeclared function 'draw_jack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 951 | draw_jack(suit, x, y); | ^ gfx.c:955:3: warning: call to undeclared function 'draw_pip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 955 | draw_pip(suit, MID_CARD_X + x, CARD_TEN_Y1 + y); | ^ gfx.c:979:3: warning: call to undeclared function 'draw_four_pips'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 979 | draw_four_pips(suit, x, y); | ^ gfx.c:986:3: warning: call to undeclared function 'draw_two_pips'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 986 | draw_two_pips(suit, x, y); | ^ gfx.c:995:2: warning: call to undeclared function 'draw_rank'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 995 | draw_rank(x, y, rank, suit); | ^ gfx.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | paint_card(x, y, rank, suit, delta) | ^ gfx.c:1006:1: warning: non-void function does not return a value [-Wreturn-type] 1006 | } | ^ gfx.c:1019:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1019 | draw_pip(suit, x, y) | ^ | int gfx.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gfx.c:1051:1: warning: non-void function does not return a value [-Wreturn-type] 1051 | } | ^ gfx.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | draw_did(suit, x, y) | ^ gfx.c:1100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | draw_center_pip(suit, x, y) | ^ gfx.c:1137:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1137 | draw_two_pips(suit, x, y) | ^ | int gfx.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gfx.c:1143:1: warning: non-void function does not return a value [-Wreturn-type] 1143 | } | ^ gfx.c:1148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1148 | draw_four_pips(suit, x, y) | ^ | int gfx.c:1148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gfx.c:1157:1: warning: non-void function does not return a value [-Wreturn-type] 1157 | } | ^ gfx.c:1160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | draw_six_pips(suit, x, y) | ^ gfx.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | draw_eight_pips(suit, x, y) | ^ gfx.c:1201:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1201 | draw_jack(suit, x, y) | ^ | int gfx.c:1201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gfx.c:1214:1: warning: non-void function does not return a value [-Wreturn-type] 1214 | } | ^ gfx.c:1216:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1216 | draw_queen(suit, x, y) | ^ | int gfx.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gfx.c:1229:1: warning: non-void function does not return a value [-Wreturn-type] 1229 | } | ^ gfx.c:1231:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1231 | draw_king(suit, x, y) | ^ | int gfx.c:1231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gfx.c:1244:1: warning: non-void function does not return a value [-Wreturn-type] 1244 | } | ^ gfx.c:1246:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1246 | draw_rank(x, y, rank, suit) | ^ | int gfx.c:1372:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 1372 | #endif KITLESS | ^ | // gfx.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | draw_rank(x, y, rank, suit) | ^ gfx.c:1305:1: warning: non-void function does not return a value [-Wreturn-type] 1305 | } | ^ gfx.c:1382:17: warning: passing arguments to 'rank_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1382 | str, rank_name(card->rank), suit_name(card->suit)); | ^ gfx.c:1382:40: warning: passing arguments to 'suit_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1382 | str, rank_name(card->rank), suit_name(card->suit)); | ^ gfx.c:1383:14: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | show_message(buf); | ^ gfx.c:1375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | card_message(str, card) | ^ In file included from gfx.c:17: ./globals.h:75: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] 75 | void card_message(); | ^ gfx.c:1394:18: warning: passing arguments to 'rank_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1394 | str1, rank_name(card1->rank), suit_name(card1->suit), | ^ gfx.c:1394:42: warning: passing arguments to 'suit_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1394 | str1, rank_name(card1->rank), suit_name(card1->suit), | ^ gfx.c:1395:18: warning: passing arguments to 'rank_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1395 | str2, rank_name(card2->rank), suit_name(card2->suit)); | ^ gfx.c:1395:42: warning: passing arguments to 'suit_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1395 | str2, rank_name(card2->rank), suit_name(card2->suit)); | ^ gfx.c:1396:14: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1396 | show_message(buf); | ^ gfx.c:1387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | card2_message(str1, card1, str2, card2) | ^ In file included from gfx.c:17: ./globals.h:76: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] 76 | void card2_message(); | ^ gfx.c:1402:14: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | show_message(" "); | ^ gfx.c:1444:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1444 | flip_bits(src, dst, W, H) | ^ | int gfx.c:1444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gfx.c:1456:1: warning: non-void function does not return a value [-Wreturn-type] 1456 | } | ^ gfx.c:1458:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1458 | rot_180(src, dst, W, H) | ^ | int gfx.c:1458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gfx.c:1486:1: warning: non-void function does not return a value [-Wreturn-type] 1486 | } | ^ 88 warnings generated. cc -O2 -I. -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c spider.c spider.c:30:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | card_init() | ^ | int spider.c:65:5: warning: call to undeclared function 'add_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | add_card(tmp, tmp2, LOC_BEFORE, deck); | ^ spider.c:75:2: warning: call to undeclared function 'shuffle_cards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | shuffle_cards(); | ^ spider.c:76:1: warning: non-void function does not return a value [-Wreturn-type] 76 | } | ^ spider.c:87:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | compare(a1, a2) | ^ | int spider.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] spider.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 96 | remove_all_cards(cache) | ^ | int spider.c:105:3: warning: call to undeclared function 'remove_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | remove_card(tmp); | ^ spider.c:112:4: warning: call to undeclared function 'remove_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | remove_card(tmp); | ^ spider.c:120:4: warning: call to undeclared function 'remove_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | remove_card(tmp); | ^ spider.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | remove_all_cards(cache) | ^ spider.c:126:1: warning: non-void function does not return a value [-Wreturn-type] 126 | } | ^ spider.c:131:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 131 | shuffle_cards() | ^ | int spider.c:149:3: warning: call to undeclared function 'add_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | add_card(shuffled_cards[i].card, deck->cards, LOC_START, deck); | ^ spider.c:153:2: warning: call to undeclared function 'make_deck_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | make_deck_cache(); | ^ spider.c:168:2: warning: call to undeclared function 'init_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | init_cache(); | ^ spider.c:169:1: warning: non-void function does not return a value [-Wreturn-type] 169 | } | ^ spider.c:174:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 174 | deal_cards() | ^ | int spider.c:195:3: warning: call to undeclared function 'remove_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | remove_card(tmp[num]); | ^ spider.c:204:4: warning: call to undeclared function 'add_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | add_card(tmp[j], stack[i]->cards, LOC_END, stack[i]); | ^ spider.c:214:3: warning: call to undeclared function 'show_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 214 | show_list(stack[i], stack[i]->cards); | ^ spider.c:216:1: warning: non-void function does not return a value [-Wreturn-type] 216 | } | ^ spider.c:233:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | show_message("Can't deal until all spaces are filled"); | ^ spider.c:234:4: warning: call to undeclared function 'spider_bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 234 | spider_bell(dpy, 0); | ^ spider.c:240:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | show_message("No more cards in deck"); | ^ spider.c:241:3: warning: call to undeclared function 'spider_bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 241 | spider_bell(dpy, 0); | ^ spider.c:248:3: warning: call to undeclared function 'remove_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | remove_card(tmp); | ^ spider.c:250:3: warning: call to undeclared function 'add_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 250 | add_card(tmp, stack[i]->cards, LOC_END, stack[i]); | ^ spider.c:252:4: warning: call to undeclared function 'show_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | show_list(stack[i], stack[i]->cards); | ^ spider.c:254:4: warning: call to undeclared function 'show_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | show_card(tmp); | ^ spider.c:262:3: warning: call to undeclared function 'redraw_deck'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | redraw_deck(0, 0, table_width, table_height); | ^ spider.c:267:3: warning: call to undeclared function 'record'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | record (0, 0, 0, True); | ^ spider.c:269:14: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | show_message(buf); | ^ spider.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | deal_next_hand(log) | ^ spider.c:279:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 279 | flip_card(card, state) | ^ | int spider.c:284:2: warning: call to undeclared function 'show_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | show_card(card); | ^ spider.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | flip_card(card, state) | ^ spider.c:285:1: warning: non-void function does not return a value [-Wreturn-type] 285 | } | ^ spider.c:292:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 292 | add_card(new, old, location, list) | ^ | int spider.c:306:18: warning: passing arguments to 'last_card' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | old = last_card(list); | ^ spider.c:346:12: warning: passing arguments to 'fix_coords' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | fix_coords(new, list, False); | ^ spider.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | add_card(new, old, location, list) | ^ spider.c:347:1: warning: non-void function does not return a value [-Wreturn-type] 347 | } | ^ spider.c:371:25: warning: passing arguments to 'recompute_list_deltas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | recompute_list_deltas(list); | ^ spider.c:373:5: warning: call to undeclared function 'show_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 373 | show_list(list, list->cards); | ^ spider.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | fix_coords(new, list, display) | ^ spider.c:21:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | static void fix_coords(); | ^ spider.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | recompute_list_deltas(list) | ^ In file included from spider.c:18: ./globals.h:72: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] 72 | void recompute_list_deltas(); | ^ spider.c:433:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 433 | remove_card(card) | ^ | int spider.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] spider.c:450:1: warning: non-void function does not return a value [-Wreturn-type] 450 | } | ^ spider.c:482:3: warning: call to undeclared function 'show_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 482 | show_list(card->list, card->list->cards); | ^ spider.c:484:3: warning: call to undeclared function 'show_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 484 | show_list(card->list, card->prev); | ^ spider.c:492:17: warning: passing arguments to 'last_card' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | tmp = last_card(list); | ^ spider.c:509:4: warning: call to undeclared function 'show_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 509 | show_card(tmp); | ^ spider.c:518:3: warning: call to undeclared function 'record'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 518 | record(from, dest, count, exposed); | ^ spider.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | move_to_list(card, list, log) | ^ In file included from spider.c:18: ./globals.h:70: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] 70 | void move_to_list(); | ^ spider.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | rnk_name(rank) | ^ In file included from spider.c:18: ./globals.h:53:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | char *rnk_name(); | ^ spider.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | rank_name(rank) | ^ In file included from spider.c:18: ./globals.h:52:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | char *rank_name(); | ^ spider.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | suit_name(suit) | ^ In file included from spider.c:18: ./globals.h:54:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | char *suit_name(); | ^ spider.c:630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | last_card(list) | ^ In file included from spider.c:18: ./globals.h:65: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] 65 | CardPtr last_card(); | ^ spider.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | can_move(card) | ^ In file included from spider.c:18: ./globals.h:61: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] 61 | Bool can_move(); | ^ spider.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | can_move_to(card, list) | ^ In file included from spider.c:18: ./globals.h:62: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] 62 | Bool can_move_to(); | ^ spider.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | best_card_move(card) | ^ In file included from spider.c:18: ./globals.h:64: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] 64 | CardList best_card_move(); | ^ spider.c:741:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | show_message("Empty list"); | ^ spider.c:742:4: warning: call to undeclared function 'spider_bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 742 | spider_bell(dpy, 0); | ^ spider.c:759:18: warning: passing arguments to 'move_to_pile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | move_to_pile(tmp); | ^ spider.c:767:17: warning: passing arguments to 'card_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | card_message("Nowhere to move the", tmp); | ^ spider.c:768:5: warning: call to undeclared function 'spider_bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 768 | spider_bell(dpy, 0); | ^ spider.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | best_list_move(list, first_card) | ^ In file included from spider.c:18: ./globals.h:69: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] 69 | void best_list_move(); | ^ spider.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | move_to_pile(card) | ^ In file included from spider.c:18: ./globals.h:71: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] 71 | void move_to_pile(); | ^ spider.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | is_sequence(card) | ^ spider.c:885:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 885 | show_full_suits() | ^ | int spider.c:919:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | show_message("No suit has all 13 cards showing."); | ^ spider.c:933:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | show_message(buf); | ^ spider.c:935:1: warning: non-void function does not return a value [-Wreturn-type] 935 | } | ^ spider.c:951:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | show_message("Empty column."); | ^ spider.c:989:14: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | show_message(buf); | ^ spider.c:941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | expand(list) | ^ spider.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | col_locate(list, suit, rank, checksuit) | ^ spider.c:1084:17: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | show_message(buf); | ^ spider.c:1097:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1097 | if (num = col_locate(stack[i], suit, rank, checksuit)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spider.c:1097:11: note: place parentheses around the assignment to silence this warning 1097 | if (num = col_locate(stack[i], suit, rank, checksuit)) { | ^ | ( ) spider.c:1097:11: note: use '==' to turn this assignment into an equality comparison 1097 | if (num = col_locate(stack[i], suit, rank, checksuit)) { | ^ | == spider.c:1118:14: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | show_message(buf); | ^ spider.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | locate(str) | ^ In file included from spider.c:18: ./globals.h:81: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] 81 | void locate(); | ^ spider.c:1136:14: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | show_message(buf); | ^ spider.c:1129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | advise_pile_move(list) | ^ spider.c:1158:14: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1158 | show_message(buf); | ^ spider.c:1140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1140 | advise_move(card, from, to) | ^ spider.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | value_move(card, from, to) | ^ spider.c:1273:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | show_message("Its all over."); | ^ spider.c:1275:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | show_message("Deal the next hand."); | ^ spider.c:1300:4: warning: call to undeclared function 'show_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1300 | show_list(list, list->cards); | ^ 104 warnings generated. cc -O2 -I. -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c events.c events.c:138:2: warning: call to undeclared function 'redraw_deck'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | redraw_deck(xev->x, xev->y, xev->width, xev->height); | ^ events.c:139:2: warning: call to undeclared function 'redraw_card_piles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | redraw_card_piles(xev->x, xev->y, xev->width, xev->height); | ^ events.c:140:2: warning: call to undeclared function 'redraw_card_stacks'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | redraw_card_stacks(xev->x, xev->y, xev->width, xev->height); | ^ events.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | redraw_table(xev) | ^ In file included from events.c:18: ./globals.h:89: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] 89 | void redraw_table(); | ^ events.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | coords_to_list(x, y) | ^ events.c:25:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static CardList coords_to_list(); | ^ events.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | coords_to_card(x, y) | ^ events.c:26:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static CardPtr coords_to_card(); | ^ events.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | hit_deck(x, y) | ^ events.c:27:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static Bool hit_deck(); | ^ events.c:235:16: warning: passing arguments to 'can_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | if (!can_move(current_card)) { | ^ events.c:236:16: warning: passing arguments to 'card_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | card_message("Can't move", current_card); | ^ events.c:237:4: warning: call to undeclared function 'spider_bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 237 | spider_bell(dpy, 0); | ^ events.c:246:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | show_message("Can't move removed cards."); | ^ events.c:247:4: warning: call to undeclared function 'spider_bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | spider_bell(dpy, 0); | ^ events.c:249:4: warning: call to undeclared function 'show_full_suits'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | show_full_suits(); | ^ events.c:253:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | show_message("No cards to move."); | ^ events.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | button_press(xev) | ^ In file included from events.c:18: ./globals.h:90: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] 90 | void button_press(); | ^ events.c:275:5: warning: call to undeclared function 'deal_cards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 275 | deal_cards(); | ^ events.c:277:5: warning: call to undeclared function 'deal_next_hand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | deal_next_hand(True); | ^ events.c:280:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | show_message("Can't move cards to deck"); | ^ events.c:281:4: warning: call to undeclared function 'spider_bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 281 | spider_bell(dpy, 0); | ^ events.c:299:18: warning: passing arguments to 'best_list_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | best_list_move(list_hit, current_card); | ^ events.c:304:17: warning: passing arguments to 'can_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | (can_move(current_card)) && | ^ events.c:305:18: warning: passing arguments to 'last_card' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | (last_card(current_card->list)->rank == Ace)) { | ^ events.c:306:17: warning: passing arguments to 'move_to_pile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | move_to_pile(current_card); | ^ events.c:308:17: warning: passing arguments to 'card_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | card_message("Can't remove", current_card); | ^ events.c:309:5: warning: call to undeclared function 'spider_bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | spider_bell(dpy, 0); | ^ events.c:314:18: warning: passing arguments to 'can_move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | if (can_move_to(current_card, list_hit)) { | ^ events.c:315:16: warning: passing arguments to 'move_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | move_to_list(current_card, list_hit, True); | ^ events.c:318:14: warning: passing arguments to 'last_card' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | last_card(list_hit)); | ^ events.c:317:17: warning: passing arguments to 'card2_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | card2_message("Can't move", current_card, "to", | ^ events.c:319:4: warning: call to undeclared function 'spider_bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | spider_bell(dpy, 0); | ^ events.c:324:17: warning: passing arguments to 'best_list_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | best_list_move(list_hit, CARDNULL); | ^ events.c:327:19: warning: passing arguments to 'last_card' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | tmp = last_card(current_list); | ^ events.c:329:27: warning: passing arguments to 'can_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | while (tmp && can_move(tmp)) { | ^ events.c:331:19: warning: passing arguments to 'move_to_pile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | move_to_pile(tmp); | ^ events.c:337:16: warning: passing arguments to 'card_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | card_message("Can't remove", tmp); | ^ events.c:338:4: warning: call to undeclared function 'spider_bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 338 | spider_bell(dpy, 0); | ^ events.c:343:16: warning: passing arguments to 'can_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | if (can_move(tmp)) { | ^ events.c:344:20: warning: passing arguments to 'can_move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | if (can_move_to(tmp, list_hit)) { | ^ events.c:345:18: warning: passing arguments to 'move_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | move_to_list(tmp, list_hit, True); | ^ events.c:352:16: warning: passing arguments to 'card_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | card_message("Can't move", tmp); | ^ events.c:354:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | show_message("No movable cards"); | ^ events.c:355:3: warning: call to undeclared function 'spider_bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 355 | spider_bell(dpy, 0); | ^ events.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | button_release(xev) | ^ In file included from events.c:18: ./globals.h:91: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] 91 | void button_release(); | ^ events.c:385:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | show_message("Selection is unusable or unobtainable."); | ^ events.c:387:10: warning: passing arguments to 'locate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | locate(fname); | ^ events.c:393:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | show_message("Selection is unusable or unobtainable."); | ^ events.c:395:4: warning: call to undeclared function 'read_file_or_selection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 395 | read_file_or_selection(fname); | ^ events.c:404:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | show_message("Selection is unusable or unobtainable."); | ^ events.c:406:4: warning: call to undeclared function 'write_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 406 | write_file(fname, write_confirmer); | ^ events.c:413:4: warning: call to undeclared function 'compute_score'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 413 | compute_score()); | ^ events.c:414:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | show_message(buf); | ^ events.c:420:3: warning: call to undeclared function 'init_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 420 | init_cache(); /* reset move cache */ | ^ events.c:428:12: warning: passing arguments to 'show_play' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | show_play(0, 0, show_play_events, delay); | ^ events.c:446:4: warning: call to undeclared function 'deal_cards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 446 | deal_cards(); | ^ events.c:448:4: warning: call to undeclared function 'deal_next_hand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | deal_next_hand(True); | ^ events.c:454:3: warning: call to undeclared function 'undo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 454 | undo(); | ^ events.c:462:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 462 | exit(0); | ^ events.c:462:3: note: include the header or explicitly provide a declaration for 'exit' events.c:465:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | show_message("Haven't dealt yet."); | ^ events.c:469:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | show_message(buf); | ^ events.c:473:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | show_message(buf); | ^ events.c:478:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | show_message("Haven't dealt yet."); | ^ events.c:486:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | show_message(buf); | ^ events.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | key_press(xev) | ^ In file included from events.c:18: ./globals.h:88: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] 88 | void key_press(); | ^ events.c:523:14: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | show_message(buf); | ^ events.c:537:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | show_message("Unable to grab pointer."); | ^ events.c:566:14: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | show_message("Click over the column whose contents you want to see."); | ^ events.c:568:2: warning: call to undeclared function 'flush_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 568 | flush_message(); | ^ events.c:572:3: warning: call to undeclared function 'expand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 572 | expand(list); | ^ events.c:574:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | show_message("That wasn't over a column!"); | ^ events.c:608:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 608 | spider_bell(d, level) | ^ | int events.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] events.c:614:1: warning: non-void function does not return a value [-Wreturn-type] 614 | } | ^ 79 warnings generated. cc -O2 -I. -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c windows.c windows.c:122:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | table_init(win) | ^ | int windows.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] windows.c:142:1: warning: non-void function does not return a value [-Wreturn-type] 142 | } | ^ 3 warnings generated. cc -O2 -I. -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c movelog.c movelog.c:41:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 41 | make_deck_cache() | ^ | int movelog.c:51:1: warning: non-void function does not return a value [-Wreturn-type] 51 | } | ^ movelog.c:53:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | init_cache() | ^ | int movelog.c:60:1: warning: non-void function does not return a value [-Wreturn-type] 60 | } | ^ movelog.c:62:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 62 | grow_cache() | ^ | int movelog.c:74:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 74 | } | ^ movelog.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | record(from, dest, num_cards, exposed) | ^ | int movelog.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] movelog.c:86:1: warning: non-void function does not return a value [-Wreturn-type] 86 | } | ^ movelog.c:88:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 88 | unencode(val, from, dest, num_cards, exposed) | ^ | int movelog.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] movelog.c:99:1: warning: non-void function does not return a value [-Wreturn-type] 99 | } | ^ movelog.c:109:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | show_message("No moves available to back up over."); | ^ movelog.c:110:3: warning: call to undeclared function 'spider_bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | spider_bell(dpy, 0); | ^ movelog.c:115:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | show_message("Cheater!"); | ^ movelog.c:117:3: warning: call to undeclared function 'spider_bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | spider_bell(dpy, 0); | ^ movelog.c:122:3: warning: call to undeclared function 'undo_deal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | undo_deal(); | ^ movelog.c:123:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | show_message("Cheater!"); | ^ movelog.c:125:3: warning: call to undeclared function 'spider_bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | spider_bell(dpy, 0); | ^ movelog.c:132:4: warning: call to undeclared function 'undo_suit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | undo_suit(from - 1, exposed); | ^ movelog.c:134:4: warning: call to undeclared function 'undo_normal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | undo_normal(from - 1, dest - 1, num_cards, exposed); | ^ movelog.c:142:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 142 | undo_deal() | ^ | int movelog.c:148:18: warning: passing arguments to 'last_card' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | tmp = last_card(stack[i]); | ^ movelog.c:149:3: warning: call to undeclared function 'remove_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | remove_card(tmp); | ^ movelog.c:150:3: warning: call to undeclared function 'add_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | add_card(tmp, deck->cards, LOC_BEFORE, deck); | ^ movelog.c:151:3: warning: call to undeclared function 'flip_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | flip_card(tmp, Facedown); | ^ movelog.c:155:25: warning: passing arguments to 'recompute_list_deltas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | recompute_list_deltas(stack[i]); | ^ movelog.c:156:4: warning: call to undeclared function 'show_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | show_list(stack[i], stack[i]->cards); | ^ movelog.c:158:4: warning: call to undeclared function 'show_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | show_list(stack[i], last_card(stack[i])); | ^ movelog.c:158:33: warning: passing arguments to 'last_card' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | show_list(stack[i], last_card(stack[i])); | ^ movelog.c:163:1: warning: non-void function does not return a value [-Wreturn-type] 163 | } | ^ movelog.c:168:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 168 | undo_suit(from, exposed) | ^ | int movelog.c:175:3: warning: call to undeclared function 'flip_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | flip_card(last_card(stack[from]), Facedown); | ^ movelog.c:175:22: warning: passing arguments to 'last_card' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | flip_card(last_card(stack[from]), Facedown); | ^ movelog.c:179:16: warning: passing arguments to 'move_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | move_to_list(piles[i]->cards, stack[from], False); | ^ movelog.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | undo_suit(from, exposed) | ^ movelog.c:183:1: warning: non-void function does not return a value [-Wreturn-type] 183 | } | ^ movelog.c:185:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 185 | undo_normal(from, dest, num_cards, exposed) | ^ | int movelog.c:192:3: warning: call to undeclared function 'flip_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | flip_card(last_card(stack[from]), Facedown); | ^ movelog.c:192:22: warning: passing arguments to 'last_card' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | flip_card(last_card(stack[from]), Facedown); | ^ movelog.c:193:17: warning: passing arguments to 'last_card' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | tmp = last_card(stack[dest]); | ^ movelog.c:200:14: warning: passing arguments to 'move_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | move_to_list(tmp, stack[from], False); | ^ movelog.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | undo_normal(from, dest, num_cards, exposed) | ^ movelog.c:201:1: warning: non-void function does not return a value [-Wreturn-type] 201 | } | ^ movelog.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | hash_card(val) | ^ movelog.c:211:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 211 | static int hash_card(); | ^ movelog.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | read_sequence(str) | ^ movelog.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | write_sequence(fp, seq) | ^ movelog.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | int_to_card(val, suit, rank) | ^ movelog.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | card_to_int(card) | ^ movelog.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | find_card(cache, suit, rank) | ^ movelog.c:352:4: warning: call to undeclared function 'add_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 352 | add_card(cache[i], deck->cards, LOC_END, deck); | ^ movelog.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | recover(cache) | ^ movelog.c:377:2: warning: call to undeclared function 'remove_all_cards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 377 | remove_all_cards(cache); | ^ movelog.c:411:3: warning: call to undeclared function 'add_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 411 | add_card(card, deck->cards, LOC_END, deck); | ^ movelog.c:480:4: warning: call to undeclared function 'add_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 480 | add_card(card, stack[i]->cards, LOC_END, stack[i]); | ^ movelog.c:496:5: warning: call to undeclared function 'add_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 496 | add_card(card, stack[i]->cards, LOC_END, | ^ movelog.c:539:5: warning: call to undeclared function 'add_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 539 | add_card(card, piles[i]->cards, LOC_START, | ^ movelog.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 | read_position(str) | ^ movelog.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | read_moves(str) | ^ movelog.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | write_moves(fp) | ^ movelog.c:592:25: warning: passing arguments to 'remove_newlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | fname = remove_newlines(fname); | ^ movelog.c:596:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | show_message("Overwriting existing file."); | ^ movelog.c:598:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | show_message("Cancelling save."); | ^ movelog.c:605:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | show_message(buf); | ^ movelog.c:657:35: warning: passing arguments to 'last_card' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | *seqp++ = card_to_int(last_card(piles[i])); | ^ movelog.c:672:2: warning: call to undeclared function 'write_human'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 672 | write_human(fp); | ^ movelog.c:675:14: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | show_message(buf); | ^ movelog.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | write_file(fname, confirmer) | ^ movelog.c:678:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 678 | write_human(fp) | ^ | int movelog.c:707:18: warning: passing arguments to 'rnk_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | rnk_name(tmps[i]->rank), | ^ movelog.c:708:28: warning: passing arguments to 'suit_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | tolower(*suit_name(tmps[i]->suit))); | ^ movelog.c:678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | write_human(fp) | ^ movelog.c:717:1: warning: non-void function does not return a value [-Wreturn-type] 717 | } | ^ movelog.c:719:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 719 | read_selection(buf) | ^ | int movelog.c:724:23: warning: passing arguments to 'remove_newlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | buf = remove_newlines(buf); | ^ movelog.c:731:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | show_message("Bogus data in selection."); | ^ movelog.c:734:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | show_message("Position loaded from selection."); | ^ movelog.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | read_selection(buf) | ^ movelog.c:737:1: warning: non-void function does not return a value [-Wreturn-type] 737 | } | ^ movelog.c:739:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 739 | read_file_or_selection(fname) | ^ | int movelog.c:739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] movelog.c:747:1: warning: non-void function does not return a value [-Wreturn-type] 747 | } | ^ movelog.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | read_file(fname) | ^ movelog.c:758:25: warning: passing arguments to 'remove_newlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | fname = remove_newlines(fname); | ^ movelog.c:762:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | show_message(buf); | ^ movelog.c:797:14: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | show_message(buf); | ^ movelog.c:801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | restore_game(str, str2) | ^ movelog.c:829:2: warning: call to undeclared function 'remove_all_cards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 829 | remove_all_cards(cache); | ^ movelog.c:840:16: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | show_message("Old deck is corrupted -- can't replay."); | ^ movelog.c:845:3: warning: call to undeclared function 'add_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 845 | add_card(card, deck->cards, LOC_END, deck); | ^ movelog.c:855:2: warning: call to undeclared function 'deal_cards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 855 | deal_cards(); | ^ movelog.c:871:17: warning: passing arguments to 'last_card' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | tmp = last_card(stack[from]); | ^ movelog.c:885:14: warning: passing arguments to 'move_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | move_to_list(tmp, piles[i], False); | ^ movelog.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | show_suit(from) | ^ movelog.c:897:17: warning: passing arguments to 'last_card' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | tmp = last_card(stack[from]); | ^ movelog.c:903:14: warning: passing arguments to 'move_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | move_to_list(tmp, stack[dest], False); | ^ movelog.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | show_normal(from, dest, num) | ^ movelog.c:963:9: warning: call to undeclared function 'show_play_events'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 963 | (void) show_play_events(); | ^ movelog.c:965:14: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | show_message("Showing all moves -- hit any key or button to abort"); | ^ movelog.c:975:4: warning: call to undeclared function 'deal_next_hand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 975 | deal_next_hand(False); | ^ movelog.c:992:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | show_message("Aborted -- cleaning up"); | ^ movelog.c:994:15: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | show_message("Replay finished"); | ^ movelog.c:949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | show_play(start, num_moves, event_check, delay_func) | ^ In file included from movelog.c:18: ./globals.h:80: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] 80 | void show_play(); | ^ 105 warnings generated. cc -O2 -I. -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c util.c util.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | can_get_help_files(helpfiles) | ^ In file included from util.c:18: ./globals.h:96: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] 96 | Bool can_get_help_files(); | ^ util.c:158:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 158 | extern char *getenv(); | ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 110 | char *getenv(const char *); | ^ util.c:186:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 186 | if (pwd = getpwnam(uname)) { | ~~~~^~~~~~~~~~~~~~~~~ util.c:186:12: note: place parentheses around the assignment to silence this warning 186 | if (pwd = getpwnam(uname)) { | ^ | ( ) util.c:186:12: note: use '==' to turn this assignment into an equality comparison 186 | if (pwd = getpwnam(uname)) { | ^ | == util.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | remove_newlines(str) | ^ In file included from util.c:18: ./globals.h:59:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | char *remove_newlines(); | ^ 6 warnings generated. cc -DDATE="\"`date`\"" -c version.c cc -O2 -I. -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c xaw_ui.c xaw_ui.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | usage(arg) | ^ xaw_ui.c:145:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 145 | main(argc, argv) | ^ | int xaw_ui.c:152:10: warning: call to undeclared function 'xaw_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | nargs = xaw_init(argc, argv); | ^ xaw_ui.c:161:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | exit(-1); | ^ xaw_ui.c:161:5: note: include the header or explicitly provide a declaration for 'exit' xaw_ui.c:171:2: warning: call to undeclared function 'table_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | table_init(XtWindow(table_w)); | ^ xaw_ui.c:172:2: warning: call to undeclared function 'card_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | card_init(); | ^ xaw_ui.c:175:3: warning: call to undeclared function 'read_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | read_file(save_file); | ^ xaw_ui.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 | main(argc, argv) | ^ xaw_ui.c:182:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 182 | xaw_init(argc, argv) | ^ | int xaw_ui.c:243:2: warning: call to undeclared function 'gfx_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | gfx_init(XtDisplay(toplevel), scr); | ^ xaw_ui.c:327:25: warning: passing arguments to 'can_get_help_files' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | if (!can_get_help_files(helpfiles)) { | ^ xaw_ui.c:416:2: warning: call to undeclared function 'create_confirmer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 416 | create_confirmer(); | ^ xaw_ui.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | xaw_init(argc, argv) | ^ xaw_ui.c:421:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 421 | create_confirmer() | ^ | int xaw_ui.c:456:1: warning: non-void function does not return a value [-Wreturn-type] 456 | } | ^ xaw_ui.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | show_message(buf) | ^ In file included from xaw_ui.c:18: ./globals.h:74: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] 74 | void show_message(); | ^ xaw_ui.c:474:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 474 | flush_message() | ^ | int xaw_ui.c:484:1: warning: non-void function does not return a value [-Wreturn-type] 484 | } | ^ xaw_ui.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | create_help_popup(fname) | ^ In file included from xaw_ui.c:19: ./xaw_ui.h:48:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | extern Widget create_help_popup(); | ^ 21 warnings generated. cc -O2 -I. -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXAW -DROUND_CARDS -DHELPDIR="\"/usr/local/lib/X11/spider\"" -c xaw_stubs.c xaw_stubs.c:37:3: warning: call to undeclared function 'compute_score'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | compute_score()); | ^ xaw_stubs.c:38:14: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | show_message(buf); | ^ xaw_stubs.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | score_handler(w, call_data, client_data) | ^ In file included from xaw_stubs.c:18: ./xaw_ui.h:32:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | extern void score_handler(), | ^ xaw_stubs.c:47:6: warning: call to undeclared function 'newgame_confirmer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | if (newgame_confirmer()) { | ^ xaw_stubs.c:49:3: warning: call to undeclared function 'shuffle_cards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | shuffle_cards(); | ^ xaw_stubs.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | newgame_handler(w, call_data, client_data) | ^ In file included from xaw_stubs.c:18: ./xaw_ui.h:39:4: warning: a function declaration without a prototype is 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 | newgame_handler(), | ^ xaw_stubs.c:59:10: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 59 | switch ((int) call_data) { | ^~~~~~~~~~~~~~~ xaw_stubs.c:61:4: warning: call to undeclared function 'undo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | undo(); | ^ xaw_stubs.c:65:4: warning: call to undeclared function 'init_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | init_cache(); /* reset move cache */ | ^ xaw_stubs.c:69:13: warning: passing arguments to 'show_play' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | show_play(0, 0, show_play_events, delay); | ^ xaw_stubs.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | backup_handler(w, call_data, client_data) | ^ In file included from xaw_stubs.c:18: ./xaw_ui.h:33:4: warning: a function declaration without a prototype is 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 | backup_handler(), | ^ xaw_stubs.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | expand_handler(w, call_data, client_data) | ^ In file included from xaw_stubs.c:18: ./xaw_ui.h:34:4: warning: a function declaration without a prototype is 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 | expand_handler(), | ^ xaw_stubs.c:90:27: warning: passing arguments to 'create_help_popup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | help = create_help_popup(helpfiles[0]); | ^ xaw_stubs.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | help_handler(w, call_data, client_data) | ^ In file included from xaw_stubs.c:18: ./xaw_ui.h:37:4: warning: a function declaration without a prototype is 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 | help_handler(), | ^ xaw_stubs.c:104:10: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 104 | switch ((int) call_data) { | ^~~~~~~~~~~~~~~ xaw_stubs.c:111:22: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 111 | fname = helpfiles[(int)call_data - 1]; | ^~~~~~~~~~~~~~ xaw_stubs.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | change_help(w, call_data, client_data) | ^ In file included from xaw_stubs.c:18: ./xaw_ui.h:38:4: warning: a function declaration without a prototype is 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 | change_help(), | ^ xaw_stubs.c:141:26: warning: passing arguments to 'remove_newlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | fname = remove_newlines(fname); | ^ xaw_stubs.c:142:9: warning: passing arguments to 'locate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | locate(fname); | ^ xaw_stubs.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | locate_handler(w, call_data, client_data) | ^ In file included from xaw_stubs.c:18: ./xaw_ui.h:35:4: warning: a function declaration without a prototype is 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 | locate_handler(), | ^ xaw_stubs.c:157:10: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 157 | switch ((int) call_data) { | ^~~~~~~~~~~~~~~ xaw_stubs.c:160:5: warning: call to undeclared function 'write_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | write_file(fname, write_confirmer); | ^ xaw_stubs.c:161:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 161 | } else if (fname = get_selection()) { | ~~~~~~^~~~~~~~~~~~~~~~~ xaw_stubs.c:161:21: note: place parentheses around the assignment to silence this warning 161 | } else if (fname = get_selection()) { | ^ | ( ) xaw_stubs.c:161:21: note: use '==' to turn this assignment into an equality comparison 161 | } else if (fname = get_selection()) { | ^ | == xaw_stubs.c:162:5: warning: call to undeclared function 'write_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | write_file(fname, write_confirmer); | ^ xaw_stubs.c:164:17: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | show_message("Bogus filename."); | ^ xaw_stubs.c:169:5: warning: call to undeclared function 'read_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | read_file(fname); | ^ xaw_stubs.c:171:17: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | show_message("Bogus filename."); | ^ xaw_stubs.c:177:5: warning: call to undeclared function 'read_selection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | read_selection(fname); | ^ xaw_stubs.c:179:17: warning: passing arguments to 'show_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | show_message("Bogus primary selection."); | ^ xaw_stubs.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 | file_handler(w, call_data, client_data) | ^ In file included from xaw_stubs.c:18: ./xaw_ui.h:36:4: warning: a function declaration without a prototype is 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 | file_handler(), | ^ xaw_stubs.c:199:14: warning: passing arguments to 'redraw_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | redraw_table(xev); | ^ xaw_stubs.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | xaw_redraw_table(w, data, xev, ctd) | ^ In file included from xaw_stubs.c:18: ./xaw_ui.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | extern void xaw_redraw_table(), | ^ xaw_stubs.c:213:14: warning: passing arguments to 'button_press' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | button_press(xev); | ^ xaw_stubs.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 | xaw_button_press(w, data, xev, ctd) | ^ In file included from xaw_stubs.c:18: ./xaw_ui.h:43:4: warning: a function declaration without a prototype is 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 | xaw_button_press(), | ^ xaw_stubs.c:227:16: warning: passing arguments to 'button_release' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | button_release(xev); | ^ xaw_stubs.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | xaw_button_release(w, data, xev, ctd) | ^ In file included from xaw_stubs.c:18: ./xaw_ui.h:44:4: warning: a function declaration without a prototype is 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 | xaw_button_release(), | ^ xaw_stubs.c:251:25: warning: passing arguments to 'recompute_list_deltas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | recompute_list_deltas(stack[i]); | ^ xaw_stubs.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | xaw_resize(w, data, xev, ctd) | ^ In file included from xaw_stubs.c:18: ./xaw_ui.h:45:4: warning: a function declaration without a prototype is 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 | xaw_resize(), | ^ xaw_stubs.c:266:11: warning: passing arguments to 'key_press' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | key_press(xev); | ^ xaw_stubs.c:269:3: warning: call to undeclared function 'shuffle_cards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 269 | shuffle_cards(); | ^ xaw_stubs.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | xaw_key_press(w, data, xev, ctd) | ^ In file included from xaw_stubs.c:18: ./xaw_ui.h:46:4: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | xaw_key_press(); | ^ xaw_stubs.c:305:6: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 305 | if ((int)call_data == 1) | ^~~~~~~~~~~~~~ xaw_stubs.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | confirm_callback(w, call_data, client_data) | ^ In file included from xaw_stubs.c:18: ./xaw_ui.h:40:4: warning: a function declaration without a prototype is 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 | confirm_callback(); | ^ xaw_stubs.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | do_confirmer(label) | ^ xaw_stubs.c:377:26: warning: passing arguments to 'remove_newlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | fname = remove_newlines(fname); | ^ xaw_stubs.c:378:9: warning: passing arguments to 'locate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | locate(fname); | ^ 60 warnings generated. rm -f spider cc -o spider -O2 -L/usr/X11R6/lib -L/usr/local/lib gfx.o spider.o events.o windows.o movelog.o util.o version.o xaw_ui.o xaw_stubs.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lXdmcp -lXau -Wl,-rpath,/usr/local/lib ld: warning: spider.c(spider.o:(shuffle_cards)): warning: random() may return deterministic values, is that what you want? ld: warning: spider.c(spider.o:(deal_next_hand)): warning: sprintf() is often misused, please use snprintf() ld: warning: util.c(util.o:(remove_newlines)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: spider.c(spider.o:(expand)): warning: strcat() is almost always misused, please use strlcat() rm -f spider._man if test -z "" ; then cd `dirname spider` && ln -s `basename spider.man` `basename spider._man`; else /usr/libexec/cpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < spider.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/\@\@$/\\/' >spider._man; fi >>> Running package in games/spider at 1764616392.29 ===> games/spider ===> Faking installation for spider-1.1p7 install -c spider /exopi-obj/pobj/spider-1.1/fake-amd64/usr/local/bin/spider install in . done + mkdir -p /exopi-obj/pobj/spider-1.1/fake-amd64/usr/local/lib/X11/spider + install -c -m 0444 doc.intro /exopi-obj/pobj/spider-1.1/fake-amd64/usr/local/lib/X11/spider + install -c -m 0444 doc.rules /exopi-obj/pobj/spider-1.1/fake-amd64/usr/local/lib/X11/spider + install -c -m 0444 doc.controls /exopi-obj/pobj/spider-1.1/fake-amd64/usr/local/lib/X11/spider + install -c -m 0444 doc.examples /exopi-obj/pobj/spider-1.1/fake-amd64/usr/local/lib/X11/spider + install -c -m 0444 doc.misc /exopi-obj/pobj/spider-1.1/fake-amd64/usr/local/lib/X11/spider + install -c -m 0444 doc.summary /exopi-obj/pobj/spider-1.1/fake-amd64/usr/local/lib/X11/spider install -c -m 0444 spider._man /exopi-obj/pobj/spider-1.1/fake-amd64/usr/local/man/man1/spider.1 install.man in . done ===> Building package for spider-1.1p7 Create /exopi-cvs/ports/packages/amd64/all/spider-1.1p7.tgz Creating package spider-1.1p7 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|** | 3% checksumming|**** | 7% checksumming|****** | 10% checksumming|******** | 14% checksumming|*********** | 17% checksumming|************* | 21% checksumming|*************** | 24% checksumming|***************** | 28% checksumming|******************* | 31% checksumming|********************* | 34% checksumming|*********************** | 38% checksumming|************************* | 41% checksumming|*************************** | 45% checksumming|***************************** | 48% checksumming|******************************** | 52% checksumming|********************************** | 55% checksumming|************************************ | 59% checksumming|************************************** | 62% checksumming|**************************************** | 66% checksumming|****************************************** | 69% checksumming|******************************************** | 72% checksumming|********************************************** | 76% checksumming|************************************************ | 79% checksumming|************************************************** | 83% checksumming|***************************************************** | 86% checksumming|******************************************************* | 90% checksumming|********************************************************* | 93% checksumming|*********************************************************** | 97% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|**************************************** | 62% archiving|****************************************** | 65% archiving|*********************************************************** | 93% archiving|************************************************************ | 93% archiving|************************************************************ | 94% archiving|*************************************************************** | 98% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/spider-1.1p7.tgz >>> Running clean in games/spider at 1764616393.97 ===> games/spider ===> Cleaning for spider-1.1p7 >>> Ended at 1764616394.20 max_stuck=0.00/depends=1.12/show-prepare-results=0.63/build=3.84/package=1.67/clean=0.26