X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/1ba319c5714af32ed91f3c11e1bdd1440cc90b8a..9c92b8bd99b887e8656d51d1feea89aae1ae9445:/phantasia/setup.c?ds=inline diff --git a/phantasia/setup.c b/phantasia/setup.c index 7a53f610..7fc1d666 100644 --- a/phantasia/setup.c +++ b/phantasia/setup.c @@ -1,12 +1,10 @@ -/* $NetBSD: setup.c,v 1.5 1997/01/07 12:20:39 tls Exp $ */ +/* $NetBSD: setup.c,v 1.7 1997/10/13 02:18:37 lukem Exp $ */ /* * setup.c - set up all files for Phantasia */ #include #include -#include -#include #include "include.h" /* */ /************************************************************************ @@ -66,7 +64,7 @@ main(argc, argv) int ch; char path[MAXPATHLEN], *prefix; - while ((ch = getopt(argc, argv, "m:")) != EOF) + while ((ch = getopt(argc, argv, "m:")) != -1) switch(ch) { case 'm': monsterfile = optarg;