diff options
| author | cgd <cgd@NetBSD.org> | 1995-04-24 12:21:37 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 1995-04-24 12:21:37 +0000 |
| commit | a65a873e56c35780711e9f73872c4fe0254589b0 (patch) | |
| tree | 5e3a2578839def2becc14922977dc641dfd01c20 /rogue/machdep.c | |
| parent | d7c608df67f7b99aee31ddf6c13d8870695f6827 (diff) | |
| download | bsdgames-darwin-a65a873e56c35780711e9f73872c4fe0254589b0.tar.gz bsdgames-darwin-a65a873e56c35780711e9f73872c4fe0254589b0.zip | |
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.
Diffstat (limited to 'rogue/machdep.c')
| -rw-r--r-- | rogue/machdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rogue/machdep.c b/rogue/machdep.c index baedb47b..96848910 100644 --- a/rogue/machdep.c +++ b/rogue/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.3 1995/04/22 10:27:39 cgd Exp $ */ +/* $NetBSD: machdep.c,v 1.4 1995/04/24 12:25:01 cgd Exp $ */ /* * Copyright (c) 1988, 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)machdep.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: machdep.c,v 1.3 1995/04/22 10:27:39 cgd Exp $"; +static char rcsid[] = "$NetBSD: machdep.c,v 1.4 1995/04/24 12:25:01 cgd Exp $"; #endif #endif /* not lint */ @@ -304,7 +304,7 @@ md_gct(rt_buf) struct rogue_time *rt_buf; { struct tm *t, *localtime(); - long seconds; + time_t seconds; time(&seconds); t = localtime(&seconds); @@ -338,7 +338,7 @@ char *fname; struct rogue_time *rt_buf; { struct stat sbuf; - long seconds; + time_t seconds; struct tm *t; stat(fname, &sbuf); |
