diff options
author | mestre <mestre@cvs.openbsd.org> | 2016-01-07 14:37:52 +0000 |
---|---|---|
committer | mestre <mestre@cvs.openbsd.org> | 2016-01-07 14:37:52 +0000 |
commit | b3fe14d2ca1894aaedbdec13948fd64dcfd05b01 (patch) | |
tree | b442bed5712a522698fff66bbe1d48253b2f9a01 /games/trek/visual.c | |
parent | ccfb46488ffb8c7f63a58ea30e483d2fa7b553a3 (diff) |
ANSIfy trek(6)
Note: Binary change is introduced due to function schedule() where its args are
(int,double,char,char,char), but on trek.h are (int,double,int,int,int). Changed
to the latter since the 3 last args are coordinates.
OK tb@
Diffstat (limited to 'games/trek/visual.c')
-rw-r--r-- | games/trek/visual.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/games/trek/visual.c b/games/trek/visual.c index 41b66e8cac3..8417c0f4c8b 100644 --- a/games/trek/visual.c +++ b/games/trek/visual.c @@ -1,4 +1,4 @@ -/* $OpenBSD: visual.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */ +/* $OpenBSD: visual.c,v 1.7 2016/01/07 14:37:51 mestre Exp $ */ /* $NetBSD: visual.c,v 1.3 1995/04/22 10:59:39 cgd Exp $ */ /* @@ -61,8 +61,7 @@ struct xy Visdelta[11] = }; void -visual(z) - int z; +visual(int z) { int ix, iy, co; struct xy *v; |