X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=misc.h;h=095efba590ac739a385f681b2f6cc79db7f70123;hp=869c6728580006ac388c83a20122e21b7a76f8df;hb=3a2c0ca199cba2efbce5849285c910f02b961441;hpb=31837249f82629048f9010a0bf29112397a036f8 diff --git a/misc.h b/misc.h index 869c672..095efba 100644 --- a/misc.h +++ b/misc.h @@ -1,5 +1,6 @@ #include #include +#include /* b is not needed for POSIX but harmless */ #define READ_MODE "rb" @@ -13,7 +14,7 @@ extern void fRSPEAK(long); #define RSPEAK(I) fRSPEAK(I) extern void fSETPRM(long,long,long); #define SETPRM(FIRST,P1,P2) fSETPRM(FIRST,P1,P2) -extern void fGETIN(FILE *,long*,long*,long*,long*); +extern bool fGETIN(FILE *,long*,long*,long*,long*); #define GETIN(input,WORD1,WORD1X,WORD2,WORD2X) fGETIN(input,&WORD1,&WORD1X,&WORD2,&WORD2X) extern long fYES(FILE *,long,long,long); #define YES(input,X,Y,Z) fYES(input,X,Y,Z)