rogue3, rogue5: fix all GCC5 warnings.

GCC5 enables more warnings by default, including pre-ANSI implicit
function definitions.  These two games now build cleanly, but the others
will require more effort.
This commit is contained in:
John "Elwin" Edwards 2016-01-23 09:35:14 -05:00
parent b937606ef8
commit 384386d71c
2 changed files with 4 additions and 5 deletions

View file

@ -21,8 +21,8 @@
* If this was the object of something's desire, that monster will
* get mad and run at the hero
*/
update_mdest(obj)
register THING *obj;
void
update_mdest(THING *obj)
{
register THING *mp;