]> granicus.if.org Git - nethack/commitdiff
compilation bit
authorcohrs <cohrs>
Thu, 28 Apr 2005 16:28:34 +0000 (16:28 +0000)
committercohrs <cohrs>
Thu, 28 Apr 2005 16:28:34 +0000 (16:28 +0000)
gcc whined about taking the address of a register variable

src/fountain.c

index 7326bc7ae363a3104febea48220a3ad5bac9d0f2..a5ad8f712b038b4bb9fc398fbcbfee5dca2a5573 100644 (file)
@@ -43,7 +43,7 @@ STATIC_OVL
 void
 dowaterdemon() /* Water demon */
 {
-    register struct monst *mtmp;
+    struct monst *mtmp;
 
     if(!(mvitals[PM_WATER_DEMON].mvflags & G_GONE)) {
        if((mtmp = makemon(&mons[PM_WATER_DEMON],u.ux,u.uy, NO_MM_FLAGS))) {