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/setup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phantasia/setup.c') diff --git a/phantasia/setup.c b/phantasia/setup.c index ee61b9c2..c9acd978 100644 --- a/phantasia/setup.c +++ b/phantasia/setup.c @@ -1,12 +1,12 @@ -/* $NetBSD: setup.c,v 1.3 1995/03/24 04:00:51 cgd Exp $ */ +/* $NetBSD: setup.c,v 1.4 1995/04/24 12:24:41 cgd Exp $ */ /* * setup.c - set up all files for Phantasia */ -#include "include.h" #include #include #include +#include "include.h" /* */ /************************************************************************ / @@ -77,7 +77,7 @@ main(argc, argv) argc -= optind; argv += optind; - srandom((unsigned) time((long *) NULL)); /* prime random numbers */ + srandom((unsigned) time(NULL)); /* prime random numbers */ umask(0117); /* only owner can read/write created files */ -- cgit v1.2.3