mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 21:49:33 +02:00
unifdef: rename getline function to avoid conflicts with stdio.h definitions from glibc
Signed-off-by: Richard Purdie <richard@ted.(none)>
This commit is contained in:
@@ -206,7 +206,7 @@ static void done(void);
|
|||||||
static void error(const char *);
|
static void error(const char *);
|
||||||
static int findsym(const char *);
|
static int findsym(const char *);
|
||||||
static void flushline(bool);
|
static void flushline(bool);
|
||||||
static Linetype getline(void);
|
static Linetype getline34(void);
|
||||||
static Linetype ifeval(const char **);
|
static Linetype ifeval(const char **);
|
||||||
static void ignoreoff(void);
|
static void ignoreoff(void);
|
||||||
static void ignoreon(void);
|
static void ignoreon(void);
|
||||||
@@ -512,7 +512,7 @@ process(void)
|
|||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
linenum++;
|
linenum++;
|
||||||
lineval = getline();
|
lineval = getline34();
|
||||||
trans_table[ifstate[depth]][lineval]();
|
trans_table[ifstate[depth]][lineval]();
|
||||||
debug("process %s -> %s depth %d",
|
debug("process %s -> %s depth %d",
|
||||||
linetype_name[lineval],
|
linetype_name[lineval],
|
||||||
@@ -526,7 +526,7 @@ process(void)
|
|||||||
* help from skipcomment().
|
* help from skipcomment().
|
||||||
*/
|
*/
|
||||||
static Linetype
|
static Linetype
|
||||||
getline(void)
|
getline34(void)
|
||||||
{
|
{
|
||||||
const char *cp;
|
const char *cp;
|
||||||
int cursym;
|
int cursym;
|
||||||
|
|||||||
Reference in New Issue
Block a user