From 0223f45de06c35c4f83e4f3a09e96a84f916f99d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 3 Jun 2009 18:27:30 +0100 Subject: unifdef: rename getline function to avoid conflicts with stdio.h definitions from glibc Signed-off-by: Richard Purdie --- meta/packages/unifdef/files/unifdef.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/packages/unifdef/files') diff --git a/meta/packages/unifdef/files/unifdef.c b/meta/packages/unifdef/files/unifdef.c index 552025e72..5cbac1560 100644 --- a/meta/packages/unifdef/files/unifdef.c +++ b/meta/packages/unifdef/files/unifdef.c @@ -206,7 +206,7 @@ static void done(void); static void error(const char *); static int findsym(const char *); static void flushline(bool); -static Linetype getline(void); +static Linetype getline34(void); static Linetype ifeval(const char **); static void ignoreoff(void); static void ignoreon(void); @@ -512,7 +512,7 @@ process(void) for (;;) { linenum++; - lineval = getline(); + lineval = getline34(); trans_table[ifstate[depth]][lineval](); debug("process %s -> %s depth %d", linetype_name[lineval], @@ -526,7 +526,7 @@ process(void) * help from skipcomment(). */ static Linetype -getline(void) +getline34(void) { const char *cp; int cursym; -- cgit v1.2.3