From a65a873e56c35780711e9f73872c4fe0254589b0 Mon Sep 17 00:00:00 2001 From: cgd Date: Mon, 24 Apr 1995 12:21:37 +0000 Subject: Various changes to make games compile w/o warnings on the alpha: Include appropriate includes, delete bogus function declarations, change sizes of variables and casts. --- phantasia/gamesupport.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phantasia/gamesupport.c') diff --git a/phantasia/gamesupport.c b/phantasia/gamesupport.c index b1be5e4d..e4742b0f 100644 --- a/phantasia/gamesupport.c +++ b/phantasia/gamesupport.c @@ -1,4 +1,4 @@ -/* $NetBSD: gamesupport.c,v 1.2 1995/03/24 03:58:43 cgd Exp $ */ +/* $NetBSD: gamesupport.c,v 1.3 1995/04/24 12:24:28 cgd Exp $ */ /* * gamesupport.c - auxiliary routines for support of Phantasia @@ -63,7 +63,7 @@ int c; /* input */ int today; /* day of year of today */ int temp; /* temporary variable */ long loc; /* location in player file */ -long now; /* time now */ +time_t now; /* time now */ double dtemp; /* temporary variable */ bool *bptr; /* pointer to bool item to change */ double *dptr; /* pointer to double item to change */ @@ -626,7 +626,7 @@ purgeoldplayers() { int today; /* day of year for today */ int daysold; /* how many days since the character has been used */ -long ltime; /* time in seconds */ +time_t ltime; /* time in seconds */ long loc = 0L; /* location in file */ time(<ime); -- cgit v1.2.3