>>> Building on exopi-1 under games/moria DIST = [games/moria:um5.5.2.tar.Z] FULLPKGNAME = moria-5.5.2p5 distfiles size=910536 >>> Running build in games/moria at 1732156249.17 ===> games/moria ===> Building from scratch moria-5.5.2p5 ===> Verifying specs: c curses ===> found c.100.3 curses.15.0 ===> Checking files for moria-5.5.2p5 `/exopi-cvs/ports/distfiles/um5.5.2.tar.Z' is up to date. >> (SHA256) all files: OK ===> Extracting for moria-5.5.2p5 ===> Patching for moria-5.5.2p5 ===> Applying OpenBSD patch patch-source_config_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- source/config.h.orig Wed Jul 4 12:42:19 2001 |+++ source/config.h Wed Jul 4 12:42:21 2001 -------------------------- Patching file source/config.h using Plan A... Hunk #1 succeeded at 6. Hunk #2 succeeded at 213. done ===> Applying OpenBSD patch patch-source_death_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- source/death.c.orig Fri Jul 22 03:47:16 1994 |+++ source/death.c Fri Apr 5 22:19:11 2013 -------------------------- Patching file source/death.c using Plan A... Hunk #1 succeeded at 123. done ===> Applying OpenBSD patch patch-source_externs_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- source/externs.h.orig Fri Jul 22 03:47:20 1994 |+++ source/externs.h Tue Apr 25 17:43:50 2017 -------------------------- Patching file source/externs.h using Plan A... Hunk #1 succeeded at 330. Hunk #2 succeeded at 842. done ===> Applying OpenBSD patch patch-source_io_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- source/io.c.orig Fri Jul 22 03:47:26 1994 |+++ source/io.c Tue Apr 25 17:35:17 2017 -------------------------- Patching file source/io.c using Plan A... Hunk #1 succeeded at 60. Hunk #2 succeeded at 113. Hunk #3 succeeded at 213. Hunk #4 succeeded at 243. Hunk #5 succeeded at 328. Hunk #6 succeeded at 406. Hunk #7 succeeded at 437. Hunk #8 succeeded at 455. Hunk #9 succeeded at 569. Hunk #10 succeeded at 663. Hunk #11 succeeded at 696. Hunk #12 succeeded at 738. Hunk #13 succeeded at 798. done ===> Applying OpenBSD patch patch-source_main_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- source/main.c.orig Fri Jul 22 03:47:27 1994 |+++ source/main.c Fri Apr 5 22:20:46 2013 -------------------------- Patching file source/main.c using Plan A... Hunk #1 succeeded at 88. Hunk #2 succeeded at 349. done ===> Applying OpenBSD patch patch-source_misc1_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- source/misc1.c.orig Fri Jul 22 03:47:28 1994 |+++ source/misc1.c Fri Apr 5 22:23:01 2013 -------------------------- Patching file source/misc1.c using Plan A... Hunk #1 succeeded at 28. Hunk #2 succeeded at 40. Hunk #3 succeeded at 80. done ===> Applying OpenBSD patch patch-source_save_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- source/save.c.orig Fri Jul 22 03:47:40 1994 |+++ source/save.c Fri Apr 5 22:25:03 2013 -------------------------- Patching file source/save.c using Plan A... Hunk #1 succeeded at 102. Hunk #2 succeeded at 327. Hunk #3 succeeded at 1021. Hunk #4 succeeded at 1241. done ===> Applying OpenBSD patch patch-source_signals_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- source/signals.c.orig Fri Jul 22 03:47:42 1994 |+++ source/signals.c Tue Apr 25 17:30:19 2017 -------------------------- Patching file source/signals.c using Plan A... Hunk #1 succeeded at 88. Hunk #2 succeeded at 118. Hunk #3 succeeded at 154. done ===> Applying OpenBSD patch patch-unix_unix_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- unix/unix.c.orig Fri Jul 22 00:37:08 1994 |+++ unix/unix.c Fri Apr 5 22:26:10 2013 -------------------------- Patching file unix/unix.c using Plan A... Hunk #1 succeeded at 18. Hunk #2 succeeded at 43. Hunk #3 succeeded at 121. Hunk #4 succeeded at 134. 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 moria-5.5.2p5 ===> Configuring for moria-5.5.2p5 cd /exopi-obj/pobj/moria-5.5.2/build-amd64; for i in /exopi-obj/pobj/moria-5.5.2/umoria/source/*; do ln -sf $i; done; for i in /exopi-obj/pobj/moria-5.5.2/umoria/unix/*; do ln -sf $i; done; ln -sf /exopi-obj/pobj/moria-5.5.2/umoria/files ===> Building for moria-5.5.2p5 cc -DPREFIX=\"/usr/local\" -O2 -pipe -c main.c In file included from main.c:66: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from main.c:66: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ main.c:261:31: warning: passing arguments to 'display_scores' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'S': display_scores(TRUE); exit_game(); ^ main.c:262:31: warning: passing arguments to 'display_scores' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 's': display_scores(FALSE); exit_game(); ^ main.c:289:13: warning: passing arguments to 'init_seeds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_seeds(seed); ^ main.c:331:62: warning: passing arguments to 'get_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((new_game == FALSE) && !access(savefile, 0) && get_char(&generate)) ^ main.c:359:15: warning: passing arguments to 'calc_spells' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_spells(A_INT); ^ main.c:360:13: warning: passing arguments to 'calc_mana' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_mana(A_INT); ^ main.c:364:15: warning: passing arguments to 'calc_spells' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_spells(A_WIS); ^ main.c:366:13: warning: passing arguments to 'calc_mana' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_mana(A_WIS); ^ main.c:179:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ In file included from main.c:66: ./externs.h:878:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int main(); ^ main.c:422:12: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&inventory[i], OBJ_NOTHING); ^ main.c:427:14: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&inven_init, j); ^ main.c:429:19: warning: passing arguments to 'store_bought' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_bought(&inven_init); ^ main.c:433:25: warning: passing arguments to 'inven_carry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) inven_carry(&inven_init); ^ 16 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c misc1.c In file included from misc1.c:12: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from misc1.c:12: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ misc1.c:52:15: warning: passing arguments to 'set_rnd_seed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_rnd_seed(clock_var); ^ misc1.c:54:27: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (clock_var = randint(100); clock_var != 0; clock_var--) ^ misc1.c:37:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void init_seeds(seed) ^ In file included from misc1.c:12: ./externs.h:881:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void init_seeds(); ^ misc1.c:68:16: warning: passing arguments to 'set_rnd_seed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_rnd_seed (seed); ^ misc1.c:62:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void set_seed(seed) ^ In file included from misc1.c:12: ./externs.h:882:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void set_seed(); ^ misc1.c:75:16: warning: passing arguments to 'set_rnd_seed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_rnd_seed (old_seed); ^ misc1.c:99:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int randint(maxval) ^ In file included from misc1.c:12: ./externs.h:885:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int randint(); ^ misc1.c:109:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int randnor(mean, stand) ^ In file included from misc1.c:12: ./externs.h:886:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int randnor(); ^ misc1.c:175:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int bit_pos(test) ^ In file included from misc1.c:12: ./externs.h:887:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int bit_pos(); ^ misc1.c:194:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int in_bounds(y, x) ^ In file included from misc1.c:12: ./externs.h:888:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int in_bounds(); ^ misc1.c:219:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_panel(y, x, force) ^ In file included from misc1.c:12: ./externs.h:890:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int get_panel(); ^ misc1.c:261:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int panel_contains(y, x) ^ In file included from misc1.c:12: ./externs.h:891:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int panel_contains(); ^ misc1.c:273:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int distance(y1, x1, y2, x2) ^ In file included from misc1.c:12: ./externs.h:892:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int distance(); ^ misc1.c:291:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int next_to_walls(y, x) ^ In file included from misc1.c:12: ./externs.h:893:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int next_to_walls(); ^ misc1.c:318:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int next_to_corr(y, x) ^ In file included from misc1.c:12: ./externs.h:894:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int next_to_corr(); ^ misc1.c:339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int damroll(num, sides) ^ In file included from misc1.c:12: ./externs.h:895:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int damroll(); ^ misc1.c:349:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int pdamroll(array) ^ In file included from misc1.c:12: ./externs.h:896:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int pdamroll(); ^ misc1.c:372:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int los(fromY, fromX, toY, toX) ^ In file included from misc1.c:12: ./externs.h:897:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int los(); ^ misc1.c:532:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned char loc_symbol(y, x) ^ In file included from misc1.c:12: ./externs.h:898:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] unsigned char loc_symbol(); ^ misc1.c:584:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int test_light(y, x) ^ In file included from misc1.c:12: ./externs.h:899:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int test_light(); ^ misc1.c:607:18: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (k, 13); ^ misc1.c:612:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(tmp_char, i, j); ^ misc1.c:630:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Compacting monsters..."); ^ misc1.c:654:19: warning: passing arguments to 'delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_monster(i); ^ misc1.c:660:22: warning: passing arguments to 'fix1_delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fix1_delete_monster(i); ^ misc1.c:688:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are bloated from overeating."); ^ misc1.c:705:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are full."); ^ misc1.c:677:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void add_food(num) ^ In file included from misc1.c:12: ./externs.h:902:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void add_food(); ^ misc1.c:723:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int max_hp(array) ^ In file included from misc1.c:12: ./externs.h:904:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int max_hp(); ^ misc1.c:731:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int place_monster(y, x, z, slp) ^ In file included from misc1.c:12: ./externs.h:905:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int place_monster(); ^ misc1.c:811:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_mons_num (level) ^ In file included from misc1.c:12: ./externs.h:907:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int get_mons_num(); ^ misc1.c:851:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void alloc_monster(num, dis, slp) ^ In file included from misc1.c:12: ./externs.h:908:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void alloc_monster(); ^ misc1.c:881:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int summon_monster(y, x, slp) ^ In file included from misc1.c:12: ./externs.h:909:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int summon_monster(); ^ misc1.c:918:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int summon_undead(y, x) ^ In file included from misc1.c:12: ./externs.h:910:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int summon_undead(); ^ misc1.c:983:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Compacting objects..."); ^ misc1.c:1020:27: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(i, j); ^ misc1.c:1059:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[tcptr], OBJ_NOTHING); ^ misc1.c:1043:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void pusht(x) ^ In file included from misc1.c:12: ./externs.h:912:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void pusht(); ^ misc1.c:1064:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int magik(chance) ^ In file included from misc1.c:12: ./externs.h:913:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int magik(); ^ misc1.c:1075:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int m_bonus(base, max_std, level) ^ In file included from misc1.c:12: ./externs.h:914:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int m_bonus(); ^ 68 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c misc2.c In file included from misc2.c:16: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from misc2.c:16: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ misc2.c:47:16: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(chance)) ^ misc2.c:49:26: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac += m_bonus(1, 30, level); ^ misc2.c:50:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(special)) ^ misc2.c:51:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch(randint(9)) ^ misc2.c:103:21: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (magik(cursed)) ^ misc2.c:105:26: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac -= m_bonus(1, 40, level); ^ misc2.c:118:16: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(chance)) ^ misc2.c:120:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->tohit += m_bonus(0, 40, level); ^ misc2.c:123:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->todam += m_bonus(0, 4*tmp, tmp*level/10); ^ misc2.c:127:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(3*special/2)) ^ misc2.c:128:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch(randint(16)) ^ misc2.c:140:26: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac += randint(4); ^ misc2.c:143:25: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = randint(4); ^ misc2.c:160:30: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac += 5 + randint(5); ^ misc2.c:163:25: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = randint(3); ^ misc2.c:223:21: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (magik(cursed)) ^ misc2.c:225:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->tohit -= m_bonus(1, 55, level); ^ misc2.c:228:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->todam -= m_bonus(1, 11*tmp/2, tmp*level/10); ^ misc2.c:241:16: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(chance)) ^ misc2.c:243:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->tohit += m_bonus(1, 30, level); ^ misc2.c:244:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->todam += m_bonus(1, 20, level); /* add damage. -CJS- */ ^ misc2.c:246:21: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (magik(cursed)) ^ misc2.c:248:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->tohit -= m_bonus(1, 50, level); ^ misc2.c:249:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->todam -= m_bonus(1, 30, level); /* add damage. -CJS- */ ^ misc2.c:262:16: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(chance)) ^ misc2.c:264:17: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(3); ^ misc2.c:266:26: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 += m_bonus(0, 25, level); ^ misc2.c:270:28: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = -m_bonus(1, 30, level); ^ misc2.c:282:16: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(chance)) ^ misc2.c:284:26: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac += m_bonus(1, 20, level); ^ misc2.c:285:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(special)) ^ misc2.c:287:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(2) == 1) ^ misc2.c:300:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->tohit += 1 + randint(3); ^ misc2.c:301:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->todam += 1 + randint(3); ^ misc2.c:307:21: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (magik(cursed)) ^ misc2.c:309:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(special)) ^ misc2.c:311:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(2) == 1) ^ misc2.c:322:30: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = -m_bonus(1, 10, level); ^ misc2.c:324:26: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac -= m_bonus(1, 40, level); ^ misc2.c:335:16: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(chance)) ^ misc2.c:337:26: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac += m_bonus(1, 20, level); ^ misc2.c:338:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(special)) ^ misc2.c:340:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(12); ^ misc2.c:363:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = randint(3); ^ misc2.c:369:21: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (magik(cursed)) ^ misc2.c:371:17: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(3); ^ misc2.c:390:26: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac -= m_bonus(2, 45, level); ^ misc2.c:406:16: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(chance)) ^ misc2.c:408:26: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac += m_bonus(1, 20, level); ^ misc2.c:409:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(special)) ^ misc2.c:413:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(3); ^ misc2.c:417:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = randint(2); ^ misc2.c:424:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = randint(2); ^ misc2.c:431:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = 1 + randint(4); ^ misc2.c:443:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch(randint(6)) ^ misc2.c:447:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = randint(3); ^ misc2.c:459:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = randint(3); ^ misc2.c:466:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = randint(3); ^ misc2.c:479:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = randint(3); ^ misc2.c:486:35: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = 5*(1 + randint(4)); ^ misc2.c:504:21: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (magik(cursed)) ^ misc2.c:506:26: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac -= m_bonus(1, 45, level); ^ misc2.c:513:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(special)) ^ misc2.c:514:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch(randint(7)) ^ misc2.c:518:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = -randint (5); ^ misc2.c:524:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = -randint (5); ^ misc2.c:546:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = -randint (5); ^ misc2.c:556:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = -randint (5); ^ misc2.c:568:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(cursed)) ^ misc2.c:570:28: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = -m_bonus(1, 20, level); ^ misc2.c:580:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = m_bonus(1, 10, level); ^ misc2.c:585:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(cursed)) ^ misc2.c:587:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = -randint(3); ^ misc2.c:599:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = 5 * m_bonus(1, 20, level); ^ misc2.c:601:14: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik (cursed)) ^ misc2.c:613:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->todam += m_bonus(1, 20, level); ^ misc2.c:615:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(cursed)) ^ misc2.c:627:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->tohit += m_bonus(1, 20, level); ^ misc2.c:629:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(cursed)) ^ misc2.c:641:26: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac += m_bonus(1, 20, level); ^ misc2.c:643:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(cursed)) ^ misc2.c:660:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->todam += m_bonus(1, 25, level); ^ misc2.c:661:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->tohit += m_bonus(1, 25, level); ^ misc2.c:663:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(cursed)) ^ misc2.c:683:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(cursed)) ^ misc2.c:685:28: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = -m_bonus(1, 20, level); ^ misc2.c:695:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = m_bonus(1, 10, level); ^ misc2.c:701:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = 5 * m_bonus(1, 25, level); ^ misc2.c:702:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(cursed)) ^ misc2.c:718:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = 5 * m_bonus(1, 25, level); ^ misc2.c:728:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = randint(t_ptr->p1); ^ misc2.c:736:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 0: t_ptr->p1 = randint(10) + 6; break; ^ misc2.c:737:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 1: t_ptr->p1 = randint(8) + 6; break; ^ misc2.c:738:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 2: t_ptr->p1 = randint(5) + 6; break; ^ misc2.c:739:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 3: t_ptr->p1 = randint(8) + 6; break; ^ misc2.c:740:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 4: t_ptr->p1 = randint(4) + 3; break; ^ misc2.c:741:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 5: t_ptr->p1 = randint(8) + 6; break; ^ misc2.c:742:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 6: t_ptr->p1 = randint(20) + 12; break; ^ misc2.c:743:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 7: t_ptr->p1 = randint(20) + 12; break; ^ misc2.c:744:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 8: t_ptr->p1 = randint(10) + 6; break; ^ misc2.c:745:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 9: t_ptr->p1 = randint(12) + 6; break; ^ misc2.c:746:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 10: t_ptr->p1 = randint(10) + 12; break; ^ misc2.c:747:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 11: t_ptr->p1 = randint(3) + 3; break; ^ misc2.c:748:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 12: t_ptr->p1 = randint(8) + 6; break; ^ misc2.c:749:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 13: t_ptr->p1 = randint(10) + 6; break; ^ misc2.c:750:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 14: t_ptr->p1 = randint(5) + 3; break; ^ misc2.c:751:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 15: t_ptr->p1 = randint(5) + 3; break; ^ misc2.c:752:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 16: t_ptr->p1 = randint(5) + 6; break; ^ misc2.c:753:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 17: t_ptr->p1 = randint(5) + 4; break; ^ misc2.c:754:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 18: t_ptr->p1 = randint(8) + 4; break; ^ misc2.c:755:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 19: t_ptr->p1 = randint(6) + 2; break; ^ misc2.c:756:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 20: t_ptr->p1 = randint(4) + 2; break; ^ misc2.c:757:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 21: t_ptr->p1 = randint(8) + 6; break; ^ misc2.c:758:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 22: t_ptr->p1 = randint(5) + 2; break; ^ misc2.c:759:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 23: t_ptr->p1 = randint(12) + 12; break; ^ misc2.c:768:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 0: t_ptr->p1 = randint(20) + 12; break; ^ misc2.c:769:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 1: t_ptr->p1 = randint(8) + 6; break; ^ misc2.c:770:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 2: t_ptr->p1 = randint(5) + 6; break; ^ misc2.c:771:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 3: t_ptr->p1 = randint(20) + 12; break; ^ misc2.c:772:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 4: t_ptr->p1 = randint(15) + 6; break; ^ misc2.c:773:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 5: t_ptr->p1 = randint(4) + 5; break; ^ misc2.c:774:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 6: t_ptr->p1 = randint(5) + 3; break; ^ misc2.c:775:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 7: t_ptr->p1 = randint(3) + 1; ^ misc2.c:778:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 8: t_ptr->p1 = randint(3) + 1; break; ^ misc2.c:779:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 9: t_ptr->p1 = randint(5) + 6; break; ^ misc2.c:780:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 10: t_ptr->p1 = randint(10) + 12; break; ^ misc2.c:781:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 11: t_ptr->p1 = randint(5) + 6; break; ^ misc2.c:782:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 12: t_ptr->p1 = randint(5) + 6; break; ^ misc2.c:783:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 13: t_ptr->p1 = randint(5) + 6; break; ^ misc2.c:784:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 14: t_ptr->p1 = randint(10) + 12; break; ^ misc2.c:785:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 15: t_ptr->p1 = randint(3) + 4; break; ^ misc2.c:786:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 16: t_ptr->p1 = randint(5) + 6; break; ^ misc2.c:787:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 17: t_ptr->p1 = randint(5) + 6; break; ^ misc2.c:788:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 18: t_ptr->p1 = randint(3) + 4; break; ^ misc2.c:789:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 19: t_ptr->p1 = randint(10) + 12; break; ^ misc2.c:790:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 20: t_ptr->p1 = randint(3) + 4; break; ^ misc2.c:791:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 21: t_ptr->p1 = randint(3) + 4; break; ^ misc2.c:792:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 22: t_ptr->p1 = randint(10) + 6; ^ misc2.c:801:16: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(chance)) ^ misc2.c:803:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(special)) ^ misc2.c:805:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(2) == 1) ^ misc2.c:808:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac += m_bonus(2, 40, level); ^ misc2.c:813:27: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac += m_bonus(1, 20, level); ^ misc2.c:815:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = randint(3); ^ misc2.c:822:28: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac += m_bonus(1, 20, level); ^ misc2.c:824:21: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (magik(cursed)) ^ misc2.c:826:17: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(3); ^ misc2.c:831:31: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac -= m_bonus(1, 10, level); ^ misc2.c:833:31: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->tohit -= m_bonus(1, 10, level); ^ misc2.c:834:31: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->todam -= m_bonus(1, 10, level); ^ misc2.c:840:30: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac -= m_bonus(10, 100, level+50); ^ misc2.c:846:31: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->toac -= m_bonus(1, 10, level); ^ misc2.c:848:31: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->tohit -= m_bonus(2, 40, level+10); ^ misc2.c:849:31: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->todam -= m_bonus(2, 40, level+10); ^ misc2.c:861:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch(randint(level+4)) ^ misc2.c:910:13: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(chance)) ^ misc2.c:912:31: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->tohit += m_bonus(1, 35, level); ^ misc2.c:913:31: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->todam += m_bonus(1, 35, level); ^ misc2.c:915:17: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (magik(3*special/2)) ^ misc2.c:916:17: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch(randint(10)) ^ misc2.c:958:18: warning: passing arguments to 'magik' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (magik(cursed)) ^ misc2.c:960:31: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->tohit -= m_bonus(5, 55, level); ^ misc2.c:961:31: warning: passing arguments to 'm_bonus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->todam -= m_bonus(5, 55, level); ^ misc2.c:973:26: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->number += randint(6); ^ misc2.c:21:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void magic_treasure(x, level) ^ In file included from misc2.c:16: ./externs.h:917:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void magic_treasure(); ^ misc2.c:1038:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(" ESC when finished, y/n to set options, or - to move cursor", ^ misc2.c:1044:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(string, max+1, 0); ^ misc2.c:1046:13: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(max+1, 0); ^ misc2.c:1050:18: warning: passing arguments to 'move_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_cursor(i+1, 40); ^ misc2.c:1071:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("yes", i+1, 40); ^ misc2.c:1080:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("no ", i+1, 40); ^ 174 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c misc3.c In file included from misc3.c:16: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from misc3.c:16: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ misc3.c:58:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[cur_pos], OBJ_TRAP_LIST + subval); ^ misc3.c:51:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void place_trap(y, x, subval) ^ In file included from misc3.c:16: ./externs.h:921:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void place_trap(); ^ misc3.c:73:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[cur_pos], OBJ_RUBBLE); ^ misc3.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void place_rubble(y, x) ^ In file included from misc3.c:16: ./externs.h:922:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void place_rubble(); ^ misc3.c:90:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = ((randint(dun_level+2)+2) / 2) - 1; ^ misc3.c:91:14: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(OBJ_GREAT) == 1) ^ misc3.c:92:17: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i += randint(dun_level+1); ^ misc3.c:96:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[cur_pos], OBJ_GOLD_LIST+i); ^ misc3.c:98:37: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->cost += (8L * (long)randint((int)t_ptr->cost)) + randint(8); ^ misc3.c:98:66: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->cost += (8L * (long)randint((int)t_ptr->cost)) + randint(8); ^ misc3.c:100:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You feel something roll beneath your feet."); ^ misc3.c:78:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void place_gold(y, x) ^ In file included from misc3.c:16: ./externs.h:923:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void place_gold(); ^ misc3.c:111:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(t_level[0]) - 1; ^ misc3.c:116:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (randint(OBJ_GREAT) == 1) ^ misc3.c:118:44: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] level = level * MAX_OBJ_LEVEL / randint (MAX_OBJ_LEVEL) + 1; ^ misc3.c:130:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(2) == 1) ^ misc3.c:131:17: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(t_level[level]) - 1; ^ misc3.c:135:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(t_level[level]) - 1; ^ misc3.c:136:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = randint(t_level[level]) - 1; ^ misc3.c:139:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = randint(t_level[level]) - 1; ^ misc3.c:144:14: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(t_level[0]) - 1; ^ misc3.c:146:14: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(t_level[j]-t_level[j-1]) - 1 + t_level[j-1]; ^ misc3.c:150:20: warning: passing arguments to 'set_large' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && (set_large(&object_list[sorted_objects[i]]))); ^ misc3.c:105:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_obj_num(level,must_be_small) ^ In file included from misc3.c:16: ./externs.h:924:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int get_obj_num(); ^ misc3.c:166:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[cur_pos], sorted_objects[tmp]); ^ misc3.c:167:17: warning: passing arguments to 'magic_treasure' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] magic_treasure(cur_pos, dun_level); ^ misc3.c:169:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You feel something roll beneath your feet."); /* -CJS- */ ^ misc3.c:157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void place_object(y, x, must_be_small) ^ In file included from misc3.c:16: ./externs.h:925:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void place_object(); ^ misc3.c:184:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(cur_height) - 1; ^ misc3.c:185:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = randint(cur_width) - 1; ^ misc3.c:189:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((!(*alloc_set)(cave[i][j].fval)) || ^ misc3.c:192:40: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (typ == 1) place_trap(i, j, randint(MAX_TRAP)-1); /* typ == 1 */ ^ misc3.c:174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void alloc_object(alloc_set, typ, num) ^ In file included from misc3.c:16: ./externs.h:926:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void alloc_object(); ^ misc3.c:214:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = y - 3 + randint(5); ^ misc3.c:215:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = x - 4 + randint(7); ^ misc3.c:217:17: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(j, k) && (cave_ptr->fval <= MAX_CAVE_FLOOR) ^ misc3.c:220:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(100) < 75) ^ misc3.c:203:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void random_object(y, x, num) ^ In file included from misc3.c:16: ./externs.h:927:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void random_object(); ^ misc3.c:236:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void cnv_stat(stat, out_val) ^ In file included from misc3.c:16: ./externs.h:928:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void cnv_stat(); ^ misc3.c:263:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(stat_names[stat], 6+stat, STAT_COLUMN); ^ misc3.c:264:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (out_val1, 6+stat, STAT_COLUMN+6); ^ misc3.c:257:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void prt_stat(stat) ^ In file included from misc3.c:16: ./externs.h:929:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void prt_stat(); ^ misc3.c:274:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (&blank_string[BLANK_LENGTH-13], row, column); ^ misc3.c:275:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (info, row, column); ^ misc3.c:270:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void prt_field(info, row, column) ^ In file included from misc3.c:16: ./externs.h:930:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void prt_field(); ^ misc3.c:287:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(out_val, row, column); ^ misc3.c:279:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void prt_lnum(header, num, row, column) ^ misc3.c:299:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(out_val, row, column); ^ misc3.c:291:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void prt_7lnum(header, num, row, column) ^ misc3.c:310:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(out_val, row, column); ^ misc3.c:303:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void prt_num(header, num, row, column) ^ misc3.c:321:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(out_val, row, column); ^ misc3.c:314:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void prt_long(num, row, column) ^ misc3.c:331:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(out_val, row, column); ^ misc3.c:325:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void prt_int(num, row, column) ^ misc3.c:336:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int stat_adj(stat) ^ In file included from misc3.c:16: ./externs.h:931:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int stat_adj(); ^ misc3.c:499:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(depths, 23, 65); ^ misc3.c:507:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Weak ", 23, 0); ^ misc3.c:509:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Hungry", 23, 0); ^ misc3.c:511:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(&blank_string[BLANK_LENGTH-6], 23, 0); ^ misc3.c:519:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Blind", 23, 7); ^ misc3.c:521:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(&blank_string[BLANK_LENGTH-5], 23, 7); ^ misc3.c:529:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Confused", 23, 13); ^ misc3.c:531:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(&blank_string[BLANK_LENGTH-8], 23, 13); ^ misc3.c:539:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Afraid", 23, 22); ^ misc3.c:541:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(&blank_string[BLANK_LENGTH-6], 23, 22); ^ misc3.c:549:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Poisoned", 23, 29); ^ misc3.c:551:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(&blank_string[BLANK_LENGTH-8], 23, 29); ^ misc3.c:569:16: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Paralysed", 23, 38); ^ misc3.c:578:18: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (tmp, 23, 38); ^ misc3.c:591:18: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (tmp, 23, 38); ^ misc3.c:593:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Search", 23, 38); ^ misc3.c:596:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Searching", 23, 38); ^ misc3.c:598:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(&blank_string[BLANK_LENGTH-10], 23, 38); ^ misc3.c:611:16: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Very Slow", 23, 49); ^ misc3.c:613:16: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Slow ", 23, 49); ^ misc3.c:615:16: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (&blank_string[BLANK_LENGTH-9], 23, 49); ^ misc3.c:617:16: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Fast ", 23, 49); ^ misc3.c:619:16: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Very Fast", 23, 49); ^ misc3.c:635:16: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (&blank_string[BLANK_LENGTH-5], 23, 59); ^ misc3.c:637:16: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Study", 23, 59); ^ misc3.c:647:12: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Is wizard ", 22, 0); ^ misc3.c:649:12: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Was wizard ", 22, 0); ^ misc3.c:652:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Resurrected", 22, 0); ^ misc3.c:654:16: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Duplicate", 22, 0); ^ misc3.c:656:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("*Winner* ", 22, 0); ^ misc3.c:660:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int8u modify_stat (stat, amount) ^ In file included from misc3.c:16: ./externs.h:952:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int8u modify_stat(); ^ misc3.c:717:18: warning: passing arguments to 'calc_spells' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_spells(A_INT); ^ misc3.c:718:16: warning: passing arguments to 'calc_mana' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_mana(A_INT); ^ misc3.c:722:18: warning: passing arguments to 'calc_spells' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_spells(A_WIS); ^ misc3.c:723:16: warning: passing arguments to 'calc_mana' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_mana(A_WIS); ^ misc3.c:695:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void set_use_stat(stat) ^ In file included from misc3.c:16: ./externs.h:953:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void set_use_stat(); ^ misc3.c:745:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp_stat += randint(gain) + gain; ^ misc3.c:731:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int inc_stat(stat) ^ In file included from misc3.c:16: ./externs.h:954:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int inc_stat(); ^ misc3.c:776:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp_stat += -randint(loss) - loss; ^ misc3.c:763:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int dec_stat(stat) ^ In file included from misc3.c:16: ./externs.h:955:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int dec_stat(); ^ misc3.c:794:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int res_stat (stat) ^ In file included from misc3.c:16: ./externs.h:956:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int res_stat(); ^ misc3.c:812:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void bst_stat (stat, amount) ^ In file included from misc3.c:16: ./externs.h:957:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void bst_stat(); ^ misc3.c:976:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Name :", 2, 1); ^ misc3.c:977:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Race :", 3, 1); ^ misc3.c:978:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Sex :", 4, 1); ^ misc3.c:979:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Class :", 5, 1); ^ misc3.c:982:18: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (m_ptr->name, 2, 15); ^ misc3.c:983:18: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (race[m_ptr->prace].trace, 3, 15); ^ misc3.c:984:18: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ((m_ptr->male ? "Male" : "Female"), 4, 15); ^ misc3.c:985:18: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (class[m_ptr->pclass].title, 5, 15); ^ misc3.c:1001:18: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (stat_names[i], 2+i, 61); ^ misc3.c:1002:18: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (buf, 2+i, 66); ^ misc3.c:1006:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (buf, 2+i, 73); ^ misc3.c:1017:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *likert(x, y) ^ In file included from misc3.c:16: ./externs.h:966:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *likert(); ^ misc3.c:1057:9: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt ("Exp to Adv.: *******", 12, 28); ^ misc3.c:1076:13: warning: passing arguments to 'clear_from' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_from(14); ^ misc3.c:1097:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("(Miscellaneous Abilities)", 15, 25); ^ misc3.c:1098:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Fighting :", 16, 1); ^ misc3.c:1099:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (likert (xbth, 12), 16, 15); ^ misc3.c:1100:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Bows/Throw :", 17, 1); ^ misc3.c:1101:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (likert (xbthb, 12), 17, 15); ^ misc3.c:1102:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Saving Throw:", 18, 1); ^ misc3.c:1103:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (likert (xsave, 6), 18, 15); ^ misc3.c:1105:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Stealth :", 16, 28); ^ misc3.c:1106:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (likert (xstl, 1), 16, 42); ^ misc3.c:1107:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Disarming :", 17, 28); ^ misc3.c:1108:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (likert (xdis, 8), 17, 42); ^ misc3.c:1109:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Magic Device:", 18, 28); ^ misc3.c:1110:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (likert (xdev, 6), 18, 42); ^ misc3.c:1112:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Perception :", 16, 55); ^ misc3.c:1113:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (likert (xfos, 3), 16, 69); ^ misc3.c:1114:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Searching :", 17, 55); ^ misc3.c:1115:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (likert (xsrh, 6), 17, 69); ^ misc3.c:1116:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Infra-Vision:", 18, 55); ^ misc3.c:1117:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (xinfra, 18, 69); ^ misc3.c:1135:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Enter your player's name [press when finished]", 21, 2); ^ misc3.c:1136:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (&blank_string[BLANK_LENGTH-23], 2, 15); ^ misc3.c:1142:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(py.misc.name, 2, 15, 23) || py.misc.name[0] == 0) ^ misc3.c:1145:18: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (py.misc.name, 2, 15); ^ misc3.c:1148:14: warning: passing arguments to 'clear_from' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_from (20); ^ misc3.c:1169:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt( "ile character description. hange character name.", 21, 2); ^ misc3.c:1183:8: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt ("File name:", 0, 0); ^ misc3.c:1184:19: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string (temp, 0, 10, 60) && temp[0]) ^ misc3.c:1185:25: warning: passing arguments to 'file_character' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (file_character (temp)) ^ misc3.c:1223:14: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&inventory[inven_ctr-1], OBJ_NOTHING); ^ misc3.c:1203:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void inven_destroy(item_val) ^ In file included from misc3.c:16: ./externs.h:973:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void inven_destroy(); ^ misc3.c:1236:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void take_one_item (s_ptr, i_ptr) ^ In file included from misc3.c:16: ./externs.h:974:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void take_one_item(); ^ misc3.c:1259:25: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(char_row, char_col); ^ misc3.c:1266:13: warning: passing arguments to 'takeoff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] takeoff (item_val, -1); ^ misc3.c:1278:11: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&inventory[inven_ctr], OBJ_NOTHING); ^ misc3.c:1286:14: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes (prt1, &t_list[i], TRUE); ^ misc3.c:1288:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (prt2); ^ misc3.c:1247:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void inven_drop(item_val, drop_all) ^ In file included from misc3.c:16: ./externs.h:975:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void inven_drop(); ^ misc3.c:1307:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*typ)(&inventory[i]) && (randint(100) < perc)) ^ misc3.c:1307:42: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*typ)(&inventory[i]) && (randint(100) < perc)) ^ misc3.c:1299:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int inven_damage(typ, perc) ^ In file included from misc3.c:16: ./externs.h:976:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int inven_damage(); ^ misc3.c:1344:16: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && (known1_p(&inventory[i]) == known1_p(t_ptr))) ^ misc3.c:1344:43: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && (known1_p(&inventory[i]) == known1_p(t_ptr))) ^ misc3.c:1328:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int inven_check_num (t_ptr) ^ In file included from misc3.c:16: ./externs.h:978:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int inven_check_num(); ^ misc3.c:1350:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int inven_check_weight(i_ptr) ^ In file included from misc3.c:16: ./externs.h:979:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int inven_check_weight(); ^ misc3.c:1384:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have trouble wielding such a heavy weapon."); ^ misc3.c:1393:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are strong enough to wield your weapon."); ^ misc3.c:1404:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your pack is so heavy that it slows you down."); ^ misc3.c:1406:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You move more easily under the weight of your pack."); ^ misc3.c:1407:19: warning: passing arguments to 'change_speed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_speed(i - pack_heavy); ^ misc3.c:1434:22: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] known1p = known1_p (i_ptr); ^ misc3.c:1435:35: warning: passing arguments to 'object_offset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] always_known1p = (object_offset (i_ptr) == -1); ^ misc3.c:1445:24: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (known1p == known1_p(t_ptr))) ^ misc3.c:1421:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int inven_carry(i_ptr) ^ In file included from misc3.c:16: ./externs.h:981:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int inven_carry(); ^ misc3.c:1475:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int spell_chance(spell) ^ In file included from misc3.c:16: ./externs.h:982:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int spell_chance(); ^ misc3.c:1519:13: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(1, col); ^ misc3.c:1520:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Name", 1, col+5); ^ misc3.c:1521:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Lv Mana Fail", 1, col+35); ^ misc3.c:1549:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(out_val, 2+i, col); ^ misc3.c:1502:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void print_spells(spell, num, comment, nonconsec) ^ In file included from misc3.c:16: ./externs.h:983:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void print_spells(); ^ misc3.c:1574:35: warning: passing arguments to 'get_com' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (flag == FALSE && get_com (out_str, &choice)) ^ misc3.c:1591:22: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_check (tmp_str)) ^ misc3.c:1630:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(tmp_str); ^ misc3.c:1636:13: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(MSG_LINE, 0); ^ misc3.c:1555:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_spell(spell, num, sn, sc, prompt, first_spell) ^ In file included from misc3.c:16: ./externs.h:984:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int get_spell(); ^ misc3.c:1682:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(tmp_str); ^ misc3.c:1729:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(tmp_str); ^ misc3.c:1778:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(tmp_str); ^ misc3.c:1790:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(tmp_str); ^ misc3.c:1646:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void calc_spells(stat) ^ In file included from misc3.c:16: ./externs.h:985:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void calc_spells(); ^ misc3.c:1816:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are too confused."); ^ misc3.c:1833:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You can't see to read your spell book!"); ^ misc3.c:1838:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have no light to read by."); ^ misc3.c:1856:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(tmp_str); ^ misc3.c:1891:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You seem to be missing a book."); ^ misc3.c:1902:33: warning: passing arguments to 'get_com' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (new_spells && get_com ("Learn which spell?", &query)) ^ misc3.c:1915:16: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (j+1, 31); ^ misc3.c:1928:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = randint(i) - 1; ^ misc3.c:1934:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(tmp_str); ^ misc3.c:1947:11: warning: passing arguments to 'calc_mana' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_mana(stat); ^ misc3.c:1953:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void calc_mana(stat) ^ In file included from misc3.c:16: ./externs.h:987:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void calc_mana(); ^ misc3.c:2032:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ misc3.c:2120:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void insert_str(object_str, mtc_str, insert) ^ In file included from misc3.c:16: ./externs.h:990:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void insert_str(); ^ misc3.c:2210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void insert_lnum(object_str, mtc_str, number, show_sign) ^ In file included from misc3.c:16: ./externs.h:991:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void insert_lnum(); ^ misc3.c:2257:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Wizard mode is for debugging and experimenting."); ^ misc3.c:2258:25: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] answer = get_check( ^ misc3.c:2272:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int attack_blows(weight, wtohit) ^ In file included from misc3.c:16: ./externs.h:993:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int attack_blows(); ^ misc3.c:2309:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int tot_dam(i_ptr, tdam, monster) ^ In file included from misc3.c:16: ./externs.h:994:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int tot_dam(); ^ misc3.c:2401:14: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(5000) <= (int)(weight + 5 * plus ^ misc3.c:2405:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] weight += randint(650); ^ misc3.c:2409:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("It was a good hit! (x2 damage)"); ^ misc3.c:2414:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("It was an excellent hit! (x3 damage)"); ^ misc3.c:2419:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("It was a superb hit! (x4 damage)"); ^ misc3.c:2424:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("It was a *GREAT* hit! (x5 damage)"); ^ misc3.c:2392:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int critical_blow(weight, plus, dam, attack_type) ^ In file included from misc3.c:16: ./externs.h:995:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int critical_blow(); ^ misc3.c:2432:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int mmove(dir, y, x) ^ In file included from misc3.c:16: ./externs.h:996:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int mmove(); ^ misc3.c:2495:14: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(100) <= (py.misc.save + stat_adj(A_WIS) ^ misc3.c:2504:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int find_range(item1, item2, j, k) ^ In file included from misc3.c:16: ./externs.h:998:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int find_range(); ^ misc3.c:2552:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] y = randint(cur_height) - 1; ^ misc3.c:2553:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x = randint(cur_width) - 1; ^ misc3.c:2554:22: warning: passing arguments to 'distance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (distance(y, x, char_row, char_col) > dis) ^ misc3.c:2561:11: warning: passing arguments to 'move_rec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_rec(char_row, char_col, y, x); ^ misc3.c:2566:11: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(i, j); ^ misc3.c:2568:12: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(char_row, char_col); ^ misc3.c:2572:12: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures(FALSE); ^ misc3.c:2545:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void teleport(dis) ^ In file included from misc3.c:16: ./externs.h:999:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void teleport(); ^ 257 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c misc4.c In file included from misc4.c:16: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from misc4.c:16: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ misc4.c:40:19: warning: passing arguments to 'get_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_item(&item_val, "Which one? ", 0, INVEN_ARRAY_SIZE, CNIL, CNIL)) ^ misc4.c:42:10: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, &inventory[item_val], TRUE); ^ misc4.c:44:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ misc4.c:53:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(out_val, 0, 0); ^ misc4.c:54:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(out_val, 0, (int)strlen(out_val), j)) ^ misc4.c:55:14: warning: passing arguments to 'inscribe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inscribe(&inventory[item_val], out_val); ^ misc4.c:59:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are not carrying anything to inscribe."); ^ misc4.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void add_inscribe(i_ptr, type) ^ In file included from misc4.c:16: ./externs.h:1003:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void add_inscribe(); ^ misc4.c:71:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void inscribe(i_ptr, str) ^ In file included from misc4.c:16: ./externs.h:1004:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void inscribe(); ^ misc4.c:87:16: warning: passing arguments to 'get_panel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_panel(char_row, char_col, FALSE)) ^ misc4.c:90:13: warning: passing arguments to 'move_light' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_light(char_row, char_col, char_row, char_col); ^ misc4.c:95:12: warning: passing arguments to 'light_room' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] light_room(char_row, char_col); ^ misc4.c:105:18: warning: passing arguments to 'light_room' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] light_room(i, j); ^ 17 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c store1.c In file included from store1.c:12: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from store1.c:12: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ store1.c:44:20: warning: passing arguments to 'known2_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known2_p(i_ptr)) ^ store1.c:67:20: warning: passing arguments to 'known2_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known2_p(i_ptr)) ^ store1.c:86:20: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known1_p(i_ptr)) ^ store1.c:92:16: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && !known1_p(i_ptr)) ^ store1.c:97:20: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known1_p(i_ptr)) ^ store1.c:100:25: warning: passing arguments to 'known2_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!known2_p(i_ptr)) ^ store1.c:108:20: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known1_p(i_ptr)) ^ store1.c:115:24: warning: passing arguments to 'known2_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (known2_p(i_ptr)) ^ store1.c:121:20: warning: passing arguments to 'known2_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known2_p(i_ptr)) ^ store1.c:32:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int32 item_value(i_ptr) ^ In file included from store1.c:12: ./externs.h:1234:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int32 item_value(); ^ store1.c:146:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int32 sell_price(snum, max_sell, min_sell, item) ^ In file included from store1.c:12: ./externs.h:1235:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int32 sell_price(); ^ store1.c:173:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int store_check_num(t_ptr, store_num) ^ In file included from store1.c:12: ./externs.h:1236:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int store_check_num(); ^ store1.c:202:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void insert_store(store_num, pos, icost, i_ptr) ^ store1.c:26:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void insert_store(); ^ store1.c:221:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void store_carry(store_num, ipos, t_ptr) ^ In file included from store1.c:12: ./externs.h:1237:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void store_carry(); ^ store1.c:306:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] number = randint((int)i_ptr->number); ^ store1.c:317:14: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&s_ptr->store_inven[s_ptr->store_ctr-1].sitem, OBJ_NOTHING); ^ store1.c:286:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void store_destroy(store_num, item_val, one_of) ^ In file included from store1.c:12: ./externs.h:1238:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void store_destroy(); ^ store1.c:334:41: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s_ptr->owner = MAX_STORES*(randint(i)-1) + j; ^ store1.c:342:11: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&s_ptr->store_inven[k].sitem, OBJ_NOTHING); ^ store1.c:363:42: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = store_choice[store_num][randint(STORE_CHOICES)-1]; ^ store1.c:364:14: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[cur_pos], i); ^ store1.c:365:21: warning: passing arguments to 'magic_treasure' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] magic_treasure(cur_pos, OBJ_TOWN_LEVEL); ^ store1.c:374:20: warning: passing arguments to 'store_bought' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_bought(t_ptr); ^ store1.c:382:8: warning: passing arguments to 'pusht' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pusht((int8u)cur_pos); ^ store1.c:350:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void store_create(store_num) ^ store1.c:27:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void store_create(); ^ store1.c:398:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = randint(STORE_TURN_AROUND); ^ store1.c:402:30: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_destroy(i, randint((int)s_ptr->store_ctr)-1, FALSE); ^ store1.c:407:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = randint(STORE_TURN_AROUND); ^ store1.c:417:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int noneedtobargain(store_num, minprice) ^ In file included from store1.c:12: ./externs.h:1241:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int noneedtobargain(); ^ store1.c:450:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ store1.c:437:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void updatebargain(store_num, price, minprice) ^ In file included from store1.c:12: ./externs.h:1242:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void updatebargain(); ^ 42 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c files.c In file included from files.c:57: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from files.c:57: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ files.c:85:23: warning: passing arguments to 'tfopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] highscore_fp = fopen(MORIA_TOP, "r+"); ^ files.c:127:21: warning: passing arguments to 'tfopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((file1 = fopen(MORIA_HOU, "r")) != NULL) ^ files.c:161:25: warning: passing arguments to 'tfopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((file1 = fopen(MORIA_HOU, "r")) != NULL) ^ files.c:168:16: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(in_line, i, 0); ^ files.c:169:15: warning: passing arguments to 'pause_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pause_line (23); ^ files.c:177:21: warning: passing arguments to 'tfopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((file1 = fopen(MORIA_MOR, "r")) != NULL) ^ files.c:184:12: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(in_line, i, 0); ^ files.c:185:17: warning: passing arguments to 'pause_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pause_line(23); ^ files.c:206:15: warning: passing arguments to 'tfopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file = fopen(filename, "r"); ^ files.c:210:11: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt (tmp_str, 0, 0); ^ files.c:221:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (tmp_str, i, 0); ^ files.c:222:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("[Press any key to continue.]", 23, 23); ^ files.c:193:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void helpfile(filename) ^ In file included from files.c:57: ./externs.h:822:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void helpfile(); ^ files.c:250:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Produce objects on what level?: ", 0, 0); ^ files.c:252:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 32, 10)) ^ files.c:255:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Produce how many objects?: ", 0, 0); ^ files.c:257:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 27, 10)) ^ files.c:260:20: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] small = get_check("Small objects only?"); ^ files.c:269:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("File name: ", 0, 0); ^ files.c:270:21: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(filename1, 0, 11, 64)) ^ files.c:278:22: warning: passing arguments to 'tfopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((file1 = fopen(filename1, "w")) != NULL) ^ files.c:285:11: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(strcat(tmp_str, " random objects being produced..."), 0, 0); ^ files.c:296:32: warning: passing arguments to 'get_obj_num' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sorted_objects[get_obj_num(level,small)]); ^ files.c:295:12: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[j], ^ files.c:297:19: warning: passing arguments to 'magic_treasure' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] magic_treasure(j, level); ^ files.c:299:17: warning: passing arguments to 'store_bought' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_bought(i_ptr); ^ files.c:305:19: warning: passing arguments to 'add_inscribe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_inscribe(i_ptr, ID_DAMD); ^ files.c:306:11: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, i_ptr, TRUE); ^ files.c:309:13: warning: passing arguments to 'pusht' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pusht((int8u)j); ^ files.c:315:11: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Completed.", 0, 0); ^ files.c:318:9: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("File could not be opened.", 0, 0); ^ files.c:325:9: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt ("Parameters no good.", 0, 0); ^ files.c:376:13: warning: passing arguments to 'topen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fd = open (filename1, O_WRONLY|O_CREAT|O_EXCL, 0644); ^ files.c:380:20: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_check(out_val)) ^ files.c:381:11: warning: passing arguments to 'topen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fd = open(filename1, O_WRONLY, 0644); ^ files.c:390:20: warning: passing arguments to 'tfopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file1 = fopen(filename1, "w"); ^ files.c:401:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Writing character sheet...", 0, 0); ^ files.c:412:15: warning: passing arguments to 'cnv_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cnv_stat(py.stats.use_stat[A_STR], prt1); ^ files.c:417:15: warning: passing arguments to 'cnv_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cnv_stat(py.stats.use_stat[A_INT], prt1); ^ files.c:422:15: warning: passing arguments to 'cnv_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cnv_stat(py.stats.use_stat[A_WIS], prt1); ^ files.c:427:15: warning: passing arguments to 'cnv_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cnv_stat(py.stats.use_stat[A_DEX], prt1); ^ files.c:431:15: warning: passing arguments to 'cnv_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cnv_stat(py.stats.use_stat[A_CON], prt1); ^ files.c:435:15: warning: passing arguments to 'cnv_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cnv_stat(py.stats.use_stat[A_CHR], prt1); ^ files.c:470:56: warning: passing arguments to 'stat_adj' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xdis = p_ptr->disarm + 2 * todis_adj() + stat_adj(A_INT) ^ files.c:472:37: warning: passing arguments to 'stat_adj' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xsave = p_ptr->save + stat_adj(A_WIS) ^ files.c:474:36: warning: passing arguments to 'stat_adj' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xdev = p_ptr->save + stat_adj(A_INT) ^ files.c:480:59: warning: passing arguments to 'likert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) fprintf(file1, " Fighting : %-10s", likert(xbth, 12)); ^ files.c:481:61: warning: passing arguments to 'likert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) fprintf(file1, " Stealth : %-10s", likert(xstl, 1)); ^ files.c:482:60: warning: passing arguments to 'likert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) fprintf(file1, " Perception : %s\n", likert(xfos, 3)); ^ files.c:483:59: warning: passing arguments to 'likert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) fprintf(file1, " Bows/Throw : %-10s", likert(xbthb, 12)); ^ files.c:484:61: warning: passing arguments to 'likert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) fprintf(file1, " Disarming : %-10s", likert(xdis, 8)); ^ files.c:485:60: warning: passing arguments to 'likert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) fprintf(file1, " Searching : %s\n", likert(xsrh, 6)); ^ files.c:486:59: warning: passing arguments to 'likert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) fprintf(file1, " Saving Throw: %-10s", likert(xsave, 6)); ^ files.c:487:61: warning: passing arguments to 'likert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) fprintf(file1, " Magic Device: %-10s", likert(xdev, 6)); ^ files.c:520:9: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(prt2, &inventory[i], TRUE); ^ files.c:539:14: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(prt2, &inventory[i], TRUE); ^ files.c:551:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Completed.", 0, 0); ^ files.c:559:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ files.c:333:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int file_character(filename1) ^ In file included from files.c:57: ./externs.h:824:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int file_character(); ^ 63 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c io.c In file included from io.c:143: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from io.c:143: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ io.c:192:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here char *getenv(const char *); ^ io.c:197:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void exit(); ^ io.c:202:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ In file included from io.c:143: ./externs.h:845:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void suspend(); ^ io.c:246:6: note: conflicting prototype is here void suspend(int sig) ^ io.c:519:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(tmp_str, 0, 0); ^ io.c:492:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void put_buffer(out_str, row, col) ^ In file included from io.c:143: ./externs.h:849:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void put_buffer(); ^ io.c:754:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (str = getenv("SHELL")) ~~~~^~~~~~~~~~~~~~~~~ io.c:754:15: note: place parentheses around the assignment to silence this warning if (str = getenv("SHELL")) ^ ( ) io.c:754:15: note: use '==' to turn this assignment into an equality comparison if (str = getenv("SHELL")) ^ == io.c:764:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Cannot execute shell."); ^ io.c:770:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Fork failed. Try again."); ^ io.c:774:10: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) wait((int *) 0); ^ io.c:913:11: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb(1, 0); ^ io.c:1051:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(CNIL); ^ io.c:1032:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void erase_line(row, col) ^ In file included from io.c:143: ./externs.h:855:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void erase_line(); ^ io.c:1075:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(CNIL); ^ io.c:1087:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void clear_from (row) ^ In file included from io.c:143: ./externs.h:857:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void clear_from(); ^ io.c:1141:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(tmp_str, 0, 0); ^ io.c:1109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void print(ch, row, col) ^ In file included from io.c:143: ./externs.h:858:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void print(); ^ io.c:1175:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(tmp_str, 0, 0); ^ io.c:1151:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void move_cursor_relative(row, col) ^ In file included from io.c:143: ./externs.h:859:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void move_cursor_relative(); ^ io.c:1191:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(p); ^ io.c:1185:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void count_msg_print(p) ^ In file included from io.c:143: ./externs.h:860:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void count_msg_print(); ^ io.c:1219:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(CNIL); ^ io.c:1197:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void prt(str_buff, row, col) ^ In file included from io.c:143: ./externs.h:861:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void prt(); ^ io.c:1228:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void move_cursor(row, col) ^ In file included from io.c:143: ./externs.h:862:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void move_cursor(); ^ io.c:1243:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void msg_print(str_buff) ^ In file included from io.c:143: ./externs.h:863:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void msg_print(); ^ io.c:1331:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_check(prompt) ^ In file included from io.c:143: ./externs.h:864:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int get_check(); ^ io.c:1377:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_com(prompt, command) ^ In file included from io.c:143: ./externs.h:865:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int get_com(); ^ io.c:1417:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_string(in_str, row, column, slen) ^ In file included from io.c:143: ./externs.h:866:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int get_string(); ^ io.c:1500:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void pause_line(prt_line) ^ In file included from io.c:143: ./externs.h:867:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void pause_line(); ^ io.c:1512:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void pause_exit(prt_line, delay) ^ In file included from io.c:143: ./externs.h:868:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void pause_exit(); ^ io.c:1678:20: warning: passing arguments to 'loc_symbol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = loc_symbol(i, j); ^ 47 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c create.c In file included from create.c:16: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from create.c:16: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ create.c:51:22: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dice[i] = randint (3 + i % 3); /* Roll 3,4,5 sided dice once each */ ^ create.c:77:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp_stat += -randint(6) - 2; ^ create.c:80:26: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp_stat += -randint(15) - 5; ^ create.c:93:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp_stat += randint(15) + 5; ^ create.c:95:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp_stat += randint(6) + 2; ^ create.c:63:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void change_stat(stat, amount) ^ create.c:124:20: warning: passing arguments to 'set_use_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_use_stat (j); ^ create.c:157:14: warning: passing arguments to 'clear_from' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_from (20); ^ create.c:158:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Choose a race (? for Help):", 20, 2); ^ create.c:162:17: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(tmp_str, m, l); ^ create.c:176:19: warning: passing arguments to 'move_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_cursor (20, 30); ^ create.c:182:11: warning: passing arguments to 'helpfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] helpfile (MORIA_WELCOME); ^ create.c:191:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(r_ptr->trace, 3, 15); ^ create.c:200:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Character Background", 14, 27); ^ create.c:202:8: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(py.misc.history[i], i+15, 10); ^ create.c:221:25: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] social_class = randint(4); ^ create.c:230:27: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] test_roll = randint(100); ^ create.c:299:14: warning: passing arguments to 'clear_from' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_from (20); ^ create.c:300:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Choose a sex (? for Help):", 20, 2); ^ create.c:301:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("m) Male f) Female", 21, 2); ^ create.c:304:19: warning: passing arguments to 'move_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_cursor (20, 29); ^ create.c:310:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Female", 4, 15); ^ create.c:316:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Male", 4, 15); ^ create.c:320:11: warning: passing arguments to 'helpfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] helpfile (MORIA_WELCOME); ^ create.c:334:40: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.misc.age = race[i].b_age + randint((int)race[i].m_age); ^ create.c:337:27: warning: passing arguments to 'randnor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.misc.ht = randnor((int)race[i].m_b_ht, (int)race[i].m_m_ht); ^ create.c:338:27: warning: passing arguments to 'randnor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.misc.wt = randnor((int)race[i].m_b_wt, (int)race[i].m_m_wt); ^ create.c:342:27: warning: passing arguments to 'randnor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.misc.ht = randnor((int)race[i].f_b_ht, (int)race[i].f_m_ht); ^ create.c:343:27: warning: passing arguments to 'randnor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.misc.wt = randnor((int)race[i].f_b_wt, (int)race[i].f_m_wt); ^ create.c:369:14: warning: passing arguments to 'clear_from' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_from (20); ^ create.c:370:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Choose a class (? for Help):", 20, 2); ^ create.c:376:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(tmp_str, m, l); ^ create.c:394:19: warning: passing arguments to 'move_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_cursor (20, 31); ^ create.c:402:15: warning: passing arguments to 'clear_from' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_from (20); ^ create.c:403:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(c_ptr->title, 5, 15); ^ create.c:416:20: warning: passing arguments to 'set_use_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_use_stat(i); ^ create.c:451:27: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] player_hp[i] = randint((int)m_ptr->hitdie); ^ create.c:469:11: warning: passing arguments to 'helpfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] helpfile (MORIA_WELCOME); ^ create.c:479:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int monval (i) ^ create.c:496:33: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gold = py.misc.sc*6 + randint (25) + 325; /* Social Class adj */ ^ create.c:526:14: warning: passing arguments to 'clear_from' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_from (20); ^ create.c:527:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Hit space to reroll or ESC to accept characteristics: ", 20, 2); ^ create.c:530:19: warning: passing arguments to 'move_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_cursor (20, 56); ^ create.c:558:13: warning: passing arguments to 'pause_exit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pause_exit(23, PLAYER_EXIT_PAUSE); ^ 46 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c desc.c In file included from desc.c:17: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from desc.c:17: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ desc.c:42:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int is_a_vowel(ch) ^ In file included from desc.c:17: ./externs.h:794:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int is_a_vowel(); ^ desc.c:62:11: warning: passing arguments to 'set_seed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_seed(randes_seed); ^ desc.c:67:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = randint(MAX_COLORS - 3) + 2; ^ desc.c:74:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = randint(MAX_WOODS) - 1; ^ desc.c:81:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = randint(MAX_METALS) - 1; ^ desc.c:88:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = randint(MAX_ROCKS) - 1; ^ desc.c:95:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = randint(MAX_AMULETS) - 1; ^ desc.c:102:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = randint(MAX_MUSH) - 1; ^ desc.c:110:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = randint(2) + 1; ^ desc.c:113:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (j = randint(2); j > 0; j--) ^ desc.c:114:45: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) strcat(string, syllables[randint(MAX_SYLLABLES) - 1]); ^ desc.c:127:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int16 object_offset(t_ptr) ^ In file included from desc.c:17: ./externs.h:796:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int16 object_offset(); ^ desc.c:149:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void known1(i_ptr) ^ In file included from desc.c:17: ./externs.h:797:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void known1(); ^ desc.c:174:21: warning: passing arguments to 'store_bought_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (store_bought_p(i_ptr)) ^ desc.c:164:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int known1_p(i_ptr) ^ In file included from desc.c:17: ./externs.h:798:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int known1_p(); ^ desc.c:185:11: warning: passing arguments to 'unsample' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsample(i_ptr); ^ desc.c:182:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void known2(i_ptr) ^ In file included from desc.c:17: ./externs.h:799:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void known2(); ^ desc.c:189:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int known2_p(i_ptr) ^ In file included from desc.c:17: ./externs.h:800:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int known2_p(); ^ desc.c:195:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void clear_known2(i_ptr) ^ In file included from desc.c:17: ./externs.h:801:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void clear_known2(); ^ desc.c:201:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void clear_empty(i_ptr) ^ In file included from desc.c:17: ./externs.h:802:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void clear_empty(); ^ desc.c:207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void store_bought(i_ptr) ^ In file included from desc.c:17: ./externs.h:803:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void store_bought(); ^ desc.c:214:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int store_bought_p(i_ptr) ^ In file included from desc.c:17: ./externs.h:804:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int store_bought_p(); ^ desc.c:221:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void unsample(i_ptr) ^ desc.c:30:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void unsample(); ^ desc.c:239:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void sample (i_ptr) ^ In file included from desc.c:17: ./externs.h:805:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void sample(); ^ desc.c:272:17: warning: passing arguments to 'add_inscribe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_inscribe(i_ptr, ID_DAMD); ^ desc.c:294:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You combine similar objects from the shop and dungeon."); ^ desc.c:300:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&inventory[j], OBJ_NOTHING); ^ desc.c:255:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void identify(item) ^ In file included from desc.c:17: ./externs.h:806:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void identify(); ^ desc.c:309:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void unmagic_name(i_ptr) ^ In file included from desc.c:17: ./externs.h:807:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void unmagic_name(); ^ desc.c:531:17: warning: passing arguments to 'insert_str' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insert_str(tmp_val, "ch~", "ches"); ^ desc.c:532:17: warning: passing arguments to 'insert_str' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insert_str(tmp_val, "~", "s"); ^ desc.c:535:15: warning: passing arguments to 'insert_str' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insert_str(tmp_val, "~", CNIL); ^ desc.c:327:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void objdes(out_val, i_ptr, pref) ^ In file included from desc.c:17: ./externs.h:808:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void objdes(); ^ desc.c:659:21: warning: multiple unsequenced modifications to 'indexx' [-Wunsequenced] indexx = (indexx <<= 6) + ~ ^ desc.c:688:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void invcopy(to, from_index) ^ In file included from desc.c:17: ./externs.h:809:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void invcopy(); ^ desc.c:728:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ desc.c:718:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void desc_charges(item_val) ^ In file included from desc.c:17: ./externs.h:810:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void desc_charges(); ^ desc.c:746:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ desc.c:734:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void desc_remain(item_val) ^ In file included from desc.c:17: ./externs.h:811:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void desc_remain(); ^ 59 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c generate.c In file included from generate.c:12: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from generate.c:12: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ generate.c:95:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint (2) == 1) ^ generate.c:77:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void correct_dir(rdir, cdir, y1, x1, y2, x2) ^ generate.c:109:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(4); ^ generate.c:104:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rand_dir(rdir, cdir) ^ generate.c:142:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void fill_cave(fval) ^ generate.c:221:38: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] y = (cur_height / 2) + 11 - randint(23); ^ generate.c:222:38: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x = (cur_width / 2) + 16 - randint(33); ^ generate.c:224:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dir = randint(8); /* Number 1-4, 6-9 */ ^ generate.c:235:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ty = y + randint(t1) - t2; ^ generate.c:236:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tx = x + randint(t1) - t2; ^ generate.c:237:17: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(ty, tx)) ^ generate.c:243:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(treas_chance) == 1) ^ generate.c:244:17: warning: passing arguments to 'place_gold' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_gold(ty, tx); ^ generate.c:249:15: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (mmove(dir, &y, &x)); ^ generate.c:212:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void place_streamer(fval, treas_chance) ^ generate.c:262:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[cur_pos], OBJ_OPEN_DOOR); ^ generate.c:253:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void place_open_door(y, x) ^ generate.c:276:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[cur_pos], OBJ_OPEN_DOOR); ^ generate.c:267:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void place_broken_door(y, x) ^ generate.c:291:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[cur_pos], OBJ_CLOSED_DOOR); ^ generate.c:282:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void place_closed_door(y, x) ^ generate.c:305:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[cur_pos], OBJ_CLOSED_DOOR); ^ generate.c:307:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_list[cur_pos].p1 = randint(10) + 10; ^ generate.c:296:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void place_locked_door(y, x) ^ generate.c:320:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[cur_pos], OBJ_CLOSED_DOOR); ^ generate.c:322:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_list[cur_pos].p1 = -randint(10) - 10; ^ generate.c:311:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void place_stuck_door(y, x) ^ generate.c:335:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[cur_pos], OBJ_SECRET_DOOR); ^ generate.c:326:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void place_secret_door(y, x) ^ generate.c:345:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(3); ^ generate.c:348:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(4) == 1) ^ generate.c:355:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(12); ^ generate.c:340:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void place_door(y, x) ^ generate.c:377:25: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(y, x); ^ generate.c:380:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[cur_pos], OBJ_UP_STAIR); ^ generate.c:369:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void place_up_stairs(y, x) ^ generate.c:393:25: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(y, x); ^ generate.c:396:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[cur_pos], OBJ_DOWN_STAIR); ^ generate.c:385:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void place_down_stairs(y, x) ^ generate.c:419:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] y1 = randint(cur_height - 14); ^ generate.c:420:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x1 = randint(cur_width - 14); ^ generate.c:430:23: warning: passing arguments to 'next_to_walls' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && (next_to_walls(y1, x1) >= walls)) ^ generate.c:401:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void place_stairs(typ, num, walls) ^ generate.c:469:29: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] y1 = y - yd - 1 + randint(2*yd+1); ^ generate.c:470:29: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x1 = x - xd - 1 + randint(2*xd+1); ^ generate.c:475:34: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_trap(y1, x1, randint(MAX_TRAP)-1); ^ generate.c:475:18: warning: passing arguments to 'place_trap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_trap(y1, x1, randint(MAX_TRAP)-1); ^ generate.c:456:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void vault_trap(y, x, yd, xd, num) ^ generate.c:496:28: warning: passing arguments to 'summon_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) summon_monster(&y1, &x1, TRUE); ^ generate.c:486:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void vault_monster(y, x, num) ^ generate.c:510:27: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (dun_level <= randint(25)) ^ generate.c:515:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] y_height = yval - randint(4); ^ generate.c:516:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] y_depth = yval + randint(3); ^ generate.c:517:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_left = xval - randint(11); ^ generate.c:518:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_right = xval + randint(11); ^ generate.c:502:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void build_room(yval, xval) ^ generate.c:569:27: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (dun_level <= randint(25)) ^ generate.c:573:22: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] limit = 1 + randint(2); ^ generate.c:576:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] y_height = yval - randint(4); ^ generate.c:577:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] y_depth = yval + randint(3); ^ generate.c:578:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_left = xval - randint(11); ^ generate.c:579:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_right = xval + randint(11); ^ generate.c:560:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void build_type1(yval, xval) ^ generate.c:645:27: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (dun_level <= randint(25)) ^ generate.c:707:17: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch(randint(5)) ^ generate.c:710:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(4); ^ generate.c:722:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(4); ^ generate.c:739:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(4); /* Place a door */ ^ generate.c:746:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(10); ^ generate.c:748:14: warning: passing arguments to 'place_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_object(yval, xval, FALSE); ^ generate.c:755:42: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_monster(yval, xval, 2+randint(3)); ^ generate.c:757:46: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_trap(yval, xval, 4, 10, 2+randint(3)); ^ generate.c:761:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(4); ^ generate.c:779:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(2) == 1) ^ generate.c:781:17: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(2); ^ generate.c:802:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(3) == 1) /* Inner rooms */ ^ generate.c:815:37: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_secret_door(yval-3+(randint(2)<<1), xval-3); ^ generate.c:816:37: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_secret_door(yval-3+(randint(2)<<1), xval+3); ^ generate.c:817:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(3) == 1) place_object(yval, xval-2, FALSE); ^ generate.c:817:37: warning: passing arguments to 'place_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(3) == 1) place_object(yval, xval-2, FALSE); ^ generate.c:818:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(3) == 1) place_object(yval, xval+2, FALSE); ^ generate.c:818:37: warning: passing arguments to 'place_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(3) == 1) place_object(yval, xval+2, FALSE); ^ generate.c:819:39: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_monster(yval, xval-2, randint(2)); ^ generate.c:820:39: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_monster(yval, xval+2, randint(2)); ^ generate.c:825:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(4); ^ generate.c:840:42: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_monster(yval, xval-5, randint(3)); ^ generate.c:841:42: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_monster(yval, xval+5, randint(3)); ^ generate.c:843:45: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_trap(yval, xval-3, 2, 8, randint(3)); ^ generate.c:844:45: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_trap(yval, xval+3, 2, 8, randint(3)); ^ generate.c:847:15: warning: passing arguments to 'random_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random_object(yval, xval, 1); ^ generate.c:861:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(2) == 1) ^ generate.c:863:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(10); ^ generate.c:871:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(3); ^ generate.c:879:42: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random_object(yval, xval, 2+randint(2)); ^ generate.c:879:20: warning: passing arguments to 'random_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random_object(yval, xval, 2+randint(2)); ^ generate.c:881:44: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_monster(yval+2, xval-4, randint(2)); ^ generate.c:882:44: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_monster(yval+2, xval+4, randint(2)); ^ generate.c:883:44: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_monster(yval-2, xval-4, randint(2)); ^ generate.c:884:44: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_monster(yval-2, xval+4, randint(2)); ^ generate.c:637:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void build_type2(yval, xval) ^ generate.c:901:27: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (dun_level <= randint(25)) ^ generate.c:905:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = 2 + randint(2); ^ generate.c:935:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = 2 + randint(9); ^ generate.c:978:17: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch(randint(4)) ^ generate.c:1001:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(4); /* Place a door */ ^ generate.c:1008:19: warning: passing arguments to 'place_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_object(yval, xval, FALSE); ^ generate.c:1010:42: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_monster(yval, xval, 2+randint(2)); ^ generate.c:1012:45: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_trap(yval, xval, 4, 4, 1+randint(3)); ^ generate.c:1016:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(3) == 1) ^ generate.c:1026:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(3) == 1) ^ generate.c:1034:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (randint(3) == 1) ^ generate.c:1042:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (randint(3) == 1) ^ generate.c:892:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void build_type3(yval, xval) ^ generate.c:1083:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(100) > DUN_TUN_CHG) ^ generate.c:1085:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(DUN_TUN_RND) == 1) ^ generate.c:1092:24: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (!in_bounds(tmp_row, tmp_col)) ^ generate.c:1094:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(DUN_TUN_RND) == 1) ^ generate.c:1129:21: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(i, j)) ^ generate.c:1152:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(100) > DUN_TUN_CON) ^ generate.c:1184:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(100) < DUN_TUN_PEN) ^ generate.c:1053:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void build_tunnel(row1, col1, row2, col2) ^ generate.c:1201:19: warning: passing arguments to 'next_to_corr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (next_to_corr(y, x) > 2) ^ generate.c:1196:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int next_to(y, x) ^ generate.c:1219:50: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((cave[y][x].fval == CORR_FLOOR) && (randint(100) > DUN_TUN_JCT) ^ generate.c:1216:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void try_door(y, x) ^ generate.c:1234:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(cur_height - 2); ^ generate.c:1235:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = randint(cur_width - 2); ^ generate.c:1226:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void new_spot(y, x) ^ generate.c:1264:14: warning: passing arguments to 'randnor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = randnor(DUN_ROO_MEA, 2); ^ generate.c:1266:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] room_map[randint(row_rooms)-1][randint(col_rooms)-1] = TRUE; ^ generate.c:1266:43: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] room_map[randint(row_rooms)-1][randint(col_rooms)-1] = TRUE; ^ generate.c:1274:27: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (dun_level > randint(DUN_UNUSUAL)) ^ generate.c:1276:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(3); ^ generate.c:1290:22: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pick1 = randint(k) - 1; ^ generate.c:1291:22: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pick2 = randint(k) - 1; ^ generate.c:1336:26: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_stairs(2, randint(2)+2, 3); ^ generate.c:1337:26: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_stairs(1, randint(2), 3); ^ generate.c:1340:25: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_monster((randint(8)+MIN_MALLOC_LEVEL+alloc_level), 0, TRUE); ^ generate.c:1340:16: warning: passing arguments to 'alloc_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_monster((randint(8)+MIN_MALLOC_LEVEL+alloc_level), 0, TRUE); ^ generate.c:1341:36: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_object(set_corr, 3, randint(alloc_level)); ^ generate.c:1341:15: warning: passing arguments to 'alloc_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_object(set_corr, 3, randint(alloc_level)); ^ generate.c:1342:36: warning: passing arguments to 'randnor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_object(set_room, 5, randnor(TREAS_ROOM_ALLOC, 3)); ^ generate.c:1342:15: warning: passing arguments to 'alloc_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_object(set_room, 5, randnor(TREAS_ROOM_ALLOC, 3)); ^ generate.c:1343:37: warning: passing arguments to 'randnor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_object(set_floor, 5, randnor(TREAS_ANY_ALLOC, 3)); ^ generate.c:1343:15: warning: passing arguments to 'alloc_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_object(set_floor, 5, randnor(TREAS_ANY_ALLOC, 3)); ^ generate.c:1344:37: warning: passing arguments to 'randnor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_object(set_floor, 4, randnor(TREAS_GOLD_ALLOC, 3)); ^ generate.c:1344:15: warning: passing arguments to 'alloc_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_object(set_floor, 4, randnor(TREAS_GOLD_ALLOC, 3)); ^ generate.c:1345:37: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_object(set_floor, 1, randint(alloc_level)); ^ generate.c:1345:15: warning: passing arguments to 'alloc_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_object(set_floor, 1, randint(alloc_level)); ^ generate.c:1362:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] y_height = yval - randint(3); ^ generate.c:1363:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] y_depth = yval + randint(4); ^ generate.c:1364:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_left = xval - randint(6); ^ generate.c:1365:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_right = xval + randint(6); ^ generate.c:1369:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(4); ^ generate.c:1372:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(y_depth-y_height) + y_height - 1; ^ generate.c:1378:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = randint(x_right-x_left) + x_left - 1; ^ generate.c:1386:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[cur_pos], OBJ_STORE_DOOR + store_num); ^ generate.c:1351:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void build_store(store_num, y, x) ^ generate.c:1396:12: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[i], OBJ_NOTHING); ^ generate.c:1419:11: warning: passing arguments to 'set_seed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_seed(town_seed); ^ generate.c:1426:13: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = randint(l) - 1; ^ generate.c:1454:20: warning: passing arguments to 'alloc_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_monster(MIN_MALLOC_TN, 3, TRUE); ^ generate.c:1470:20: warning: passing arguments to 'alloc_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_monster(MIN_MALLOC_TD, 3, TRUE); ^ 165 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c sets.c sets.c:13:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_room(element) ^ sets.c:21:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_corr(element) ^ sets.c:29:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_floor(element) ^ sets.c:38:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_corrodes(item) ^ sets.c:51:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_flammable(item) ^ sets.c:71:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_frost_destroy(item) ^ sets.c:81:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_acid_affect(item) ^ sets.c:100:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_lightning_destroy(item) ^ sets.c:115:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_null(item) ^ sets.c:125:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_acid_destroy(item) ^ sets.c:146:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_fire_destroy(item) ^ sets.c:165:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_large(item) /* Items too large to fit in chests -DJG- */ ^ sets.c:182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int general_store(element) ^ sets.c:195:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int armory(element) ^ sets.c:208:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int weaponsmith(element) ^ sets.c:221:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int temple(element) ^ sets.c:234:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int alchemist(element) ^ sets.c:246:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int magic_shop(element) ^ 18 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c dungeon.c In file included from dungeon.c:18: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from dungeon.c:18: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ dungeon.c:112:12: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures(FALSE); ^ dungeon.c:133:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The gates to Moria are now closed."); ^ dungeon.c:144:14: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:146:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The gates to Moria are closing."); ^ dungeon.c:147:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Please finish up or save your game."); ^ dungeon.c:142:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ dungeon.c:156:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(MAX_MALLOC_CHANCE) == 1) ^ dungeon.c:157:15: warning: passing arguments to 'alloc_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_monster(1, MAX_SIGHT, FALSE); ^ dungeon.c:167:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your light has gone out!"); ^ dungeon.c:168:11: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 1); ^ dungeon.c:170:12: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures(FALSE); ^ dungeon.c:172:43: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((i_ptr->p1 < 40) && (randint(5) == 1) && ^ dungeon.c:175:11: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:176:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your light is growing faint."); ^ dungeon.c:182:14: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 1); ^ dungeon.c:184:15: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures(FALSE); ^ dungeon.c:190:12: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 1); ^ dungeon.c:192:13: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures(FALSE); ^ dungeon.c:202:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:207:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel like a HERO!"); ^ dungeon.c:219:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:229:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The heroism wears off."); ^ dungeon.c:239:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:244:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel like a SUPER HERO!"); ^ dungeon.c:256:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:266:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The super heroism wears off."); ^ dungeon.c:285:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are getting weak from hunger."); ^ dungeon.c:286:13: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:289:57: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((f_ptr->food < PLAYER_FOOD_FAINT) && (randint(8) == 1)) ^ dungeon.c:291:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->paralysis += randint(5); ^ dungeon.c:292:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You faint from the lack of food."); ^ dungeon.c:293:13: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (1, 0); ^ dungeon.c:299:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are getting hungry."); ^ dungeon.c:300:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:311:13: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit (-f_ptr->food/16, "starvation"); /* -CJS- */ ^ dungeon.c:312:11: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb(1, 0); ^ dungeon.c:319:9: warning: passing arguments to 'regenhp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regenhp(regen_amount); ^ dungeon.c:321:11: warning: passing arguments to 'regenmana' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regenmana(regen_amount); ^ dungeon.c:330:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 1); ^ dungeon.c:332:18: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures (FALSE); ^ dungeon.c:345:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 1); ^ dungeon.c:346:17: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures(FALSE); ^ dungeon.c:347:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The veil of darkness lifts."); ^ dungeon.c:367:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel less confused now."); ^ dungeon.c:396:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel bolder now."); ^ dungeon.c:397:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:417:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel better."); ^ dungeon.c:418:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:439:17: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit (i, "poison"); ^ dungeon.c:440:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (1, 0); ^ dungeon.c:449:20: warning: passing arguments to 'change_speed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_speed(-1); ^ dungeon.c:450:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel yourself moving faster."); ^ dungeon.c:451:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:461:20: warning: passing arguments to 'change_speed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_speed(1); ^ dungeon.c:462:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel yourself slow down."); ^ dungeon.c:463:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:472:20: warning: passing arguments to 'change_speed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_speed(1); ^ dungeon.c:473:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel yourself moving slower."); ^ dungeon.c:474:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:484:20: warning: passing arguments to 'change_speed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_speed(-1); ^ dungeon.c:485:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel yourself speed up."); ^ dungeon.c:486:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:529:12: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:546:12: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (1, 0); ^ dungeon.c:553:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You no longer feel safe from evil."); ^ dungeon.c:561:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:565:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your skin turns into steel!"); ^ dungeon.c:575:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:579:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your skin returns to normal."); ^ dungeon.c:588:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:593:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel righteous!"); ^ dungeon.c:604:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:609:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The prayer has expired."); ^ dungeon.c:618:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You no longer feel safe from flame."); ^ dungeon.c:625:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You no longer feel safe from cold."); ^ dungeon.c:643:18: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures (FALSE); ^ dungeon.c:656:18: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures (FALSE); ^ dungeon.c:675:18: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures (FALSE); ^ dungeon.c:687:18: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures (FALSE); ^ dungeon.c:700:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel yourself yanked upwards!"); ^ dungeon.c:705:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel yourself yanked downwards!"); ^ dungeon.c:708:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ dungeon.c:712:42: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((py.flags.teleport) && (randint(100) == 1)) ^ dungeon.c:714:12: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (0, 0); ^ dungeon.c:715:12: warning: passing arguments to 'teleport' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] teleport(40); ^ dungeon.c:791:16: warning: passing arguments to 'prt_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt_stat(i); ^ dungeon.c:830:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && (randint((int)(10 + 750 / (5 + py.misc.lev))) == 1)) ^ dungeon.c:841:52: warning: passing arguments to 'enchanted' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((i_ptr->tval != TV_NOTHING) && enchanted(i_ptr) && ^ dungeon.c:842:13: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (randint(i < 22 ? 50 : 10) == 1)) ^ dungeon.c:848:18: warning: passing arguments to 'describe_use' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] describe_use(i)); ^ dungeon.c:849:12: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb(0, 0); ^ dungeon.c:850:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(tmp_str); ^ dungeon.c:851:17: warning: passing arguments to 'add_inscribe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_inscribe(i_ptr, ID_MAGIK); ^ dungeon.c:889:17: warning: passing arguments to 'inven_command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_command (doing_inven); ^ dungeon.c:893:26: warning: passing arguments to 'move_cursor_relative' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_cursor_relative (char_row, char_col); ^ dungeon.c:918:9: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Repeat count:", 0, 0); ^ dungeon.c:928:11: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt (tmp, 0, 14); ^ dungeon.c:938:15: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt (tmp, 0, 14); ^ dungeon.c:953:14: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt (tmp, 0, 14); ^ dungeon.c:958:14: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt ("Command:", 0, 20); ^ dungeon.c:971:17: warning: passing arguments to 'get_com' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_com("Control-", &command)) ^ dungeon.c:979:20: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Type ^ for a control char"); ^ dungeon.c:987:30: warning: passing arguments to 'move_cursor_relative' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_cursor_relative (char_row, char_col); ^ dungeon.c:990:32: warning: passing arguments to 'original_commands' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command = original_commands (command); ^ dungeon.c:993:29: warning: passing arguments to 'valid_countcommand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!valid_countcommand(command)) ^ dungeon.c:996:20: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("Invalid command with a count."); ^ dungeon.c:1007:15: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(MSG_LINE, 0); ^ dungeon.c:1008:25: warning: passing arguments to 'move_cursor_relative' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_cursor_relative(char_row, char_col); ^ dungeon.c:1011:16: warning: passing arguments to 'do_command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_command (command); ^ dungeon.c:1031:25: warning: passing arguments to 'move_cursor_relative' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_cursor_relative (char_row, char_col); ^ dungeon.c:1036:35: warning: passing arguments to 'teleport' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (teleport_flag) teleport(100); ^ dungeon.c:1038:38: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!new_level_flag) creatures(TRUE); ^ dungeon.c:1067:18: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir_val)) ^ dungeon.c:1139:18: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir_val)) ^ dungeon.c:1045:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char original_commands(com_val) ^ dungeon.c:41:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static char original_commands(); ^ dungeon.c:1249:18: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir_val)) ^ dungeon.c:1275:20: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_check("Do you really want to quit?")) ^ dungeon.c:1303:11: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(old_msg[j], i, 0); ^ dungeon.c:1309:15: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (x, 0); ^ dungeon.c:1310:14: warning: passing arguments to 'pause_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pause_line(x); ^ dungeon.c:1316:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(">", 0, 0); ^ dungeon.c:1317:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(old_msg[j], 0, 1); ^ dungeon.c:1325:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Wizard mode off."); ^ dungeon.c:1328:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Wizard mode on."); ^ dungeon.c:1335:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are a Total Winner, your character must be retired."); ^ dungeon.c:1337:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Use 'Q' to when you are ready to quit."); ^ dungeon.c:1339:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("Use -K when you are ready to quit."); ^ dungeon.c:1344:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("Saving game..."); ^ dungeon.c:1380:16: warning: passing arguments to 'move_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_char(1, do_pickup); ^ dungeon.c:1383:16: warning: passing arguments to 'move_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_char(2, do_pickup); ^ dungeon.c:1386:16: warning: passing arguments to 'move_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_char(3, do_pickup); ^ dungeon.c:1389:16: warning: passing arguments to 'move_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_char(4, do_pickup); ^ dungeon.c:1392:16: warning: passing arguments to 'move_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_char(6, do_pickup); ^ dungeon.c:1395:16: warning: passing arguments to 'move_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_char(7, do_pickup); ^ dungeon.c:1398:16: warning: passing arguments to 'move_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_char(8, do_pickup); ^ dungeon.c:1401:16: warning: passing arguments to 'move_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_char(9, do_pickup); ^ dungeon.c:1404:16: warning: passing arguments to 'find_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_init(1); ^ dungeon.c:1407:16: warning: passing arguments to 'find_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_init(2); ^ dungeon.c:1410:16: warning: passing arguments to 'find_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_init(3); ^ dungeon.c:1413:16: warning: passing arguments to 'find_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_init(4); ^ dungeon.c:1416:16: warning: passing arguments to 'find_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_init(6); ^ dungeon.c:1419:16: warning: passing arguments to 'find_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_init(7); ^ dungeon.c:1422:16: warning: passing arguments to 'find_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_init(8); ^ dungeon.c:1425:16: warning: passing arguments to 'find_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_init(9); ^ dungeon.c:1432:17: warning: passing arguments to 'move_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_char (5, do_pickup); ^ dungeon.c:1447:10: warning: passing arguments to 'helpfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] helpfile(MORIA_HELP); ^ dungeon.c:1449:10: warning: passing arguments to 'helpfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] helpfile(MORIA_ORIG_HELP); ^ dungeon.c:1479:21: warning: passing arguments to 'display_scores' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display_scores(i); ^ dungeon.c:1485:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You can't see your map."); ^ dungeon.c:1492:17: warning: passing arguments to 'get_panel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_panel(y, x, TRUE)) ^ dungeon.c:1509:20: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_dir(out_val, &dir_val)) ^ dungeon.c:1521:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You've gone past the end of your map."); ^ dungeon.c:1526:16: warning: passing arguments to 'get_panel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_panel(y, x, TRUE)) ^ dungeon.c:1534:17: warning: passing arguments to 'get_panel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_panel(char_row, char_col, FALSE)) ^ dungeon.c:1550:13: warning: passing arguments to 'tunnel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tunnel(1); ^ dungeon.c:1554:13: warning: passing arguments to 'tunnel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tunnel(2); ^ dungeon.c:1557:13: warning: passing arguments to 'tunnel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tunnel(3); ^ dungeon.c:1560:13: warning: passing arguments to 'tunnel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tunnel(4); ^ dungeon.c:1563:13: warning: passing arguments to 'tunnel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tunnel(6); ^ dungeon.c:1566:13: warning: passing arguments to 'tunnel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tunnel(7); ^ dungeon.c:1569:13: warning: passing arguments to 'tunnel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tunnel(8); ^ dungeon.c:1572:13: warning: passing arguments to 'tunnel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tunnel(9); ^ dungeon.c:1589:20: warning: passing arguments to 'inven_command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_command('d'); ^ dungeon.c:1592:20: warning: passing arguments to 'inven_command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_command('e'); ^ dungeon.c:1598:20: warning: passing arguments to 'inven_command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_command('i'); ^ dungeon.c:1623:13: warning: passing arguments to 'search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search(char_row, char_col, py.misc.srh); ^ dungeon.c:1626:20: warning: passing arguments to 'inven_command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_command('t'); ^ dungeon.c:1632:15: warning: passing arguments to 'helpfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] helpfile(MORIA_VER); ^ dungeon.c:1636:20: warning: passing arguments to 'inven_command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_command('w'); ^ dungeon.c:1639:20: warning: passing arguments to 'inven_command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_command('x'); ^ dungeon.c:1653:23: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) res_stat(A_STR); ^ dungeon.c:1654:23: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) res_stat(A_INT); ^ dungeon.c:1655:23: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) res_stat(A_WIS); ^ dungeon.c:1656:23: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) res_stat(A_CON); ^ dungeon.c:1657:23: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) res_stat(A_DEX); ^ dungeon.c:1658:23: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) res_stat(A_CHR); ^ dungeon.c:1667:18: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(MSG_LINE, 0); ^ dungeon.c:1680:21: warning: passing arguments to 'random_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random_object(char_row, char_col, i); ^ dungeon.c:1694:8: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Go to which level (0-99) ? ", 0, 0); ^ dungeon.c:1696:19: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, 27, 10)) ^ dungeon.c:1707:13: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(MSG_LINE, 0); ^ dungeon.c:1714:11: warning: passing arguments to 'helpfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] helpfile(MORIA_WIZ_HELP); ^ dungeon.c:1716:11: warning: passing arguments to 'helpfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] helpfile(MORIA_OWIZ_HELP); ^ dungeon.c:1728:16: warning: passing arguments to 'teleport' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] teleport(100); ^ dungeon.c:1745:29: warning: passing arguments to 'summon_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) summon_monster(&y, &x, TRUE); ^ dungeon.c:1746:17: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures(FALSE); ^ dungeon.c:1753:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Type '?' or '\\' for help.", 0, 0); ^ dungeon.c:1755:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Type '?' or ^H for help.", 0, 0); ^ dungeon.c:1760:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Type '?' for help.", 0, 0); ^ dungeon.c:1236:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_command(com_val) ^ dungeon.c:42:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void do_command(); ^ dungeon.c:1768:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int valid_countcommand(c) ^ dungeon.c:43:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int valid_countcommand(); ^ dungeon.c:1863:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void regenhp(percent) ^ dungeon.c:44:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void regenhp(); ^ dungeon.c:1898:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void regenmana(percent) ^ dungeon.c:45:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void regenmana(); ^ dungeon.c:1948:15: warning: passing arguments to 'known2_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (known2_p(t_ptr)) ^ dungeon.c:1934:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int enchanted (t_ptr) ^ dungeon.c:46:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int enchanted(); ^ dungeon.c:1972:18: warning: passing arguments to 'find_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!find_range(TV_MAGIC_BOOK, TV_PRAYER_BOOK, &i, &k)) ^ dungeon.c:1973:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are not carrying any books."); ^ dungeon.c:1975:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You can't see to read your spell book!"); ^ dungeon.c:1977:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have no light to read by."); ^ dungeon.c:1979:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are too confused."); ^ dungeon.c:1980:20: warning: passing arguments to 'get_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (get_item(&item_val, "Which Book?", i, k, CNIL, CNIL)) ^ dungeon.c:1998:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You do not understand the language."); ^ dungeon.c:2005:19: warning: passing arguments to 'bit_pos' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = bit_pos(&j); ^ dungeon.c:2014:16: warning: passing arguments to 'print_spells' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_spells(spell_index, i, TRUE, -1); ^ dungeon.c:2015:14: warning: passing arguments to 'pause_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pause_line(0); ^ dungeon.c:2034:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You enter a maze of up staircases."); ^ dungeon.c:2035:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You pass through a one-way door."); ^ dungeon.c:2044:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("I see no up staircase here."); ^ dungeon.c:2062:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You enter a maze of down staircases."); ^ dungeon.c:2063:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You pass through a one-way door."); ^ dungeon.c:2072:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("I see no down staircase here."); ^ dungeon.c:2089:14: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ dungeon.c:2091:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ dungeon.c:2099:17: warning: passing arguments to 'find_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (find_range(TV_SPIKE, TV_NEVER, &i, &j)) ^ dungeon.c:2102:22: warning: passing arguments to 'count_msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_msg_print("You jam the door with a spike."); ^ dungeon.c:2115:22: warning: passing arguments to 'inven_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_destroy(i); ^ dungeon.c:2118:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("But you have no spikes."); ^ dungeon.c:2125:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(tmp_str); ^ dungeon.c:2128:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The door must be closed first."); ^ dungeon.c:2130:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("That isn't a door!"); ^ dungeon.c:2133:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("That isn't a door!"); ^ dungeon.c:2148:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("But you are not using a lamp."); ^ dungeon.c:2149:23: warning: passing arguments to 'find_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!find_range(TV_FLASK, TV_NEVER, &i, &j)) ^ dungeon.c:2150:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have no oil."); ^ dungeon.c:2159:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("Your lamp overflows, spilling oil on the ground."); ^ dungeon.c:2160:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your lamp is full."); ^ dungeon.c:2163:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("Your lamp is more than half full."); ^ dungeon.c:2165:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("Your lamp is half full."); ^ dungeon.c:2167:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("Your lamp is less than half full."); ^ dungeon.c:2168:18: warning: passing arguments to 'desc_remain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] desc_remain(i); ^ dungeon.c:2169:20: warning: passing arguments to 'inven_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_destroy(i); ^ 239 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c creature.c In file included from creature.c:17: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from creature.c:17: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ creature.c:62:22: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (panel_contains((int)m_ptr->fy, (int)m_ptr->fx))) ^ creature.c:68:19: warning: passing arguments to 'los' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (los(char_row, char_col, (int)m_ptr->fy, (int)m_ptr->fx)) ^ creature.c:107:12: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (1, 0); ^ creature.c:109:13: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot((int)m_ptr->fy, (int)m_ptr->fx); ^ creature.c:117:16: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot((int)m_ptr->fy, (int)m_ptr->fx); ^ creature.c:47:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void update_mon(monptr) ^ In file included from creature.c:17: ./externs.h:783:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void update_mon(); ^ creature.c:126:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int movement_rate(speed) ^ creature.c:145:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int check_mon_lite(y, x) ^ creature.c:162:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void get_moves(monptr, mm) ^ creature.c:369:23: warning: passing arguments to 'is_a_vowel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (is_a_vowel (r_ptr->name[0])) ^ creature.c:397:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(60, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:402:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(-3, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:407:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(10, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:412:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(10, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:417:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(10, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:422:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(0, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:427:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(10, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:432:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(10, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:437:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(0, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:442:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(2, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:447:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(2, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:452:17: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((test_hit(5, (int)r_ptr->level, 0, (int)py.misc.lev, ^ creature.c:458:17: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((test_hit(2, (int)r_ptr->level, 0, (int)py.misc.lev, ^ creature.c:464:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(5, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:469:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(0, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:474:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(0, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:479:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(2, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:484:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(2, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:489:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(5, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:497:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(20, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:502:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(5, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:507:16: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(5, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:512:17: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((test_hit(15, (int)r_ptr->level, 0, p_ptr->pac+p_ptr->ptoac, ^ creature.c:527:12: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (1, 0); ^ creature.c:531:23: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 1: msg_print(strcat(tmp_str, "hits you.")); break; ^ creature.c:532:23: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 2: msg_print(strcat(tmp_str, "bites you.")); break; ^ creature.c:533:23: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 3: msg_print(strcat(tmp_str, "claws you.")); break; ^ creature.c:534:23: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 4: msg_print(strcat(tmp_str, "stings you.")); break; ^ creature.c:535:23: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 5: msg_print(strcat(tmp_str, "touches you.")); break; ^ creature.c:539:23: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 7: msg_print(strcat(tmp_str, "gazes at you.")); break; ^ creature.c:540:23: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 8: msg_print(strcat(tmp_str, "breathes on you.")); break; ^ creature.c:541:23: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 9: msg_print(strcat(tmp_str, "spits on you.")); break; ^ creature.c:542:24: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 10: msg_print(strcat(tmp_str,"makes a horrible wail."));break; ^ creature.c:546:24: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 12: msg_print(strcat(tmp_str, "crawls on you.")); break; ^ creature.c:548:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(strcat(tmp_str, "releases a cloud of spores.")); break; ^ creature.c:549:24: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 14: msg_print(strcat(tmp_str, "begs you for money.")); break; ^ creature.c:550:24: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 15: msg_print("You've been slimed!"); break; ^ creature.c:551:24: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 16: msg_print(strcat(tmp_str, "crushes you.")); break; ^ creature.c:552:24: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 17: msg_print(strcat(tmp_str, "tramples you.")); break; ^ creature.c:553:24: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 18: msg_print(strcat(tmp_str, "drools on you.")); break; ^ creature.c:555:22: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch(randint(9)) ^ creature.c:557:20: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 1: msg_print(strcat(tmp_str, "insults you!")); break; ^ creature.c:559:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(strcat(tmp_str, "insults your mother!")); break; ^ creature.c:561:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(strcat(tmp_str, "gives you the finger!")); break; ^ creature.c:562:20: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 4: msg_print(strcat(tmp_str, "humiliates you!")); break; ^ creature.c:563:20: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 5: msg_print(strcat(tmp_str, "wets on your leg!")); break; ^ creature.c:564:20: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 6: msg_print(strcat(tmp_str, "defiles you!")); break; ^ creature.c:565:20: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 7: msg_print(strcat(tmp_str, "dances around you!"));break; ^ creature.c:567:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(strcat(tmp_str, "makes obscene gestures!")); break; ^ creature.c:568:20: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 9: msg_print(strcat(tmp_str, "moons you!!!")); break; ^ creature.c:571:24: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 99: msg_print(strcat(tmp_str, "is repelled.")); break; ^ creature.c:587:21: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] damage = damroll (adice, asides); ^ creature.c:593:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damage, ddesc); ^ creature.c:596:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damage, ddesc); ^ creature.c:598:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel weaker for a moment, but it passes."); ^ creature.c:599:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (randint(2) == 1) ^ creature.c:601:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel weaker."); ^ creature.c:602:21: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat (A_STR); ^ creature.c:609:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damage, ddesc); ^ creature.c:610:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(2) == 1) ^ creature.c:614:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel confused."); ^ creature.c:615:35: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->confused += randint((int)r_ptr->level); ^ creature.c:626:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damage, ddesc); ^ creature.c:628:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You resist the effects!"); ^ creature.c:631:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are suddenly afraid!"); ^ creature.c:632:33: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->afraid += 3 + randint((int)r_ptr->level); ^ creature.c:641:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are enveloped in flames!"); ^ creature.c:642:16: warning: passing arguments to 'fire_dam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_dam(damage, ddesc); ^ creature.c:645:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are covered in acid!"); ^ creature.c:646:16: warning: passing arguments to 'acid_dam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] acid_dam(damage, ddesc); ^ creature.c:649:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are covered with frost!"); ^ creature.c:650:16: warning: passing arguments to 'cold_dam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cold_dam(damage, ddesc); ^ creature.c:653:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Lightning strikes you!"); ^ creature.c:654:17: warning: passing arguments to 'light_dam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] light_dam(damage, ddesc); ^ creature.c:657:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A stinging red gas swirls about you."); ^ creature.c:658:19: warning: passing arguments to 'corrode_gas' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] corrode_gas(ddesc); ^ creature.c:659:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damage, ddesc); ^ creature.c:663:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damage, ddesc); ^ creature.c:666:33: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->blind += 10 + randint((int)r_ptr->level); ^ creature.c:667:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your eyes begin to sting."); ^ creature.c:677:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damage, ddesc); ^ creature.c:679:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You resist the effects!"); ^ creature.c:683:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are unaffected."); ^ creature.c:686:35: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->paralysis = randint((int)r_ptr->level) + 3; ^ creature.c:687:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are paralyzed."); ^ creature.c:695:13: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (randint(124) < py.stats.use_stat[A_DEX])) ^ creature.c:696:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You quickly protect your money pouch!"); ^ creature.c:699:36: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gold = (p_ptr->au/10) + randint(25); ^ creature.c:704:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your purse feels lighter."); ^ creature.c:707:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(2) == 1) ^ creature.c:709:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There is a puff of smoke!"); ^ creature.c:710:18: warning: passing arguments to 'teleport_away' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] teleport_away(monptr, MAX_SIGHT); ^ creature.c:715:13: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (randint(124) < py.stats.use_stat[A_DEX])) ^ creature.c:716:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You grab hold of your backpack!"); ^ creature.c:719:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(inven_ctr) - 1; ^ creature.c:720:18: warning: passing arguments to 'inven_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_destroy(i); ^ creature.c:721:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your backpack feels lighter."); ^ creature.c:723:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(2) == 1) ^ creature.c:725:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There is a puff of smoke!"); ^ creature.c:726:18: warning: passing arguments to 'teleport_away' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] teleport_away(monptr, MAX_SIGHT); ^ creature.c:731:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damage, ddesc); ^ creature.c:732:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel very sick."); ^ creature.c:733:34: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->poisoned += randint((int)r_ptr->level)+5; ^ creature.c:737:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damage, ddesc); ^ creature.c:739:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel clumsy for a moment, but it passes."); ^ creature.c:742:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel more clumsy."); ^ creature.c:743:21: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat (A_DEX); ^ creature.c:748:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damage, ddesc); ^ creature.c:750:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your body resists the effects of the disease."); ^ creature.c:753:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your health is damaged!"); ^ creature.c:754:21: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat (A_CON); ^ creature.c:759:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damage, ddesc); ^ creature.c:760:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have trouble thinking clearly."); ^ creature.c:762:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("But your mind quickly clears."); ^ creature.c:764:19: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat (A_INT); ^ creature.c:768:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damage, ddesc); ^ creature.c:770:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your wisdom is sustained."); ^ creature.c:773:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your wisdom is drained."); ^ creature.c:774:21: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat (A_WIS); ^ creature.c:778:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel your life draining away!"); ^ creature.c:779:16: warning: passing arguments to 'lose_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lose_exp(damage + (py.misc.exp / 100)*MON_DRAIN_LIFE); ^ creature.c:782:32: warning: passing arguments to 'aggravate_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) aggravate_monster(20); ^ creature.c:786:22: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch(randint(7)) ^ creature.c:799:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i_ptr->tohit -= randint(2); ^ creature.c:807:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i_ptr->todam -= randint(2); ^ creature.c:815:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i_ptr->toac -= randint(2); ^ creature.c:823:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There is a static feeling in the air."); ^ creature.c:830:22: warning: passing arguments to 'find_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (find_range(TV_FOOD, TV_NEVER, &i, &j)) ^ creature.c:832:18: warning: passing arguments to 'inven_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_destroy(i); ^ creature.c:833:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("It got at your rations!"); ^ creature.c:842:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i_ptr->p1 -= (250 + randint(250)); ^ creature.c:845:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your light dims."); ^ creature.c:853:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(inven_ctr) - 1; ^ creature.c:861:20: warning: passing arguments to 'known2_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! known2_p (i_ptr)) ^ creature.c:862:20: warning: passing arguments to 'add_inscribe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_inscribe (i_ptr, ID_EMPTY); ^ creature.c:863:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Energy drains from your pack!"); ^ creature.c:881:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your hands stop glowing."); ^ creature.c:883:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((randint(MAX_MONS_LEVEL) < r_ptr->level) || ^ creature.c:892:36: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m_ptr->confused = 2 + randint(16); ^ creature.c:894:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(tmp_str); ^ creature.c:895:40: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (visible && !death && randint(4) == 1) ^ creature.c:916:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (1, 0); ^ creature.c:918:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(strcat(tmp_str, "misses you.")); ^ creature.c:335:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void make_attack(monptr) ^ creature.c:954:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(mm[i], &newy, &newx); ^ creature.c:993:17: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint((m_ptr->hp+1)*(50+t_ptr->p1)) < ^ creature.c:999:17: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint((m_ptr->hp+1)*(50-t_ptr->p1)) < ^ creature.c:1002:19: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You hear a door burst open!"); ^ creature.c:1003:18: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (1, 0); ^ creature.c:1016:16: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(t_ptr, OBJ_OPEN_DOOR); ^ creature.c:1018:27: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = 1 - randint(2); ^ creature.c:1020:18: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(newy, newx); ^ creature.c:1034:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint((m_ptr->hp+1)*(80+abs(t_ptr->p1))) < ^ creature.c:1037:13: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(t_ptr, OBJ_OPEN_DOOR); ^ creature.c:1039:29: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = 1 - randint(2); ^ creature.c:1041:15: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(newy, newx); ^ creature.c:1042:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You hear a door burst open!"); ^ creature.c:1043:14: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (1, 0); ^ creature.c:1053:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(OBJ_RUNE_PROT) < c_list[m_ptr->mptr].level) ^ creature.c:1056:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The rune of protection is broken!"); ^ creature.c:1057:25: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(newy, newx); ^ creature.c:1104:23: warning: passing arguments to 'delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_monster((int) c_ptr->cptr); ^ creature.c:1109:28: warning: passing arguments to 'fix1_delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fix1_delete_monster((int) c_ptr->cptr); ^ creature.c:1083:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ((c_ptr->cptr > 1) && ^ creature.c:1134:29: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(newy, newx); ^ creature.c:1138:16: warning: passing arguments to 'move_rec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_rec((int)m_ptr->fy, (int)m_ptr->fx, newy, newx); ^ creature.c:1142:15: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot ((int)m_ptr->fy, (int)m_ptr->fx); ^ creature.c:1146:31: warning: passing arguments to 'distance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m_ptr->cdis = distance (char_row, char_col, newy, newx); ^ creature.c:930:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void make_move(monptr, mm, rcmove) ^ creature.c:1182:14: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(chance) != 1) ^ creature.c:1188:16: warning: passing arguments to 'los' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!los(char_row, char_col, (int)m_ptr->fy, (int)m_ptr->fx)) ^ creature.c:1208:27: warning: passing arguments to 'is_a_vowel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (is_a_vowel (r_ptr->name[0])) ^ creature.c:1224:29: warning: passing arguments to 'bit_pos' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spell_choice[k] = bit_pos(&i); ^ creature.c:1228:42: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] thrown_spell = spell_choice[randint(k) - 1]; ^ creature.c:1232:10: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (1, 0); ^ creature.c:1237:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(cdesc); ^ creature.c:1243:17: warning: passing arguments to 'teleport_away' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] teleport_away(monptr, 5); ^ creature.c:1246:17: warning: passing arguments to 'teleport_away' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] teleport_away(monptr, MAX_SIGHT); ^ creature.c:1249:15: warning: passing arguments to 'teleport_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] teleport_to((int)m_ptr->fy, (int)m_ptr->fx); ^ creature.c:1253:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You resist the effects of the spell."); ^ creature.c:1255:22: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damroll(3, 8), ddesc); ^ creature.c:1255:14: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damroll(3, 8), ddesc); ^ creature.c:1259:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You resist the effects of the spell."); ^ creature.c:1261:22: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damroll(8, 8), ddesc); ^ creature.c:1261:14: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damroll(8, 8), ddesc); ^ creature.c:1265:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are unaffected."); ^ creature.c:1267:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You resist the effects of the spell."); ^ creature.c:1271:34: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.paralysis = randint(5)+4; ^ creature.c:1275:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You resist the effects of the spell."); ^ creature.c:1279:36: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.blind += 12 + randint(3); ^ creature.c:1283:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You resist the effects of the spell."); ^ creature.c:1287:33: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.confused = randint(5) + 3; ^ creature.c:1291:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You resist the effects of the spell."); ^ creature.c:1295:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.afraid = randint(5) + 3; ^ creature.c:1299:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(cdesc); ^ creature.c:1304:25: warning: passing arguments to 'summon_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) summon_monster(&y, &x, FALSE); ^ creature.c:1310:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(cdesc); ^ creature.c:1315:24: warning: passing arguments to 'summon_undead' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) summon_undead(&y, &x); ^ creature.c:1321:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are unaffected."); ^ creature.c:1323:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You resist the effects of the spell."); ^ creature.c:1327:29: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.slow = randint(5) + 3; ^ creature.c:1332:16: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (1, 0); ^ creature.c:1334:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(outval); ^ creature.c:1338:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(outval); ^ creature.c:1340:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r1 = (randint((int)r_ptr->level) >> 1) + 1; ^ creature.c:1355:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(cdesc); ^ creature.c:1356:10: warning: passing arguments to 'breath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] breath(GF_LIGHTNING, char_row, char_col, (m_ptr->hp / 4), ddesc, ^ creature.c:1361:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(cdesc); ^ creature.c:1362:10: warning: passing arguments to 'breath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] breath(GF_POISON_GAS, char_row, char_col, (m_ptr->hp / 3), ddesc, ^ creature.c:1367:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(cdesc); ^ creature.c:1368:10: warning: passing arguments to 'breath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] breath(GF_ACID, char_row, char_col, (m_ptr->hp / 3), ddesc, monptr); ^ creature.c:1372:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(cdesc); ^ creature.c:1373:10: warning: passing arguments to 'breath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] breath(GF_FROST, char_row, char_col, (m_ptr->hp / 3), ddesc, monptr); ^ creature.c:1377:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(cdesc); ^ creature.c:1378:10: warning: passing arguments to 'breath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] breath(GF_FIRE, char_row, char_col, (m_ptr->hp / 3), ddesc, monptr); ^ creature.c:1382:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(cdesc); ^ creature.c:1160:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void mon_cast_spell(monptr, took_turn) ^ creature.c:1413:26: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = y - 2 + randint(3); ^ creature.c:1414:26: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = x - 2 + randint(3); ^ creature.c:1417:20: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(j, k) && (j != y || k != x)) ^ creature.c:1438:18: warning: passing arguments to 'delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_monster((int) c_ptr->cptr); ^ creature.c:1443:23: warning: passing arguments to 'fix1_delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fix1_delete_monster((int) c_ptr->cptr); ^ creature.c:1448:31: warning: passing arguments to 'place_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = place_monster(j, k, cr_index, FALSE); ^ creature.c:1462:27: warning: passing arguments to 'place_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = place_monster(j, k, cr_index, FALSE); ^ creature.c:1399:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int multiply_monster(y, x, cr_index, monptr) ^ In file included from creature.c:17: ./externs.h:784:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int multiply_monster(); ^ creature.c:1514:17: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(i, j) && (cave[i][j].cptr > 1)) ^ creature.c:1520:30: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((k < 4) && (randint(k*MON_MULT_ADJ) == 1)) ^ creature.c:1564:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dir = randint (k) - 1; ^ creature.c:1578:37: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = mon_take_hit(monptr, damroll (8, 8)); ^ creature.c:1578:20: warning: passing arguments to 'mon_take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = mon_take_hit(monptr, damroll (8, 8)); ^ creature.c:1582:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You hear a scream muffled by rock!"); ^ creature.c:1587:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("A creature digs itself out from the rock!"); ^ creature.c:1588:21: warning: passing arguments to 'twall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) twall ((int)m_ptr->fy, (int)m_ptr->fx, 1, 0); ^ creature.c:1603:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[3] = randint(9); /* May attack only if cornered */ ^ creature.c:1604:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[4] = randint(9); ^ creature.c:1608:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[0] = randint(9); ^ creature.c:1609:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[1] = randint(9); ^ creature.c:1610:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[2] = randint(9); ^ creature.c:1611:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[3] = randint(9); ^ creature.c:1612:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[4] = randint(9); ^ creature.c:1630:52: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((r_ptr->cmove & CM_75_RANDOM) && (randint(100) < 75)) ^ creature.c:1632:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[0] = randint(9); ^ creature.c:1633:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[1] = randint(9); ^ creature.c:1634:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[2] = randint(9); ^ creature.c:1635:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[3] = randint(9); ^ creature.c:1636:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[4] = randint(9); ^ creature.c:1641:57: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((r_ptr->cmove & CM_40_RANDOM) && (randint(100) < 40)) ^ creature.c:1643:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[0] = randint(9); ^ creature.c:1644:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[1] = randint(9); ^ creature.c:1645:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[2] = randint(9); ^ creature.c:1646:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[3] = randint(9); ^ creature.c:1647:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[4] = randint(9); ^ creature.c:1652:57: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((r_ptr->cmove & CM_20_RANDOM) && (randint(100) < 20)) ^ creature.c:1654:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[0] = randint(9); ^ creature.c:1655:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[1] = randint(9); ^ creature.c:1656:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[2] = randint(9); ^ creature.c:1657:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[3] = randint(9); ^ creature.c:1658:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[4] = randint(9); ^ creature.c:1665:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(200) == 1) ^ creature.c:1667:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[0] = randint(9); ^ creature.c:1668:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[1] = randint(9); ^ creature.c:1669:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[2] = randint(9); ^ creature.c:1670:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[3] = randint(9); ^ creature.c:1671:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm[4] = randint(9); ^ creature.c:1479:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void mon_move(monptr, rcmove) ^ creature.c:1729:23: warning: passing arguments to 'fix2_delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fix2_delete_monster(i); ^ creature.c:1733:29: warning: passing arguments to 'distance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m_ptr->cdis = distance(char_row, char_col, ^ creature.c:1761:22: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || (randint(50) == 1)) ^ creature.c:1763:22: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] notice = randint(1024); ^ creature.c:1760:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ((py.flags.rest == 0 && py.flags.paralysis < 1) ^ creature.c:1781:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(5000) < c_list[m_ptr->mptr].level ^ creature.c:1792:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(strcat(cdesc, ^ creature.c:1827:23: warning: passing arguments to 'fix2_delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fix2_delete_monster(i); ^ creature.c:1707:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void creatures(attack) ^ In file included from creature.c:17: ./externs.h:785:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void creatures(); ^ 289 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c death.c In file included from death.c:87: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from death.c:87: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ death.c:94:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] off_t lseek(); ^ /usr/include/unistd.h:358:8: note: conflicting prototype is here off_t lseek(int, off_t, int); ^ death.c:126:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void date(day) ^ death.c:139:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *center_string(centered_str, in_str) ^ death.c:259:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Sorry. This scorefile is from a different version of \ ^ death.c:261:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (CNIL); ^ death.c:279:14: warning: passing arguments to 'set_fileptr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fileptr(highscore_fp); ^ death.c:282:15: warning: passing arguments to 'rd_highscore' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_highscore(&score); ^ death.c:306:11: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(string, ++i, 0); ^ death.c:309:16: warning: passing arguments to 'rd_highscore' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_highscore(&score); ^ death.c:311:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Rank Points Name Sex Race Class Lvl Killed By" ^ death.c:313:18: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (1, 0); ^ death.c:314:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("[Press any key to continue.]", 23, 23); ^ death.c:213:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void display_scores(show_player) ^ In file included from death.c:87: ./externs.h:788:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void display_scores(); ^ death.c:374:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Sorry. This scorefile is from a different version of \ ^ death.c:376:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (CNIL); ^ death.c:384:14: warning: passing arguments to 'set_fileptr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fileptr(highscore_fp); ^ death.c:396:15: warning: passing arguments to 'rd_highscore' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_highscore(&score); ^ death.c:405:19: warning: passing arguments to 'rd_highscore' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_highscore(&score); ^ death.c:430:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("_______________________", 1, 15); ^ death.c:431:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("/", 2, 14); ^ death.c:432:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("\\ ___", 2, 38); ^ death.c:433:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("/", 3, 13); ^ death.c:434:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("\\ ___ / \\ ___", 3, 39); ^ death.c:435:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("/ RIP \\ \\ : : / \\", 4, 12); ^ death.c:436:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("/", 5, 11); ^ death.c:437:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("\\ : _;,,,;_ : :", 5, 41); ^ death.c:440:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (str, 6, 10); ^ death.c:441:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("| the | ___", 7, 9); ^ death.c:447:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (str, 8, 9); ^ death.c:448:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("|", 9, 9); ^ death.c:449:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("| : :", 9, 43); ^ death.c:457:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (str, 10, 9); ^ death.c:461:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (str, 11, 9); ^ death.c:464:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (str, 12, 9); ^ death.c:467:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (str, 13, 9); ^ death.c:470:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (str, 14, 9); ^ death.c:471:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("| killed by |", 15, 9); ^ death.c:477:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (str, 16, 9); ^ death.c:481:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer (str, 17, 9); ^ death.c:482:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("*| * * * * * * | *", 18, 8); ^ death.c:483:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("________)/\\\\_)_/___(\\/___(//_\\)/_\\//__\\\\(/_|_)_______", ^ death.c:520:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("(ESC to abort, return to print on screen, or file name)", ^ death.c:522:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Character record?", 22, 0); ^ death.c:523:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string (str, 22, 18, 60)) ^ death.c:528:10: warning: passing arguments to 'known1' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] known1(&inventory[i]); ^ death.c:529:10: warning: passing arguments to 'known2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] known2(&inventory[i]); ^ death.c:541:24: warning: passing arguments to 'file_character' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!file_character (str)) ^ death.c:549:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("Type ESC to skip the inventory:", 23, 0); ^ death.c:553:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You are using:"); ^ death.c:554:26: warning: passing arguments to 'show_equip' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) show_equip (TRUE, 0); ^ death.c:555:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (CNIL); ^ death.c:556:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You are carrying:"); ^ death.c:557:19: warning: passing arguments to 'clear_from' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_from (1); ^ death.c:558:26: warning: passing arguments to 'show_inven' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) show_inven (0, inven_ctr-1, TRUE, 0, CNIL); ^ death.c:559:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (CNIL); ^ death.c:575:24: warning: passing arguments to 'item_value' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] total += item_value(&inventory[i]); ^ death.c:605:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Sorry, scores for games restored from panic save files \ ^ death.c:665:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Error gaining lock for score file"); ^ death.c:666:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(CNIL); ^ death.c:728:14: warning: passing arguments to 'set_fileptr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fileptr(highscore_fp); ^ death.c:732:15: warning: passing arguments to 'rd_highscore' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_highscore(&old_entry); ^ death.c:763:19: warning: passing arguments to 'rd_highscore' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_highscore(&old_entry); ^ death.c:774:19: warning: passing arguments to 'wr_highscore' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_highscore(&new_entry); ^ death.c:796:16: warning: passing arguments to 'wr_highscore' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_highscore(&entry); ^ death.c:822:16: warning: passing arguments to 'rd_highscore' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_highscore(&old_entry); ^ death.c:831:16: warning: passing arguments to 'wr_highscore' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_highscore(&entry); ^ death.c:865:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("#", 1, 34); ^ death.c:866:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("#####", 2, 32); ^ death.c:867:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("#", 3, 34); ^ death.c:868:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(",,, $$$ ,,,", 4, 28); ^ death.c:869:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(",,=$ \"$$$$$\" $=,,", 5, 24); ^ death.c:870:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(",$$ $$$ $$,", 6, 22); ^ death.c:871:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("*> <*> <*", 7, 22); ^ death.c:872:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("$$ $$$ $$", 8, 22); ^ death.c:873:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("\"$$ $$$ $$\"", 9, 22); ^ death.c:874:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("\"$$ $$$ $$\"", 10, 23); ^ death.c:876:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(p, 11, 24); ^ death.c:877:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(p, 12, 24); ^ death.c:878:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Veni, Vidi, Vici!", 15, 26); ^ death.c:879:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("I came, I saw, I conquered!", 16, 21); ^ death.c:881:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("All Hail the Mighty King!", 17, 22); ^ death.c:883:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("All Hail the Mighty Queen!", 17, 22); ^ death.c:885:13: warning: passing arguments to 'pause_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pause_line(23); ^ death.c:898:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(CNIL); ^ death.c:925:14: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (23, 0); ^ 88 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c eat.c In file included from eat.c:12: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from eat.c:12: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ eat.c:34:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("But you are not carrying anything."); ^ eat.c:35:23: warning: passing arguments to 'find_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!find_range(TV_FOOD, TV_NEVER, &j, &k)) ^ eat.c:36:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are not carrying any food."); ^ eat.c:37:20: warning: passing arguments to 'get_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (get_item(&item_val, "Eat what?", j, k, CNIL, CNIL)) ^ eat.c:45:15: warning: passing arguments to 'bit_pos' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = bit_pos(&i) + 1; ^ eat.c:51:34: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->poisoned += randint(10) + i_ptr->level; ^ eat.c:56:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->blind += randint(250) + 10*i_ptr->level + 100; ^ eat.c:58:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A veil of darkness surrounds you."); ^ eat.c:63:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->afraid += randint(10) + i_ptr->level; ^ eat.c:64:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel terrified!"); ^ eat.c:69:34: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->confused += randint(10) + i_ptr->level; ^ eat.c:70:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel drugged."); ^ eat.c:75:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->image += randint(200) + 25*i_ptr->level + 200; ^ eat.c:76:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel drugged."); ^ eat.c:123:21: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (res_stat (A_STR)) ^ eat.c:125:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel your strength returning."); ^ eat.c:130:21: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (res_stat (A_CON)) ^ eat.c:132:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel your health returning."); ^ eat.c:137:21: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (res_stat (A_INT)) ^ eat.c:139:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your head spins a moment."); ^ eat.c:144:21: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (res_stat (A_WIS)) ^ eat.c:146:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel your wisdom returning."); ^ eat.c:151:21: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (res_stat (A_DEX)) ^ eat.c:153:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel more dextrous."); ^ eat.c:158:21: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (res_stat (A_CHR)) ^ eat.c:160:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your skin stops itching."); ^ eat.c:165:33: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(randint(6)); ^ eat.c:165:25: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(randint(6)); ^ eat.c:168:33: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(randint(12)); ^ eat.c:168:25: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(randint(12)); ^ eat.c:171:33: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(randint(18)); ^ eat.c:171:25: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(randint(18)); ^ eat.c:179:33: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(damroll(3, 12)); ^ eat.c:179:25: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(damroll(3, 12)); ^ eat.c:182:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(randint(18), "poisonous food."); ^ eat.c:182:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(randint(18), "poisonous food."); ^ eat.c:200:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Internal error in eat()"); ^ eat.c:207:17: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known1_p(i_ptr)) ^ eat.c:215:17: warning: passing arguments to 'identify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] identify (&item_val); ^ eat.c:219:25: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!known1_p(i_ptr)) ^ eat.c:220:9: warning: passing arguments to 'sample' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sample (i_ptr); ^ eat.c:221:15: warning: passing arguments to 'add_food' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_food(i_ptr->p1); ^ eat.c:228:18: warning: passing arguments to 'desc_remain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] desc_remain(item_val); ^ eat.c:229:20: warning: passing arguments to 'inven_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_destroy(item_val); ^ 46 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c help.c In file included from help.c:12: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from help.c:12: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ help.c:20:14: warning: passing arguments to 'get_com' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_com("Enter character to be identified :", &command)) ^ help.c:25:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case ' ': prt(" - An open pit.", 0, 0); break; ^ help.c:26:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '!': prt("! - A potion.", 0, 0); break; ^ help.c:27:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '"': prt("\" - An amulet, periapt, or necklace.", 0, 0); break; ^ help.c:28:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '#': prt("# - A stone wall.", 0, 0); break; ^ help.c:29:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '$': prt("$ - Treasure.", 0, 0); break; ^ help.c:32:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("% - A magma or quartz vein.", 0, 0); ^ help.c:34:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("% - Not used.", 0, 0); ^ help.c:36:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '&': prt("& - Treasure chest.", 0, 0); break; ^ help.c:37:21: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '\'': prt("' - An open door.", 0, 0); break; ^ help.c:38:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '(': prt("( - Soft armor.", 0, 0); break; ^ help.c:39:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case ')': prt(") - A shield.", 0, 0); break; ^ help.c:40:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '*': prt("* - Gems.", 0, 0); break; ^ help.c:41:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '+': prt("+ - A closed door.", 0, 0); break; ^ help.c:42:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case ',': prt(", - Food or mushroom patch.", 0, 0); break; ^ help.c:43:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '-': prt("- - A wand", 0, 0); break; ^ help.c:44:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '.': prt(". - Floor.", 0, 0); break; ^ help.c:45:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '/': prt("/ - A pole weapon.", 0, 0); break; ^ help.c:47:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '1': prt("1 - Entrance to General Store.", 0, 0); break; ^ help.c:48:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '2': prt("2 - Entrance to Armory.", 0, 0); break; ^ help.c:49:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '3': prt("3 - Entrance to Weaponsmith.", 0, 0); break; ^ help.c:50:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '4': prt("4 - Entrance to Temple.", 0, 0); break; ^ help.c:51:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '5': prt("5 - Entrance to Alchemy shop.", 0, 0); break; ^ help.c:52:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '6': prt("6 - Entrance to Magic-Users store.", 0, 0); break; ^ help.c:56:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case ':': prt(": - Rubble.", 0, 0); break; ^ help.c:57:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case ';': prt("; - A loose rock.", 0, 0); break; ^ help.c:58:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '<': prt("< - An up staircase.", 0, 0); break; ^ help.c:59:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '=': prt("= - A ring.", 0, 0); break; ^ help.c:60:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '>': prt("> - A down staircase.", 0, 0); break; ^ help.c:61:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '?': prt("? - A scroll.", 0, 0); break; ^ help.c:62:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '@': prt(py.misc.name, 0, 0); break; ^ help.c:63:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'A': prt("A - Giant Ant Lion.", 0, 0); break; ^ help.c:64:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'B': prt("B - The Balrog.", 0, 0); break; ^ help.c:65:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'C': prt("C - Gelatinous Cube.", 0, 0); break; ^ help.c:66:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'D': prt("D - An Ancient Dragon (Beware).", 0, 0); break; ^ help.c:67:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'E': prt("E - Elemental.", 0, 0); break; ^ help.c:68:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'F': prt("F - Giant Fly.", 0, 0); break; ^ help.c:69:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'G': prt("G - Ghost.", 0, 0); break; ^ help.c:70:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'H': prt("H - Hobgoblin.", 0, 0); break; ^ help.c:72:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'J': prt("J - Jelly.", 0, 0); break; ^ help.c:73:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'K': prt("K - Killer Beetle.", 0, 0); break; ^ help.c:74:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'L': prt("L - Lich.", 0, 0); break; ^ help.c:75:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'M': prt("M - Mummy.", 0, 0); break; ^ help.c:77:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'O': prt("O - Ooze.", 0, 0); break; ^ help.c:78:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'P': prt("P - Giant humanoid.", 0, 0); break; ^ help.c:79:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'Q': prt("Q - Quylthulg (Pulsing Flesh Mound).", 0, 0); break; ^ help.c:80:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'R': prt("R - Reptile.", 0, 0); break; ^ help.c:81:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'S': prt("S - Giant Scorpion.", 0, 0); break; ^ help.c:82:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'T': prt("T - Troll.", 0, 0); break; ^ help.c:83:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'U': prt("U - Umber Hulk.", 0, 0); break; ^ help.c:84:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'V': prt("V - Vampire.", 0, 0); break; ^ help.c:85:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'W': prt("W - Wight or Wraith.", 0, 0); break; ^ help.c:86:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'X': prt("X - Xorn.", 0, 0); break; ^ help.c:87:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'Y': prt("Y - Yeti.", 0, 0); break; ^ help.c:89:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '[': prt("[ - Hard armor.", 0, 0); break; ^ help.c:90:21: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '\\': prt("\\ - A hafted weapon.", 0, 0); break; ^ help.c:91:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case ']': prt("] - Misc. armor.", 0, 0); break; ^ help.c:92:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '^': prt("^ - A trap.", 0, 0); break; ^ help.c:93:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '_': prt("_ - A staff.", 0, 0); break; ^ help.c:95:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'a': prt("a - Giant Ant.", 0, 0); break; ^ help.c:96:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'b': prt("b - Giant Bat.", 0, 0); break; ^ help.c:97:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'c': prt("c - Giant Centipede.", 0, 0); break; ^ help.c:98:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'd': prt("d - Dragon.", 0, 0); break; ^ help.c:99:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'e': prt("e - Floating Eye.", 0, 0); break; ^ help.c:100:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'f': prt("f - Giant Frog.", 0, 0); break; ^ help.c:101:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'g': prt("g - Golem.", 0, 0); break; ^ help.c:102:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'h': prt("h - Harpy.", 0, 0); break; ^ help.c:103:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'i': prt("i - Icky Thing.", 0, 0); break; ^ help.c:104:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'j': prt("j - Jackal.", 0, 0); break; ^ help.c:105:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'k': prt("k - Kobold.", 0, 0); break; ^ help.c:106:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'l': prt("l - Giant Louse.", 0, 0); break; ^ help.c:107:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'm': prt("m - Mold.", 0, 0); break; ^ help.c:108:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'n': prt("n - Naga.", 0, 0); break; ^ help.c:109:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'o': prt("o - Orc or Ogre.", 0, 0); break; ^ help.c:110:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'p': prt("p - Person (Humanoid).", 0, 0); break; ^ help.c:111:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'q': prt("q - Quasit.", 0, 0); break; ^ help.c:112:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'r': prt("r - Rodent.", 0, 0); break; ^ help.c:113:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 's': prt("s - Skeleton.", 0, 0); break; ^ help.c:114:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 't': prt("t - Giant Tick.", 0, 0); break; ^ help.c:117:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'w': prt("w - Worm or Worm Mass.", 0, 0); break; ^ help.c:119:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'y': prt("y - Yeek.", 0, 0); break; ^ help.c:120:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'z': prt("z - Zombie.", 0, 0); break; ^ help.c:121:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '{': prt("{ - Arrow, bolt, or bullet.", 0, 0); break; ^ help.c:122:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '|': prt("| - A sword or dagger.", 0, 0); break; ^ help.c:123:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '}': prt("} - Bow, crossbow, or sling.", 0, 0); break; ^ help.c:124:20: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case '~': prt("~ - Miscellaneous item.", 0, 0); break; ^ help.c:125:19: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] default: prt("Not Used.", 0, 0); break; ^ help.c:131:58: warning: passing arguments to 'bool_roff_recall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((c_list[i].cchar == command) && bool_roff_recall (i)) ^ help.c:135:17: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer ("You recall those details? [y/n]", 0, 40); ^ help.c:139:17: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (0, 40); ^ help.c:143:22: warning: passing arguments to 'roff_recall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] query = roff_recall (i); ^ 93 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c magic.c In file included from magic.c:12: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from magic.c:12: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ magic.c:30:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You can't see to read your spell book!"); ^ magic.c:32:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have no light to read by."); ^ magic.c:34:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are too confused."); ^ magic.c:36:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You can't cast spells!"); ^ magic.c:37:23: warning: passing arguments to 'find_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!find_range(TV_MAGIC_BOOK, TV_NEVER, &i, &j)) ^ magic.c:38:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("But you are not carrying any spell-books!"); ^ magic.c:39:20: warning: passing arguments to 'get_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (get_item(&item_val, "Use which spell-book?", i, j, CNIL, CNIL)) ^ magic.c:41:26: warning: passing arguments to 'cast_spell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = cast_spell("Cast which spell?", item_val, &choice, &chance); ^ magic.c:43:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You don't know any spells in that book."); ^ magic.c:49:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(100) < chance) ^ magic.c:50:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You failed to get the spell off!"); ^ magic.c:57:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ magic.c:59:17: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] damroll(2, 6), spell_names[0]); ^ magic.c:58:16: warning: passing arguments to 'fire_bolt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_bolt(GF_MAGIC_MISSILE, dir, char_row, char_col, ^ magic.c:65:13: warning: passing arguments to 'teleport' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] teleport(10); ^ magic.c:68:22: warning: passing arguments to 'light_area' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) light_area(char_row, char_col); ^ magic.c:71:29: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) hp_player(damroll(4, 4)); ^ magic.c:71:21: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) hp_player(damroll(4, 4)); ^ magic.c:78:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ magic.c:79:16: warning: passing arguments to 'fire_ball' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_ball(GF_POISON_GAS, dir, char_row, char_col, 12, ^ magic.c:83:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ magic.c:84:29: warning: passing arguments to 'confuse_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) confuse_monster(dir, char_row, char_col); ^ magic.c:87:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ magic.c:89:17: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] damroll(4, 8), spell_names[8]); ^ magic.c:88:16: warning: passing arguments to 'fire_bolt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_bolt(GF_LIGHTNING, dir, char_row, char_col, ^ magic.c:95:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ magic.c:96:27: warning: passing arguments to 'sleep_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) sleep_monster(dir, char_row, char_col); ^ magic.c:102:13: warning: passing arguments to 'teleport' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] teleport((int)(py.misc.lev*5)); ^ magic.c:116:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ magic.c:118:17: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] damroll(6, 8), spell_names[14]); ^ magic.c:117:16: warning: passing arguments to 'fire_bolt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_bolt(GF_FROST, dir, char_row, char_col, ^ magic.c:121:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ magic.c:122:25: warning: passing arguments to 'wall_to_mud' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) wall_to_mud(dir, char_row, char_col); ^ magic.c:128:20: warning: passing arguments to 'recharge' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) recharge(20); ^ magic.c:131:27: warning: passing arguments to 'sleep_monsters1' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) sleep_monsters1(char_row, char_col); ^ magic.c:134:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ magic.c:135:26: warning: passing arguments to 'poly_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) poly_monster(dir, char_row, char_col); ^ magic.c:144:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ magic.c:146:17: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] damroll(9, 8), spell_names[22]); ^ magic.c:145:16: warning: passing arguments to 'fire_bolt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_bolt(GF_FIRE, dir, char_row, char_col, ^ magic.c:149:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ magic.c:150:26: warning: passing arguments to 'speed_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)speed_monster(dir, char_row, char_col, -1); ^ magic.c:153:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ magic.c:154:16: warning: passing arguments to 'fire_ball' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_ball(GF_FROST, dir, char_row, char_col, 48, ^ magic.c:158:20: warning: passing arguments to 'recharge' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) recharge(60); ^ magic.c:161:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ magic.c:162:30: warning: passing arguments to 'teleport_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) teleport_monster(dir, char_row, char_col); ^ magic.c:166:27: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->fast += randint(20) + py.misc.lev; ^ magic.c:169:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ magic.c:170:16: warning: passing arguments to 'fire_ball' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_ball(GF_FIRE, dir, char_row, char_col, 72, ^ magic.c:174:17: warning: passing arguments to 'destroy_area' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_area(char_row, char_col); ^ magic.c:199:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You faint from the effort!"); ^ magic.c:201:14: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] randint((int)(5*(m_ptr->smana-p_ptr->cmana))); ^ magic.c:204:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(3) == 1) ^ magic.c:206:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have damaged your health!"); ^ magic.c:207:25: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat (A_CON); ^ 58 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c potions.c In file included from potions.c:12: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from potions.c:12: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ potions.c:36:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("But you are not carrying anything."); ^ potions.c:37:23: warning: passing arguments to 'find_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!find_range(TV_POTION1, TV_POTION2, &j, &k)) ^ potions.c:38:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are not carrying any potions."); ^ potions.c:39:20: warning: passing arguments to 'get_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (get_item(&item_val, "Quaff which potion?", j, k, CNIL, CNIL)) ^ potions.c:47:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You feel less thirsty."); ^ potions.c:52:15: warning: passing arguments to 'bit_pos' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = bit_pos(&i) + 1; ^ potions.c:59:21: warning: passing arguments to 'inc_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (inc_stat (A_STR)) ^ potions.c:61:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Wow! What bulging muscles!"); ^ potions.c:70:21: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (res_stat (A_STR)) ^ potions.c:72:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel warm all over."); ^ potions.c:77:21: warning: passing arguments to 'inc_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (inc_stat (A_INT)) ^ potions.c:79:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Aren't you brilliant!"); ^ potions.c:88:21: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (res_stat (A_INT)) ^ potions.c:90:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have have a warm feeling."); ^ potions.c:95:21: warning: passing arguments to 'inc_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (inc_stat (A_WIS)) ^ potions.c:97:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You suddenly have a profound thought!"); ^ potions.c:106:21: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (res_stat (A_WIS)) ^ potions.c:108:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel your wisdom returning."); ^ potions.c:113:21: warning: passing arguments to 'inc_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (inc_stat (A_CHR)) ^ potions.c:115:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Gee, ain't you cute!"); ^ potions.c:124:21: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (res_stat (A_CHR)) ^ potions.c:126:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel your looks returning."); ^ potions.c:131:33: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(damroll(2, 7)); ^ potions.c:131:25: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(damroll(2, 7)); ^ potions.c:134:33: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(damroll(4, 7)); ^ potions.c:134:25: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(damroll(4, 7)); ^ potions.c:137:33: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(damroll(6, 7)); ^ potions.c:137:25: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(damroll(6, 7)); ^ potions.c:140:25: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(1000); ^ potions.c:143:21: warning: passing arguments to 'inc_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (inc_stat (A_CON)) ^ potions.c:145:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel tingly for a moment."); ^ potions.c:156:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel more experienced."); ^ potions.c:166:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You fall asleep."); ^ potions.c:167:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->paralysis += randint(4) + 4; ^ potions.c:175:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are covered by a veil of darkness."); ^ potions.c:178:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->blind += randint(100) + 100; ^ potions.c:184:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Hey! This is good stuff! * Hick! *"); ^ potions.c:187:34: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->confused += randint(20) + 12; ^ potions.c:193:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel very sick."); ^ potions.c:196:34: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->poisoned += randint(15) + 10; ^ potions.c:201:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.fast += randint(25) + 15; ^ potions.c:206:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.slow += randint(25) + 15; ^ potions.c:209:21: warning: passing arguments to 'inc_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (inc_stat (A_DEX)) ^ potions.c:211:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel more limber!"); ^ potions.c:216:21: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (res_stat (A_DEX)) ^ potions.c:218:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel less clumsy."); ^ potions.c:223:21: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (res_stat (A_CON)) ^ potions.c:225:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel your health returning!"); ^ potions.c:281:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel your memories fade."); ^ potions.c:287:22: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m += (randint((int)scale) * py.misc.exp) / (scale * 5); ^ potions.c:290:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m += randint((int)py.misc.exp) / 5; ^ potions.c:291:13: warning: passing arguments to 'lose_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lose_exp(m); ^ potions.c:300:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The potion makes you vomit!"); ^ potions.c:306:34: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.invuln += randint(10) + 10; ^ potions.c:311:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.hero += randint(25) + 25; ^ potions.c:316:33: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.shero += randint(25) + 25; ^ potions.c:328:37: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->resist_heat += randint(10) + 10; ^ potions.c:334:37: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->resist_cold += randint(10) + 10; ^ potions.c:339:27: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] detect_inv2(randint(12)+12); ^ potions.c:339:19: warning: passing arguments to 'detect_inv2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] detect_inv2(randint(12)+12); ^ potions.c:353:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your feel your head clear."); ^ potions.c:361:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your eyes begin to tingle."); ^ potions.c:364:41: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->tim_infra += 100 + randint(100); ^ potions.c:367:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("Internal error in potion()"); ^ potions.c:374:17: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known1_p(i_ptr)) ^ potions.c:381:16: warning: passing arguments to 'identify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] identify(&item_val); ^ potions.c:385:25: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!known1_p(i_ptr)) ^ potions.c:386:9: warning: passing arguments to 'sample' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sample (i_ptr); ^ potions.c:388:15: warning: passing arguments to 'add_food' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_food(i_ptr->p1); ^ potions.c:389:18: warning: passing arguments to 'desc_remain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] desc_remain(item_val); ^ potions.c:390:20: warning: passing arguments to 'inven_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_destroy(item_val); ^ 73 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c prayer.c In file included from prayer.c:12: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from prayer.c:12: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ prayer.c:30:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You can't see to read your prayer!"); ^ prayer.c:32:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have no light to read by."); ^ prayer.c:34:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are too confused."); ^ prayer.c:36:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Pray hard enough and your prayers may be answered."); ^ prayer.c:38:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("But you are not carrying anything!"); ^ prayer.c:39:23: warning: passing arguments to 'find_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!find_range(TV_PRAYER_BOOK, TV_NEVER, &i, &j)) ^ prayer.c:40:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You are not carrying any Holy Books!"); ^ prayer.c:41:20: warning: passing arguments to 'get_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (get_item(&item_val, "Use which Holy Book?", i, j, CNIL, CNIL)) ^ prayer.c:43:26: warning: passing arguments to 'cast_spell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = cast_spell("Recite which prayer?", item_val, &choice, &chance); ^ prayer.c:45:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You don't know any prayers in that book."); ^ prayer.c:51:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(100) < chance) ^ prayer.c:52:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You lost your concentration!"); ^ prayer.c:62:29: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) hp_player(damroll(3, 3)); ^ prayer.c:62:21: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) hp_player(damroll(3, 3)); ^ prayer.c:65:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bless(randint(12)+12); ^ prayer.c:65:10: warning: passing arguments to 'bless' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bless(randint(12)+12); ^ prayer.c:71:22: warning: passing arguments to 'light_area' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) light_area(char_row, char_col); ^ prayer.c:83:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ prayer.c:84:29: warning: passing arguments to 'confuse_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) confuse_monster(dir, char_row, char_col); ^ prayer.c:87:13: warning: passing arguments to 'teleport' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] teleport((int)(py.misc.lev*3)); ^ prayer.c:90:29: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) hp_player(damroll(4, 4)); ^ prayer.c:90:21: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) hp_player(damroll(4, 4)); ^ prayer.c:93:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bless(randint(24)+24); ^ prayer.c:93:10: warning: passing arguments to 'bless' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bless(randint(24)+24); ^ prayer.c:96:27: warning: passing arguments to 'sleep_monsters1' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) sleep_monsters1(char_row, char_col); ^ prayer.c:117:34: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->resist_heat += randint(10) + 10; ^ prayer.c:118:34: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->resist_cold += randint(10) + 10; ^ prayer.c:124:16: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ prayer.c:126:23: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (int)(damroll(3, 6)+py.misc.lev), ^ prayer.c:125:16: warning: passing arguments to 'fire_ball' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_ball(GF_HOLY_ORB, dir, char_row, char_col, ^ prayer.c:130:29: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) hp_player(damroll(8, 4)); ^ prayer.c:130:21: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) hp_player(damroll(8, 4)); ^ prayer.c:133:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] detect_inv2(randint(24)+24); ^ prayer.c:133:16: warning: passing arguments to 'detect_inv2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] detect_inv2(randint(24)+24); ^ prayer.c:145:29: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) hp_player(damroll(16, 4)); ^ prayer.c:145:21: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) hp_player(damroll(16, 4)); ^ prayer.c:151:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bless(randint(48)+48); ^ prayer.c:151:10: warning: passing arguments to 'bless' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bless(randint(48)+48); ^ prayer.c:154:27: warning: passing arguments to 'dispel_creature' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dispel_creature(CD_UNDEAD, (int)(3*py.misc.lev)); ^ prayer.c:157:21: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) hp_player(200); ^ prayer.c:160:27: warning: passing arguments to 'dispel_creature' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dispel_creature(CD_EVIL, (int)(3*py.misc.lev)); ^ prayer.c:168:21: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) hp_player(1000); ^ prayer.c:170:22: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) res_stat(i); ^ prayer.c:171:27: warning: passing arguments to 'dispel_creature' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dispel_creature(CD_EVIL, (int)(4*py.misc.lev)); ^ prayer.c:198:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You faint from fatigue!"); ^ prayer.c:200:14: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] randint((int)(5 * (s_ptr->smana-m_ptr->cmana))); ^ prayer.c:203:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(3) == 1) ^ prayer.c:205:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have damaged your health!"); ^ prayer.c:206:25: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat (A_CON); ^ 51 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c save.c In file included from save.c:58: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from save.c:58: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ save.c:179:12: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)i); ^ save.c:180:11: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long(r_ptr->r_cmove); ^ save.c:181:11: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long(r_ptr->r_spells); ^ save.c:182:12: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short(r_ptr->r_kills); ^ save.c:183:12: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short(r_ptr->r_deaths); ^ save.c:184:12: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short(r_ptr->r_cdefense); ^ save.c:185:11: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(r_ptr->r_wake); ^ save.c:186:11: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(r_ptr->r_ignore); ^ save.c:187:12: warning: passing arguments to 'wr_bytes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_bytes(r_ptr->r_attacks, MAX_MON_NATTACK); ^ save.c:190:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)0xFFFF); /* sentinel to indicate no more monster info */ ^ save.c:192:10: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long(l); ^ save.c:195:12: warning: passing arguments to 'wr_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_string(m_ptr->name); ^ save.c:196:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(m_ptr->male); ^ save.c:197:10: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long((int32u)m_ptr->au); ^ save.c:198:10: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long((int32u)m_ptr->max_exp); ^ save.c:199:10: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long((int32u)m_ptr->exp); ^ save.c:200:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short(m_ptr->exp_frac); ^ save.c:201:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short(m_ptr->age); ^ save.c:202:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short(m_ptr->ht); ^ save.c:203:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short(m_ptr->wt); ^ save.c:204:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short(m_ptr->lev); ^ save.c:205:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short(m_ptr->max_dlv); ^ save.c:206:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->srh); ^ save.c:207:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->fos); ^ save.c:208:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->bth); ^ save.c:209:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->bthb); ^ save.c:210:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->mana); ^ save.c:211:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->mhp); ^ save.c:212:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->ptohit); ^ save.c:213:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->ptodam); ^ save.c:214:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->pac); ^ save.c:215:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->ptoac); ^ save.c:216:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->dis_th); ^ save.c:217:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->dis_td); ^ save.c:218:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->dis_ac); ^ save.c:219:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->dis_tac); ^ save.c:220:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->disarm); ^ save.c:221:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->save); ^ save.c:222:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->sc); ^ save.c:223:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->stl); ^ save.c:224:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(m_ptr->pclass); ^ save.c:225:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(m_ptr->prace); ^ save.c:226:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(m_ptr->hitdie); ^ save.c:227:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(m_ptr->expfact); ^ save.c:228:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->cmana); ^ save.c:229:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short(m_ptr->cmana_frac); ^ save.c:230:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)m_ptr->chp); ^ save.c:231:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short(m_ptr->chp_frac); ^ save.c:233:15: warning: passing arguments to 'wr_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_string (m_ptr->history[i]); ^ save.c:236:11: warning: passing arguments to 'wr_bytes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_bytes(s_ptr->max_stat, 6); ^ save.c:237:11: warning: passing arguments to 'wr_bytes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_bytes(s_ptr->cur_stat, 6); ^ save.c:238:12: warning: passing arguments to 'wr_shorts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_shorts((int16u *)s_ptr->mod_stat, 6); ^ save.c:239:11: warning: passing arguments to 'wr_bytes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_bytes(s_ptr->use_stat, 6); ^ save.c:242:10: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long(f_ptr->status); ^ save.c:243:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->rest); ^ save.c:244:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->blind); ^ save.c:245:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->paralysis); ^ save.c:246:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->confused); ^ save.c:247:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->food); ^ save.c:248:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->food_digested); ^ save.c:249:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->protection); ^ save.c:250:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->speed); ^ save.c:251:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->fast); ^ save.c:252:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->slow); ^ save.c:253:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->afraid); ^ save.c:254:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->poisoned); ^ save.c:255:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->image); ^ save.c:256:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->protevil); ^ save.c:257:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->invuln); ^ save.c:258:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->hero); ^ save.c:259:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->shero); ^ save.c:260:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->blessed); ^ save.c:261:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->resist_heat); ^ save.c:262:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->resist_cold); ^ save.c:263:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->detect_inv); ^ save.c:264:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->word_recall); ^ save.c:265:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->see_infra); ^ save.c:266:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)f_ptr->tim_infra); ^ save.c:267:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->see_inv); ^ save.c:268:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->teleport); ^ save.c:269:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->free_act); ^ save.c:270:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->slow_digest); ^ save.c:271:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->aggravate); ^ save.c:272:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->fire_resist); ^ save.c:273:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->cold_resist); ^ save.c:274:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->acid_resist); ^ save.c:275:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->regenerate); ^ save.c:276:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->lght_resist); ^ save.c:277:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->ffall); ^ save.c:278:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->sustain_str); ^ save.c:279:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->sustain_int); ^ save.c:280:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->sustain_wis); ^ save.c:281:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->sustain_con); ^ save.c:282:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->sustain_dex); ^ save.c:283:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->sustain_chr); ^ save.c:284:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->confuse_monster); ^ save.c:285:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(f_ptr->new_spells); ^ save.c:287:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)missile_ctr); ^ save.c:288:10: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long((int32u)turn); ^ save.c:289:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)inven_ctr); ^ save.c:291:12: warning: passing arguments to 'wr_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_item(&inventory[i]); ^ save.c:293:12: warning: passing arguments to 'wr_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_item(&inventory[i]); ^ save.c:294:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)inven_weight); ^ save.c:295:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)equip_ctr); ^ save.c:296:10: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long(spell_learned); ^ save.c:297:10: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long(spell_worked); ^ save.c:298:10: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long(spell_forgotten); ^ save.c:299:11: warning: passing arguments to 'wr_bytes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_bytes(spell_order, 32); ^ save.c:300:11: warning: passing arguments to 'wr_bytes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_bytes(object_ident, OBJECT_IDENT_SIZE); ^ save.c:301:10: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long(randes_seed); ^ save.c:302:10: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long(town_seed); ^ save.c:303:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)last_msg); ^ save.c:305:14: warning: passing arguments to 'wr_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_string(old_msg[i]); ^ save.c:308:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)panic_save); ^ save.c:309:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)total_winner); ^ save.c:310:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)noscore); ^ save.c:311:12: warning: passing arguments to 'wr_shorts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_shorts(player_hp, MAX_PLAYER_LEVEL); ^ save.c:316:14: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long((int32u)st_ptr->store_open); ^ save.c:317:15: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)st_ptr->insult_cur); ^ save.c:318:14: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(st_ptr->owner); ^ save.c:319:14: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(st_ptr->store_ctr); ^ save.c:320:15: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short(st_ptr->good_buy); ^ save.c:321:15: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short(st_ptr->bad_buy); ^ save.c:324:11: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long((int32u)st_ptr->store_inven[j].scost); ^ save.c:325:11: warning: passing arguments to 'wr_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_item(&st_ptr->store_inven[j].sitem); ^ save.c:337:10: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long(l); ^ save.c:340:12: warning: passing arguments to 'wr_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_string(died_from); ^ save.c:344:11: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long (l); ^ save.c:347:11: warning: passing arguments to 'wr_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_long ((int32u) birth_date); ^ save.c:358:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)dun_level); ^ save.c:359:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)char_row); ^ save.c:360:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)char_col); ^ save.c:361:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)mon_tot_mult); ^ save.c:362:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)cur_height); ^ save.c:363:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)cur_width); ^ save.c:364:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)max_panel_rows); ^ save.c:365:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)max_panel_cols); ^ save.c:373:13: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte((int8u)i); ^ save.c:374:13: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte((int8u)j); ^ save.c:375:13: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(c_ptr->cptr); ^ save.c:378:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte((int8u)0xFF); /* marks end of cptr info */ ^ save.c:385:13: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte((int8u)i); ^ save.c:386:13: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte((int8u)j); ^ save.c:387:13: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(c_ptr->tptr); ^ save.c:390:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte((int8u)0xFF); /* marks end of tptr info */ ^ save.c:403:13: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte((int8u)count); ^ save.c:404:13: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(prev_char); ^ save.c:412:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte((int8u)count); ^ save.c:413:10: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(prev_char); ^ save.c:436:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)tcptr); ^ save.c:438:12: warning: passing arguments to 'wr_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_item(&t_list[i]); ^ save.c:439:11: warning: passing arguments to 'wr_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_short((int16u)mfptr); ^ save.c:441:15: warning: passing arguments to 'wr_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_monster(&m_list[i]); ^ save.c:509:21: warning: passing arguments to '_save_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (!_save_char(savefile)) ^ save.c:512:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(temp); ^ save.c:515:16: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || get_check("File exists. Delete old savefile?") == 0 ^ save.c:521:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(temp); ^ save.c:523:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("New Savefile [ESC to give up]:", 0, 0); ^ save.c:524:19: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(temp, 0, 31, 45)) ^ save.c:530:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(temp, 0, 0); ^ save.c:551:11: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb (1, 0); /* Turn off resting and searching. */ ^ save.c:552:15: warning: passing arguments to 'change_speed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_speed(-pack_heavy); /* Fix the speed */ ^ save.c:567:12: warning: passing arguments to 'topen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fd = open(fnam, O_RDWR|O_CREAT|O_EXCL, 0600); ^ save.c:570:28: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (wizard && get_check("Can't make new savefile. Overwrite old?")))) ^ save.c:573:16: warning: passing arguments to 'topen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fd = open(fnam, O_RDWR|O_TRUNC, 0600); ^ save.c:584:22: warning: passing arguments to 'tfopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileptr = fopen(savefile, "w"); ^ save.c:594:14: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte((int8u)CUR_VERSION_MAJ); ^ save.c:596:14: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte((int8u)CUR_VERSION_MIN); ^ save.c:598:14: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte((int8u)PATCH_LEVEL); ^ save.c:600:25: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char_tmp = randint(256) - 1; ^ save.c:601:14: warning: passing arguments to 'wr_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wr_byte(char_tmp); ^ save.c:625:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(temp); ^ save.c:539:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int _save_char(fnam) ^ In file included from save.c:58: ./externs.h:1117:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int _save_char(); ^ save.c:700:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Savefile does not exist."); ^ save.c:708:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(temp, 23, 0); ^ save.c:711:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("IMPOSSIBLE! Attempt to restore while still alive!"); ^ save.c:722:22: warning: passing arguments to 'topen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((fd = open(savefile, O_RDONLY, 0)) < 0 ^ save.c:724:19: warning: passing arguments to 'topen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (fd = open(savefile, O_RDONLY, 0)) < 0)) ^ save.c:727:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Can't open file for reading."); ^ save.c:739:22: warning: passing arguments to 'tfopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileptr = fopen(savefile, "r"); ^ save.c:748:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Restoring Memory...", 0, 0); ^ save.c:755:14: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&version_maj); ^ save.c:757:14: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&version_min); ^ save.c:759:14: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&patch_level); ^ save.c:761:14: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&xor_byte); ^ save.c:775:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Sorry. This savefile is from a different version of umoria.", ^ save.c:780:15: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&int16u_tmp); ^ save.c:786:11: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long(&r_ptr->r_cmove); ^ save.c:787:11: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long(&r_ptr->r_spells); ^ save.c:788:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&r_ptr->r_kills); ^ save.c:789:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&r_ptr->r_deaths); ^ save.c:790:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&r_ptr->r_cdefense); ^ save.c:791:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&r_ptr->r_wake); ^ save.c:792:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&r_ptr->r_ignore); ^ save.c:793:12: warning: passing arguments to 'rd_bytes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_bytes(r_ptr->r_attacks, MAX_MON_NATTACK); ^ save.c:794:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&int16u_tmp); ^ save.c:799:10: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&int16u_tmp); ^ save.c:800:14: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long(&l); ^ save.c:859:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("Sorry, this character is retired from moria."); ^ save.c:860:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You can not resurrect a retired character."); ^ save.c:863:21: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && get_check("Resurrect a dead character?")) ^ save.c:868:13: warning: passing arguments to 'rd_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_string(m_ptr->name); ^ save.c:869:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&m_ptr->male); ^ save.c:870:11: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long((int32u *)&m_ptr->au); ^ save.c:871:11: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long((int32u *)&m_ptr->max_exp); ^ save.c:872:11: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long((int32u *)&m_ptr->exp); ^ save.c:873:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&m_ptr->exp_frac); ^ save.c:874:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&m_ptr->age); ^ save.c:875:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&m_ptr->ht); ^ save.c:876:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&m_ptr->wt); ^ save.c:877:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&m_ptr->lev); ^ save.c:878:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&m_ptr->max_dlv); ^ save.c:879:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->srh); ^ save.c:880:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->fos); ^ save.c:881:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->bth); ^ save.c:882:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->bthb); ^ save.c:883:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->mana); ^ save.c:884:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->mhp); ^ save.c:885:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->ptohit); ^ save.c:886:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->ptodam); ^ save.c:887:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->pac); ^ save.c:888:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->ptoac); ^ save.c:889:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->dis_th); ^ save.c:890:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->dis_td); ^ save.c:891:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->dis_ac); ^ save.c:892:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->dis_tac); ^ save.c:893:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->disarm); ^ save.c:894:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->save); ^ save.c:895:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->sc); ^ save.c:896:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->stl); ^ save.c:897:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&m_ptr->pclass); ^ save.c:898:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&m_ptr->prace); ^ save.c:899:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&m_ptr->hitdie); ^ save.c:900:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&m_ptr->expfact); ^ save.c:901:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->cmana); ^ save.c:902:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&m_ptr->cmana_frac); ^ save.c:903:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&m_ptr->chp); ^ save.c:904:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&m_ptr->chp_frac); ^ save.c:906:16: warning: passing arguments to 'rd_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_string (m_ptr->history[i]); ^ save.c:909:12: warning: passing arguments to 'rd_bytes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_bytes(s_ptr->max_stat, 6); ^ save.c:910:12: warning: passing arguments to 'rd_bytes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_bytes(s_ptr->cur_stat, 6); ^ save.c:911:13: warning: passing arguments to 'rd_shorts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_shorts((int16u *)s_ptr->mod_stat, 6); ^ save.c:912:12: warning: passing arguments to 'rd_bytes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_bytes(s_ptr->use_stat, 6); ^ save.c:915:11: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long(&f_ptr->status); ^ save.c:916:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->rest); ^ save.c:917:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->blind); ^ save.c:918:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->paralysis); ^ save.c:919:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->confused); ^ save.c:920:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->food); ^ save.c:921:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->food_digested); ^ save.c:922:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->protection); ^ save.c:923:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->speed); ^ save.c:924:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->fast); ^ save.c:925:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->slow); ^ save.c:926:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->afraid); ^ save.c:927:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->poisoned); ^ save.c:928:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->image); ^ save.c:929:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->protevil); ^ save.c:930:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->invuln); ^ save.c:931:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->hero); ^ save.c:932:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->shero); ^ save.c:933:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->blessed); ^ save.c:934:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->resist_heat); ^ save.c:935:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->resist_cold); ^ save.c:936:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->detect_inv); ^ save.c:937:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->word_recall); ^ save.c:938:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->see_infra); ^ save.c:939:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&f_ptr->tim_infra); ^ save.c:940:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->see_inv); ^ save.c:941:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->teleport); ^ save.c:942:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->free_act); ^ save.c:943:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->slow_digest); ^ save.c:944:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->aggravate); ^ save.c:945:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->fire_resist); ^ save.c:946:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->cold_resist); ^ save.c:947:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->acid_resist); ^ save.c:948:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->regenerate); ^ save.c:949:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->lght_resist); ^ save.c:950:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->ffall); ^ save.c:951:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->sustain_str); ^ save.c:952:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->sustain_int); ^ save.c:953:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->sustain_wis); ^ save.c:954:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->sustain_con); ^ save.c:955:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->sustain_dex); ^ save.c:956:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->sustain_chr); ^ save.c:957:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->confuse_monster); ^ save.c:958:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&f_ptr->new_spells); ^ save.c:960:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&missile_ctr); ^ save.c:961:11: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long((int32u *)&turn); ^ save.c:962:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&inven_ctr); ^ save.c:966:13: warning: passing arguments to 'rd_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_item(&inventory[i]); ^ save.c:968:13: warning: passing arguments to 'rd_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_item(&inventory[i]); ^ save.c:969:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&inven_weight); ^ save.c:970:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&equip_ctr); ^ save.c:971:11: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long(&spell_learned); ^ save.c:972:11: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long(&spell_worked); ^ save.c:973:11: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long(&spell_forgotten); ^ save.c:974:12: warning: passing arguments to 'rd_bytes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_bytes(spell_order, 32); ^ save.c:975:12: warning: passing arguments to 'rd_bytes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_bytes(object_ident, OBJECT_IDENT_SIZE); ^ save.c:976:11: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long(&randes_seed); ^ save.c:977:11: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long(&town_seed); ^ save.c:978:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&last_msg); ^ save.c:980:15: warning: passing arguments to 'rd_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_string(old_msg[i]); ^ save.c:982:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&panic_save); ^ save.c:983:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&total_winner); ^ save.c:984:12: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&noscore); ^ save.c:985:13: warning: passing arguments to 'rd_shorts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_shorts(player_hp, MAX_PLAYER_LEVEL); ^ save.c:992:10: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long((int32u *)&st_ptr->store_open); ^ save.c:993:11: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&st_ptr->insult_cur); ^ save.c:994:10: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&st_ptr->owner); ^ save.c:995:10: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&st_ptr->store_ctr); ^ save.c:996:11: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&st_ptr->good_buy); ^ save.c:997:11: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&st_ptr->bad_buy); ^ save.c:1002:14: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long((int32u *)&st_ptr->store_inven[j].scost); ^ save.c:1003:14: warning: passing arguments to 'rd_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_item(&st_ptr->store_inven[j].sitem); ^ save.c:1009:13: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long(&time_saved); ^ save.c:1012:15: warning: passing arguments to 'rd_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_string(died_from); ^ save.c:1016:14: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long ((int32u *)&max_score); ^ save.c:1022:14: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long ((int32u *)&birth_date); ^ save.c:1032:11: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Attempting a resurrection!", 0, 0); ^ save.c:1055:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Restoring Memory of a departed spirit..."); ^ save.c:1064:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Restoring Character...", 0, 0); ^ save.c:1070:15: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&dun_level); ^ save.c:1071:15: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&char_row); ^ save.c:1072:15: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&char_col); ^ save.c:1073:15: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&mon_tot_mult); ^ save.c:1074:15: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&cur_height); ^ save.c:1075:15: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&cur_width); ^ save.c:1076:15: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&max_panel_rows); ^ save.c:1077:15: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&max_panel_cols); ^ save.c:1080:14: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&char_tmp); ^ save.c:1084:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&xchar); ^ save.c:1085:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&char_tmp); ^ save.c:1089:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&char_tmp); ^ save.c:1092:14: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&char_tmp); ^ save.c:1096:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&xchar); ^ save.c:1097:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&char_tmp); ^ save.c:1101:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&char_tmp); ^ save.c:1108:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&count); ^ save.c:1109:11: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&char_tmp); ^ save.c:1126:15: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&tcptr); ^ save.c:1130:9: warning: passing arguments to 'rd_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_item(&t_list[i]); ^ save.c:1131:15: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&mfptr); ^ save.c:1135:12: warning: passing arguments to 'rd_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_monster(&m_list[i]); ^ save.c:1161:13: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long((int32u *)&st_ptr->store_open); ^ save.c:1162:14: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short((int16u *)&st_ptr->insult_cur); ^ save.c:1163:13: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&st_ptr->owner); ^ save.c:1164:13: warning: passing arguments to 'rd_byte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_byte(&st_ptr->store_ctr); ^ save.c:1165:14: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&st_ptr->good_buy); ^ save.c:1166:14: warning: passing arguments to 'rd_short' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_short(&st_ptr->bad_buy); ^ save.c:1171:10: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long((int32u *)&st_ptr->store_inven[j].scost); ^ save.c:1172:10: warning: passing arguments to 'rd_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_item(&st_ptr->store_inven[j].sitem); ^ save.c:1180:9: warning: passing arguments to 'rd_long' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rd_long(&time_saved); ^ save.c:1213:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Error during reading of file."); ^ save.c:1225:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (temp); ^ save.c:1227:14: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] else if ((!noscore & 0x04) && duplicate_character ()) ^ ~ save.c:1227:14: note: add parentheses after the '!' to evaluate the bitwise operator first else if ((!noscore & 0x04) && duplicate_character ()) ^ ( ) save.c:1227:14: note: add parentheses around left hand side expression to silence this warning else if ((!noscore & 0x04) && duplicate_character ()) ^ ( ) save.c:1231:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (temp); ^ save.c:1258:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("This save file cannot be used to get on the score board."); ^ save.c:1269:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(temp); ^ save.c:1279:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Please try again without that savefile.", 1, 0); ^ save.c:665:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_char(generate) ^ In file included from save.c:58: ./externs.h:1118:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int get_char(); ^ save.c:1290:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void wr_byte(c) ^ save.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void wr_byte(); ^ save.c:1298:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void wr_short(s) ^ save.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void wr_short(); ^ save.c:1309:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void wr_long(l) ^ save.c:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void wr_long(); ^ save.c:1326:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void wr_bytes(c, count) ^ save.c:89:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void wr_bytes(); ^ save.c:1345:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void wr_string(str) ^ save.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void wr_string(); ^ save.c:1361:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void wr_shorts(s, count) ^ save.c:91:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void wr_shorts(); ^ save.c:1382:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void wr_item(item) ^ save.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void wr_item(); ^ save.c:1406:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void wr_monster(mon) ^ save.c:93:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void wr_monster(); ^ save.c:1422:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rd_byte(ptr) ^ save.c:94:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void rd_byte(); ^ save.c:1433:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rd_short(ptr) ^ save.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void rd_short(); ^ save.c:1448:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rd_long(ptr) ^ save.c:96:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void rd_long(); ^ save.c:1468:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rd_bytes(ch_ptr, count) ^ save.c:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void rd_bytes(); ^ save.c:1488:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rd_string(str) ^ save.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void rd_string(); ^ save.c:1506:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rd_shorts(ptr, count) ^ save.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void rd_shorts(); ^ save.c:1530:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rd_item(item) ^ save.c:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void rd_item(); ^ save.c:1554:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rd_monster(mon) ^ save.c:101:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void rd_monster(); ^ save.c:1573:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void set_fileptr(file) ^ In file included from save.c:58: ./externs.h:1120:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void set_fileptr(); ^ save.c:1579:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void wr_highscore(score) ^ In file included from save.c:58: ./externs.h:1122:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void wr_highscore(); ^ save.c:1603:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void rd_highscore(score) ^ In file included from save.c:58: ./externs.h:1123:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void rd_highscore(); ^ 403 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c staffs.c In file included from staffs.c:12: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from staffs.c:12: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ staffs.c:32:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("But you are not carrying anything."); ^ staffs.c:33:23: warning: passing arguments to 'find_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!find_range(TV_STAFF, TV_NEVER, &j, &k)) ^ staffs.c:34:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are not carrying any staffs."); ^ staffs.c:35:20: warning: passing arguments to 'get_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (get_item(&item_val, "Use which staff?", j, k, CNIL, CNIL)) ^ staffs.c:40:38: warning: passing arguments to 'stat_adj' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chance = m_ptr->save + stat_adj(A_INT) - (int)i_ptr->level - 5 ^ staffs.c:44:44: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((chance < USE_DEVICE) && (randint(USE_DEVICE - chance + 1) == 1)) ^ staffs.c:47:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(chance) < USE_DEVICE) ^ staffs.c:48:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You failed to use the staff properly."); ^ staffs.c:56:19: warning: passing arguments to 'bit_pos' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = bit_pos(&i) + 1; ^ staffs.c:61:23: warning: passing arguments to 'light_area' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = light_area(char_row, char_col); ^ staffs.c:76:13: warning: passing arguments to 'teleport' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] teleport(100); ^ staffs.c:85:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (k = 0; k < randint(4); k++) ^ staffs.c:89:32: warning: passing arguments to 'summon_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident |= summon_monster(&y, &x, FALSE); ^ staffs.c:94:17: warning: passing arguments to 'destroy_area' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_area(char_row, char_col); ^ staffs.c:98:13: warning: passing arguments to 'starlite' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] starlite(char_row, char_col); ^ staffs.c:101:27: warning: passing arguments to 'speed_monsters' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = speed_monsters(1); ^ staffs.c:104:27: warning: passing arguments to 'speed_monsters' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = speed_monsters(-1); ^ staffs.c:110:30: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(randint(8)); ^ staffs.c:110:22: warning: passing arguments to 'hp_player' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_player(randint(8)); ^ staffs.c:118:29: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.fast += randint(30) + 15; ^ staffs.c:123:29: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.slow += randint(30) + 15; ^ staffs.c:132:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The staff glows blue for a moment.."); ^ staffs.c:145:28: warning: passing arguments to 'dispel_creature' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = dispel_creature(CD_EVIL, 60); ^ staffs.c:148:25: warning: passing arguments to 'unlight_area' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = unlight_area(char_row, char_col); ^ staffs.c:154:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Internal error in staffs()"); ^ staffs.c:161:21: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known1_p(i_ptr)) ^ staffs.c:169:13: warning: passing arguments to 'identify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] identify(&item_val); ^ staffs.c:173:22: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!known1_p(i_ptr)) ^ staffs.c:174:13: warning: passing arguments to 'sample' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sample (i_ptr); ^ staffs.c:175:16: warning: passing arguments to 'desc_charges' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] desc_charges(item_val); ^ staffs.c:179:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The staff has no charges left."); ^ staffs.c:180:17: warning: passing arguments to 'known2_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known2_p(i_ptr)) ^ staffs.c:181:18: warning: passing arguments to 'add_inscribe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_inscribe(i_ptr, ID_EMPTY); ^ 35 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c wands.c In file included from wands.c:12: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from wands.c:12: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ wands.c:33:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("But you are not carrying anything."); ^ wands.c:34:23: warning: passing arguments to 'find_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!find_range(TV_WAND, TV_NEVER, &j, &k)) ^ wands.c:35:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are not carrying any wands."); ^ wands.c:36:20: warning: passing arguments to 'get_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (get_item(&item_val, "Aim which wand?", j, k, CNIL, CNIL)) ^ wands.c:40:18: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ wands.c:44:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are confused."); ^ wands.c:47:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dir = randint(9); ^ wands.c:53:35: warning: passing arguments to 'stat_adj' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chance = m_ptr->save + stat_adj(A_INT) - (int)i_ptr->level ^ wands.c:57:41: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((chance < USE_DEVICE) && (randint(USE_DEVICE - chance + 1) == 1)) ^ wands.c:60:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(chance) < USE_DEVICE) ^ wands.c:61:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You failed to use the wand properly."); ^ wands.c:68:16: warning: passing arguments to 'bit_pos' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = bit_pos(&i) + 1; ^ wands.c:75:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A line of blue shimmering light appears."); ^ wands.c:76:19: warning: passing arguments to 'light_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] light_line(dir, char_row, char_col); ^ wands.c:80:51: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_bolt(GF_LIGHTNING, dir, k, l, damroll(4, 8), ^ wands.c:80:18: warning: passing arguments to 'fire_bolt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_bolt(GF_LIGHTNING, dir, k, l, damroll(4, 8), ^ wands.c:85:47: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_bolt(GF_FROST, dir, k, l, damroll(6, 8), ^ wands.c:85:18: warning: passing arguments to 'fire_bolt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_bolt(GF_FROST, dir, k, l, damroll(6, 8), ^ wands.c:90:46: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_bolt(GF_FIRE, dir, k, l, damroll(9, 8), ^ wands.c:90:18: warning: passing arguments to 'fire_bolt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_bolt(GF_FIRE, dir, k, l, damroll(9, 8), ^ wands.c:95:28: warning: passing arguments to 'wall_to_mud' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = wall_to_mud(dir, k, l); ^ wands.c:98:29: warning: passing arguments to 'poly_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = poly_monster(dir, k, l); ^ wands.c:101:47: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_monster(dir, k, l, -damroll(4, 6)); ^ wands.c:101:27: warning: passing arguments to 'hp_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = hp_monster(dir, k, l, -damroll(4, 6)); ^ wands.c:104:30: warning: passing arguments to 'speed_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = speed_monster(dir, k, l, 1); ^ wands.c:107:30: warning: passing arguments to 'speed_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = speed_monster(dir, k, l, -1); ^ wands.c:110:32: warning: passing arguments to 'confuse_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = confuse_monster(dir, k, l); ^ wands.c:113:30: warning: passing arguments to 'sleep_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = sleep_monster(dir, k, l); ^ wands.c:116:27: warning: passing arguments to 'drain_life' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = drain_life(dir, k, l); ^ wands.c:119:28: warning: passing arguments to 'td_destroy2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = td_destroy2(dir, k, l); ^ wands.c:122:55: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_bolt(GF_MAGIC_MISSILE, dir, k, l, damroll(2, 6), ^ wands.c:122:18: warning: passing arguments to 'fire_bolt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_bolt(GF_MAGIC_MISSILE, dir, k, l, damroll(2, 6), ^ wands.c:127:27: warning: passing arguments to 'build_wall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = build_wall(dir, k, l); ^ wands.c:130:30: warning: passing arguments to 'clone_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = clone_monster(dir, k, l); ^ wands.c:133:33: warning: passing arguments to 'teleport_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = teleport_monster(dir, k, l); ^ wands.c:136:27: warning: passing arguments to 'disarm_all' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = disarm_all(dir, k, l); ^ wands.c:139:18: warning: passing arguments to 'fire_ball' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_ball(GF_LIGHTNING, dir, k, l, 32, "Lightning Ball"); ^ wands.c:143:18: warning: passing arguments to 'fire_ball' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_ball(GF_FROST, dir, k, l, 48, "Cold Ball"); ^ wands.c:147:18: warning: passing arguments to 'fire_ball' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_ball(GF_FIRE, dir, k, l, 72, spell_names[28]); ^ wands.c:151:18: warning: passing arguments to 'fire_ball' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_ball(GF_POISON_GAS, dir, k, l, 12, spell_names[6]); ^ wands.c:155:18: warning: passing arguments to 'fire_ball' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_ball(GF_ACID, dir, k, l, 60, "Acid Ball"); ^ wands.c:159:27: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = 1L << (randint(23) - 1); ^ wands.c:162:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Internal error in wands()"); ^ wands.c:169:18: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known1_p(i_ptr)) ^ wands.c:177:17: warning: passing arguments to 'identify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] identify(&item_val); ^ wands.c:181:26: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!known1_p(i_ptr)) ^ wands.c:182:10: warning: passing arguments to 'sample' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sample (i_ptr); ^ wands.c:183:20: warning: passing arguments to 'desc_charges' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] desc_charges(item_val); ^ wands.c:187:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The wand has no charges left."); ^ wands.c:188:21: warning: passing arguments to 'known2_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known2_p(i_ptr)) ^ wands.c:189:15: warning: passing arguments to 'add_inscribe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_inscribe(i_ptr, ID_EMPTY); ^ 53 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c scrolls.c In file included from scrolls.c:16: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from scrolls.c:16: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ scrolls.c:40:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You can't see to read the scroll."); ^ scrolls.c:42:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have no light to read by."); ^ scrolls.c:44:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are too confused to read a scroll."); ^ scrolls.c:46:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are not carrying anything!"); ^ scrolls.c:47:23: warning: passing arguments to 'find_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!find_range(TV_SCROLL1, TV_SCROLL2, &j, &k)) ^ scrolls.c:48:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You are not carrying any scrolls!"); ^ scrolls.c:49:20: warning: passing arguments to 'get_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (get_item(&item_val, "Read which scroll?", j, k, CNIL, CNIL)) ^ scrolls.c:59:15: warning: passing arguments to 'bit_pos' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = bit_pos(&i) + 1; ^ scrolls.c:70:11: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, i_ptr, FALSE); ^ scrolls.c:72:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ scrolls.c:73:16: warning: passing arguments to 'enchant' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (enchant(&i_ptr->tohit, 10)) ^ scrolls.c:83:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The enchantment fails."); ^ scrolls.c:91:11: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, i_ptr, FALSE); ^ scrolls.c:93:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ scrolls.c:99:16: warning: passing arguments to 'enchant' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (enchant(&i_ptr->todam, j)) ^ scrolls.c:109:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The enchantment fails."); ^ scrolls.c:130:35: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (k > 0) l = tmp[randint(k)-1]; ^ scrolls.c:162:11: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, i_ptr, FALSE); ^ scrolls.c:164:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ scrolls.c:165:16: warning: passing arguments to 'enchant' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (enchant(&i_ptr->toac, 10)) ^ scrolls.c:175:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The enchantment fails."); ^ scrolls.c:180:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("This is an identify scroll."); ^ scrolls.c:197:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel as if someone is watching over you."); ^ scrolls.c:202:26: warning: passing arguments to 'light_area' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = light_area(char_row, char_col); ^ scrolls.c:205:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (k = 0; k < randint(3); k++) ^ scrolls.c:209:28: warning: passing arguments to 'summon_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident |= summon_monster(&y, &x, FALSE); ^ scrolls.c:213:16: warning: passing arguments to 'teleport' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] teleport(10); ^ scrolls.c:217:16: warning: passing arguments to 'teleport' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] teleport(100); ^ scrolls.c:221:37: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dun_level += (-3) + 2*randint(2); ^ scrolls.c:230:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your hands begin to glow."); ^ scrolls.c:240:31: warning: passing arguments to 'sleep_monsters1' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = sleep_monsters1(char_row, char_col); ^ scrolls.c:259:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("This is a mass genocide scroll."); ^ scrolls.c:267:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There is a high pitched humming noise."); ^ scrolls.c:268:32: warning: passing arguments to 'aggravate_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) aggravate_monster(20); ^ scrolls.c:281:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("This is a Recharge-Item scroll."); ^ scrolls.c:283:26: warning: passing arguments to 'recharge' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] used_up = recharge(60); ^ scrolls.c:286:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("This is a genocide scroll."); ^ scrolls.c:291:28: warning: passing arguments to 'unlight_area' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = unlight_area(char_row, char_col); ^ scrolls.c:301:31: warning: passing arguments to 'dispel_creature' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident = dispel_creature(CD_UNDEAD, 60); ^ scrolls.c:307:11: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, i_ptr, FALSE); ^ scrolls.c:309:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ scrolls.c:311:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (k = 0; k < randint(2); k++) ^ scrolls.c:312:18: warning: passing arguments to 'enchant' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (enchant(&i_ptr->tohit, 10)) ^ scrolls.c:319:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (k = 0; k < randint(2); k++) ^ scrolls.c:320:18: warning: passing arguments to 'enchant' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (enchant(&i_ptr->todam, j)) ^ scrolls.c:332:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The enchantment fails."); ^ scrolls.c:340:11: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, i_ptr, FALSE); ^ scrolls.c:342:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ scrolls.c:343:17: warning: passing arguments to 'unmagic_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unmagic_name(i_ptr); ^ scrolls.c:344:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i_ptr->tohit = -randint(5) - randint(5); ^ scrolls.c:344:41: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i_ptr->tohit = -randint(5) - randint(5); ^ scrolls.c:345:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i_ptr->todam = -randint(5) - randint(5); ^ scrolls.c:345:41: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i_ptr->todam = -randint(5) - randint(5); ^ scrolls.c:350:15: warning: passing arguments to 'py_bonuses' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py_bonuses(i_ptr, -1); ^ scrolls.c:373:35: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (k > 0) l = tmp[randint(k)-1]; ^ scrolls.c:405:11: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, i_ptr, FALSE); ^ scrolls.c:407:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ scrolls.c:409:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (k = 0; k < randint(2) + 1; k++) ^ scrolls.c:410:18: warning: passing arguments to 'enchant' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (enchant(&i_ptr->toac, 10)) ^ scrolls.c:422:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The enchantment fails."); ^ scrolls.c:428:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && (randint(4) == 1)) ^ scrolls.c:431:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && (randint(3) ==1)) ^ scrolls.c:434:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && (randint(3) ==1)) ^ scrolls.c:437:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && (randint(3) ==1)) ^ scrolls.c:440:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && (randint(3) ==1)) ^ scrolls.c:443:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && (randint(3) ==1)) ^ scrolls.c:463:11: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, i_ptr, FALSE); ^ scrolls.c:465:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ scrolls.c:466:17: warning: passing arguments to 'unmagic_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unmagic_name(i_ptr); ^ scrolls.c:470:27: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i_ptr->toac = -randint(5) - randint(5); ^ scrolls.c:470:40: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i_ptr->toac = -randint(5) - randint(5); ^ scrolls.c:477:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (k = 0; k < randint(3); k++) ^ scrolls.c:481:27: warning: passing arguments to 'summon_undead' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ident |= summon_undead(&y, &x); ^ scrolls.c:486:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bless(randint(12)+6); ^ scrolls.c:486:13: warning: passing arguments to 'bless' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bless(randint(12)+6); ^ scrolls.c:490:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bless(randint(24)+12); ^ scrolls.c:490:13: warning: passing arguments to 'bless' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bless(randint(24)+12); ^ scrolls.c:494:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bless(randint(48)+24); ^ scrolls.c:494:13: warning: passing arguments to 'bless' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bless(randint(48)+24); ^ scrolls.c:499:38: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.word_recall = 25 + randint(30); ^ scrolls.c:500:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The air about you becomes charged."); ^ scrolls.c:503:20: warning: passing arguments to 'destroy_area' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_area(char_row, char_col); ^ scrolls.c:507:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Internal error in scroll()"); ^ scrolls.c:515:17: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known1_p(i_ptr)) ^ scrolls.c:522:16: warning: passing arguments to 'identify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] identify(&item_val); ^ scrolls.c:526:25: warning: passing arguments to 'known1_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!known1_p(i_ptr)) ^ scrolls.c:527:9: warning: passing arguments to 'sample' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sample (i_ptr); ^ scrolls.c:530:15: warning: passing arguments to 'desc_remain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] desc_remain(item_val); ^ scrolls.c:531:17: warning: passing arguments to 'inven_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_destroy(item_val); ^ 91 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c spells.c In file included from spells.c:17: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from spells.c:17: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ spells.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void monster_name (m_name, m_ptr, r_ptr) ^ In file included from spells.c:17: ./externs.h:1160:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void monster_name(); ^ spells.c:49:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void lower_monster_name (m_name, m_ptr, r_ptr) ^ In file included from spells.c:17: ./externs.h:1161:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void lower_monster_name(); ^ spells.c:82:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((randint(MAX_MONS_LEVEL) < r_ptr->level) || ^ spells.c:88:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:95:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:61:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int sleep_monsters1(y, x) ^ In file included from spells.c:17: ./externs.h:1162:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int sleep_monsters1(); ^ spells.c:114:17: warning: passing arguments to 'test_light' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !test_light(i, j)) ^ spells.c:117:15: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(i, j); ^ spells.c:137:20: warning: passing arguments to 'test_light' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && !test_light(i, j)) ^ spells.c:140:15: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(i, j); ^ spells.c:165:19: warning: passing arguments to 'change_trap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_trap(i, j); ^ spells.c:171:14: warning: passing arguments to 'known2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] known2(t_ptr); ^ spells.c:168:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (t_list[c_ptr->tptr].tval == TV_CHEST) ^ spells.c:194:19: warning: passing arguments to 'change_trap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_trap(i, j); ^ spells.c:203:17: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(i, j); ^ spells.c:198:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (((t_list[c_ptr->tptr].tval == TV_UP_STAIR) || ^ spells.c:224:25: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (panel_contains((int)m_ptr->fy, (int)m_ptr->fx) && ^ spells.c:233:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print((char)c_list[m_ptr->mptr].cchar, (int)m_ptr->fy, ^ spells.c:240:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You sense the presence of invisible creatures!"); ^ spells.c:241:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(CNIL); ^ spells.c:243:16: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures(FALSE); ^ spells.c:257:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are surrounded by a white light."); ^ spells.c:260:15: warning: passing arguments to 'light_room' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] light_room(y, x); ^ spells.c:267:11: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(i, j); ^ spells.c:251:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int light_area(y, x) ^ In file included from spells.c:17: ./externs.h:1168:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int light_area(); ^ spells.c:300:15: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot (i, j); ^ spells.c:301:20: warning: passing arguments to 'test_light' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!test_light(i, j)) ^ spells.c:321:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Darkness surrounds you."); ^ spells.c:274:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int unlight_area(y, x) ^ In file included from spells.c:17: ./externs.h:1169:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int unlight_area(); ^ spells.c:334:30: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = panel_row_min - randint(10); ^ spells.c:335:30: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = panel_row_max + randint(10); ^ spells.c:336:30: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = panel_col_min - randint(20); ^ spells.c:337:30: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] l = panel_col_max + randint(20); ^ spells.c:340:20: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(m, n) && (cave[m][n].fval <= MAX_CAVE_FLOOR)) ^ spells.c:365:15: warning: passing arguments to 'get_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_item(&item_val, "Item you wish identified?", 0, INVEN_ARRAY_SIZE, ^ spells.c:369:15: warning: passing arguments to 'identify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] identify(&item_val); ^ spells.c:371:13: warning: passing arguments to 'known2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] known2(i_ptr); ^ spells.c:372:13: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, i_ptr, TRUE); ^ spells.c:376:51: warning: passing arguments to 'describe_use' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) sprintf (out_val, "%s: %s", describe_use(item_val), tmp_str); ^ spells.c:380:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:405:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You hear a sudden stirring in the distance!"); ^ spells.c:387:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int aggravate_monster (dis_affect) ^ In file included from spells.c:17: ./externs.h:1172:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int aggravate_monster(); ^ spells.c:430:28: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(i, j); ^ spells.c:431:30: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_trap(i, j, randint(MAX_TRAP)-1); ^ spells.c:431:16: warning: passing arguments to 'place_trap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_trap(i, j, randint(MAX_TRAP)-1); ^ spells.c:435:15: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(i, j); ^ spells.c:459:23: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(i, j); ^ spells.c:463:15: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[k], OBJ_CLOSED_DOOR); ^ spells.c:464:17: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(i, j); ^ spells.c:489:20: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (delete_object(i, j)) ^ spells.c:498:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("You have disarmed the chest."); ^ spells.c:499:9: warning: passing arguments to 'known2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] known2(&t_list[c_ptr->tptr]); ^ spells.c:521:25: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (panel_contains((int)m_ptr->fy, (int)m_ptr->fx) && ^ spells.c:530:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print((char)c_list[m_ptr->mptr].cchar, (int)m_ptr->fy, ^ spells.c:537:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You sense the presence of monsters!"); ^ spells.c:538:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(CNIL); ^ spells.c:540:16: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures(FALSE); ^ spells.c:575:23: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (panel_contains(y, x)) ^ spells.c:576:17: warning: passing arguments to 'light_room' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] light_room(y, x); ^ spells.c:579:12: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(y, x); ^ spells.c:588:19: warning: passing arguments to 'update_mon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_mon ((int)c_ptr->cptr); ^ spells.c:594:47: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = mon_take_hit((int)c_ptr->cptr, damroll(2, 8)); ^ spells.c:594:21: warning: passing arguments to 'mon_take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = mon_take_hit((int)c_ptr->cptr, damroll(2, 8)); ^ spells.c:599:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:606:19: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (out_val); ^ spells.c:611:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:548:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void light_line(dir, y, x) ^ In file included from spells.c:17: ./externs.h:1177:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void light_line(); ^ spells.c:624:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The end of the staff bursts into a blue shimmering light."); ^ spells.c:618:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void starlite(y, x) ^ In file included from spells.c:17: ./externs.h:1178:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void starlite(); ^ spells.c:653:25: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (delete_object(y, x)) ^ spells.c:661:19: warning: passing arguments to 'change_trap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_trap(y, x); ^ spells.c:666:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Click!"); ^ spells.c:670:14: warning: passing arguments to 'known2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] known2(t_ptr); ^ spells.c:673:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:632:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int disarm_all(dir, y, x) ^ In file included from spells.c:17: ./externs.h:1179:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int disarm_all(); ^ spells.c:724:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("ERROR in get_flags()\n"); ^ spells.c:681:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void get_flags(typ, weapon_type, harm_type, destroy) ^ In file included from spells.c:17: ./externs.h:1180:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void get_flags(); ^ spells.c:749:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:752:16: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(oldy, oldx); ^ spells.c:767:19: warning: passing arguments to 'update_mon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_mon ((int)c_ptr->cptr); ^ spells.c:774:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:788:24: warning: passing arguments to 'mon_take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = mon_take_hit((int)c_ptr->cptr, dam); ^ spells.c:793:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:799:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (out_val); ^ spells.c:802:27: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (panel_contains(y, x) && (py.flags.blind < 1)) ^ spells.c:804:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print('*', y, x); ^ spells.c:730:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void fire_bolt(typ, dir, y, x, dam, bolt_typ) ^ In file included from spells.c:17: ./externs.h:1181:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void fire_bolt(); ^ spells.c:842:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:844:16: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(oldy, oldx); ^ spells.c:862:18: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(i, j) && (distance(y, x, i, j) <= max_dis) ^ spells.c:862:37: warning: passing arguments to 'distance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(i, j) && (distance(y, x, i, j) <= max_dis) ^ spells.c:863:15: warning: passing arguments to 'los' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && los(y, x, i, j)) ^ spells.c:867:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*destroy)(&t_list[c_ptr->tptr])) ^ spells.c:868:24: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(i, j); ^ spells.c:880:20: warning: passing arguments to 'update_mon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_mon((int)c_ptr->cptr); ^ spells.c:896:30: warning: passing arguments to 'distance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dam = (dam/(distance(i, j, y, x)+1)); ^ spells.c:897:26: warning: passing arguments to 'mon_take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = mon_take_hit((int)c_ptr->cptr, dam); ^ spells.c:902:29: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (panel_contains(i, j) &&(py.flags.blind < 1)) ^ spells.c:903:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print('*', i, j); ^ spells.c:911:18: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(i, j) && panel_contains(i, j) && ^ spells.c:911:42: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(i, j) && panel_contains(i, j) && ^ spells.c:912:18: warning: passing arguments to 'distance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (distance(y, x, i, j) <= max_dis)) ^ spells.c:913:16: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(i, j); ^ spells.c:921:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:928:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:931:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There is a scream of agony!"); ^ spells.c:933:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There are several screams of agony!"); ^ spells.c:938:27: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (panel_contains(y, x) && (py.flags.blind < 1)) ^ spells.c:940:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print('*', y, x); ^ spells.c:818:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void fire_ball(typ, dir, y, x, dam_hp, descrip) ^ In file included from spells.c:17: ./externs.h:1182:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void fire_ball(); ^ spells.c:975:20: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(i, j) && (distance(y, x, i, j) <= max_dis) ^ spells.c:975:39: warning: passing arguments to 'distance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(i, j) && (distance(y, x, i, j) <= max_dis) ^ spells.c:976:10: warning: passing arguments to 'los' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && los(y, x, i, j)) ^ spells.c:980:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*destroy)(&t_list[c_ptr->tptr])) ^ spells.c:981:26: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(i, j); ^ spells.c:987:26: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (panel_contains(i, j) && !(py.flags.status & PY_BLIND)) ^ spells.c:988:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print('*', i, j); ^ spells.c:998:25: warning: passing arguments to 'distance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dam = (dam/(distance(i, j, y, x)+1)); ^ spells.c:1005:30: warning: passing arguments to 'monster_death' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] treas = monster_death((int)m_ptr->fy, (int)m_ptr->fx, ^ spells.c:1029:18: warning: passing arguments to 'delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_monster((int) c_ptr->cptr); ^ spells.c:1034:23: warning: passing arguments to 'fix1_delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fix1_delete_monster((int) c_ptr->cptr); ^ spells.c:1039:28: warning: passing arguments to 'distance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dam = (dam_hp/(distance(i, j, y, x)+1)); ^ spells.c:1046:35: warning: passing arguments to 'light_dam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case GF_LIGHTNING: light_dam(dam, ddesc); break; ^ spells.c:1047:37: warning: passing arguments to 'poison_gas' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case GF_POISON_GAS: poison_gas(dam, ddesc); break; ^ spells.c:1048:29: warning: passing arguments to 'acid_dam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case GF_ACID: acid_dam(dam, ddesc); break; ^ spells.c:1049:30: warning: passing arguments to 'cold_dam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case GF_FROST: cold_dam(dam, ddesc); break; ^ spells.c:1050:29: warning: passing arguments to 'fire_dam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case GF_FIRE: fire_dam(dam, ddesc); break; ^ spells.c:1060:20: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(i, j) && panel_contains(i, j) && ^ spells.c:1060:44: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(i, j) && panel_contains(i, j) && ^ spells.c:1061:13: warning: passing arguments to 'distance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (distance(y, x, i, j) <= max_dis)) ^ spells.c:1062:11: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(i, j); ^ spells.c:954:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void breath(typ, y, x, dam_hp, ddesc, monptr) ^ In file included from spells.c:17: ./externs.h:1183:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void breath(); ^ spells.c:1075:18: warning: passing arguments to 'find_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!find_range(TV_STAFF, TV_WAND, &i, &j)) ^ spells.c:1076:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have nothing to recharge."); ^ spells.c:1077:20: warning: passing arguments to 'get_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (get_item(&item_val, "Recharge which item?", i, j, CNIL, CNIL)) ^ spells.c:1090:14: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint (i/10); ^ spells.c:1094:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There is a bright flash of light."); ^ spells.c:1095:17: warning: passing arguments to 'inven_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_destroy(item_val); ^ spells.c:1100:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i_ptr->p1 += 2 + randint(num); ^ spells.c:1101:16: warning: passing arguments to 'known2_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (known2_p(i_ptr)) ^ spells.c:1102:18: warning: passing arguments to 'clear_known2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_known2(i_ptr); ^ spells.c:1103:15: warning: passing arguments to 'clear_empty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_empty(i_ptr); ^ spells.c:1067:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int recharge(num) ^ In file included from spells.c:17: ./externs.h:1184:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int recharge(); ^ spells.c:1126:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:1138:20: warning: passing arguments to 'mon_take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = mon_take_hit((int)c_ptr->cptr, dam); ^ spells.c:1142:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1148:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1111:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int hp_monster(dir, y, x, dam) ^ In file included from spells.c:17: ./externs.h:1185:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int hp_monster(); ^ spells.c:1173:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:1187:24: warning: passing arguments to 'mon_take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = mon_take_hit((int)c_ptr->cptr, 75); ^ spells.c:1191:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1197:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1158:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int drain_life(dir, y, x) ^ In file included from spells.c:17: ./externs.h:1186:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int drain_life(); ^ spells.c:1225:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:1241:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (out_val); ^ spells.c:1244:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (randint(MAX_MONS_LEVEL) > r_ptr->level) ^ spells.c:1249:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (out_val); ^ spells.c:1256:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1211:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int speed_monster(dir, y, x, spd) ^ In file included from spells.c:17: ./externs.h:1187:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int speed_monster(); ^ spells.c:1280:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:1291:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((randint(MAX_MONS_LEVEL) < r_ptr->level) || ^ spells.c:1301:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1308:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m_ptr->confused = 2 + randint(16); ^ spells.c:1312:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1266:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int confuse_monster(dir, y, x) ^ In file included from spells.c:17: ./externs.h:1188:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int confuse_monster(); ^ spells.c:1336:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:1347:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((randint(MAX_MONS_LEVEL) < r_ptr->level) || ^ spells.c:1353:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1360:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1322:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int sleep_monster(dir, y, x) ^ In file included from spells.c:17: ./externs.h:1189:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int sleep_monster(); ^ spells.c:1386:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:1395:16: warning: passing arguments to 'twall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) twall(y, x, 1, 0); ^ spells.c:1396:18: warning: passing arguments to 'test_light' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_light(y, x)) ^ spells.c:1398:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The wall turns into mud."); ^ spells.c:1405:22: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (panel_contains(y, x) && test_light(y, x)) ^ spells.c:1405:42: warning: passing arguments to 'test_light' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (panel_contains(y, x) && test_light(y, x)) ^ spells.c:1407:14: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, &t_list[c_ptr->tptr], FALSE); ^ spells.c:1409:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1414:23: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(y, x); ^ spells.c:1415:14: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(10) == 1) ^ spells.c:1417:19: warning: passing arguments to 'place_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_object(y, x, FALSE); ^ spells.c:1418:21: warning: passing arguments to 'test_light' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_light(y, x)) ^ spells.c:1419:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have found something!"); ^ spells.c:1421:12: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(y, x); ^ spells.c:1423:33: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else (void) delete_object(y, x); ^ spells.c:1432:24: warning: passing arguments to 'mon_take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = mon_take_hit((int)c_ptr->cptr, 100); ^ spells.c:1439:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1446:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1370:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int wall_to_mud(dir, y, x) ^ In file included from spells.c:17: ./externs.h:1190:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int wall_to_mud(); ^ spells.c:1469:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:1480:25: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (delete_object(y, x)) ^ spells.c:1482:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There is a bright flash of light!"); ^ spells.c:1488:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Click!"); ^ spells.c:1492:14: warning: passing arguments to 'known2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] known2(t_ptr); ^ spells.c:1458:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int td_destroy2(dir, y, x) ^ In file included from spells.c:17: ./externs.h:1191:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int td_destroy2(); ^ spells.c:1517:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:1526:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(MAX_MONS_LEVEL) > r_ptr->level) ^ spells.c:1529:22: warning: passing arguments to 'delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_monster((int)c_ptr->cptr); ^ spells.c:1532:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] randint(m_level[MAX_MONS_LEVEL]-m_level[0]) ^ spells.c:1531:28: warning: passing arguments to 'place_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] poly = place_monster(y, x, ^ spells.c:1535:34: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (poly && panel_contains(y, x) && (c_ptr->tl || c_ptr->pl)) ^ spells.c:1542:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1503:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int poly_monster(dir, y, x) ^ In file included from spells.c:17: ./externs.h:1192:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int poly_monster(); ^ spells.c:1570:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:1578:26: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(y, x); ^ spells.c:1596:24: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] damage = damroll (4, 8); ^ spells.c:1600:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (out_val); ^ spells.c:1601:21: warning: passing arguments to 'mon_take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = mon_take_hit((int)c_ptr->cptr, damage); ^ spells.c:1606:19: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (out_val); ^ spells.c:1614:25: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m_ptr->hp += damroll(4, 8); ^ spells.c:1621:13: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(y, x); ^ spells.c:1552:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int build_wall(dir, y, x) ^ In file included from spells.c:17: ./externs.h:1193:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int build_wall(); ^ spells.c:1642:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:1651:27: warning: passing arguments to 'multiply_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return multiply_monster(y, x, (int)m_list[c_ptr->cptr].mptr, 0); ^ spells.c:1632:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int clone_monster(dir, y, x) ^ In file included from spells.c:17: ./externs.h:1194:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int clone_monster(); ^ spells.c:1672:29: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yn = m_ptr->fy + (randint(2*dis+1) - (dis + 1)); ^ spells.c:1673:29: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xn = m_ptr->fx + (randint(2*dis+1) - (dis + 1)); ^ spells.c:1675:24: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (!in_bounds(yn, xn)); ^ spells.c:1684:11: warning: passing arguments to 'move_rec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_rec((int)m_ptr->fy, (int)m_ptr->fx, yn, xn); ^ spells.c:1685:12: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot((int)m_ptr->fy, (int)m_ptr->fx); ^ spells.c:1691:26: warning: passing arguments to 'distance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m_ptr->cdis = distance (char_row, char_col, yn, xn); ^ spells.c:1692:14: warning: passing arguments to 'update_mon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_mon (monptr); ^ spells.c:1660:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void teleport_away(monptr, dis) ^ In file included from spells.c:17: ./externs.h:1195:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void teleport_away(); ^ spells.c:1708:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] y = ny + (randint(2*dis+1) - (dis + 1)); ^ spells.c:1709:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x = nx + (randint(2*dis+1) - (dis + 1)); ^ spells.c:1717:20: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (!in_bounds(y, x) || (cave[y][x].fval >= MIN_CLOSED_SPACE) ^ spells.c:1719:11: warning: passing arguments to 'move_rec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_rec(char_row, char_col, y, x); ^ spells.c:1725:11: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(i, j); ^ spells.c:1727:12: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(char_row, char_col); ^ spells.c:1732:12: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures(FALSE); ^ spells.c:1697:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void teleport_to(ny, nx) ^ In file included from spells.c:17: ./externs.h:1196:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void teleport_to(); ^ spells.c:1748:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ spells.c:1737:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int teleport_monster(dir, y, x) ^ In file included from spells.c:17: ./externs.h:1197:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int teleport_monster(); ^ spells.c:1788:18: warning: passing arguments to 'delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_monster(i); ^ spells.c:1810:14: warning: passing arguments to 'get_com' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_com("Which type of creature do you wish exterminated?", &typ)) ^ spells.c:1822:22: warning: passing arguments to 'delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_monster(i); ^ spells.c:1831:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1825:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ spells.c:1856:8: warning: passing arguments to 'los' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !los(char_row, char_col, (int)m_ptr->fy, (int)m_ptr->fx)) ^ spells.c:1867:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (out_val); ^ spells.c:1870:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (randint(MAX_MONS_LEVEL) > r_ptr->level) ^ spells.c:1877:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (out_val); ^ spells.c:1885:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1840:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int speed_monsters(spd) ^ In file included from spells.c:17: ./externs.h:1200:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int speed_monsters(); ^ spells.c:1907:8: warning: passing arguments to 'los' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !los(char_row, char_col, (int)m_ptr->fy, (int)m_ptr->fx)) ^ spells.c:1910:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((randint(MAX_MONS_LEVEL) < r_ptr->level) || ^ spells.c:1918:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1927:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:1963:22: warning: passing arguments to 'delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_monster(i); ^ spells.c:1966:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] randint(m_level[MAX_MONS_LEVEL]-m_level[0]) ^ spells.c:1965:28: warning: passing arguments to 'place_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mass = place_monster(y, x, ^ spells.c:1985:25: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (panel_contains((int)m_ptr->fy, (int)m_ptr->fx) && ^ spells.c:1990:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print((char)c_list[m_ptr->mptr].cchar, (int)m_ptr->fy, ^ spells.c:1997:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You sense the presence of evil!"); ^ spells.c:1998:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(CNIL); ^ spells.c:2000:16: warning: passing arguments to 'creatures' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creatures(FALSE); ^ spells.c:2027:25: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (num == 0) msg_print("You feel a little better."); ^ spells.c:2028:22: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else msg_print("You feel better."); ^ spells.c:2030:24: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (num < 7) msg_print("You feel much better."); ^ spells.c:2031:21: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else msg_print("You feel very good."); ^ spells.c:2007:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int hp_player(num) ^ In file included from spells.c:17: ./externs.h:1204:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int hp_player(); ^ spells.c:2125:13: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] in_bounds(i, j) && (randint(8) == 1)) ^ spells.c:2125:31: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] in_bounds(i, j) && (randint(8) == 1)) ^ spells.c:2129:26: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(i, j); ^ spells.c:2144:24: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] damage = damroll (4, 8); ^ spells.c:2148:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (out_val); ^ spells.c:2149:21: warning: passing arguments to 'mon_take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = mon_take_hit((int)c_ptr->cptr, damage); ^ spells.c:2154:19: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (out_val); ^ spells.c:2162:25: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m_ptr->hp += damroll(4, 8); ^ spells.c:2174:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(10); ^ spells.c:2184:13: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(i, j); ^ spells.c:2200:29: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f_ptr->protevil += randint(25) + 3*py.misc.lev; ^ spells.c:2214:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("There is already an object under you."); ^ spells.c:2220:19: warning: passing arguments to 'place_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_object(char_row, char_col, FALSE); ^ spells.c:2221:14: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[c_ptr->tptr], OBJ_MUSH); ^ spells.c:2244:7: warning: passing arguments to 'los' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] los(char_row, char_col, (int)m_ptr->fy, (int)m_ptr->fx)) ^ spells.c:2249:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = mon_take_hit (i, randint(damage)); ^ spells.c:2249:21: warning: passing arguments to 'mon_take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = mon_take_hit (i, randint(damage)); ^ spells.c:2256:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:2228:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int dispel_creature(cflag, damage) ^ In file included from spells.c:17: ./externs.h:1212:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int dispel_creature(); ^ spells.c:2281:8: warning: passing arguments to 'los' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (los(char_row, char_col, (int)m_ptr->fy, (int)m_ptr->fx))) ^ spells.c:2285:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (randint(5) == 1)) ^ spells.c:2290:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:2299:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ spells.c:2318:14: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[i], OBJ_SCARE_MON); ^ spells.c:2328:23: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat (A_STR); ^ spells.c:2329:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel very sick."); ^ spells.c:2332:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel sick for a moment, it passes."); ^ spells.c:2341:22: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat(A_INT); ^ spells.c:2342:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You become very dizzy."); ^ spells.c:2345:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You become dizzy for a moment, it passes."); ^ spells.c:2354:22: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat(A_WIS); ^ spells.c:2355:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel very naive."); ^ spells.c:2358:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel naive for a moment, it passes."); ^ spells.c:2367:22: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat(A_DEX); ^ spells.c:2368:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel very sore."); ^ spells.c:2371:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel sore for a moment, it passes."); ^ spells.c:2380:22: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat(A_CON); ^ spells.c:2381:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel very sick."); ^ spells.c:2384:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel sick for a moment, it passes."); ^ spells.c:2393:22: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat(A_CHR); ^ spells.c:2394:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your skin starts to itch."); ^ spells.c:2397:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your skin starts to itch, but feels better now."); ^ spells.c:2430:15: warning: passing arguments to 'calc_spells' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_spells(A_INT); ^ spells.c:2431:13: warning: passing arguments to 'calc_mana' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_mana(A_INT); ^ spells.c:2435:15: warning: passing arguments to 'calc_spells' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_spells(A_WIS); ^ spells.c:2436:13: warning: passing arguments to 'calc_mana' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_mana(A_WIS); ^ spells.c:2402:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void lose_exp(amount) ^ In file included from spells.c:17: ./externs.h:1221:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void lose_exp(); ^ spells.c:2457:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The effect of the poison has been reduced."); ^ spells.c:2464:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void bless(amount) ^ In file included from spells.c:17: ./externs.h:1223:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void bless(); ^ spells.c:2472:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void detect_inv2(amount) ^ In file included from spells.c:17: ./externs.h:1224:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void detect_inv2(); ^ spells.c:2504:25: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(y, x); ^ spells.c:2506:19: warning: passing arguments to 'delete_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_monster((int)c_ptr->cptr); ^ spells.c:2479:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void replace_spot(y, x, typ) ^ spells.c:30:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void replace_spot(); ^ spells.c:2523:17: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(i, j) && (cave[i][j].fval != BOUNDARY_WALL)) ^ spells.c:2525:20: warning: passing arguments to 'distance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = distance(i, j, y, x); ^ spells.c:2529:29: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] replace_spot(i, j, randint(6)); ^ spells.c:2531:29: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] replace_spot(i, j, randint(9)); ^ spells.c:2534:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There is a searing blast of light!"); ^ spells.c:2535:33: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.blind += 10 + randint(10); ^ spells.c:2514:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void destroy_area(y, x) ^ In file included from spells.c:17: ./externs.h:1225:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void destroy_area(); ^ spells.c:2554:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(100) == 1) /* very rarely allow enchantment over limit */ ^ spells.c:2555:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chance = randint(chance) - 1; ^ spells.c:2557:14: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(limit) > chance) ^ spells.c:2540:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int enchant(plusses, limit) ^ In file included from spells.c:17: ./externs.h:1226:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int enchant(); ^ spells.c:2609:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel your life energies returning."); ^ 364 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c wizard.c In file included from wizard.c:17: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from wizard.c:17: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ wizard.c:32:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] long atol(); ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here long atol(const char *); ^ wizard.c:70:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("(3 - 118) Strength = ", 0, 0); ^ wizard.c:71:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, 25, 3)) ^ wizard.c:77:19: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) res_stat(A_STR); ^ wizard.c:83:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("(3 - 118) Intelligence = ", 0, 0); ^ wizard.c:84:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, 25, 3)) ^ wizard.c:90:19: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) res_stat(A_INT); ^ wizard.c:96:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("(3 - 118) Wisdom = ", 0, 0); ^ wizard.c:97:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, 25, 3)) ^ wizard.c:103:19: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) res_stat(A_WIS); ^ wizard.c:109:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("(3 - 118) Dexterity = ", 0, 0); ^ wizard.c:110:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, 25, 3)) ^ wizard.c:116:19: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) res_stat(A_DEX); ^ wizard.c:122:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("(3 - 118) Constitution = ", 0, 0); ^ wizard.c:123:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, 25, 3)) ^ wizard.c:129:19: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) res_stat(A_CON); ^ wizard.c:135:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("(3 - 118) Charisma = ", 0, 0); ^ wizard.c:136:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, 25, 3)) ^ wizard.c:142:19: warning: passing arguments to 'res_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) res_stat(A_CHR); ^ wizard.c:149:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("(1 - 32767) Hit points = ", 0, 0); ^ wizard.c:150:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, 25, 5)) ^ wizard.c:165:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("(0 - 32767) Mana = ", 0, 0); ^ wizard.c:166:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, 25, 5)) ^ wizard.c:182:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(tmp_str, 0, 0); ^ wizard.c:183:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, tmp_val, 7)) ^ wizard.c:197:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(tmp_str, 0, 0); ^ wizard.c:198:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, tmp_val, 3)) ^ wizard.c:209:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(tmp_str, 0, 0); ^ wizard.c:210:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, tmp_val, 3)) ^ wizard.c:221:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(tmp_str, 0, 0); ^ wizard.c:222:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, tmp_val, 3)) ^ wizard.c:233:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(tmp_str, 0, 0); ^ wizard.c:234:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, tmp_val, 3)) ^ wizard.c:245:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(tmp_str, 0, 0); ^ wizard.c:246:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, tmp_val, 3)) ^ wizard.c:258:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(tmp_str, 0, 0); ^ wizard.c:259:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, tmp_val, 3)) ^ wizard.c:270:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(tmp_str, 0, 0); ^ wizard.c:271:17: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(tmp_str, 0, tmp_val, 3)) ^ wizard.c:280:16: warning: passing arguments to 'get_com' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while(get_com("Alter speed? (+/-)", tmp_str)) ^ wizard.c:283:14: warning: passing arguments to 'change_speed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_speed(-1); ^ wizard.c:285:14: warning: passing arguments to 'change_speed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_speed(1); ^ wizard.c:304:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Warning: This routine can cause a fatal error."); ^ wizard.c:308:11: warning: passing arguments to 'inscribe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inscribe(i_ptr, "wizard item"); ^ wizard.c:311:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Tval : ", 0, 0); ^ wizard.c:312:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 9, 3)) ^ wizard.c:317:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Tchar : ", 0, 0); ^ wizard.c:318:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 9, 1)) ^ wizard.c:322:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Subval : ", 0, 0); ^ wizard.c:323:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 9, 5)) ^ wizard.c:328:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Weight : ", 0, 0); ^ wizard.c:329:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 9, 5)) ^ wizard.c:334:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Number : ", 0, 0); ^ wizard.c:335:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 9, 5)) ^ wizard.c:340:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Damage (dice): ", 0, 0); ^ wizard.c:341:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 15, 3)) ^ wizard.c:346:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Damage (sides): ", 0, 0); ^ wizard.c:347:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 16, 3)) ^ wizard.c:352:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("+To hit: ", 0, 0); ^ wizard.c:353:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 9, 3)) ^ wizard.c:358:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("+To dam: ", 0, 0); ^ wizard.c:359:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 9, 3)) ^ wizard.c:364:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("AC : ", 0, 0); ^ wizard.c:365:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 9, 3)) ^ wizard.c:370:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("+To AC : ", 0, 0); ^ wizard.c:371:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 9, 3)) ^ wizard.c:376:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("P1 : ", 0, 0); ^ wizard.c:377:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 9, 5)) ^ wizard.c:382:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Flags (In HEX): ", 0, 0); ^ wizard.c:383:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 16, 8)) ^ wizard.c:391:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Cost : ", 0, 0); ^ wizard.c:392:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 9, 8)) ^ wizard.c:397:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Level : ", 0, 0); ^ wizard.c:398:18: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(tmp_str, 0, 10, 3)) ^ wizard.c:403:16: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_check("Allocate?")) ^ wizard.c:408:22: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(char_row, char_col); ^ wizard.c:413:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Allocated."); ^ wizard.c:416:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Aborted."); ^ 80 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c store2.c In file included from store2.c:17: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from store2.c:17: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ store2.c:57:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] long atol(); ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here long atol(const char *); ^ store2.c:149:29: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(comment1[randint(14)-1]); ^ store2.c:149:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(comment1[randint(14)-1]); ^ store2.c:160:45: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) strcpy(comment, comment2a[randint(3)-1]); ^ store2.c:162:45: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) strcpy(comment, comment2b[randint(16)-1]); ^ store2.c:164:14: warning: passing arguments to 'insert_lnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insert_lnum(comment, "%A1", offer, FALSE); ^ store2.c:165:14: warning: passing arguments to 'insert_lnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insert_lnum(comment, "%A2", asking, FALSE); ^ store2.c:166:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(comment); ^ store2.c:154:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void prt_comment2(offer, asking, final) ^ store2.c:176:46: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) strcpy (comment, comment3a[randint(3)-1]); ^ store2.c:178:46: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) strcpy (comment, comment3b[randint(15)-1]); ^ store2.c:180:14: warning: passing arguments to 'insert_lnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insert_lnum(comment, "%A1", offer, FALSE); ^ store2.c:181:14: warning: passing arguments to 'insert_lnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insert_lnum(comment, "%A2", asking, FALSE); ^ store2.c:182:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(comment); ^ store2.c:170:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void prt_comment3(offer, asking, final) ^ store2.c:191:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = randint(5) - 1; ^ store2.c:192:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(comment4a[tmp]); ^ store2.c:193:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(comment4b[tmp]); ^ store2.c:199:29: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(comment5[randint(10)-1]); ^ store2.c:199:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(comment5[randint(10)-1]); ^ store2.c:205:30: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (comment6[randint(5)-1]); ^ store2.c:205:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (comment6[randint(5)-1]); ^ store2.c:212:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("You may:", 20, 0); ^ store2.c:213:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(" p) Purchase an item. b) Browse store's inventory.", 21, 0); ^ store2.c:214:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(" s) Sell an item. i/e/t/w/x) Inventory/Equipment Lists.", ^ store2.c:216:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("ESC) Exit from Building. ^R) Redraw the screen.", 23, 0); ^ store2.c:225:8: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Specify an asking-price in gold pieces.", 21, 0); ^ store2.c:227:8: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Specify an offer in gold pieces.", 21, 0); ^ store2.c:228:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("ESC) Quit Haggling.", 22, 0); ^ store2.c:229:14: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (23, 0); /* clear last line */ ^ store2.c:221:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void haggle_commands(typ) ^ store2.c:254:13: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(out_val1, i_ptr, TRUE); ^ store2.c:257:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(out_val2, i+5, 0); ^ store2.c:269:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(out_val2, i+5, 59); ^ store2.c:275:18: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (j+i+5, 0); /* clear remaining lines */ ^ store2.c:277:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("- cont. -", 17, 60); ^ store2.c:279:16: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (17, 60); ^ store2.c:234:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void display_inventory(store_num, start) ^ store2.c:302:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(out_val, i+5, 59); ^ store2.c:284:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void display_cost(store_num, pos) ^ store2.c:312:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(out_val, 18, 17); ^ store2.c:324:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(owners[s_ptr->owner].owner_name, 3, 9); ^ store2.c:325:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Item", 4, 3); ^ store2.c:326:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("Asking Price", 4, 60); ^ store2.c:317:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void display_store(store_num, cur_top) ^ store2.c:346:17: warning: passing arguments to 'get_com' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (get_com(out_val, &command)) ^ store2.c:357:13: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(MSG_LINE, 0); ^ store2.c:334:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int get_store_item(com_val, pmt, i, j) ^ store2.c:377:48: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s_ptr->store_open = turn + 2500 + randint(2500); ^ store2.c:363:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int increase_insults(store_num) ^ store2.c:385:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void decrease_insults(store_num) ^ store2.c:408:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (CNIL); /* keep insult separate from rest of haggle */ ^ store2.c:397:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int haggle_insults(store_num) ^ store2.c:435:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(comment, 0, 0); ^ store2.c:441:8: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt (default_offer, 0, orig_clen); ^ store2.c:444:22: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_string(out_val, 0, clen, 40)) ^ store2.c:473:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You haven't even made your first offer yet!"); ^ store2.c:487:16: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (0, 0); ^ store2.c:414:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int get_haggle(comment, new_offer, num_offer) ^ store2.c:492:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int receive_offer(store_num, comment, new_offer, last_offer, ^ store2.c:556:20: warning: passing arguments to 'sell_price' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cost = sell_price(store_num, &max_sell, &min_sell, item); ^ store2.c:576:22: warning: passing arguments to 'noneedtobargain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (noneedtobargain(store_num, final_ask)) ^ store2.c:578:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("After a long bargaining session, you agree upon the price."); ^ store2.c:595:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(out_val, 1, 0); ^ store2.c:637:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x2 = x1 + randint(5) - 3; ^ store2.c:669:19: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (1, 0); ^ store2.c:671:18: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(out_val, 1, 39); ^ store2.c:685:18: warning: passing arguments to 'updatebargain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] updatebargain(store_num, *price, final_ask); ^ store2.c:532:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int purchase_haggle(store_num, price, item) ^ store2.c:716:20: warning: passing arguments to 'item_value' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cost = item_value(item); ^ store2.c:751:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("I am sorry, but I have not the money to afford such \ ^ store2.c:764:30: warning: passing arguments to 'noneedtobargain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (noneedtobargain(store_num, final_ask)) ^ store2.c:766:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("After a long bargaining session, you agree upon \ ^ store2.c:788:18: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(out_val, 1, 0); ^ store2.c:830:25: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x2 = x1 + randint(5) - 3; ^ store2.c:862:16: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (1, 0); ^ store2.c:864:15: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(out_val, 1, 39); ^ store2.c:879:18: warning: passing arguments to 'updatebargain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] updatebargain(store_num, *price, final_ask); ^ store2.c:692:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sell_haggle(store_num, price, item) ^ store2.c:908:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("I am currently out of stock."); ^ store2.c:914:20: warning: passing arguments to 'take_one_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_one_item(&sell_obj, &s_ptr->store_inven[item_val].sitem); ^ store2.c:915:26: warning: passing arguments to 'inven_check_num' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (inven_check_num(&sell_obj)) ^ store2.c:931:27: warning: passing arguments to 'inven_carry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] item_new = inven_carry(&sell_obj); ^ store2.c:933:18: warning: passing arguments to 'store_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_destroy(store_num, item_val, TRUE); ^ store2.c:934:11: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, &inventory[item_new], TRUE); ^ store2.c:937:8: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(out_val, 0, 0); ^ store2.c:967:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Liar! You have not the gold!"); ^ store2.c:976:15: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (1, 0); ^ store2.c:979:5: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("You cannot carry that many different items.", 0, 0); ^ store2.c:886:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int store_purchase(store_num, cur_top) ^ store2.c:1005:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flag = (*store_buy[store_num])(inventory[counter].tval); ^ store2.c:1017:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have nothing to sell to this store!"); ^ store2.c:1018:20: warning: passing arguments to 'get_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (get_item(&item_val, "Which one? ", first_item, last_item, mask, ^ store2.c:1021:20: warning: passing arguments to 'take_one_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_one_item(&sold_obj, &inventory[item_val]); ^ store2.c:1022:13: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, &sold_obj, TRUE); ^ store2.c:1024:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ store2.c:1025:26: warning: passing arguments to 'store_check_num' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (store_check_num(&sold_obj, store_num)) ^ store2.c:1034:16: warning: passing arguments to 'identify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] identify(&item_val); ^ store2.c:1036:21: warning: passing arguments to 'take_one_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_one_item(&sold_obj, &inventory[item_val]); ^ store2.c:1038:14: warning: passing arguments to 'known2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] known2(&sold_obj); ^ store2.c:1039:21: warning: passing arguments to 'inven_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_destroy(item_val); ^ store2.c:1040:14: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, &sold_obj, TRUE); ^ store2.c:1042:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ store2.c:1043:19: warning: passing arguments to 'store_carry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_carry(store_num, &item_pos, &sold_obj); ^ store2.c:1069:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("How dare you!"); ^ store2.c:1070:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("I will not buy that!"); ^ store2.c:1074:15: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (1, 0); ^ store2.c:1078:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("I have not the room in my store to keep it."); ^ store2.c:986:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int store_sell(store_num, cur_top) ^ store2.c:1101:16: warning: passing arguments to 'move_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_cursor (20, 9); ^ store2.c:1104:15: warning: passing arguments to 'get_com' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_com(CNIL, &command)) ^ store2.c:1116:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Entire inventory is shown."); ^ store2.c:1131:22: warning: passing arguments to 'inven_command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_command(command); ^ store2.c:1159:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The doors are locked."); ^ store2.c:1085:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void enter_store(store_num) ^ In file included from store2.c:17: ./externs.h:1245:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void enter_store(); ^ 118 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c signals.c In file included from signals.c:60: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from signals.c:60: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ signals.c:114:18: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_check("Really commit *Suicide*?")) ^ signals.c:117:10: warning: passing arguments to 'disturb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disturb(1, 0); ^ signals.c:118:18: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(0, 0); ^ signals.c:123:13: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer(" -more-", MSG_LINE, 0); ^ signals.c:131:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Interrupt!", 0, 0); ^ signals.c:136:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt( ^ signals.c:142:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Your guardian angel is trying to save you.", 0, 0); ^ signals.c:154:24: warning: passing arguments to '_save_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) _save_char(savefile); /* Quietly save the memory anyway. */ ^ signals.c:91:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void signal_handler(sig) ^ 11 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c moria1.c In file included from moria1.c:19: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from moria1.c:19: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ moria1.c:48:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void change_speed(num) ^ In file included from moria1.c:19: ./externs.h:1010:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void change_speed(); ^ moria1.c:86:12: warning: passing arguments to 'bst_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bst_stat(i, amount); ^ moria1.c:72:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void py_bonuses(t_ptr, factor) ^ In file included from moria1.c:19: ./externs.h:1011:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void py_bonuses(); ^ moria1.c:170:16: warning: passing arguments to 'known2_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (known2_p(i_ptr)) ^ moria1.c:333:10: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_val, &inventory[i], TRUE); ^ moria1.c:355:9: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(&out_val[i][2], current_line, col); ^ moria1.c:357:9: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(out_val[i], current_line, col); ^ moria1.c:363:12: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt (tmp_val, current_line, 71); ^ moria1.c:313:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int show_inven(r1, r2, weight, col, mask) ^ In file included from moria1.c:19: ./externs.h:1013:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int show_inven(); ^ moria1.c:373:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *describe_use(i) ^ In file included from moria1.c:19: ./externs.h:1014:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *describe_use(); ^ moria1.c:467:10: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(prt2, &inventory[i], TRUE); ^ moria1.c:491:9: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(&out_val[line][2], line+1, col); ^ moria1.c:493:9: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(out_val[line], line+1, col); ^ moria1.c:499:11: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(prt2, line+1, 71); ^ moria1.c:504:13: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(line+1, col); ^ moria1.c:413:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int show_equip(weight, col) ^ In file included from moria1.c:19: ./externs.h:1015:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int show_equip(); ^ moria1.c:535:9: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(prt2, t_ptr, TRUE); ^ moria1.c:540:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria1.c:543:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(t_ptr, OBJ_NOTHING); ^ moria1.c:509:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void takeoff(item_val, posn) ^ In file included from moria1.c:19: ./externs.h:1016:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void takeoff(); ^ moria1.c:555:9: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(object, &inventory[item], TRUE); ^ moria1.c:558:19: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return get_check(out_str); ^ moria1.c:549:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int verify(prompt, item) ^ In file included from moria1.c:19: ./externs.h:1017:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int verify(); ^ moria1.c:617:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(" ESC: exit", 1, scr_left); ^ moria1.c:618:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(" w : wear or wield object", 2, scr_left); ^ moria1.c:619:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(" t : take off item", 3, scr_left); ^ moria1.c:620:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(" d : drop object", 4, scr_left); ^ moria1.c:621:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(" x : exchange weapons", 5, scr_left); ^ moria1.c:622:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(" i : inventory of pack", 6, scr_left); ^ moria1.c:623:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(" e : list used equipment", 7, scr_left); ^ moria1.c:644:14: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(scr_base, scr_left); ^ moria1.c:649:16: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(line, scr_left); ^ moria1.c:601:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void inven_screen(new_scr) ^ moria1.c:679:36: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (command == ' ' || !get_check("Continuing with inventory command?")) ^ moria1.c:709:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are not carrying anything."); ^ moria1.c:715:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are not using any equipment."); ^ moria1.c:721:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are not using any equipment."); ^ moria1.c:725:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You will have to drop something first."); ^ moria1.c:735:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("But you're not carrying anything."); ^ moria1.c:737:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There's no room to drop anything here."); ^ moria1.c:762:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have nothing to wear or wield."); ^ moria1.c:773:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("But you are wielding no weapons."); ^ moria1.c:780:14: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(prt1, &inventory[INVEN_WIELD], FALSE); ^ moria1.c:783:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(prt2); ^ moria1.c:798:11: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(prt2, &inventory[INVEN_WIELD], TRUE); ^ moria1.c:799:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(strcat(prt1, prt2)); ^ moria1.c:802:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("No primary weapon."); ^ moria1.c:871:20: warning: passing arguments to 'get_com' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_com(prt1, &which)) ^ moria1.c:944:19: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Hmmm, it seems to be cursed."); ^ moria1.c:948:24: warning: passing arguments to 'inven_check_num' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !inven_check_num(&inventory[item])) ^ moria1.c:952:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You can't carry it."); ^ moria1.c:955:28: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (get_check("You can't carry it. Drop it?")) ^ moria1.c:964:17: warning: passing arguments to 'inven_drop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_drop(item, TRUE); ^ moria1.c:973:25: warning: passing arguments to 'inven_carry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] slot = inven_carry(&inventory[item]); ^ moria1.c:1014:23: warning: passing arguments to 'get_com' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_com( ^ moria1.c:1040:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("IMPOSSIBLE: I don't see how you can use that."); ^ moria1.c:1052:13: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(prt1, &inventory[slot], FALSE); ^ moria1.c:1058:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(strcat(prt2, "appears to be cursed.")); ^ moria1.c:1063:28: warning: passing arguments to 'inven_check_num' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !inven_check_num(&inventory[slot])) ^ moria1.c:1067:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You will have to drop something first."); ^ moria1.c:1089:23: warning: passing arguments to 'inven_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_destroy(item); /* Subtracts weight */ ^ moria1.c:1097:24: warning: passing arguments to 'inven_carry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = inven_carry(i_ptr); ^ moria1.c:1116:16: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(prt2, i_ptr, TRUE); ^ moria1.c:1126:19: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(prt1); ^ moria1.c:1137:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Oops! It feels deathly cold!"); ^ moria1.c:1138:19: warning: passing arguments to 'add_inscribe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_inscribe(i_ptr, ID_DAMD); ^ moria1.c:1149:16: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(prt1, &inventory[item], TRUE); ^ moria1.c:1153:13: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(prt2, 0, 0); ^ moria1.c:1159:17: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(MSG_LINE, 0); ^ moria1.c:1170:20: warning: passing arguments to 'inven_drop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_drop(item, query == 'y'); ^ moria1.c:1195:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(CNIL); ^ moria1.c:1215:11: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(prt1, 0, 0); ^ moria1.c:1220:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("You have nothing you could wield.", 0, 0); ^ moria1.c:1222:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("You could wield -", 0, 0); ^ moria1.c:1227:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("You are not using anything.", 0, 0); ^ moria1.c:1229:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("You are using -", 0, 0); ^ moria1.c:1232:9: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Allowed commands:", 0, 0); ^ moria1.c:1233:14: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(scr_base, scr_left); ^ moria1.c:1234:14: warning: passing arguments to 'put_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_buffer("e/i/t/w/x/d/?/ESC:", scr_base, 60); ^ moria1.c:1236:14: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(scr_base, scr_left); ^ moria1.c:655:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void inven_command(command) ^ In file included from moria1.c:19: ./externs.h:1018:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void inven_command(); ^ moria1.c:1302:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(out_val, 0, 0); ^ moria1.c:1320:13: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("But you're not using anything -more-",0,0); ^ moria1.c:1333:21: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(j, 0); ^ moria1.c:1338:9: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(out_val, 0, 0); ^ moria1.c:1344:11: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("But you're not carrying anything -more-",0,0); ^ moria1.c:1357:22: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line (j, 0); ^ moria1.c:1420:19: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (message); ^ moria1.c:1434:17: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(MSG_LINE, 0); ^ moria1.c:1437:8: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("You are not carrying anything.", 0, 0); ^ moria1.c:1247:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_item(com_val, pmt, i, j, mask, message) ^ In file included from moria1.c:19: ./externs.h:1019:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int get_item(); ^ moria1.c:1458:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char map_roguedir(comval) ^ moria1.c:1518:19: warning: passing arguments to 'get_com' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_com(prompt, &command)) ^ moria1.c:1497:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_dir(prompt, dir) ^ In file included from moria1.c:19: ./externs.h:1021:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int get_dir(); ^ moria1.c:1552:19: warning: passing arguments to 'get_com' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!get_com(prompt, &command)) ^ moria1.c:1541:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_alldir(prompt, dir) ^ In file included from moria1.c:19: ./externs.h:1022:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int get_alldir(); ^ moria1.c:1571:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void move_rec(y1, x1, y2, x2) ^ In file included from moria1.c:19: ./externs.h:1023:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void move_rec(); ^ moria1.c:1613:22: warning: passing arguments to 'loc_symbol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(loc_symbol(i, j), i, j); ^ moria1.c:1613:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(loc_symbol(i, j), i, j); ^ moria1.c:1584:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void light_room(y, x) ^ In file included from moria1.c:19: ./externs.h:1024:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void light_room(); ^ moria1.c:1623:21: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (panel_contains(y, x)) ^ moria1.c:1624:21: warning: passing arguments to 'loc_symbol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(loc_symbol(y, x), y, x); ^ moria1.c:1624:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(loc_symbol(y, x), y, x); ^ moria1.c:1620:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void lite_spot(y, x) ^ In file included from moria1.c:19: ./externs.h:1025:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void lite_spot(); ^ moria1.c:1689:23: warning: passing arguments to 'loc_symbol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(loc_symbol(i, j), i, j); ^ moria1.c:1689:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(loc_symbol(i, j), i, j); ^ moria1.c:1630:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void sub1_move_light(y1, x1, y2, x2) ^ moria1.c:1707:22: warning: passing arguments to 'loc_symbol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(loc_symbol(i, j), i, j); ^ moria1.c:1707:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(loc_symbol(i, j), i, j); ^ moria1.c:1712:21: warning: passing arguments to 'loc_symbol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(loc_symbol(y1, x1), y1, x1); ^ moria1.c:1712:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(loc_symbol(y1, x1), y1, x1); ^ moria1.c:1715:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print('@', y2, x2); ^ moria1.c:1695:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void sub3_move_light(y1, x1, y2, x2) ^ moria1.c:1721:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void move_light(y1, x1, y2, x2) ^ In file included from moria1.c:19: ./externs.h:1026:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void move_light(); ^ moria1.c:1734:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void disturb(s, l) ^ In file included from moria1.c:19: ./externs.h:1027:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void disturb(); ^ moria1.c:1793:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("Rest for how long? ", 0, 0); ^ moria1.c:1795:21: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string(rest_str, 0, 19, 5)) ^ moria1.c:1814:11: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt ("Press any key to stop resting...", 0, 0); ^ moria1.c:1820:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("Invalid rest count."); ^ moria1.c:1821:17: warning: passing arguments to 'erase_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_line(MSG_LINE, 0); ^ moria1.c:1839:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(CNIL); /* flush last message, or delete "press any key" message */ ^ moria1.c:1855:17: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] die = randint (20); ^ moria1.c:1857:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || ((i > 0) && (randint (i) > ac)))) /* normal hit */ ^ moria1.c:1845:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int test_hit(bth, level, pth, ac, attack_type) ^ In file included from moria1.c:19: ./externs.h:1032:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int test_hit(); ^ moria1.c:1866:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void take_hit(damage, hit_from) ^ In file included from moria1.c:19: ./externs.h:1033:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void take_hit(); ^ 145 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c moria2.c In file included from moria2.c:14: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from moria2.c:14: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ moria2.c:37:16: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(y, x); ^ moria2.c:45:16: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(y, x); ^ moria2.c:26:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void change_trap(y, x) ^ In file included from moria2.c:14: ./externs.h:1036:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void change_trap(); ^ moria2.c:69:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(100) < chance) /* always in_bounds here */ ^ moria2.c:79:11: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str2, t_ptr, TRUE); ^ moria2.c:81:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(tmp_str); ^ moria2.c:88:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have found a secret door."); ^ moria2.c:97:20: warning: passing arguments to 'known2_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known2_p(t_ptr)) ^ moria2.c:99:10: warning: passing arguments to 'known2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] known2(t_ptr); ^ moria2.c:100:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have discovered a trap on the chest!"); ^ moria2.c:103:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The chest is trapped!"); ^ moria2.c:102:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ moria2.c:51:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void search(y, x, chance) ^ In file included from moria2.c:14: ./externs.h:1037:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void search(); ^ moria2.c:240:13: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!mmove(dir, &row, &col)) ^ moria2.c:253:16: warning: passing arguments to 'see_wall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (see_wall(cycle[i+1], char_row, char_col)) ^ moria2.c:258:21: warning: passing arguments to 'see_wall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (see_wall(cycle[i+1], row, col)) ^ moria2.c:263:16: warning: passing arguments to 'see_wall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (see_wall(cycle[i-1], char_row, char_col)) ^ moria2.c:268:21: warning: passing arguments to 'see_wall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (see_wall(cycle[i-1], row, col)) ^ moria2.c:286:25: warning: passing arguments to 'see_wall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (see_wall(cycle[i], row, col)) ^ moria2.c:306:21: warning: passing arguments to 'loc_symbol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(loc_symbol(char_row, char_col), char_row, char_col); ^ moria2.c:306:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(loc_symbol(char_row, char_col), char_row, char_col); ^ moria2.c:308:12: warning: passing arguments to 'move_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_char(dir, TRUE); ^ moria2.c:232:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void find_init(dir) ^ In file included from moria2.c:14: ./externs.h:1038:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void find_init(); ^ moria2.c:318:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You stop running to catch your breath."); ^ moria2.c:322:14: warning: passing arguments to 'move_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_char(find_direction, TRUE); ^ moria2.c:331:17: warning: passing arguments to 'move_light' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_light(char_row, char_col, char_row, char_col); ^ moria2.c:341:13: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!mmove(dir, &y, &x)) /* check to see if movement there possible */ ^ moria2.c:349:27: warning: passing arguments to 'loc_symbol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((c = loc_symbol(y, x)) == '#' || c == '%') ^ moria2.c:336:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int see_wall(dir, y, x) ^ moria2.c:20:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int see_wall(); ^ moria2.c:361:13: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!mmove(dir, &y, &x)) /* check to see if movement there possible */ ^ moria2.c:363:22: warning: passing arguments to 'loc_symbol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (loc_symbol(y, x) == ' ') ^ moria2.c:358:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int see_nothing(dir, y, x) ^ moria2.c:390:13: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mmove(newdir, &row, &col)) ^ moria2.c:516:20: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(option, &row, &col); ^ moria2.c:371:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void area_affect(dir, y, x) ^ In file included from moria2.c:14: ./externs.h:1041:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void area_affect(); ^ moria2.c:599:22: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = tmp[randint(i) - 1]; ^ moria2.c:603:10: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, &inventory[j], FALSE); ^ moria2.c:605:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria2.c:610:10: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, &inventory[j], FALSE); ^ moria2.c:612:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria2.c:556:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int minus_ac(typ_dam) ^ In file included from moria2.c:14: ./externs.h:1042:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int minus_ac(); ^ moria2.c:635:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(randint(8), kb_str); ^ moria2.c:635:13: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(randint(8), kb_str); ^ moria2.c:636:19: warning: passing arguments to 'inven_damage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (inven_damage(set_corrodes, 5) > 0) ^ moria2.c:637:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There is an acrid smell coming from your pack."); ^ moria2.c:623:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void corrode_gas(kb_str) ^ In file included from moria2.c:14: ./externs.h:1043:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void corrode_gas(); ^ moria2.c:646:11: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(dam, kb_str); ^ moria2.c:647:36: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.poisoned += 12 + randint(dam); ^ moria2.c:642:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void poison_gas(dam, kb_str) ^ In file included from moria2.c:14: ./externs.h:1044:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void poison_gas(); ^ moria2.c:660:11: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(dam, kb_str); ^ moria2.c:661:19: warning: passing arguments to 'inven_damage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (inven_damage(set_flammable, 3) > 0) ^ moria2.c:662:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There is smoke coming from your pack!"); ^ moria2.c:652:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void fire_dam(dam, kb_str) ^ In file included from moria2.c:14: ./externs.h:1045:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void fire_dam(); ^ moria2.c:675:11: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(dam, kb_str); ^ moria2.c:676:19: warning: passing arguments to 'inven_damage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (inven_damage(set_frost_destroy, 5) > 0) ^ moria2.c:677:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Something shatters inside your pack!"); ^ moria2.c:667:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void cold_dam(dam, kb_str) ^ In file included from moria2.c:14: ./externs.h:1046:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void cold_dam(); ^ moria2.c:687:13: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit((dam / 3), kb_str); ^ moria2.c:689:13: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(dam, kb_str); ^ moria2.c:690:19: warning: passing arguments to 'inven_damage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (inven_damage(set_lightning_destroy, 3) > 0) ^ moria2.c:691:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There are sparks coming from your pack!"); ^ moria2.c:682:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void light_dam(dam, kb_str) ^ In file included from moria2.c:14: ./externs.h:1047:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void light_dam(); ^ moria2.c:714:12: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit (dam / (flag + 1), kb_str); ^ moria2.c:715:19: warning: passing arguments to 'inven_damage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (inven_damage(set_acid_affect, 3) > 0) ^ moria2.c:716:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There is an acrid smell coming from your pack!"); ^ moria2.c:696:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void acid_dam(dam, kb_str) ^ In file included from moria2.c:14: ./externs.h:1048:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void acid_dam(); ^ 80 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c moria3.c In file included from moria3.c:16: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from moria3.c:16: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ moria3.c:44:14: warning: passing arguments to 'change_trap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_trap(y, x); ^ moria3.c:48:17: warning: passing arguments to 'pdamroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dam = pdamroll(t_ptr->damage); ^ moria3.c:52:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You fell into a pit!"); ^ moria3.c:54:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You gently float down."); ^ moria3.c:57:8: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp, t_ptr, TRUE); ^ moria3.c:58:10: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(dam, tmp); ^ moria3.c:62:19: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(125, 0, 0, p_ptr->pac+p_ptr->ptoac, CLA_MISC_HIT)) ^ moria3.c:64:10: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp, t_ptr, TRUE); ^ moria3.c:65:12: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(dam, tmp); ^ moria3.c:66:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("An arrow hits you."); ^ moria3.c:69:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("An arrow barely misses you."); ^ moria3.c:72:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You fell into a covered pit."); ^ moria3.c:74:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You gently float down."); ^ moria3.c:77:8: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp, t_ptr, TRUE); ^ moria3.c:78:10: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(dam, tmp); ^ moria3.c:80:17: warning: passing arguments to 'place_trap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_trap(y, x, 0); ^ moria3.c:83:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You fell through a trap door!"); ^ moria3.c:87:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You gently float down."); ^ moria3.c:90:10: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp, t_ptr, TRUE); ^ moria3.c:91:12: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(dam, tmp); ^ moria3.c:95:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print (CNIL); ^ moria3.c:100:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A strange white mist surrounds you!"); ^ moria3.c:102:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are unaffected."); ^ moria3.c:105:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You fall asleep."); ^ moria3.c:106:37: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.paralysis += randint(10) + 4; ^ moria3.c:111:27: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(y, x); ^ moria3.c:112:19: warning: passing arguments to 'place_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_object(y, x, FALSE); ^ moria3.c:113:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Hmmm, there was something under this rock."); ^ moria3.c:116:19: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(125, 0, 0, p_ptr->pac+p_ptr->ptoac, CLA_MISC_HIT)) ^ moria3.c:120:23: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat(A_STR); ^ moria3.c:121:14: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp, t_ptr, TRUE); ^ moria3.c:122:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(dam, tmp); ^ moria3.c:123:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A small dart weakens you!"); ^ moria3.c:126:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A small dart hits you."); ^ moria3.c:129:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A small dart barely misses you."); ^ moria3.c:133:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You hit a teleport trap!"); ^ moria3.c:135:18: warning: passing arguments to 'move_light' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_light (y, x, y, x); ^ moria3.c:138:15: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(dam, "a falling rock"); ^ moria3.c:139:27: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(y, x); ^ moria3.c:140:19: warning: passing arguments to 'place_rubble' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_rubble(y, x); ^ moria3.c:141:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are hit by falling rock."); ^ moria3.c:146:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A strange red gas surrounds you."); ^ moria3.c:147:18: warning: passing arguments to 'corrode_gas' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] corrode_gas("corrosion gas"); ^ moria3.c:150:27: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(y, x); /* Rune disappears. */ ^ moria3.c:151:25: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] num = 2 + randint (3); ^ moria3.c:156:25: warning: passing arguments to 'summon_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) summon_monster(&ty, &tx, FALSE); ^ moria3.c:160:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are enveloped in flames!"); ^ moria3.c:161:15: warning: passing arguments to 'fire_dam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fire_dam(dam, "a fire trap"); ^ moria3.c:164:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are splashed with acid!"); ^ moria3.c:165:15: warning: passing arguments to 'acid_dam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] acid_dam(dam, "an acid trap"); ^ moria3.c:168:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A pungent green gas surrounds you!"); ^ moria3.c:169:17: warning: passing arguments to 'poison_gas' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] poison_gas(dam, "a poison gas trap"); ^ moria3.c:172:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A black gas surrounds you!"); ^ moria3.c:173:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.blind += randint(50) + 50; ^ moria3.c:176:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A gas of scintillating colors surrounds you!"); ^ moria3.c:177:35: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.confused += randint(15) + 15; ^ moria3.c:180:19: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(125, 0, 0, p_ptr->pac+p_ptr->ptoac, CLA_MISC_HIT)) ^ moria3.c:182:10: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp, t_ptr, TRUE); ^ moria3.c:183:12: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(dam, tmp); ^ moria3.c:184:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A small dart hits you!"); ^ moria3.c:186:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are unaffected."); ^ moria3.c:188:30: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.slow += randint(20) + 10; ^ moria3.c:191:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A small dart barely misses you."); ^ moria3.c:194:19: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(125, 0, 0, p_ptr->pac+p_ptr->ptoac, CLA_MISC_HIT)) ^ moria3.c:198:23: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat(A_CON); ^ moria3.c:199:14: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp, t_ptr, TRUE); ^ moria3.c:200:16: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(dam, tmp); ^ moria3.c:201:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A small dart saps your health!"); ^ moria3.c:204:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A small dart hits you."); ^ moria3.c:207:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A small dart barely misses you."); ^ moria3.c:216:18: warning: passing arguments to 'enter_store' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enter_store(0); ^ moria3.c:219:18: warning: passing arguments to 'enter_store' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enter_store(1); ^ moria3.c:222:18: warning: passing arguments to 'enter_store' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enter_store(2); ^ moria3.c:225:18: warning: passing arguments to 'enter_store' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enter_store(3); ^ moria3.c:228:18: warning: passing arguments to 'enter_store' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enter_store(4); ^ moria3.c:231:18: warning: passing arguments to 'enter_store' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enter_store(5); ^ moria3.c:235:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Unknown trap value."); ^ moria3.c:34:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void hit_trap(y, x) ^ moria3.c:258:24: warning: passing arguments to 'bit_pos' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] first_spell = bit_pos(&j); ^ moria3.c:264:18: warning: passing arguments to 'bit_pos' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = bit_pos(&j); ^ moria3.c:273:25: warning: passing arguments to 'get_spell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = get_spell(spell, i, sn, sc, prompt, first_spell); ^ moria3.c:277:24: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = get_check("You summon your limited strength to cast \ ^ moria3.c:280:24: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = get_check("The gods may think you presumptuous for \ ^ moria3.c:245:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int cast_spell(prompt, item_val, sn, sc) ^ In file included from moria3.c:16: ./externs.h:1051:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int cast_spell(); ^ moria3.c:311:10: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, i_ptr, TRUE); ^ moria3.c:316:24: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(y, x); ^ moria3.c:317:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria3.c:321:23: warning: passing arguments to 'inven_check_num' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (inven_check_num(i_ptr)) /* Too many objects? */ ^ moria3.c:325:11: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, i_ptr, TRUE); ^ moria3.c:329:23: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pickup = get_check(out_val); ^ moria3.c:332:41: warning: passing arguments to 'inven_check_weight' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (pickup && !inven_check_weight(i_ptr)) ^ moria3.c:334:11: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, i_ptr, TRUE); ^ moria3.c:340:23: warning: passing arguments to 'get_check' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pickup = get_check(out_val); ^ moria3.c:345:23: warning: passing arguments to 'inven_carry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] locn = inven_carry(i_ptr); ^ moria3.c:346:11: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, &inventory[locn], TRUE); ^ moria3.c:348:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria3.c:349:25: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(y, x); ^ moria3.c:354:14: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, i_ptr, TRUE); ^ moria3.c:356:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria3.c:292:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void carry(y, x, pickup) ^ moria3.c:375:14: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot((int)m_ptr->fy, (int)m_ptr->fx); ^ moria3.c:367:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void delete_monster(j) ^ In file included from moria3.c:16: ./externs.h:1052:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void delete_monster(); ^ moria3.c:408:14: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot((int)m_ptr->fy, (int)m_ptr->fx); ^ moria3.c:396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void fix1_delete_monster(j) ^ In file included from moria3.c:16: ./externs.h:1053:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void fix1_delete_monster(); ^ moria3.c:415:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void fix2_delete_monster(j) ^ In file included from moria3.c:16: ./externs.h:1054:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void fix2_delete_monster(); ^ moria3.c:449:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = y - 3 + randint(5); ^ moria3.c:450:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = x - 3 + randint(5); ^ moria3.c:451:17: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(j, k) && los(y, x, j, k)) ^ moria3.c:451:30: warning: passing arguments to 'los' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(j, k) && los(y, x, j, k)) ^ moria3.c:459:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(100) < 50) ^ moria3.c:465:19: warning: passing arguments to 'place_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_object(j, k, (typ >= 4)); ^ moria3.c:467:17: warning: passing arguments to 'place_gold' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_gold(j, k); ^ moria3.c:468:14: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(j, k); ^ moria3.c:469:19: warning: passing arguments to 'test_light' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_light(j, k)) ^ moria3.c:432:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int summon_object(y, x, num, typ) ^ moria3.c:494:8: warning: passing arguments to 'pusht' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pusht(c_ptr->tptr); ^ moria3.c:497:12: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(y, x); ^ moria3.c:498:17: warning: passing arguments to 'test_light' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_light(y, x)) ^ moria3.c:485:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int delete_object(y, x) ^ In file included from moria3.c:16: ./externs.h:1055:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int delete_object(); ^ moria3.c:532:41: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((flags & CM_60_RANDOM) && (randint(100) < 60)) ^ moria3.c:534:41: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((flags & CM_90_RANDOM) && (randint(100) < 90)) ^ moria3.c:537:22: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] number += randint(2); ^ moria3.c:539:22: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] number += damroll(2, 2); ^ moria3.c:541:22: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] number += damroll(4, 2); ^ moria3.c:593:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("*** CONGRATULATIONS *** You have won the game."); ^ moria3.c:594:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You cannot save this game, but you may retire when ready."); ^ moria3.c:511:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int32u monster_death(y, x, flags) ^ In file included from moria3.c:16: ./externs.h:1056:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int32u monster_death(); ^ moria3.c:636:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int mon_take_hit(monptr, dam) ^ In file included from moria3.c:16: ./externs.h:1057:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int mon_take_hit(); ^ moria3.c:736:25: warning: passing arguments to 'attack_blows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] blows = attack_blows((int)i_ptr->weight, &tot_tohit); ^ moria3.c:757:19: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(base_tohit, (int)p_ptr->lev, tot_tohit, ^ moria3.c:761:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria3.c:764:20: warning: passing arguments to 'pdamroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = pdamroll(i_ptr->damage); ^ moria3.c:765:19: warning: passing arguments to 'tot_dam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = tot_dam(i_ptr, k, monptr); ^ moria3.c:766:25: warning: passing arguments to 'critical_blow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = critical_blow((int)i_ptr->weight, tot_tohit, k, CLA_BTH); ^ moria3.c:770:19: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = damroll(1, 1); ^ moria3.c:771:25: warning: passing arguments to 'critical_blow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = critical_blow(1, 0, k, CLA_BTH); ^ moria3.c:779:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("Your hands stop glowing."); ^ moria3.c:781:16: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || (randint(MAX_MONS_LEVEL) < c_list[monptr].level)) ^ moria3.c:789:43: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m_list[crptr].confused = 2 + randint(16); ^ moria3.c:791:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria3.c:792:39: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (m_list[crptr].ml && randint(4) == 1) ^ moria3.c:801:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria3.c:819:15: warning: passing arguments to 'py_bonuses' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py_bonuses(i_ptr, -1); ^ moria3.c:820:12: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(i_ptr, OBJ_NOTHING); ^ moria3.c:828:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria3.c:714:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void py_attack(y, x) ^ In file included from moria3.c:16: ./externs.h:1058:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void py_attack(); ^ moria3.c:847:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (randint(4) > 1) && /* 75% random movement */ ^ moria3.c:850:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dir = randint(9); ^ moria3.c:855:12: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mmove(dir, &y, &x)) /* Legal move? */ ^ moria3.c:874:16: warning: passing arguments to 'move_rec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_rec(old_row, old_col, char_row, char_col); ^ moria3.c:876:21: warning: passing arguments to 'get_panel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_panel(char_row, char_col, FALSE)) ^ moria3.c:880:14: warning: passing arguments to 'area_affect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] area_affect(dir, char_row, char_col); ^ moria3.c:883:42: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((py.misc.fos <= 1) || (randint(py.misc.fos) == 1) || ^ moria3.c:885:9: warning: passing arguments to 'search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search(char_row, char_col, py.misc.srh); ^ moria3.c:890:17: warning: passing arguments to 'light_room' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] light_room(char_row, char_col); ^ moria3.c:899:14: warning: passing arguments to 'light_room' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] light_room(i, j); ^ moria3.c:902:18: warning: passing arguments to 'move_light' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_light(old_row, old_col, char_row, char_col); ^ moria3.c:911:17: warning: passing arguments to 'move_rec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_rec(char_row, char_col, old_row, old_col); ^ moria3.c:912:19: warning: passing arguments to 'move_light' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_light(char_row, char_col, old_row, old_col); ^ moria3.c:933:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There is rubble blocking your way."); ^ moria3.c:935:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There is a closed door blocking your way."); ^ moria3.c:957:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are too afraid!"); ^ moria3.c:838:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void move_char(dir, do_pickup) ^ In file included from moria3.c:16: ./externs.h:1059:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void move_char(); ^ moria3.c:976:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A small needle has pricked you!"); ^ moria3.c:979:19: warning: passing arguments to 'dec_stat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) dec_stat(A_STR); ^ moria3.c:980:20: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damroll(1, 4), "a poison needle"); ^ moria3.c:980:12: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damroll(1, 4), "a poison needle"); ^ moria3.c:981:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You feel weakened!"); ^ moria3.c:984:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are unaffected."); ^ moria3.c:988:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A small needle has pricked you!"); ^ moria3.c:989:23: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damroll(1, 6), "a poison needle"); ^ moria3.c:989:15: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damroll(1, 6), "a poison needle"); ^ moria3.c:990:40: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.poisoned += 10 + randint(20); ^ moria3.c:994:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("A puff of yellow gas surrounds you!"); ^ moria3.c:996:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are unaffected."); ^ moria3.c:999:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You choke and pass out."); ^ moria3.c:1000:37: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.paralysis = 10 + randint(20); ^ moria3.c:1009:25: warning: passing arguments to 'summon_monster' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) summon_monster(&j, &k, FALSE); ^ moria3.c:1014:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("There is a sudden explosion!"); ^ moria3.c:1016:23: warning: passing arguments to 'damroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damroll(5, 8), "an exploding chest"); ^ moria3.c:1016:15: warning: passing arguments to 'take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] take_hit(damroll(5, 8), "an exploding chest"); ^ moria3.c:966:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void chest_trap(y, x) ^ In file included from moria3.c:16: ./externs.h:1060:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void chest_trap(); ^ moria3.c:1037:14: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ moria3.c:1039:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ moria3.c:1052:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria3.c:1062:47: warning: passing arguments to 'stat_adj' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = p_ptr->disarm + 2*todis_adj() + stat_adj(A_INT) ^ moria3.c:1066:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are too confused to pick the lock."); ^ moria3.c:1067:35: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((i-t_ptr->p1) > randint(100)) ^ moria3.c:1069:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have picked the lock."); ^ moria3.c:1075:20: warning: passing arguments to 'count_msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_msg_print("You failed to pick the lock."); ^ moria3.c:1078:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("It appears to be stuck."); ^ moria3.c:1081:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[c_ptr->tptr], OBJ_OPEN_DOOR); ^ moria3.c:1083:12: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(y, x); ^ moria3.c:1091:50: warning: passing arguments to 'stat_adj' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = p_ptr->disarm + 2*todis_adj() + stat_adj(A_INT) ^ moria3.c:1097:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are too confused to pick the lock."); ^ moria3.c:1098:48: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((i-(int)t_ptr->level) > randint(100)) ^ moria3.c:1100:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have picked the lock."); ^ moria3.c:1106:18: warning: passing arguments to 'count_msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_msg_print("You failed to pick the lock."); ^ moria3.c:1113:9: warning: passing arguments to 'known2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] known2(t_ptr); ^ moria3.c:1146:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("I do not see anything you can open there."); ^ moria3.c:1163:14: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ moria3.c:1165:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ moria3.c:1173:10: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[c_ptr->tptr], OBJ_CLOSED_DOOR); ^ moria3.c:1175:12: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(y, x); ^ moria3.c:1178:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The door appears to be broken."); ^ moria3.c:1187:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria3.c:1196:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("I do not see anything you can close there."); ^ moria3.c:1243:25: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (panel_contains(y, x)) ^ moria3.c:1245:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have found something!"); ^ moria3.c:1246:16: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(y, x); ^ moria3.c:1205:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int twall(y, x, t1, t2) ^ In file included from moria3.c:16: ./externs.h:1063:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int twall(); ^ 224 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c moria4.c In file included from moria4.c:17: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from moria4.c:17: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ moria4.c:59:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (randint(4) > 1)) /* 75% random movement */ ^ moria4.c:60:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dir = randint(9); ^ moria4.c:63:15: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ moria4.c:80:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print ("Tunnel through what? Empty air?!?"); ^ moria4.c:85:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You can't tunnel through that."); ^ moria4.c:99:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria4.c:103:11: warning: passing arguments to 'py_attack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py_attack(y, x); ^ moria4.c:105:11: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are too afraid!"); ^ moria4.c:138:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(1200) + 80; ^ moria4.c:139:13: warning: passing arguments to 'twall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (twall(y, x, tabil, i)) ^ moria4.c:140:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have finished the tunnel."); ^ moria4.c:142:21: warning: passing arguments to 'count_msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_msg_print("You tunnel into the granite wall."); ^ moria4.c:145:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(600) + 10; ^ moria4.c:146:13: warning: passing arguments to 'twall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (twall(y, x, tabil, i)) ^ moria4.c:147:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have finished the tunnel."); ^ moria4.c:149:21: warning: passing arguments to 'count_msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_msg_print("You tunnel into the magma intrusion."); ^ moria4.c:152:15: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = randint(400) + 10; ^ moria4.c:153:13: warning: passing arguments to 'twall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (twall(y, x, tabil, i)) ^ moria4.c:154:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have finished the tunnel."); ^ moria4.c:156:21: warning: passing arguments to 'count_msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_msg_print("You tunnel into the quartz vein."); ^ moria4.c:159:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("This seems to be permanent rock."); ^ moria4.c:168:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (tabil > randint(180)) ^ moria4.c:170:29: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(y, x); ^ moria4.c:171:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have removed the rubble."); ^ moria4.c:172:20: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(10) == 1) ^ moria4.c:174:18: warning: passing arguments to 'place_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_object(y, x, FALSE); ^ moria4.c:175:20: warning: passing arguments to 'test_light' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_light(y, x)) ^ moria4.c:176:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have found something!"); ^ moria4.c:178:18: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(y, x); ^ moria4.c:181:22: warning: passing arguments to 'count_msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_msg_print("You dig in the rubble."); ^ moria4.c:186:20: warning: passing arguments to 'count_msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_msg_print("You tunnel into the granite wall."); ^ moria4.c:187:11: warning: passing arguments to 'search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search(char_row, char_col, py.misc.srh); ^ moria4.c:198:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You dig with your hands, making no progress."); ^ moria4.c:45:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void tunnel(dir) ^ In file included from moria4.c:17: ./externs.h:1066:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void tunnel(); ^ moria4.c:214:14: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ moria4.c:216:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ moria4.c:229:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria4.c:233:51: warning: passing arguments to 'stat_adj' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tot = py.misc.disarm + 2*todis_adj() + stat_adj(A_INT) ^ moria4.c:246:41: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((tot + 100 - level) > randint(100)) ^ moria4.c:248:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have disarmed the trap."); ^ moria4.c:250:25: warning: passing arguments to 'delete_object' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_object(y, x); ^ moria4.c:254:14: warning: passing arguments to 'move_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_char(dir, FALSE); ^ moria4.c:259:38: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((tot > 5) && (randint(tot) > 5)) ^ moria4.c:260:18: warning: passing arguments to 'count_msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_msg_print("You failed to disarm the trap."); ^ moria4.c:263:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You set the trap off!"); ^ moria4.c:267:14: warning: passing arguments to 'move_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_char(dir, FALSE); ^ moria4.c:273:21: warning: passing arguments to 'known2_p' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!known2_p(i_ptr)) ^ moria4.c:275:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("I don't see a trap."); ^ moria4.c:280:32: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((tot - level) > randint(100)) ^ moria4.c:287:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have disarmed the chest."); ^ moria4.c:288:15: warning: passing arguments to 'known2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] known2(i_ptr); ^ moria4.c:292:35: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((tot > 5) && (randint(tot) > 5)) ^ moria4.c:293:22: warning: passing arguments to 'count_msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_msg_print("You failed to disarm the chest."); ^ moria4.c:296:18: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You set a trap off!"); ^ moria4.c:297:15: warning: passing arguments to 'known2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] known2(i_ptr); ^ moria4.c:298:19: warning: passing arguments to 'chest_trap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chest_trap(y, x); ^ moria4.c:303:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The chest was not trapped."); ^ moria4.c:315:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("I do not see anything to disarm there."); ^ moria4.c:404:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You can't see a damn thing!"); ^ moria4.c:406:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You can't believe what you are seeing! It's like a dream!"); ^ moria4.c:407:22: warning: passing arguments to 'get_alldir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (get_alldir("Look which direction?", &dir)) ^ moria4.c:413:19: warning: passing arguments to 'look_see' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (look_see(0, 0, &dummy)) ^ moria4.c:426:21: warning: passing arguments to 'look_ray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (look_ray(0, 2*GRADF-1, 1)) ^ moria4.c:433:21: warning: passing arguments to 'look_ray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (look_ray(0, 2*GRADF, 2)) ^ moria4.c:445:17: warning: passing arguments to 'look_ray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (look_ray(0, GRADF, 1)) ^ moria4.c:451:25: warning: passing arguments to 'look_ray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] abort = look_ray(0, GRADF, 2); ^ moria4.c:459:17: warning: passing arguments to 'look_ray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (look_ray(1, 2*GRADF, GRADF)) ^ moria4.c:466:25: warning: passing arguments to 'look_ray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] abort = look_ray(1, 2*GRADF-1, GRADF); ^ moria4.c:472:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("--Aborting look--"); ^ moria4.c:478:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("That's all you see."); ^ moria4.c:480:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("That's all you see in that direction."); ^ moria4.c:483:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You see nothing of interest."); ^ moria4.c:485:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You see nothing of interest in that direction."); ^ moria4.c:542:15: warning: passing arguments to 'look_see' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (look_see(x, y, &transparent)) ^ moria4.c:564:16: warning: passing arguments to 'look_see' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (look_see(x, y, &transparent)) ^ moria4.c:576:16: warning: passing arguments to 'look_see' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (look_see(x, y, &transparent)) ^ moria4.c:508:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int look_ray(y, from, to) ^ moria4.c:38:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int look_ray(); ^ moria4.c:595:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(tmp_str); ^ moria4.c:604:22: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!panel_contains(y, x)) ^ moria4.c:619:18: warning: passing arguments to 'is_a_vowel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_a_vowel( c_list[j].name[0] ) ? "an" : "a", ^ moria4.c:622:10: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(out_val, 0, 0); ^ moria4.c:623:27: warning: passing arguments to 'move_cursor_relative' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_cursor_relative(y, x); ^ moria4.c:628:23: warning: passing arguments to 'roff_recall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] query = roff_recall(j); ^ moria4.c:640:14: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, &t_list[c_ptr->tptr], TRUE); ^ moria4.c:643:11: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(out_val, 0, 0); ^ moria4.c:644:28: warning: passing arguments to 'move_cursor_relative' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_cursor_relative(y, x); ^ moria4.c:671:11: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(out_val, 0, 0); ^ moria4.c:672:28: warning: passing arguments to 'move_cursor_relative' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_cursor_relative(y, x); ^ moria4.c:583:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int look_see(x, y, transparent) ^ moria4.c:39:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int look_see(); ^ moria4.c:711:18: warning: passing arguments to 'inven_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inven_destroy(item_val); ^ moria4.c:688:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void inven_throw(item_val, t_ptr) ^ moria4.c:729:19: warning: passing arguments to 'pdamroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *tdam = pdamroll(i_ptr->damage) + i_ptr->todam; ^ moria4.c:717:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void facts(i_ptr, tbth, tpth, tdam, tdis) ^ moria4.c:824:14: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(10) > 1) ^ moria4.c:828:17: warning: passing arguments to 'in_bounds' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (in_bounds(i, j)) ^ moria4.c:836:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = y + randint(3) - 2; ^ moria4.c:837:23: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = x + randint(3) - 2; ^ moria4.c:848:16: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(i, j); ^ moria4.c:852:13: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, t_ptr, FALSE); ^ moria4.c:854:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria4.c:811:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void drop_throw(y, x, t_ptr) ^ moria4.c:876:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("But you are not carrying anything."); ^ moria4.c:879:20: warning: passing arguments to 'get_item' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (get_item(&item_val, "Fire/Throw which one?", 0, inven_ctr-1, CNIL, ^ moria4.c:882:18: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ moria4.c:884:15: warning: passing arguments to 'desc_remain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] desc_remain(item_val); ^ moria4.c:887:17: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are confused."); ^ moria4.c:890:18: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dir = randint(9); ^ moria4.c:905:20: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ moria4.c:907:17: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(oldy, oldx); ^ moria4.c:925:21: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(tbth, (int)py.misc.lev, tpth, ^ moria4.c:929:12: warning: passing arguments to 'objdes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdes(tmp_str, &throw_obj, FALSE); ^ moria4.c:943:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria4.c:944:20: warning: passing arguments to 'tot_dam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tdam = tot_dam(&throw_obj, tdam, i); ^ moria4.c:945:26: warning: passing arguments to 'critical_blow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tdam = critical_blow((int)throw_obj.weight, ^ moria4.c:948:22: warning: passing arguments to 'mon_take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = mon_take_hit((int)c_ptr->cptr, tdam); ^ moria4.c:952:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have killed something!"); ^ moria4.c:957:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria4.c:967:27: warning: passing arguments to 'panel_contains' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (panel_contains(y, x) && (py.flags.blind < 1) ^ moria4.c:970:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print(tchar, y, x); ^ moria4.c:1015:15: warning: passing arguments to 'test_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (test_hit(base_tohit, (int)py.misc.lev, ^ moria4.c:1019:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria4.c:1020:19: warning: passing arguments to 'pdamroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = pdamroll(inventory[INVEN_ARM].damage); ^ moria4.c:1021:24: warning: passing arguments to 'critical_blow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k = critical_blow((int)(inventory[INVEN_ARM].weight / 4 ^ moria4.c:1027:23: warning: passing arguments to 'mon_take_hit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mon_take_hit(monster, k) >= 0) ^ moria4.c:1030:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria4.c:1040:22: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((100 + randint(400) + randint(400)) ^ moria4.c:1040:37: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((100 + randint(400) + randint(400)) ^ moria4.c:1043:33: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m_ptr->stunned += randint(3) + 1; ^ moria4.c:1049:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria4.c:1055:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print(out_val); ^ moria4.c:1057:14: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(150) > py.stats.use_stat[A_DEX]) ^ moria4.c:1059:16: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are off balance."); ^ moria4.c:1060:39: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.paralysis = 1 + randint(2); ^ moria4.c:991:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void py_bash(y, x) ^ moria4.c:1096:14: warning: passing arguments to 'get_dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_dir(CNIL, &dir)) ^ moria4.c:1100:13: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are confused."); ^ moria4.c:1103:21: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dir = randint(9); ^ moria4.c:1107:19: warning: passing arguments to 'mmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) mmove(dir, &y, &x); ^ moria4.c:1112:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are afraid!"); ^ moria4.c:1121:23: warning: passing arguments to 'count_msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_msg_print("You smash into the door!"); ^ moria4.c:1124:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(tmp*(20+abs(t_ptr->p1))) < 10*(tmp-abs(t_ptr->p1))) ^ moria4.c:1126:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The door crashes open!"); ^ moria4.c:1127:12: warning: passing arguments to 'invcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invcopy(&t_list[c_ptr->tptr], OBJ_OPEN_DOOR); ^ moria4.c:1128:28: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_ptr->p1 = 1 - randint(2); /* 50% chance of breaking door */ ^ moria4.c:1131:16: warning: passing arguments to 'move_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_char(dir, FALSE); ^ moria4.c:1133:16: warning: passing arguments to 'lite_spot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lite_spot(y, x); ^ moria4.c:1135:24: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (randint(150) > py.stats.use_stat[A_DEX]) ^ moria4.c:1137:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You are off-balance."); ^ moria4.c:1138:37: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] py.flags.paralysis = 1 + randint(2); ^ moria4.c:1141:12: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The door holds firm."); ^ moria4.c:1145:19: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (randint(10) == 1) ^ moria4.c:1147:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You have destroyed the chest."); ^ moria4.c:1148:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("and its contents!"); ^ moria4.c:1152:55: warning: passing arguments to 'randint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((CH_LOCKED & t_ptr->flags) && (randint(10) == 1)) ^ moria4.c:1154:14: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("The lock breaks open!"); ^ moria4.c:1158:18: warning: passing arguments to 'count_msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_msg_print("The chest holds firm."); ^ moria4.c:1163:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You bash it, but nothing interesting happens."); ^ moria4.c:1168:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You bash at empty space."); ^ moria4.c:1171:15: warning: passing arguments to 'msg_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_print("You bash it, but nothing interesting happens."); ^ 164 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c monsters.c cc -DPREFIX=\"/usr/local\" -O2 -pipe -c treasure.c cc -DPREFIX=\"/usr/local\" -O2 -pipe -c variable.c cc -DPREFIX=\"/usr/local\" -O2 -pipe -c rnd.c rnd.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void set_rnd_seed (seedval) ^ 1 warning generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c recall.c In file included from recall.c:16: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from recall.c:16: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ recall.c:133:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int bool_roff_recall(mon_num) ^ In file included from recall.c:16: ./externs.h:1107:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int bool_roff_recall(); ^ recall.c:232:7: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(temp); ^ recall.c:239:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(temp); ^ recall.c:240:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" been killed by this creature, and "); ^ recall.c:242:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("it is not ever known to have been defeated."); ^ recall.c:248:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(temp); ^ recall.c:255:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(temp); ^ recall.c:256:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" been killed by contributors to your monster memory."); ^ recall.c:259:9: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("No known battles to the death are recalled."); ^ recall.c:264:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" It lives in the town"); ^ recall.c:275:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(temp); ^ recall.c:283:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(", and"); ^ recall.c:286:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" It"); ^ recall.c:289:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" moves"); ^ recall.c:293:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(desc_howmuch[(int)((rcmove & CM_RANDOM_MOVE) >> 3)]); ^ recall.c:294:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" erratically"); ^ recall.c:297:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" at normal speed"); ^ recall.c:301:10: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(", and"); ^ recall.c:305:7: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" very"); ^ recall.c:307:7: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" incredibly"); ^ recall.c:308:12: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" slowly"); ^ recall.c:313:7: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" very"); ^ recall.c:315:7: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" unbelievably"); ^ recall.c:316:12: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" quickly"); ^ recall.c:323:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(", but"); ^ recall.c:326:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" It"); ^ recall.c:329:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" does not deign to chase intruders"); ^ recall.c:334:7: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff (", but"); ^ recall.c:337:9: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff (" It"); ^ recall.c:340:12: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff (" always moves and attacks by using magic"); ^ recall.c:343:9: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("."); ^ recall.c:348:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" A kill of this"); ^ recall.c:350:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" natural"); ^ recall.c:352:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" evil"); ^ recall.c:354:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" undead"); ^ recall.c:366:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(temp); ^ recall.c:381:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(temp); ^ recall.c:415:7: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" It can breathe "); ^ recall.c:417:7: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" It is resistant to "); ^ recall.c:425:10: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(", "); ^ recall.c:427:10: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" and "); ^ recall.c:428:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(desc_breath[i]); ^ recall.c:450:7: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(", and is also"); ^ recall.c:452:7: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" It is"); ^ recall.c:453:12: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" magical, casting spells which "); ^ recall.c:461:10: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(", "); ^ recall.c:463:10: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" or "); ^ recall.c:464:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(desc_spell[i]); ^ recall.c:477:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(temp); ^ recall.c:479:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("."); ^ recall.c:485:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(temp); ^ recall.c:489:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(temp); ^ recall.c:515:12: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" It can "); ^ recall.c:523:10: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(", "); ^ recall.c:525:10: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" and "); ^ recall.c:526:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(desc_move[i]); ^ recall.c:530:9: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("."); ^ recall.c:541:12: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" It is susceptible to "); ^ recall.c:545:10: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(", "); ^ recall.c:547:10: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" and "); ^ recall.c:548:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(desc_weakness[i]); ^ recall.c:552:9: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("."); ^ recall.c:554:9: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" It is warm blooded"); ^ recall.c:558:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(", and"); ^ recall.c:560:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" It"); ^ recall.c:561:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" cannot be charmed or slept"); ^ recall.c:564:9: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("."); ^ recall.c:569:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" It "); ^ recall.c:571:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("prefers to ignore"); ^ recall.c:573:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("pays very little attention to"); ^ recall.c:575:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("pays little attention to"); ^ recall.c:577:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("tends to overlook"); ^ recall.c:579:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("takes quite a while to see"); ^ recall.c:581:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("takes a while to see"); ^ recall.c:583:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("is fairly observant of"); ^ recall.c:585:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("is observant of"); ^ recall.c:587:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("is very observant of"); ^ recall.c:589:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("is vigilant for"); ^ recall.c:591:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("is ever vigilant for"); ^ recall.c:594:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(temp); ^ recall.c:604:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" It may"); ^ recall.c:617:10: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" sometimes"); ^ recall.c:619:10: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" often"); ^ recall.c:627:7: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff (" often"); ^ recall.c:628:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" carry"); ^ recall.c:650:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" one or two"); ^ recall.c:654:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(temp); ^ recall.c:662:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(p); ^ recall.c:669:12: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" or treasure"); ^ recall.c:671:7: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("s"); ^ recall.c:673:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("."); ^ recall.c:676:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" treasures."); ^ recall.c:678:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" treasure."); ^ recall.c:706:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" It can "); ^ recall.c:708:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(", and "); ^ recall.c:710:6: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(", "); ^ recall.c:714:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(desc_amethod[att_how]); ^ recall.c:717:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" to "); ^ recall.c:720:8: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(desc_atype[att_type]); ^ recall.c:726:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" by"); ^ recall.c:728:11: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" with damage"); ^ recall.c:730:9: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(temp); ^ recall.c:736:9: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("."); ^ recall.c:738:9: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" It has no physical attacks."); ^ recall.c:740:9: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" Nothing is known about its attack."); ^ recall.c:747:9: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff(" Killing one of these wins the game!"); ^ recall.c:748:7: warning: passing arguments to 'roff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roff("\n"); ^ recall.c:749:6: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt("--pause--", roffpline, 0); ^ recall.c:152:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int roff_recall(mon_num) ^ In file included from recall.c:16: ./externs.h:1108:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int roff_recall(); ^ recall.c:771:7: warning: passing arguments to 'prt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prt(roffbuf, roffpline, 0); ^ recall.c:756:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void roff(p) ^ recall.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void roff(); ^ 116 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c unix.c In file included from unix.c:73: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int check_input(); ^ ./config.h:19:5: note: conflicting prototype is here int check_input(int); ^ In file included from unix.c:73: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void user_name(); ^ ./config.h:20:6: note: conflicting prototype is here void user_name(char *); ^ unix.c:121:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int check_input(microsec) ^ In file included from unix.c:73: ./externs.h:1258:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int check_input(); ^ unix.c:276:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void user_name(buf) ^ In file included from unix.c:73: ./externs.h:1262:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void user_name(); ^ unix.c:298:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int tilde(file, exp) ^ In file included from unix.c:73: ./externs.h:1263:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int tilde(); ^ unix.c:340:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FILE *tfopen(file, mode) ^ unix.c:355:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int topen(file, flags, mode) ^ In file included from unix.c:73: ./externs.h:1269:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int topen(); ^ 11 warnings generated. cc -DPREFIX=\"/usr/local\" -O2 -pipe -c player.c cc -DPREFIX=\"/usr/local\" -O2 -pipe -c tables.c cc -o moria -DPREFIX=\"/usr/local\" -O2 -pipe main.o misc1.o misc2.o misc3.o misc4.o store1.o files.o io.o create.o desc.o generate.o sets.o dungeon.o creature.o death.o eat.o help.o magic.o potions.o prayer.o save.o staffs.o wands.o scrolls.o spells.o wizard.o store2.o signals.o moria1.o moria2.o moria3.o moria4.o monsters.o treasure.o variable.o rnd.o recall.o unix.o player.o tables.o -lcurses -ltermcap ld: warning: main.c(main.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: main.c(main.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: unix.c(unix.o:(tilde)): warning: strcat() is almost always misused, please use strlcat() >>> Running package in games/moria at 1732156266.89 ===> games/moria ===> Faking installation for moria-5.5.2p5 /exopi-obj/pobj/moria-5.5.2/bin/install -c -s -m 755 -g games -m 2711 /exopi-obj/pobj/moria-5.5.2/build-amd64/moria /exopi-obj/pobj/moria-5.5.2/fake-amd64/usr/local/bin /exopi-obj/pobj/moria-5.5.2/bin/install -d -m 755 -m 711 /exopi-obj/pobj/moria-5.5.2/fake-amd64/usr/local/share/moria cd /exopi-obj/pobj/moria-5.5.2/build-amd64/files; /exopi-obj/pobj/moria-5.5.2/bin/install -c -m 644 hours news origcmds.hlp owizcmds.hlp roglcmds.hlp rwizcmds.hlp version.hlp welcome.hlp /exopi-obj/pobj/moria-5.5.2/fake-amd64/usr/local/share/moria /exopi-obj/pobj/moria-5.5.2/bin/install -c -m 644 /dev/null /exopi-obj/pobj/moria-5.5.2/fake-amd64/usr/local/share/moria/scores ===> Building package for moria-5.5.2p5 Create /exopi-cvs/ports/packages/amd64/all/moria-5.5.2p5.tgz Creating package moria-5.5.2p5 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|** | 4% checksumming|**** | 7% checksumming|******* | 11% checksumming|********* | 14% checksumming|*********** | 18% checksumming|************* | 21% checksumming|*************** | 25% checksumming|***************** | 29% checksumming|******************** | 32% checksumming|********************** | 36% checksumming|************************ | 39% checksumming|************************** | 43% checksumming|**************************** | 46% checksumming|******************************* | 50% checksumming|********************************* | 54% checksumming|*********************************** | 57% checksumming|************************************* | 61% checksumming|*************************************** | 64% checksumming|***************************************** | 68% checksumming|******************************************** | 71% checksumming|********************************************** | 75% checksumming|************************************************ | 79% checksumming|************************************************** | 82% checksumming|**************************************************** | 86% checksumming|****************************************************** | 89% checksumming|********************************************************* | 93% checksumming|*********************************************************** | 96% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|*************************************************************** | 98% archiving|*************************************************************** | 99% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/moria-5.5.2p5.tgz >>> Running clean in games/moria at 1732156270.20 ===> games/moria ===> Cleaning for moria-5.5.2p5 >>> Ended at 1732156271.38 max_stuck=0.89/build=17.73/package=3.30/clean=1.23