summaryrefslogtreecommitdiff
path: root/games/sail/lo_main.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1999-01-18 06:20:55 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1999-01-18 06:20:55 +0000
commit5134b02ec45c91ead7868a5b9f0cea921d296a7c (patch)
tree7a1b1519d35853321a624d35e4df02324a7b4e70 /games/sail/lo_main.c
parent44f356a1eef9aaed32b992d35566e9f7e7d0db8c (diff)
NetBSD merge with additional fixes from jsm28@cam.ac.uk. This game still
needs much more work.
Diffstat (limited to 'games/sail/lo_main.c')
-rw-r--r--games/sail/lo_main.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/games/sail/lo_main.c b/games/sail/lo_main.c
index c4f3a143bb4..8d09e281caf 100644
--- a/games/sail/lo_main.c
+++ b/games/sail/lo_main.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: lo_main.c,v 1.2 1999/01/18 06:20:52 pjanzen Exp $ */
/* $NetBSD: lo_main.c,v 1.3 1995/04/22 10:36:59 cgd Exp $ */
/*
@@ -35,9 +36,9 @@
#ifndef lint
#if 0
-static char sccsid[] = "@(#)lo_main.c 8.1 (Berkeley) 5/31/93";
+static char sccsid[] = "@(#)lo_main.c 8.2 (Berkeley) 4/28/95";
#else
-static char rcsid[] = "$NetBSD: lo_main.c,v 1.3 1995/04/22 10:36:59 cgd Exp $";
+static char rcsid[] = "$OpenBSD: lo_main.c,v 1.2 1999/01/18 06:20:52 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -48,15 +49,16 @@ static char rcsid[] = "$NetBSD: lo_main.c,v 1.3 1995/04/22 10:36:59 cgd Exp $";
*/
#include <sys/types.h>
#include <pwd.h>
-#include "externs.h"
+#include "extern.h"
#include "pathnames.h"
-char *title[] = {
+const char *const title[] = {
"Admiral", "Commodore", "Captain", "Captain",
"Captain", "Captain", "Captain", "Commander",
"Commander", "Lieutenant"
};
+int
lo_main()
{
FILE *fp;