From b462731cbc1198051cd39ad2f95b1027e441067d Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 7 Jun 2009 18:30:39 +0000 Subject: ANSIfy function declarations. All object file diffs inspected. --- hack/hack.search.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'hack/hack.search.c') 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 #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; -- cgit v1.2.3-56-ge451