diff options
author | dholland <dholland@NetBSD.org> | 2009-03-14 20:04:43 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-03-14 20:04:43 +0000 |
commit | 378015332508b48169d5f735be9a4bb4b6c82c03 (patch) | |
tree | f8401755021f17a0b5e07d16fd7ab7b379e351da /sail/extern.h | |
parent | c9ea3d28669550d93bd8b6ba25a908f58b38683a (diff) | |
download | bsdgames-darwin-378015332508b48169d5f735be9a4bb4b6c82c03.tar.gz bsdgames-darwin-378015332508b48169d5f735be9a4bb4b6c82c03.tar.zst bsdgames-darwin-378015332508b48169d5f735be9a4bb4b6c82c03.zip |
Sprinkle some "bool". And don't use '\0' to mean 'false'.
Diffstat (limited to 'sail/extern.h')
-rw-r--r-- | sail/extern.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sail/extern.h b/sail/extern.h index d6bcbd48..485d7db6 100644 --- a/sail/extern.h +++ b/sail/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.30 2009/03/14 19:35:13 dholland Exp $ */ +/* $NetBSD: extern.h,v 1.31 2009/03/14 20:04:43 dholland Exp $ */ /* * Copyright (c) 1983, 1993 @@ -32,6 +32,7 @@ */ #include <sys/types.h> +#include <stdbool.h> #include "machdep.h" @@ -306,7 +307,7 @@ int next(void); void thinkofgrapples(void); void checkup(void); void prizecheck(void); -void closeon(struct ship *, struct ship *, char *, size_t, int, int, int); +void closeon(struct ship *, struct ship *, char *, size_t, int, int, bool); /* dr_3.c */ void moveall(void); @@ -327,7 +328,7 @@ int mensent(struct ship *, struct ship *, int[3], struct ship **, int *, int); int dr_main(void); /* game.c */ -int maxturns(struct ship *, char *); +int maxturns(struct ship *, bool *); int maxmove(struct ship *, int, int); /* lo_main.c */ |