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/play.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/play.c')
-rw-r--r-- | games/trek/play.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/games/trek/play.c b/games/trek/play.c index 011028d9337..53f82635d6a 100644 --- a/games/trek/play.c +++ b/games/trek/play.c @@ -1,4 +1,4 @@ -/* $OpenBSD: play.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */ +/* $OpenBSD: play.c,v 1.7 2016/01/07 14:37:51 mestre Exp $ */ /* $NetBSD: play.c,v 1.3 1995/04/22 10:59:18 cgd Exp $ */ /* @@ -76,8 +76,7 @@ const struct cvntab Comtab[] = }; void -myreset(v) - int v; +myreset(int v) { extern jmp_buf env; @@ -85,7 +84,7 @@ myreset(v) } void -play() +play(void) { const struct cvntab *r; |