diff --git a/games/larn/data.c b/games/larn/data.c index 6a2eff8df46a..571cf4537210 100644 --- a/games/larn/data.c +++ b/games/larn/data.c @@ -1,4 +1,4 @@ -/* $NetBSD: data.c,v 1.8 1997/10/18 20:03:10 christos Exp $ */ +/* $NetBSD: data.c,v 1.9 1997/10/25 01:40:47 thorpej Exp $ */ /*- * Copyright (c) 1988 The Regents of the University of California. @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)data.c 5.3 (Berkeley) 5/13/91"; #else -__RCSID("$NetBSD: data.c,v 1.8 1997/10/18 20:03:10 christos Exp $"); +__RCSID("$NetBSD: data.c,v 1.9 1997/10/25 01:40:47 thorpej Exp $"); #endif #endif /* not lint */ @@ -168,7 +168,7 @@ short lasthx = 0, lasthy = 0; /* location of monster last hit by * player */ short nobeep = 0; /* true if program is not to beep */ unsigned long randx = 33601; /* the random number seed */ -long initialtime = 0;/* time playing began */ +time_t initialtime = 0;/* time playing began */ long gltime = 0; /* the clock for the game */ long outstanding_taxes = 0; /* present tax bill from score file */ long c[100], cbak[100]; /* the character description arrays */ diff --git a/games/larn/header.h b/games/larn/header.h index 0f033070ee87..6812680cc976 100644 --- a/games/larn/header.h +++ b/games/larn/header.h @@ -1,4 +1,4 @@ -/* $NetBSD: header.h,v 1.11 1997/10/18 20:03:22 christos Exp $ */ +/* $NetBSD: header.h,v 1.12 1997/10/25 01:40:48 thorpej Exp $ */ /* header.h Larn is copyrighted 1986 by Noah Morgan. */ @@ -359,13 +359,13 @@ extern short nobeep, oldx, oldy, playerx, playery, level; extern int dayplay, enable_scroll, srcount, yrepcount, userid, wisid, lfd, fd; extern uid_t uid, euid; -extern long initialtime, outstanding_taxes, skill[], gltime, c[], cbak[]; +extern long outstanding_taxes, skill[], gltime, c[], cbak[]; +extern time_t initialtime; extern unsigned long randx; extern struct cel *cell; extern struct monst monster[]; extern struct sphere *spheres; extern struct _itm itm[]; -extern long initialtime; extern int rmst, maxitm, lasttime; /* macro to create scroll #'s with probability of occurrence */