From: PatR Date: Thu, 23 Apr 2015 02:17:49 +0000 (-0700) Subject: lint X-Git-Tag: NetHack-3.6.0_RC01~463 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16d80743520c75fd1302f8eb98b953ef0088232e;p=nethack lint --- diff --git a/include/extern.h b/include/extern.h index 41426cbca..821f2a41c 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1,4 +1,4 @@ -/* NetHack 3.5 extern.h $NHDT-Date: 1429666893 2015/04/22 01:41:33 $ $NHDT-Branch: master $:$NHDT-Revision: 1.467 $ */ +/* NetHack 3.5 extern.h $NHDT-Date: 1429755449 2015/04/23 02:17:29 $ $NHDT-Branch: master $:$NHDT-Revision: 1.477 $ */ /* Copyright (c) Steve Creps, 1988. */ /* NetHack may be freely redistributed. See license for details. */ @@ -119,7 +119,7 @@ E void FDECL(uchangealign, (int,int)); /* ### ball.c ### */ -E void FDECL(ballrelease, (boolean)); +E void FDECL(ballrelease, (BOOLEAN_P)); E void NDECL(ballfall); E void NDECL(placebc); E void NDECL(unplacebc); diff --git a/src/lock.c b/src/lock.c index ed629e93c..17e5f007e 100644 --- a/src/lock.c +++ b/src/lock.c @@ -1,4 +1,4 @@ -/* NetHack 3.5 lock.c $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$ */ +/* NetHack 3.5 lock.c $NHDT-Date: 1429755451 2015/04/23 02:17:31 $ $NHDT-Branch: master $:$NHDT-Revision: 1.56 $ */ /* NetHack 3.5 lock.c $Date: 2014/09/20 00:32:01 $ $Revision: 1.39 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -546,10 +546,8 @@ int doopen_indir(x, y) /* try to open a door in direction u.dx/u.dy */ int x, y; { - coord cc; register struct rm *door; - struct monst *mtmp; boolean portcullis; int res = 0;