From 0c2aee483582d703acc4a30b50f16dc43524087c Mon Sep 17 00:00:00 2001 From: keie Date: Mon, 21 Jan 1985 14:18:47 +0000 Subject: [PATCH] 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. --- lang/basic/src.old/bem.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lang/basic/src.old/bem.h b/lang/basic/src.old/bem.h index 18f1aaaa3..7b091b4d7 100644 --- a/lang/basic/src.old/bem.h +++ b/lang/basic/src.old/bem.h @@ -13,7 +13,6 @@ # define RCS_BEM "$Header$" #endif -#define POINTERSIZE 4 #define MAXINT 32768 #define MININT -32767 #define EMINTSIZE "EM_WSIZE" @@ -26,6 +25,8 @@ #define CHANNEL 0 #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 *inpfile; /* input tko compiler */ extern char *outfile; /* output from compiler */ @@ -60,6 +61,12 @@ extern Linerecord *currline; extern char *itoa(); extern char *datalabel(); extern char *instrlabel(); +extern char *proclabel(); extern char *typesize(); extern char *typestring(); -extern void sprintf(); +extern char *salloc(); + +extern char *sprintf(); +extern char *strcpy(); +extern char *strcat(); +extern char *malloc();