1 - Removed definition of POINTERSIZE.

2 - Defined void as int, some compilers don't know void.
3 - Added declarations of the routines proclabel, salloc, strcpy, strcat, malloc.
This commit is contained in:
keie 1985-01-21 14:18:47 +00:00
parent cd78a1a27a
commit 0c2aee4835

View file

@ -13,7 +13,6 @@
# define RCS_BEM "$Header$" # define RCS_BEM "$Header$"
#endif #endif
#define POINTERSIZE 4
#define MAXINT 32768 #define MAXINT 32768
#define MININT -32767 #define MININT -32767
#define EMINTSIZE "EM_WSIZE" #define EMINTSIZE "EM_WSIZE"
@ -26,6 +25,8 @@
#define CHANNEL 0 #define CHANNEL 0
#define THRESHOLD 40 /* for splitting blocks */ #define THRESHOLD 40 /* for splitting blocks */
#define void int /* Some C compilers don't know void */
extern char *program; /* name of source program */ extern char *program; /* name of source program */
extern char *inpfile; /* input tko compiler */ extern char *inpfile; /* input tko compiler */
extern char *outfile; /* output from compiler */ extern char *outfile; /* output from compiler */
@ -60,6 +61,12 @@ extern Linerecord *currline;
extern char *itoa(); extern char *itoa();
extern char *datalabel(); extern char *datalabel();
extern char *instrlabel(); extern char *instrlabel();
extern char *proclabel();
extern char *typesize(); extern char *typesize();
extern char *typestring(); extern char *typestring();
extern void sprintf(); extern char *salloc();
extern char *sprintf();
extern char *strcpy();
extern char *strcat();
extern char *malloc();