diff options
Diffstat (limited to 'meta/packages/linux-libc-headers/files/unifdef.patch')
| -rw-r--r-- | meta/packages/linux-libc-headers/files/unifdef.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/packages/linux-libc-headers/files/unifdef.patch b/meta/packages/linux-libc-headers/files/unifdef.patch new file mode 100644 index 0000000000..bda8860009 --- /dev/null +++ b/meta/packages/linux-libc-headers/files/unifdef.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | Index: linux-2.6.20/scripts/unifdef.c | ||
| 2 | =================================================================== | ||
| 3 | --- linux-2.6.20.orig/scripts/unifdef.c | ||
| 4 | +++ linux-2.6.20/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) | ||
| 15 | |||
| 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(). | ||
| 25 | */ | ||
| 26 | static Linetype | ||
| 27 | -getline(void) | ||
| 28 | +parseline(void) | ||
| 29 | { | ||
| 30 | const char *cp; | ||
| 31 | int cursym; | ||
