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.wizard.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'hack/hack.wizard.c') diff --git a/hack/hack.wizard.c b/hack/hack.wizard.c index 8e268aaa..f1b5b031 100644 --- a/hack/hack.wizard.c +++ b/hack/hack.wizard.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.wizard.c,v 1.7 2008/01/28 06:55:42 dholland Exp $ */ +/* $NetBSD: hack.wizard.c,v 1.8 2009/06/07 18:30:39 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include #ifndef lint -__RCSID("$NetBSD: hack.wizard.c,v 1.7 2008/01/28 06:55:42 dholland Exp $"); +__RCSID("$NetBSD: hack.wizard.c,v 1.8 2009/06/07 18:30:39 dholland Exp $"); #endif /* not lint */ /* wizard code - inspired by rogue code from Merlyn Leroy (digi-g!brian) */ @@ -80,7 +80,7 @@ const char wizapp[] = "@DNPTUVXcemntx"; /* If he has found the Amulet, make the wizard appear after some time */ void -amulet() +amulet(void) { struct obj *otmp; struct monst *mtmp; @@ -102,8 +102,7 @@ amulet() } int -wiz_hit(mtmp) - struct monst *mtmp; +wiz_hit(struct monst *mtmp) { /* if we have stolen or found the amulet, we disappear */ if (mtmp->minvent && mtmp->minvent->olet == AMULET_SYM && @@ -150,8 +149,7 @@ hithim: } void -inrange(mtmp) - struct monst *mtmp; +inrange(struct monst *mtmp) { schar tx, ty; @@ -255,7 +253,7 @@ inrange(mtmp) } void -aggravate() +aggravate(void) { struct monst *mtmp; @@ -267,8 +265,7 @@ aggravate() } void -clonewiz(mtmp) - struct monst *mtmp; +clonewiz(struct monst *mtmp) { struct monst *mtmp2; -- cgit v1.2.3-56-ge451