--- ray/src/common/getpath.c 2003/10/27 10:19:31 2.15 +++ ray/src/common/getpath.c 2013/12/19 16:38:12 2.18 @@ -1,10 +1,10 @@ #ifndef lint -static const char RCSid[] = "$Id: getpath.c,v 2.15 2003/10/27 10:19:31 schorsch Exp $"; +static const char RCSid[] = "$Id: getpath.c,v 2.18 2013/12/19 16:38:12 greg Exp $"; #endif /* * getpath.c - function to search for file in a list of directories * - * External symbols declared in standard.h + * External symbols declared in rtio.h */ #include "copyright.h" @@ -12,8 +12,8 @@ static const char RCSid[] = "$Id: getpath.c,v 2.15 200 #include #include -#include "paths.h" #include "rtio.h" +#include "paths.h" #ifdef _WIN32 @@ -24,14 +24,14 @@ char * getpath /* expand fname, return full path */ #endif ( -register char *fname, -register char *searchpath, -int mode + char *fname, + char *searchpath, + int mode ) { static char pname[PATH_MAX]; char uname[512]; - register char *cp; + char *cp; int i; if (fname == NULL) { return(NULL); } @@ -93,12 +93,12 @@ int mode */ char * getpath( /* expand fname, return full path */ -register char *ffname, -register char *searchpath, -int mode + char *ffname, + char *searchpath, + int mode ) { - register char *cp; + char *cp; char fname[PATH_MAX]; if (ffname == NULL)