--- ray/src/common/getpath.c 1992/09/08 10:04:34 2.6 +++ ray/src/common/getpath.c 1992/09/21 11:59:42 2.7 @@ -8,25 +8,23 @@ static char SCCSid[] = "$SunId$ LBL"; * getpath.c - function to search for file in a list of directories */ +#include "standard.h" + #include "paths.h" -#define NULL 0 - -#ifndef NIX +#ifndef NIX #include extern struct passwd *getpwnam(); #endif -extern char *strcpy(), *strcat(), *getenv(); - char * getpath(fname, searchpath, mode) /* expand fname, return full path */ register char *fname; register char *searchpath; int mode; { -#ifndef NIX +#ifndef NIX struct passwd *pwent; #endif static char pname[MAXPATH];