crosstool-ng/patches/uClibc/0.9.30/200-getline-already-declared.patch

30 lines
885 B
Diff
Raw Normal View History

--- uClibc-0.9.30.orig/extra/scripts/unifdef.c 2008-04-28 01:10:00.000000000 +0200
+++ uClibc-0.9.30/extra/scripts/unifdef.c 2011-08-21 09:42:21.000000000 +0200
@@ -206,7 +206,7 @@
static void error(const char *);
static int findsym(const char *);
static void flushline(bool);
-static Linetype getline(void);
+static Linetype getlinetype(void);
static Linetype ifeval(const char **);
static void ignoreoff(void);
static void ignoreon(void);
@@ -512,7 +512,7 @@
for (;;) {
linenum++;
- lineval = getline();
+ lineval = getlinetype();
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)
+getlinetype(void)
{
const char *cp;
int cursym;