summaryrefslogtreecommitdiff
path: root/games/sail/dr_4.c
diff options
context:
space:
mode:
authormestre <mestre@cvs.openbsd.org>2016-01-08 20:26:34 +0000
committermestre <mestre@cvs.openbsd.org>2016-01-08 20:26:34 +0000
commit9824c6d5fdc98036b6d2cf9d56bdcd37799f7ba3 (patch)
tree5d1a8e301067cef9eb4552afdbe739770f95e5e2 /games/sail/dr_4.c
parent3264a9db1c00116c940baeab7e8b76c2f140ae36 (diff)
ANSIfy sail(6) plus some cleanup
OK tb@
Diffstat (limited to 'games/sail/dr_4.c')
-rw-r--r--games/sail/dr_4.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/games/sail/dr_4.c b/games/sail/dr_4.c
index d061c1a4133..5b14c43f8a0 100644
--- a/games/sail/dr_4.c
+++ b/games/sail/dr_4.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dr_4.c,v 1.4 2009/10/27 23:59:27 deraadt Exp $ */
+/* $OpenBSD: dr_4.c,v 1.5 2016/01/08 20:26:33 mestre Exp $ */
/* $NetBSD: dr_4.c,v 1.3 1995/04/22 10:36:50 cgd Exp $ */
/*
@@ -30,12 +30,12 @@
* SUCH DAMAGE.
*/
-#include "extern.h"
#include <stdlib.h>
+#include "extern.h"
+
void
-ungrap(from, to)
- struct ship *from, *to;
+ungrap(struct ship *from, struct ship *to)
{
int k;
char friend;
@@ -52,8 +52,7 @@ ungrap(from, to)
}
void
-grap(from, to)
- struct ship *from, *to;
+grap(struct ship *from, struct ship *to)
{
if (capship(from)->nationality != capship(to)->nationality && die() > 2)
return;