1
0
mirror of https://github.com/fachat/xa65.git synced 2024-11-19 20:31:03 +00:00

fixed incompatibility with system getline()

This commit is contained in:
A. Fachat 2013-10-04 14:13:54 +02:00
parent ac0f09ba77
commit 3ce489442c

View File

@ -87,7 +87,7 @@ static int pass2(void);
static int puttmp(int);
static int puttmps(signed char *, int);
static void chrput(int);
static int getline(char *);
static int xagetline(char *);
static void lineout(void);
static long ga_p1(void);
static long gm_p1(void);
@ -763,7 +763,7 @@ static int pass1(void)
temp_er = 0;
/*FIXIT*/
while(!(er=getline(s)))
while(!(er=xagetline(s)))
{
er=t_p1((signed char*)s,o,&l,&al);
switch(segment) {
@ -1002,7 +1002,7 @@ static int puttmps(signed char *s, int l)
static char l[MAXLINE];
static int getline(char *s)
static int xagetline(char *s)
{
static int ec;