summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@ted.(none)>2009-06-03 18:27:30 +0100
committerRichard Purdie <richard@ted.(none)>2009-06-03 18:27:30 +0100
commit0223f45de06c35c4f83e4f3a09e96a84f916f99d (patch)
tree558b7d14229dc397e7994ee9847560c053740a0a /meta
parent9bb7f47b13229bc5aac03aece6a4a92286fbeb6c (diff)
downloadpoky-0223f45de06c35c4f83e4f3a09e96a84f916f99d.tar.gz
unifdef: rename getline function to avoid conflicts with stdio.h definitions from glibc
Signed-off-by: Richard Purdie <richard@ted.(none)>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/unifdef/files/unifdef.c6
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);
206static void error(const char *); 206static void error(const char *);
207static int findsym(const char *); 207static int findsym(const char *);
208static void flushline(bool); 208static void flushline(bool);
209static Linetype getline(void); 209static Linetype getline34(void);
210static Linetype ifeval(const char **); 210static Linetype ifeval(const char **);
211static void ignoreoff(void); 211static void ignoreoff(void);
212static void ignoreon(void); 212static 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 */
528static Linetype 528static Linetype
529getline(void) 529getline34(void)
530{ 530{
531 const char *cp; 531 const char *cp;
532 int cursym; 532 int cursym;