summaryrefslogtreecommitdiffstats
path: root/battlestar/init.c
diff options
context:
space:
mode:
authortls <tls@NetBSD.org>1997-01-07 11:56:32 +0000
committertls <tls@NetBSD.org>1997-01-07 11:56:32 +0000
commit3c786f26623b42ba83712ad2fafba474244b421f (patch)
treef3390bbeb02a2c5282711a31ffb8fd74d442e2f0 /battlestar/init.c
parent72d382a75e448bfd32dd2692c3eb01997be3157f (diff)
downloadbsdgames-darwin-3c786f26623b42ba83712ad2fafba474244b421f.tar.gz
bsdgames-darwin-3c786f26623b42ba83712ad2fafba474244b421f.tar.zst
bsdgames-darwin-3c786f26623b42ba83712ad2fafba474244b421f.zip
Sync to 4.4BSD-Lite2
Diffstat (limited to 'battlestar/init.c')
-rw-r--r--battlestar/init.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/battlestar/init.c b/battlestar/init.c
index 2a798ee1..b05d545c 100644
--- a/battlestar/init.c
+++ b/battlestar/init.c
@@ -1,4 +1,4 @@
-/* $NetBSD: init.c,v 1.4 1995/03/21 15:07:35 cgd Exp $ */
+/* $NetBSD: init.c,v 1.5 1997/01/07 11:56:45 tls Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -35,14 +35,14 @@
#ifndef lint
#if 0
-static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 5/31/93";
+static char sccsid[] = "@(#)init.c 8.4 (Berkeley) 4/30/95";
#else
-static char rcsid[] = "$NetBSD: init.c,v 1.4 1995/03/21 15:07:35 cgd Exp $";
+static char rcsid[] = "$NetBSD: init.c,v 1.5 1997/01/07 11:56:45 tls Exp $";
#endif
#endif /* not lint */
#include <sys/types.h>
-#include "externs.h"
+#include "extern.h"
#include <pwd.h>
initialize(startup)
@@ -54,11 +54,11 @@ initialize(startup)
puts("Version 4.2, fall 1984.");
puts("First Adventure game written by His Lordship, the honorable");
puts("Admiral D.W. Riggle\n");
+ location = dayfile;
srand(getpid());
getutmp(uname);
wordinit();
if (startup) {
- location = dayfile;
direction = NORTH;
time = 0;
snooze = CYCLE * 1.5;