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 /phantasia/setup.c | |
parent | d7c608df67f7b99aee31ddf6c13d8870695f6827 (diff) | |
download | bsdgames-darwin-a65a873e56c35780711e9f73872c4fe0254589b0.tar.gz bsdgames-darwin-a65a873e56c35780711e9f73872c4fe0254589b0.tar.zst 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 'phantasia/setup.c')
-rw-r--r-- | phantasia/setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <sys/param.h> #include <sys/stat.h> #include <stdlib.h> +#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 */ |