summaryrefslogtreecommitdiff
path: root/games/trek/externs.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1999-07-31 18:49:01 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1999-07-31 18:49:01 +0000
commite585050e69b2cffded83049457534efebbcb7ca9 (patch)
tree315af1a4012c229fabbf7c6b2937a35f6d089b10 /games/trek/externs.c
parenta6d6ed8a0aa01096faeeabaf63df8a1e305df488 (diff)
Use const where appropriate: jsm28@cam.ac.uk
Diffstat (limited to 'games/trek/externs.c')
-rw-r--r--games/trek/externs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/trek/externs.c b/games/trek/externs.c
index 731770e28c9..00124c0ff8f 100644
--- a/games/trek/externs.c
+++ b/games/trek/externs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: externs.c,v 1.2 1998/08/19 07:41:34 pjanzen Exp $ */
+/* $OpenBSD: externs.c,v 1.3 1999/07/31 18:48:58 pjanzen Exp $ */
/* $NetBSD: externs.c,v 1.3 1995/04/22 10:58:53 cgd Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)externs.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: externs.c,v 1.2 1998/08/19 07:41:34 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: externs.c,v 1.3 1999/07/31 18:48:58 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -48,7 +48,7 @@ static char rcsid[] = "$OpenBSD: externs.c,v 1.2 1998/08/19 07:41:34 pjanzen Exp
** global variable definitions
*/
-struct device Device[NDEV] =
+const struct device Device[NDEV] =
{
{ "warp drive", "Scotty" },
{ "S.R. scanners", "Scotty" },
@@ -68,7 +68,7 @@ struct device Device[NDEV] =
{ "*ERR 15*", "Nobody" }
};
-char *Systemname[NINHAB] =
+const char *const Systemname[NINHAB] =
{
"ERROR",
"Talos IV",