summaryrefslogtreecommitdiff
path: root/recipes/unifdef
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2009-04-28 11:18:36 +0100
committerGraeme Gregory <dp@xora.org.uk>2009-04-28 11:18:36 +0100
commitc21e4a50e37f52d4fb4c57592467225b51c0c357 (patch)
treef3767b93de7782495771d917112c7f8cabab14ba /recipes/unifdef
parent51733906e1c12fa345a16578b303860b6111f0e6 (diff)
recipes/unifdef/files/unifdef.c : more modern glibc expose getline from
stdio.h rename the function so not to cause a clash
Diffstat (limited to 'recipes/unifdef')
-rw-r--r--recipes/unifdef/files/unifdef.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/unifdef/files/unifdef.c b/recipes/unifdef/files/unifdef.c
index 552025e72a..977e682a5a 100644
--- a/recipes/unifdef/files/unifdef.c
+++ b/recipes/unifdef/files/unifdef.c
@@ -206,7 +206,7 @@ static void done(void);
static void error(const char *);
static int findsym(const char *);
static void flushline(bool);
-static Linetype getline(void);
+static Linetype parseline(void);
static Linetype ifeval(const char **);
static void ignoreoff(void);
static void ignoreon(void);
@@ -512,7 +512,7 @@ process(void)
for (;;) {
linenum++;
- lineval = getline();
+ lineval = parseline();
trans_table[ifstate[depth]][lineval]();
debug("process %s -> %s depth %d",
linetype_name[lineval],
@@ -526,7 +526,7 @@ process(void)
* help from skipcomment().
*/
static Linetype
-getline(void)
+parseline(void)
{
const char *cp;
int cursym;