From 378015332508b48169d5f735be9a4bb4b6c82c03 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 14 Mar 2009 20:04:43 +0000 Subject: Sprinkle some "bool". And don't use '\0' to mean 'false'. --- sail/dr_2.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sail/dr_2.c') diff --git a/sail/dr_2.c b/sail/dr_2.c index 56719fbd..460f24ff 100644 --- a/sail/dr_2.c +++ b/sail/dr_2.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_2.c,v 1.23 2009/03/14 19:35:13 dholland Exp $ */ +/* $NetBSD: dr_2.c,v 1.24 2009/03/14 20:04:43 dholland Exp $ */ /* * Copyright (c) 1983, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)dr_2.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: dr_2.c,v 1.23 2009/03/14 19:35:13 dholland Exp $"); +__RCSID("$NetBSD: dr_2.c,v 1.24 2009/03/14 20:04:43 dholland Exp $"); #endif #endif /* not lint */ @@ -53,7 +53,7 @@ static void move_ship(struct ship *, const char *, unsigned char *, short *, short *, int *); static void try(struct ship *f, struct ship *t, char *command, size_t commandmax, char *temp, size_t tempmax, - int ma, int ta, int af, int vma, int dir, int *high, + int ma, int ta, bool af, int vma, int dir, int *high, int rakeme); static void rmend(char *); @@ -158,7 +158,7 @@ str_end(const char *str) void closeon(struct ship *from, struct ship *to, char *command, size_t commandmax, - int ta, int ma, int af) + int ta, int ma, bool af) { int high; char temp[10]; @@ -246,7 +246,7 @@ static void try(struct ship *f, struct ship *t, char *command, size_t commandmax, char *temp, size_t tempmax, - int ma, int ta, int af, int vma, int dir, int *high, int rakeme) + int ma, int ta, bool af, int vma, int dir, int *high, int rakeme) { int new, n; char st[4]; -- cgit v1.2.3