Include <time.h> in various places in the games where time() or time_t
are used.
This commit is contained in:
parent
a9c7f9b096
commit
2b25de3a90
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: main.c,v 1.13 1999/08/14 16:29:22 tron Exp $ */
|
||||
/* $NetBSD: main.c,v 1.14 1999/09/09 17:30:17 jsm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1993
|
||||
|
@ -43,10 +43,12 @@ __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.13 1999/08/14 16:29:22 tron Exp $");
|
||||
__RCSID("$NetBSD: main.c,v 1.14 1999/09/09 17:30:17 jsm Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include "back.h"
|
||||
#include "backlocal.h"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: extern.h,v 1.5 1999/09/08 21:17:44 jsm Exp $ */
|
||||
/* $NetBSD: extern.h,v 1.6 1999/09/09 17:30:18 jsm Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993
|
||||
|
@ -35,6 +35,8 @@
|
|||
* @(#)extern.h 8.1 (Berkeley) 6/11/93
|
||||
*/
|
||||
|
||||
#include <time.h>
|
||||
|
||||
void addword __P((const char *));
|
||||
void badword __P((void));
|
||||
char *batchword __P((FILE *));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: canfield.c,v 1.13 1999/09/08 21:45:26 jsm Exp $ */
|
||||
/* $NetBSD: canfield.c,v 1.14 1999/09/09 17:30:19 jsm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1993
|
||||
|
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)canfield.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: canfield.c,v 1.13 1999/09/08 21:45:26 jsm Exp $");
|
||||
__RCSID("$NetBSD: canfield.c,v 1.14 1999/09/09 17:30:19 jsm Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -67,7 +67,7 @@ __RCSID("$NetBSD: canfield.c,v 1.13 1999/09/08 21:45:26 jsm Exp $");
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <termios.h>
|
||||
#include <termios.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "pathnames.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fortune.c,v 1.18 1999/09/08 21:57:16 jsm Exp $ */
|
||||
/* $NetBSD: fortune.c,v 1.19 1999/09/09 17:30:19 jsm Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1986, 1993
|
||||
|
@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1986, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)fortune.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: fortune.c,v 1.18 1999/09/08 21:57:16 jsm Exp $");
|
||||
__RCSID("$NetBSD: fortune.c,v 1.19 1999/09/09 17:30:19 jsm Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -62,6 +62,7 @@ __RCSID("$NetBSD: fortune.c,v 1.18 1999/09/08 21:57:16 jsm Exp $");
|
|||
# include <stdlib.h>
|
||||
# include <string.h>
|
||||
# include <err.h>
|
||||
# include <time.h>
|
||||
# include "strfile.h"
|
||||
# include "pathnames.h"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: strfile.c,v 1.11 1999/09/08 21:57:17 jsm Exp $ */
|
||||
/* $NetBSD: strfile.c,v 1.12 1999/09/09 17:30:19 jsm Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)strfile.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: strfile.c,v 1.11 1999/09/08 21:57:17 jsm Exp $");
|
||||
__RCSID("$NetBSD: strfile.c,v 1.12 1999/09/09 17:30:19 jsm Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -57,6 +57,7 @@ __RCSID("$NetBSD: strfile.c,v 1.11 1999/09/08 21:57:17 jsm Exp $");
|
|||
# include <stdio.h>
|
||||
# include <stdlib.h>
|
||||
# include <string.h>
|
||||
# include <time.h>
|
||||
# include <unistd.h>
|
||||
# include "strfile.h"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: setup.c,v 1.6 1999/09/08 21:17:50 jsm Exp $ */
|
||||
/* $NetBSD: setup.c,v 1.7 1999/09/09 17:30:20 jsm Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1983, 1993
|
||||
|
@ -38,11 +38,12 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: setup.c,v 1.6 1999/09/08 21:17:50 jsm Exp $");
|
||||
__RCSID("$NetBSD: setup.c,v 1.7 1999/09/09 17:30:20 jsm Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
#include <err.h>
|
||||
#include <time.h>
|
||||
#include "hangman.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: save.c,v 1.9 1999/09/08 21:57:18 jsm Exp $ */
|
||||
/* $NetBSD: save.c,v 1.10 1999/09/09 17:30:20 jsm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
|
@ -38,10 +38,12 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)save.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: save.c,v 1.9 1999/09/08 21:57:18 jsm Exp $");
|
||||
__RCSID("$NetBSD: save.c,v 1.10 1999/09/09 17:30:20 jsm Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include "mille.h"
|
||||
|
||||
#ifndef unctrl
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sync.c,v 1.12 1999/09/08 21:57:20 jsm Exp $ */
|
||||
/* $NetBSD: sync.c,v 1.13 1999/09/09 17:30:20 jsm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
|
@ -38,7 +38,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)sync.c 8.2 (Berkeley) 4/28/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: sync.c,v 1.12 1999/09/08 21:57:20 jsm Exp $");
|
||||
__RCSID("$NetBSD: sync.c,v 1.13 1999/09/09 17:30:20 jsm Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -53,6 +53,7 @@ __RCSID("$NetBSD: sync.c,v 1.12 1999/09/08 21:57:20 jsm Exp $");
|
|||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <time.h>
|
||||
#include "extern.h"
|
||||
|
||||
#define BUFSIZE 4096
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wump.c,v 1.9 1999/07/14 22:49:27 hubertf Exp $ */
|
||||
/* $NetBSD: wump.c,v 1.10 1999/09/09 17:30:20 jsm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -47,7 +47,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)wump.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: wump.c,v 1.9 1999/07/14 22:49:27 hubertf Exp $");
|
||||
__RCSID("$NetBSD: wump.c,v 1.10 1999/09/09 17:30:20 jsm Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -64,6 +64,7 @@ __RCSID("$NetBSD: wump.c,v 1.9 1999/07/14 22:49:27 hubertf Exp $");
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include "pathnames.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue