New upstream source

git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5102 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
joey
1999-09-26 21:26:52 +00:00
parent 5d36ad0e9e
commit fb38e489ce
10 changed files with 37 additions and 45483 deletions

View File

@@ -1,4 +1,4 @@
/* $NetBSD: main.c,v 1.9 1999/02/10 12:29:47 hubertf Exp $ */
/* $NetBSD: main.c,v 1.15 1999/09/17 17:07:11 jsm Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -43,21 +43,21 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: main.c,v 1.9 1999/02/10 12:29:47 hubertf Exp $");
__RCSID("$NetBSD: main.c,v 1.15 1999/09/17 17:07:11 jsm Exp $");
#endif
#endif /* not lint */
#include <time.h>
#include "back.h"
#include "backlocal.h"
#include <time.h>
#define MVPAUSE 5 /* time to sleep when stuck */
extern const char *const instr[]; /* text of instructions */
extern const char *const message[]; /* update message */
#ifndef NCURSES_VERSION
speed_t ospeed; /* tty output speed */
short ospeed; /* tty output speed */
#endif
const char *const helpm[] = { /* help message */
@@ -122,7 +122,7 @@ main(argc, argv)
/* use whole screen for text */
if (tflag)
begscr = 0;
t = time(0);
t = time(NULL);
srandom(t); /* 'random' seed */
#ifdef V7