This commit is contained in:
David Given 2017-08-05 21:47:40 +02:00
commit a9f19a2a31
5 changed files with 6 additions and 6 deletions

View file

@ -522,7 +522,7 @@ scanstring()
yylval.integer= genemlabel();
C_rom_dlb((label)i,(arith)0);
C_rom_icon("9999",(arith)BEMINTSIZE);
C_rom_icon(itoa(length),(arith)BEMINTSIZE);
C_rom_icon(myitoa(length),(arith)BEMINTSIZE);
}
#ifdef YYDEBUG
if (yydebug) print("STRVALUE found\n");

View file

@ -71,7 +71,7 @@ extern int dataused;
extern Linerecord *currline;
extern char *itoa();
extern char *myitoa();
extern char *salloc();
extern char *strcpy();

View file

@ -670,7 +670,7 @@ gendata()
C_df_dnam("datfdes");
C_rom_dnam("datfname",(arith)0);
C_rom_cst((arith)1);
C_rom_cst((arith)(itoa(strlen(datfname))));
C_rom_cst((arith)(myitoa(strlen(datfname))));
C_df_dnam("dattdes");
C_rom_dnam("dattyp",(arith)0);
C_rom_cst((arith)1);

View file

@ -69,7 +69,7 @@ illegalcmd()
char *itoa(i)
char *myitoa(i)
int i;
{
static char buf[30];

View file

@ -355,7 +355,7 @@ void zgt(lab) int lab; { C_zgt((label) lab); }
void zlt(lab) int lab; { C_zlt((label) lab); }
void zne(lab) int lab; { C_zne((label) lab); }
char *itoa(i) long i;
char *myitoa(i) long i;
{
static char a[sizeof(long)*3];
sprint(a, "%ld", i);
@ -364,7 +364,7 @@ char *itoa(i) long i;
void rom(size, c) int size; long c;
{
C_rom_icon(itoa(c), (arith) size);
C_rom_icon(myitoa(c), (arith) size);
}
void lin()