diff rogue5/pack.c @ 214:e5a15b09ce1d

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.
author John "Elwin" Edwards
date Sat, 23 Jan 2016 09:35:14 -0500
parents f502bf60e6e4
children
line wrap: on
line diff
--- a/rogue5/pack.c	Fri Jan 22 21:16:54 2016 -0500
+++ b/rogue5/pack.c	Sat Jan 23 09:35:14 2016 -0500
@@ -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;