X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/5b76eed8435d83619f278cc1584ca5751e2804f6..ac993d78a557211a3c93c9e8f76d8e14e501932d:/trek/visual.c diff --git a/trek/visual.c b/trek/visual.c index 4137ec61..286901e2 100644 --- a/trek/visual.c +++ b/trek/visual.c @@ -1,4 +1,4 @@ -/* $NetBSD: visual.c,v 1.7 2007/12/15 19:44:45 perry Exp $ */ +/* $NetBSD: visual.c,v 1.10 2009/08/12 08:54:54 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)visual.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: visual.c,v 1.7 2007/12/15 19:44:45 perry Exp $"); +__RCSID("$NetBSD: visual.c,v 1.10 2009/08/12 08:54:54 dholland Exp $"); #endif #endif /* not lint */ @@ -52,8 +52,7 @@ __RCSID("$NetBSD: visual.c,v 1.7 2007/12/15 19:44:45 perry Exp $"); */ /* This struct[] has the delta x, delta y for particular directions */ -struct xy Visdelta[11] = -{ +static struct xy Visdelta[11] = { { -1, -1 }, { -1, 0 }, { -1, 1 }, @@ -69,8 +68,7 @@ struct xy Visdelta[11] = /*ARGSUSED*/ void -visual(z) - int z __unused; +visual(int z __unused) { int ix, iy; int co;