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.track.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'hack/hack.track.c') 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 #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; -- cgit v1.2.3