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 | poky-0223f45de06c35c4f83e4f3a09e96a84f916f99d.tar.gz | |
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); | |||
| 206 | static void error(const char *); | 206 | static void error(const char *); |
| 207 | static int findsym(const char *); | 207 | static int findsym(const char *); |
| 208 | static void flushline(bool); | 208 | static void flushline(bool); |
| 209 | static Linetype getline(void); | 209 | static Linetype getline34(void); |
| 210 | static Linetype ifeval(const char **); | 210 | static Linetype ifeval(const char **); |
| 211 | static void ignoreoff(void); | 211 | static void ignoreoff(void); |
| 212 | static void ignoreon(void); | 212 | static void ignoreon(void); |
| @@ -512,7 +512,7 @@ process(void) | |||
| 512 | 512 | ||
| 513 | for (;;) { | 513 | for (;;) { |
| 514 | linenum++; | 514 | linenum++; |
| 515 | lineval = getline(); | 515 | lineval = getline34(); |
| 516 | trans_table[ifstate[depth]][lineval](); | 516 | trans_table[ifstate[depth]][lineval](); |
| 517 | debug("process %s -> %s depth %d", | 517 | debug("process %s -> %s depth %d", |
| 518 | linetype_name[lineval], | 518 | linetype_name[lineval], |
| @@ -526,7 +526,7 @@ process(void) | |||
| 526 | * help from skipcomment(). | 526 | * help from skipcomment(). |
| 527 | */ | 527 | */ |
| 528 | static Linetype | 528 | static Linetype |
| 529 | getline(void) | 529 | getline34(void) |
| 530 | { | 530 | { |
| 531 | const char *cp; | 531 | const char *cp; |
| 532 | int cursym; | 532 | int cursym; |
