Mercurial > hg > early-roguelike
comparison xrogue/command.c @ 239:837044d2c362
Merge the GCC5 and build fix branches.
This fixes all warnings produced by GCC 5, except the ones related to
system functions. Those could be fixed by including the proper headers,
but it would be better to replace the system-dependent code with
functions from mdport.c.
author | John "Elwin" Edwards |
---|---|
date | Fri, 11 Mar 2016 19:47:52 -0500 |
parents | 7c1cb43f346e |
children | e52a8a7ad4c5 |
comparison
equal
deleted
inserted
replaced
232:bac2c81fec78 | 239:837044d2c362 |
---|---|
691 | 691 |
692 /* | 692 /* |
693 * Reset the signal in case we got here via an interrupt | 693 * Reset the signal in case we got here via an interrupt |
694 */ | 694 */ |
695 | 695 |
696 if ((VOID(*)())signal(SIGINT, quit) != (VOID(*)())quit) | 696 if (signal(SIGINT, quit) != quit) |
697 mpos = 0; | 697 mpos = 0; |
698 | 698 |
699 getyx(cw, oy, ox); | 699 getyx(cw, oy, ox); |
700 if (level < 1) { /* if not down in the dungeon proper; exit the game */ | 700 if (level < 1) { /* if not down in the dungeon proper; exit the game */ |
701 wclear(hw); | 701 wclear(hw); |