Title: [6500] trunk/scripts/unifdef.c: fix build failure on glibc-2.10+ due to getline() conflicts
- Revision
- 6500
- Author
- vapier
- Date
- 2009-05-29 10:05:25 -0500 (Fri, 29 May 2009)
Log Message
fix build failure on glibc-2.10+ due to getline() conflicts
Modified Paths
Diff
Modified: trunk/scripts/unifdef.c (6499 => 6500)
--- trunk/scripts/unifdef.c 2009-05-29 12:39:45 UTC (rev 6499)
+++ trunk/scripts/unifdef.c 2009-05-29 15:05:25 UTC (rev 6500)
@@ -206,7 +206,7 @@
static void error(const char *);
static int findsym(const char *);
static void flushline(bool);
-static Linetype getline(void);
+static Linetype get_line(void);
static Linetype ifeval(const char **);
static void ignoreoff(void);
static void ignoreon(void);
@@ -512,7 +512,7 @@
for (;;) {
linenum++;
- lineval = getline();
+ lineval = get_line();
trans_table[ifstate[depth]][lineval]();
debug("process %s -> %s depth %d",
linetype_name[lineval],
@@ -526,7 +526,7 @@
* help from skipcomment().
*/
static Linetype
-getline(void)
+get_line(void)
{
const char *cp;
int cursym;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits