Commit 7307837a authored by Jean-Paul Saman's avatar Jean-Paul Saman

fix naming conflict with gnu libc (getline -> ltgetline)

parent b771bc38
...@@ -206,7 +206,7 @@ static void done(void); ...@@ -206,7 +206,7 @@ static void done(void);
static void error(const char *); static void error(const char *);
static int findsym(const char *); static int findsym(const char *);
static void flushline(bool); static void flushline(bool);
static Linetype getline(void); static Linetype ltgetline(void);
static Linetype ifeval(const char **); static Linetype ifeval(const char **);
static void ignoreoff(void); static void ignoreoff(void);
static void ignoreon(void); static void ignoreon(void);
...@@ -512,7 +512,7 @@ process(void) ...@@ -512,7 +512,7 @@ process(void)
for (;;) { for (;;) {
linenum++; linenum++;
lineval = getline(); lineval = ltgetline();
trans_table[ifstate[depth]][lineval](); trans_table[ifstate[depth]][lineval]();
debug("process %s -> %s depth %d", debug("process %s -> %s depth %d",
linetype_name[lineval], linetype_name[lineval],
...@@ -526,7 +526,7 @@ process(void) ...@@ -526,7 +526,7 @@ process(void)
* help from skipcomment(). * help from skipcomment().
*/ */
static Linetype static Linetype
getline(void) ltgetline(void)
{ {
const char *cp; const char *cp;
int cursym; int cursym;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment