diff options
Diffstat (limited to 'trek/computer.c')
-rw-r--r-- | trek/computer.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/trek/computer.c b/trek/computer.c index a470cc47..62a6c73d 100644 --- a/trek/computer.c +++ b/trek/computer.c @@ -1,4 +1,4 @@ -/* $NetBSD: computer.c,v 1.11 2007/12/15 19:44:44 perry Exp $ */ +/* $NetBSD: computer.c,v 1.12 2009/05/24 19:18:44 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)computer.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: computer.c,v 1.11 2007/12/15 19:44:44 perry Exp $"); +__RCSID("$NetBSD: computer.c,v 1.12 2009/05/24 19:18:44 dholland Exp $"); #endif #endif /* not lint */ @@ -109,8 +109,7 @@ static void prkalc(int, double); /*ARGSUSED*/ void -computer(v) - int v __unused; +computer(int v __unused) { int ix, iy; int i, j; @@ -317,12 +316,7 @@ computer(v) */ static int -kalc(tqx, tqy, tsx, tsy, dist) -int tqx; -int tqy; -int tsx; -int tsy; -double *dist; +kalc(int tqx, int tqy, int tsx, int tsy, double *dist) { double dx, dy; double quadsize; @@ -347,9 +341,7 @@ double *dist; } static void -prkalc(course, dist) -int course; -double dist; +prkalc(int course, double dist) { printf(": course %d dist %.3f\n", course, dist); } |