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.makemon.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.makemon.c')
-rw-r--r-- | hack/hack.makemon.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/hack/hack.makemon.c b/hack/hack.makemon.c index 44202cca..9a0821e8 100644 --- a/hack/hack.makemon.c +++ b/hack/hack.makemon.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.makemon.c,v 1.7 2008/01/28 06:55:41 dholland Exp $ */ +/* $NetBSD: hack.makemon.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 <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hack.makemon.c,v 1.7 2008/01/28 06:55:41 dholland Exp $"); +__RCSID("$NetBSD: hack.makemon.c,v 1.8 2009/06/07 18:30:39 dholland Exp $"); #endif /* not lint */ #include "hack.h" @@ -181,8 +181,7 @@ gotmon: } coord -enexto(xx, yy) - xchar xx, yy; +enexto(xchar xx, xchar yy) { xchar x, y; coord foo[15], *tfoo; @@ -237,8 +236,7 @@ goodpos(int x, int y) } void -rloc(mtmp) - struct monst *mtmp; +rloc(struct monst *mtmp) { int tx, ty; char ch = mtmp->data->mlet; @@ -265,9 +263,7 @@ rloc(mtmp) } struct monst * -mkmon_at(let, x, y) - char let; - int x, y; +mkmon_at(int let, int x, int y) { int ct; const struct permonst *ptr; |