From 3ce489442cbc0c165487a9883def7230798e308c Mon Sep 17 00:00:00 2001 From: "A. Fachat" Date: Fri, 4 Oct 2013 14:13:54 +0200 Subject: [PATCH] fixed incompatibility with system getline() --- xa/src/xa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xa/src/xa.c b/xa/src/xa.c index 3a54e6c..1bebcf8 100644 --- a/xa/src/xa.c +++ b/xa/src/xa.c @@ -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;