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:
parent
b937606ef8
commit
384386d71c
2 changed files with 4 additions and 5 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue