From e0675e304b50073e40bf7b5d3bfc9ef7d7358ace Mon Sep 17 00:00:00 2001 From: dholland Date: Mon, 28 Jan 2008 06:20:15 +0000 Subject: Make this build with WARNS=4 by not reusing names from . --- phantasia/misc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'phantasia') diff --git a/phantasia/misc.c b/phantasia/misc.c index d3f72b9d..cfc8a1b1 100644 --- a/phantasia/misc.c +++ b/phantasia/misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: misc.c,v 1.14 2005/02/15 12:58:21 jsm Exp $ */ +/* $NetBSD: misc.c,v 1.15 2008/01/28 06:20:15 dholland Exp $ */ /* * misc.c Phantasia miscellaneous support routines @@ -954,13 +954,13 @@ error(whichfile) } double -distance(x1, x2, y1, y2) - double x1, x2, y1, y2; +distance(x_1, x_2, y_1, y_2) + double x_1, x_2, y_1, y_2; { double deltax, deltay; - deltax = x1 - x2; - deltay = y1 - y2; + deltax = x_1 - x_2; + deltay = y_1 - y_2; return (sqrt(deltax * deltax + deltay * deltay)); } -- cgit v1.2.3-56-ge451