Renamed getline() to getln() to avoid conflict with glibc's version.

This commit is contained in:
dtrg
2010-08-01 10:34:27 +00:00
parent 481bcd8a8b
commit 2c54f8c742
2 changed files with 6 additions and 6 deletions

View File

@@ -291,7 +291,7 @@ quoted(pstr)
}
char *
getline(s, n, fp)
getln(s, n, fp)
char *s;
FILE *fp;
{
@@ -326,7 +326,7 @@ DoFile(name)
fprintf(stderr, "%s: cannot read file %s\n", ProgCall, name);
exit(1);
}
while (getline(text, BUFSIZE, fp) != NULL) {
while (getln(text, BUFSIZE, fp) != NULL) {
if (text[0] == FILECOM) {
option(text);
}