mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Rename getline() to not conflict with the standard POSIX interface of the same name.
This commit is contained in:
parent
d1848610a7
commit
18dd384068
3 changed files with 4 additions and 4 deletions
|
@ -150,7 +150,7 @@ char *realloc();
|
|||
|
||||
char *copy();
|
||||
char *base_name();
|
||||
char *getline();
|
||||
char *our_getline();
|
||||
struct symtab **slookup();
|
||||
struct symtab **isdefined();
|
||||
struct symtab **fdefined();
|
||||
|
|
|
@ -499,7 +499,7 @@ match(str, list)
|
|||
* Get the next line. We only return lines beginning with '#' since that
|
||||
* is all this program is ever interested in.
|
||||
*/
|
||||
char *getline(filep)
|
||||
char *our_getline(filep)
|
||||
register struct filepointer *filep;
|
||||
{
|
||||
register char *p, /* walking pointer */
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue