diff options
author | dholland <dholland@NetBSD.org> | 2009-06-07 18:30:39 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-06-07 18:30:39 +0000 |
commit | b462731cbc1198051cd39ad2f95b1027e441067d (patch) | |
tree | 4e0259e65c33c841ba5dab75f3dac3a6b5ff2316 /hack/hack.search.c | |
parent | 61a762274b6c7fc952ab3500cf1eca3436206334 (diff) | |
download | bsdgames-darwin-b462731cbc1198051cd39ad2f95b1027e441067d.tar.gz bsdgames-darwin-b462731cbc1198051cd39ad2f95b1027e441067d.tar.zst bsdgames-darwin-b462731cbc1198051cd39ad2f95b1027e441067d.zip |
ANSIfy function declarations. All object file diffs inspected.
Diffstat (limited to 'hack/hack.search.c')
-rw-r--r-- | hack/hack.search.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/hack/hack.search.c b/hack/hack.search.c index 9c00d6b4..ea4a0ec0 100644 --- a/hack/hack.search.c +++ b/hack/hack.search.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.search.c,v 1.5 2003/04/02 18:36:40 jsm Exp $ */ +/* $NetBSD: hack.search.c,v 1.6 2009/06/07 18:30:39 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,14 +63,14 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hack.search.c,v 1.5 2003/04/02 18:36:40 jsm Exp $"); +__RCSID("$NetBSD: hack.search.c,v 1.6 2009/06/07 18:30:39 dholland Exp $"); #endif /* not lint */ #include "hack.h" #include "extern.h" int -findit() +findit(void) { /* returns number of things found */ int num; xchar zx, zy; @@ -116,7 +116,7 @@ findit() } int -dosearch() +dosearch(void) { xchar x, y; struct trap *trap; @@ -174,7 +174,7 @@ dosearch() } int -doidtrap() +doidtrap(void) { struct trap *trap; int x, y; @@ -195,8 +195,7 @@ doidtrap() } void -wakeup(mtmp) - struct monst *mtmp; +wakeup(struct monst *mtmp) { mtmp->msleep = 0; setmangry(mtmp); @@ -206,8 +205,7 @@ wakeup(mtmp) /* NOTE: we must check if(mtmp->mimic) before calling this routine */ void -seemimic(mtmp) - struct monst *mtmp; +seemimic(struct monst *mtmp) { mtmp->mimic = 0; mtmp->mappearance = 0; |