summaryrefslogtreecommitdiffstats
path: root/trek/externs.c
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1999-07-21 13:19:10 +0000
committerhubertf <hubertf@NetBSD.org>1999-07-21 13:19:10 +0000
commitd91aeebe629b8428e564df33c93bb69195d28cc3 (patch)
tree342727fa8bfdbef8202ebb0d3d400deab12a179f /trek/externs.c
parent21ce304979b76ad5fff791e88f3f0c0fa22ce01a (diff)
downloadbsdgames-darwin-d91aeebe629b8428e564df33c93bb69195d28cc3.tar.gz
bsdgames-darwin-d91aeebe629b8428e564df33c93bb69195d28cc3.tar.zst
bsdgames-darwin-d91aeebe629b8428e564df33c93bb69195d28cc3.zip
const poisoning
Patch submitted in PR 8039 by Joseph Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'trek/externs.c')
-rw-r--r--trek/externs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/trek/externs.c b/trek/externs.c
index 00b61408..cc00600c 100644
--- a/trek/externs.c
+++ b/trek/externs.c
@@ -1,4 +1,4 @@
-/* $NetBSD: externs.c,v 1.4 1997/10/12 21:24:48 christos Exp $ */
+/* $NetBSD: externs.c,v 1.5 1999/07/21 13:19:10 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)externs.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: externs.c,v 1.4 1997/10/12 21:24:48 christos Exp $");
+__RCSID("$NetBSD: externs.c,v 1.5 1999/07/21 13:19:10 hubertf Exp $");
#endif
#endif /* not lint */
@@ -48,7 +48,7 @@ __RCSID("$NetBSD: externs.c,v 1.4 1997/10/12 21:24:48 christos 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",