*/
#ifdef SDK
-#define NCPS 32 /* characters per symbol */
+#define NCPS 80 /* characters per symbol. Used to be 32... */
#else /* SDK */
#define NCPS 8 /* characters per symbol */
#endif /* SDK */
char *libspc;
char *relfil;
char *filspc;
+ long offset; /*>=0 if rel file is embedded in a lib file at this offset*/
};
/*
extern char rb[NINPUT]; /* LST file text line being
* address relocated
*/
-extern char ctype[]; /* array of character types, one per
+extern unsigned char ctype[]; /* array of character types, one per
* ASCII character
*/
+extern char sdccopt[NINPUT];
+extern char sdccopt_module[NINPUT];
+extern char curr_module[NINPUT];
+
/*
* Character Type Definitions
*/
extern struct lfile *filep; /* The pointers (lfile *) filep,
* (lfile *) cfp, and (FILE *) sfp
* are used in conjunction with
- * the routine getline() to read
+ * the routine lk_getline() to read
* asmlnk commands from
* (1) the standard input or
* (2) or a command file
extern char get();
extern VOID getfid();
extern VOID getid();
-extern int getline();
+extern int lk_getline();
extern int getmap();
extern char getnb();
extern int more();
extern VOID skip();
extern VOID unget();
+extern VOID chop_crlf();
/* lkarea.c */
extern VOID lkparea();
extern VOID prntval();
/* lklibr.c */
-extern VOID addfile();
+extern int addfile();
extern VOID addlib();
extern VOID addpath();
extern int fndsym();