summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ufed-curses-checklist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ufed-curses-checklist.c b/ufed-curses-checklist.c
index d457c1c..3f81c9f 100644
--- a/ufed-curses-checklist.c
+++ b/ufed-curses-checklist.c
@@ -27,7 +27,7 @@ static void setFlagWrapDraw(sFlag* flag, int index, sWrap** wrap, size_t* pos, s
/* static functions */
-static char *getline(FILE *fp)
+static char *ufed_getline(FILE *fp)
{
static size_t size = LINE_MAX;
@@ -101,7 +101,7 @@ static void read_flags(void)
ERROR_EXIT(-1, "fdopen failed with error %d\n", errno);
atexit(&free_flags);
- for(line = getline(input); line ; line = getline(input)) {
+ for(line = ufed_getline(input); line ; line = ufed_getline(input)) {
name.start = name.end = -1;
state.start = state.end = -1;
@@ -135,7 +135,7 @@ static void read_flags(void)
pkg.start = pkg.end = -1;
state.start = state.end = -1;
- line = getline(input);
+ line = ufed_getline(input);
if (!line) break;
if ( (sscanf(line, "\t%n%*[^\t]%n\t%n%*[^\t]%n\t (%n%*[^)]%n) [%n%*[ +-]%n%c",