Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/games/phantasia/misc.c,v rcsdiff: /ftp/cvs/cvsroot/src/games/phantasia/misc.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.14 retrieving revision 1.15 diff -u -p -r1.14 -r1.15 --- src/games/phantasia/misc.c 2005/02/15 12:58:21 1.14 +++ src/games/phantasia/misc.c 2008/01/28 06:20:15 1.15 @@ -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)); }