summaryrefslogtreecommitdiff
path: root/games/trek/dock.c
diff options
context:
space:
mode:
authormestre <mestre@cvs.openbsd.org>2016-01-07 14:37:52 +0000
committermestre <mestre@cvs.openbsd.org>2016-01-07 14:37:52 +0000
commitb3fe14d2ca1894aaedbdec13948fd64dcfd05b01 (patch)
treeb442bed5712a522698fff66bbe1d48253b2f9a01 /games/trek/dock.c
parentccfb46488ffb8c7f63a58ea30e483d2fa7b553a3 (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/dock.c')
-rw-r--r--games/trek/dock.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/trek/dock.c b/games/trek/dock.c
index 8030bbc4670..745f57e8c38 100644
--- a/games/trek/dock.c
+++ b/games/trek/dock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dock.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
+/* $OpenBSD: dock.c,v 1.7 2016/01/07 14:37:51 mestre Exp $ */
/* $NetBSD: dock.c,v 1.3 1995/04/22 10:58:45 cgd Exp $ */
/*
@@ -50,8 +50,7 @@
*/
void
-dock(v)
- int v;
+dock(int v)
{
int i, j;
int ok;
@@ -124,8 +123,7 @@ dock(v)
*/
void
-undock(v)
- int v;
+undock(int v)
{
struct event *e;
int i;