make should now work on clean compilations, right after make defconfig
[avatt.git] / buildroot / toolchain / kernel-headers / scripts-unifdef.c-rename-getline-symbol-to-something-else.patch
bloba1886177600ab49019e88039b292f0bb0651ce1f
1 diff --git a/scripts/unifdef.c b/scripts/unifdef.c
2 index 552025e..977e682 100644
3 --- a/scripts/unifdef.c
4 +++ b/scripts/unifdef.c
5 @@ -206,7 +206,7 @@ static void done(void);
6 static void error(const char *);
7 static int findsym(const char *);
8 static void flushline(bool);
9 -static Linetype getline(void);
10 +static Linetype parseline(void);
11 static Linetype ifeval(const char **);
12 static void ignoreoff(void);
13 static void ignoreon(void);
14 @@ -512,7 +512,7 @@ process(void)
16 for (;;) {
17 linenum++;
18 - lineval = getline();
19 + lineval = parseline();
20 trans_table[ifstate[depth]][lineval]();
21 debug("process %s -> %s depth %d",
22 linetype_name[lineval],
23 @@ -526,7 +526,7 @@ process(void)
24 * help from skipcomment().
26 static Linetype
27 -getline(void)
28 +parseline(void)
30 const char *cp;
31 int cursym;