Setting tag linux-2.6-22-50
[linux-2.6.git] / linux-2.6-050-getline.patch
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)
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;