Title: [6501] branches/2009R1/scripts/unifdef.c: fix build failure on glibc-2.10+ due to getline() conflicts
- Revision
- 6501
- Author
- vapier
- Date
- 2009-05-29 10:05:53 -0500 (Fri, 29 May 2009)
Log Message
fix build failure on glibc-2.10+ due to getline() conflicts
Modified Paths
Diff
Modified: branches/2009R1/scripts/unifdef.c (6500 => 6501)
--- branches/2009R1/scripts/unifdef.c 2009-05-29 15:05:25 UTC (rev 6500)
+++ branches/2009R1/scripts/unifdef.c 2009-05-29 15:05:53 UTC (rev 6501)
@@ -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