X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=test%2Fval%2Fcq25.c;h=bfdade957ec7e9d599781d88c0d4bab4c5c5c48d;hb=74455508314bc2b007e812ec5f9429496b9fbd5f;hp=d4a0c4a90006b56bae7dcbe336d51f947dfd627c;hpb=9b82eaadd06351ac1965636c878049befe5f0633;p=cc65 diff --git a/test/val/cq25.c b/test/val/cq25.c index d4a0c4a90..bfdade957 100644 --- a/test/val/cq25.c +++ b/test/val/cq25.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 */ @@ -126,9 +128,9 @@ int s25(struct defs *pd0) { #define cq_sections 1 #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 s25(pd0); @@ -150,7 +152,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. */