Skip to content
Snippets Groups Projects
Commit 3d75e433 authored by Fons Rademakers's avatar Fons Rademakers
Browse files

From Axel:

avoid confusion with libc's getline and rename rmkdepend's getline to
rgetline.


git-svn-id: http://root.cern.ch/svn/root/trunk@13926 27541ba8-7e3a-0410-8455-c3a389f83636
parent 5d52b366
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,7 @@ char *realloc();
char *copy();
char *base_name();
char *getline();
char *rgetline();
struct symtab **slookup();
struct symtab **isdefined();
struct symtab **fdefined();
......
......@@ -564,7 +564,7 @@ int 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 *rgetline(filep)
register struct filepointer *filep;
{
register char *p, /* walking pointer */
......
......@@ -55,7 +55,7 @@ gobble(filep, file, file_red)
register char *line;
register int type;
while ((line = getline(filep))) {
while ((line = rgetline(filep))) {
switch(type = deftype(line, filep, file_red, file, FALSE)) {
case IF:
case IFFALSE:
......@@ -557,7 +557,7 @@ find_includes(filep, file, file_red, recursion, failOK)
register int type;
boolean recfailOK;
while ((line = getline(filep))) {
while ((line = rgetline(filep))) {
switch(type = deftype(line, filep, file_red, file, TRUE)) {
case IF:
doif:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment