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.mhitu.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.mhitu.c')
-rw-r--r-- | hack/hack.mhitu.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/hack/hack.mhitu.c b/hack/hack.mhitu.c index db1720f1..d926898a 100644 --- a/hack/hack.mhitu.c +++ b/hack/hack.mhitu.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.mhitu.c,v 1.6 2003/04/02 18:36:37 jsm Exp $ */ +/* $NetBSD: hack.mhitu.c,v 1.7 2009/06/07 18:30:39 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hack.mhitu.c,v 1.6 2003/04/02 18:36:37 jsm Exp $"); +__RCSID("$NetBSD: hack.mhitu.c,v 1.7 2009/06/07 18:30:39 dholland Exp $"); #endif /* not lint */ #include "hack.h" @@ -74,8 +74,7 @@ __RCSID("$NetBSD: hack.mhitu.c,v 1.6 2003/04/02 18:36:37 jsm Exp $"); * returns 1 if monster dies (e.g. 'y', 'F'), 0 otherwise */ int -mhitu(mtmp) - struct monst *mtmp; +mhitu(struct monst *mtmp) { const struct permonst *mdat = mtmp->data; int tmp, ctmp; @@ -402,9 +401,7 @@ mhitu(mtmp) } int -hitu(mtmp, dam) - struct monst *mtmp; - int dam; +hitu(struct monst *mtmp, int dam) { int tmp, res; |