-/* $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,
#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"
int utpnt = 0;
void
-initrack()
+initrack(void)
{
utcnt = utpnt = 0;
}
/* add to track */
void
-settrack()
+settrack(void)
{
if (utcnt < UTSZ)
utcnt++;
}
coord *
-gettrack(x, y)
- int x, y;
+gettrack(int x, int y)
{
int i, cnt, distsq;
coord tc;