Rename getline() to not conflict with the standard POSIX interface of the same name.

This commit is contained in:
Pascal Stumpf
2012-08-09 21:35:12 +02:00
committed by Jon Trulson
parent d1848610a7
commit 18dd384068
3 changed files with 4 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ gobble(filep, file, file_red)
register char *line;
register int type;
while (line = getline(filep)) {
while (line = our_getline(filep)) {
switch(type = deftype(line, filep, file_red, file, FALSE)) {
case IF:
case IFFALSE:
@@ -544,7 +544,7 @@ find_includes(filep, file, file_red, recursion, failOK)
register int type;
boolean recfailOK;
while (line = getline(filep)) {
while (line = our_getline(filep)) {
switch(type = deftype(line, filep, file_red, file, TRUE)) {
case IF:
doif: