diff options
author | hubertf <hubertf@NetBSD.org> | 1999-02-10 01:36:50 +0000 |
---|---|---|
committer | hubertf <hubertf@NetBSD.org> | 1999-02-10 01:36:50 +0000 |
commit | 100d94357a66a55e6b4fdc8a07350d7b62a945d6 (patch) | |
tree | 5cc11420edf6395ec5d7520b9eee92aa629ce353 /battlestar/misc.c | |
parent | 22a27dede77166c7bdf1de647d4d2b961fcd92c2 (diff) | |
download | bsdgames-darwin-100d94357a66a55e6b4fdc8a07350d7b62a945d6.tar.gz bsdgames-darwin-100d94357a66a55e6b4fdc8a07350d7b62a945d6.tar.zst bsdgames-darwin-100d94357a66a55e6b4fdc8a07350d7b62a945d6.zip |
Const poisoning, per PR 6660 by Joseph Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'battlestar/misc.c')
-rw-r--r-- | battlestar/misc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/battlestar/misc.c b/battlestar/misc.c index dacba04d..89d636ac 100644 --- a/battlestar/misc.c +++ b/battlestar/misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: misc.c,v 1.6 1997/10/11 02:07:27 lukem Exp $ */ +/* $NetBSD: misc.c,v 1.7 1999/02/10 01:36:50 hubertf Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)misc.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: misc.c,v 1.6 1997/10/11 02:07:27 lukem Exp $"); +__RCSID("$NetBSD: misc.c,v 1.7 1999/02/10 01:36:50 hubertf Exp $"); #endif #endif /* not lint */ @@ -46,10 +46,10 @@ __RCSID("$NetBSD: misc.c,v 1.6 1997/10/11 02:07:27 lukem Exp $"); int card(array, size) /* for beenthere, injuries */ - char *array; + const char *array; int size; { - char *end = array + size; + const char *end = array + size; int i = 0; while (array < end) @@ -60,7 +60,7 @@ card(array, size) /* for beenthere, injuries */ int ucard(array) - unsigned int *array; + const unsigned int *array; { int j = 0, n; |