]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - trek/externs.c
fix main() prototype, as per PR#5867
[bsdgames-darwin.git] / trek / externs.c
index c5a0f387e4d9b545ff2c5dae2d9b76ebd5bf688d..00b614081f74f67621e569199042829d7319d1ce 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: externs.c,v 1.3 1995/04/22 10:58:53 cgd Exp $  */
+/*     $NetBSD: externs.c,v 1.4 1997/10/12 21:24:48 christos Exp $     */
 
 /*
  * Copyright (c) 1980, 1993
  * SUCH DAMAGE.
  */
 
+#include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)externs.c  8.1 (Berkeley) 5/31/93";
 #else
-static char rcsid[] = "$NetBSD: externs.c,v 1.3 1995/04/22 10:58:53 cgd Exp $";
+__RCSID("$NetBSD: externs.c,v 1.4 1997/10/12 21:24:48 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -49,22 +50,22 @@ static char rcsid[] = "$NetBSD: externs.c,v 1.3 1995/04/22 10:58:53 cgd Exp $";
 
 struct device  Device[NDEV] =
 {
-       "warp drive",           "Scotty",
-       "S.R. scanners",        "Scotty",
-       "L.R. scanners",        "Scotty",
-       "phasers",              "Sulu",
-       "photon tubes",         "Sulu",
-       "impulse engines",      "Scotty",
-       "shield control",       "Sulu",
-       "computer",             "Spock",
-       "subspace radio",       "Uhura",
-       "life support",         "Scotty",
-       "navigation system",    "Chekov",
-       "cloaking device",      "Scotty",
-       "transporter",          "Scotty",
-       "shuttlecraft",         "Scotty",
-       "*ERR 14*",             "Nobody",
-       "*ERR 15*",             "Nobody"
+       { "warp drive",         "Scotty" },
+       { "S.R. scanners",      "Scotty" },
+       { "L.R. scanners",      "Scotty" },
+       { "phasers",            "Sulu" },
+       { "photon tubes",       "Sulu" },
+       { "impulse engines",    "Scotty" },
+       { "shield control",     "Sulu" },
+       { "computer",           "Spock" },
+       { "subspace radio",     "Uhura" },
+       { "life support",       "Scotty" },
+       { "navigation system",  "Chekov" },
+       { "cloaking device",    "Scotty" },
+       { "transporter",        "Scotty" },
+       { "shuttlecraft",       "Scotty" },
+       { "*ERR 14*",           "Nobody" },
+       { "*ERR 15*",           "Nobody" }
 };
 
 char   *Systemname[NINHAB] =