diff options
author | dholland <dholland@NetBSD.org> | 2008-02-20 04:50:12 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2008-02-20 04:50:12 +0000 |
commit | 097774360f5b918275ec015d8a33ab6c57b812b5 (patch) | |
tree | 8bf86dec4c01d63dc021b67388503ba0530ea1ed /monop | |
parent | 413a596f439ac842277d61847a166f6c8ea6f497 (diff) | |
download | bsdgames-darwin-097774360f5b918275ec015d8a33ab6c57b812b5.tar.gz bsdgames-darwin-097774360f5b918275ec015d8a33ab6c57b812b5.tar.zst bsdgames-darwin-097774360f5b918275ec015d8a33ab6c57b812b5.zip |
Add the sizes to the extern array declarations. This may not be
necessary, but it's safe and reduces unnecessary divergence.
From OpenBSD.
Diffstat (limited to 'monop')
-rw-r--r-- | monop/monop.ext | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/monop/monop.ext b/monop/monop.ext index 65652f6b..395a512e 100644 --- a/monop/monop.ext +++ b/monop/monop.ext @@ -1,4 +1,4 @@ -/* $NetBSD: monop.ext,v 1.7 2004/01/27 20:30:30 jsm Exp $ */ +/* $NetBSD: monop.ext,v 1.8 2008/02/20 04:50:12 dholland Exp $ */ /*- * Copyright (c) 1980, 1993 @@ -44,14 +44,14 @@ extern void (*const func[])(void); extern DECK deck[2]; -extern MON mon[]; +extern MON mon[N_MON]; extern PLAY *play, *cur_p; -extern PROP prop[]; +extern PROP prop[N_PROP]; -extern RR_S rr[]; +extern RR_S rr[N_RR]; -extern SQUARE board[]; +extern SQUARE board[N_SQRS + 1]; -extern UTIL_S util[]; +extern UTIL_S util[2]; |