diff options
author | Richard Purdie <richard@ted.(none)> | 2009-06-03 18:27:30 +0100 |
---|---|---|
committer | Richard Purdie <richard@ted.(none)> | 2009-06-03 18:27:30 +0100 |
commit | 0223f45de06c35c4f83e4f3a09e96a84f916f99d (patch) | |
tree | 558b7d14229dc397e7994ee9847560c053740a0a | |
parent | 9bb7f47b13229bc5aac03aece6a4a92286fbeb6c (diff) | |
download | openembedded-core-0223f45de06c35c4f83e4f3a09e96a84f916f99d.tar.gz openembedded-core-0223f45de06c35c4f83e4f3a09e96a84f916f99d.tar.bz2 openembedded-core-0223f45de06c35c4f83e4f3a09e96a84f916f99d.zip |
unifdef: rename getline function to avoid conflicts with stdio.h definitions from glibc
Signed-off-by: Richard Purdie <richard@ted.(none)>
-rw-r--r-- | meta/packages/unifdef/files/unifdef.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/unifdef/files/unifdef.c b/meta/packages/unifdef/files/unifdef.c index 552025e72a..5cbac15608 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; |