Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games Include <time.h> for declarations the Single Unix Spec...
details: https://anonhg.NetBSD.org/src/rev/e9b3a7e079b4
branches: trunk
changeset: 514320:e9b3a7e079b4
user: jsm <jsm%NetBSD.org@localhost>
date: Wed Aug 29 18:23:44 2001 +0000
description:
Include <time.h> for declarations the Single Unix Specification says
are there but not in <sys/time.h>.
diffstat:
games/atc/include.h | 3 ++-
games/monop/execute.c | 5 +++--
games/sail/main.c | 5 +++--
3 files changed, 8 insertions(+), 5 deletions(-)
diffs (69 lines):
diff -r 19ba802abfb5 -r e9b3a7e079b4 games/atc/include.h
--- a/games/atc/include.h Wed Aug 29 18:22:56 2001 +0000
+++ b/games/atc/include.h Wed Aug 29 18:23:44 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: include.h,v 1.6 1997/10/10 02:07:14 lukem Exp $ */
+/* $NetBSD: include.h,v 1.7 2001/08/29 18:23:44 jsm Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -66,6 +66,7 @@
#include <stdlib.h>
#include <string.h>
#include <termios.h>
+#include <time.h>
#include <unistd.h>
#include "def.h"
diff -r 19ba802abfb5 -r e9b3a7e079b4 games/monop/execute.c
--- a/games/monop/execute.c Wed Aug 29 18:22:56 2001 +0000
+++ b/games/monop/execute.c Wed Aug 29 18:23:44 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: execute.c,v 1.7 1999/09/08 21:17:51 jsm Exp $ */
+/* $NetBSD: execute.c,v 1.8 2001/08/29 18:23:44 jsm Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)execute.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: execute.c,v 1.7 1999/09/08 21:17:51 jsm Exp $");
+__RCSID("$NetBSD: execute.c,v 1.8 2001/08/29 18:23:44 jsm Exp $");
#endif
#endif /* not lint */
@@ -49,6 +49,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
+#include <time.h>
#define SEGSIZE 8192
diff -r 19ba802abfb5 -r e9b3a7e079b4 games/sail/main.c
--- a/games/sail/main.c Wed Aug 29 18:22:56 2001 +0000
+++ b/games/sail/main.c Wed Aug 29 18:23:44 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.19 2001/01/04 03:51:24 jwise Exp $ */
+/* $NetBSD: main.c,v 1.20 2001/08/29 18:23:44 jsm Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: main.c,v 1.19 2001/01/04 03:51:24 jwise Exp $");
+__RCSID("$NetBSD: main.c,v 1.20 2001/08/29 18:23:44 jsm Exp $");
#endif
#endif /* not lint */
@@ -52,6 +52,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "extern.h"
#include "restart.h"
Home |
Main Index |
Thread Index |
Old Index