X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=test%2Fval%2Fcq84.c;h=64429e300192a8440c28da5d1390ba05713af570;hb=74455508314bc2b007e812ec5f9429496b9fbd5f;hp=fcadd9af66ab55d2bb5693709eef0d810d4daf08;hpb=d0aef118ac7d64a84b5984be2a2e0e207e475f1d;p=cc65 diff --git a/test/val/cq84.c b/test/val/cq84.c index fcadd9af6..64429e300 100644 --- a/test/val/cq84.c +++ b/test/val/cq84.c @@ -4,6 +4,8 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" + struct defs { int cbits; /* No. of bits per char */ int ibits; /* int */ @@ -99,13 +101,13 @@ int s84(struct defs *pd0){ if(pd0->flgd != 0) printf(s84er,2); rc = rc+2; } - #else + #else pfi = glork; if((*pfi)(4) != 4){ if(pd0->flgd != 0) printf(s84er,2); rc = rc+2; } - #endif + #endif /* Float fa[17] declares an array of floating point numbers, and *afp[17] declares an array of pointers @@ -221,9 +223,9 @@ return x;} *********************************************************************************************/ #ifndef NO_TYPELESS_STRUCT_PTR - int section(int j,struct* pd0){ + int section(int j,struct* pd0){ #else - int section(int j,void* pd0){ + int section(int j,void* pd0){ #endif switch(j){ case 0: return s84(pd0); @@ -247,7 +249,7 @@ int main(int n,char **args) { int j; static struct defs d0, *pd0; - + d0.flgs = 1; /* These flags dictate */ d0.flgm = 1; /* the verbosity of */ d0.flgd = 1; /* the program. */