at 15.09-beta 35 lines 1.0 kB view raw
1This patch fixes a trivial compilation error with glibc 2.11. 2From http://patchwork.kernel.org/patch/11166/ . 3 4diff --git a/scripts/unifdef.c b/scripts/unifdef.c 5index 552025e..977e682 100644 6--- a/scripts/unifdef.c 7+++ b/scripts/unifdef.c 8@@ -206,7 +206,7 @@ static void done(void); 9 static void error(const char *); 10 static int findsym(const char *); 11 static void flushline(bool); 12-static Linetype getline(void); 13+static Linetype parseline(void); 14 static Linetype ifeval(const char **); 15 static void ignoreoff(void); 16 static void ignoreon(void); 17@@ -512,7 +512,7 @@ process(void) 18 19 for (;;) { 20 linenum++; 21- lineval = getline(); 22+ lineval = parseline(); 23 trans_table[ifstate[depth]][lineval](); 24 debug("process %s -> %s depth %d", 25 linetype_name[lineval], 26@@ -526,7 +526,7 @@ process(void) 27 * help from skipcomment(). 28 */ 29 static Linetype 30-getline(void) 31+parseline(void) 32 { 33 const char *cp; 34 int cursym; 35