X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=link%2Fz80%2Flkdata.c;h=672612afa2cf6ddc8865ad915ce584372bfc47d9;hb=d3116fbcb26b6893466538702b9ad9d5819687a7;hp=58c30f589a2b420aa912e4e9b87c1c704b5fe1c5;hpb=7fc13461b94d0182c9be23763440555e10013066;p=fw%2Fsdcc diff --git a/link/z80/lkdata.c b/link/z80/lkdata.c index 58c30f58..672612af 100644 --- a/link/z80/lkdata.c +++ b/link/z80/lkdata.c @@ -11,7 +11,7 @@ #include #include -#include +//#include #include "aslink.h" /*)Module lkdata.c @@ -38,6 +38,11 @@ char *rp; /* pointer into the LST file char rb[NINPUT]; /* LST file text line being * address relocated */ + +char sdccopt[NINPUT]=""; +char sdccopt_module[NINPUT]=""; +char curr_module[NINPUT]=""; + int oflag; /* Output file type flag */ int mflag; /* Map output flag @@ -419,7 +424,7 @@ struct lbfile *lbfhead; /* pointer to the first * array of character types, one per * ASCII character */ -char ctype[128] = { +unsigned char ctype[128] = { /*NUL*/ ILL, ILL, ILL, ILL, ILL, ILL, ILL, ILL, /*BS*/ ILL, SPACE, ILL, ILL, SPACE, ILL, ILL, ILL, /*DLE*/ ILL, ILL, ILL, ILL, ILL, ILL, ILL, ILL,