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.track.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.track.c')
-rw-r--r-- | hack/hack.track.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/hack/hack.track.c b/hack/hack.track.c index 844bab5a..2621b4cd 100644 --- a/hack/hack.track.c +++ b/hack/hack.track.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.track.c,v 1.6 2008/01/28 06:55:42 dholland Exp $ */ +/* $NetBSD: hack.track.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.track.c,v 1.6 2008/01/28 06:55:42 dholland Exp $"); +__RCSID("$NetBSD: hack.track.c,v 1.7 2009/06/07 18:30:39 dholland Exp $"); #endif /* not lint */ #include "hack.h" @@ -76,14 +76,14 @@ int utcnt = 0; int utpnt = 0; void -initrack() +initrack(void) { utcnt = utpnt = 0; } /* add to track */ void -settrack() +settrack(void) { if (utcnt < UTSZ) utcnt++; @@ -95,8 +95,7 @@ settrack() } coord * -gettrack(x, y) - int x, y; +gettrack(int x, int y) { int i, cnt, distsq; coord tc; |