]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - phantasia/io.c
KNF and WARNS=3 fixes
[bsdgames-darwin.git] / phantasia / io.c
index ea61b68962c4be6b72742f9895892d83451ed78a..66f2363706ef447f701cf9504976cb68cf08525d 100644 (file)
@@ -1,10 +1,11 @@
-/*     $NetBSD: io.c,v 1.7 2004/04/07 17:46:47 ross Exp $      */
+/*     $NetBSD: io.c,v 1.9 2005/02/15 12:58:21 jsm Exp $       */
 
 /*
  * io.c - input/output routines for Phantasia
  */
 
 #include "include.h"
+#undef bool
 #include <curses.h>
 
 void
@@ -155,7 +156,7 @@ interrupt()
 int
 getanswer(choices, def)
        const char   *choices;
-       bool    def;
+       phbool  def;
 {
        int     ch;             /* input */
        volatile int    loop;   /* counter */