ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/getpath.c
(Generate patch)

Comparing ray/src/common/getpath.c (file contents):
Revision 2.4 by greg, Mon Jul 13 16:33:19 1992 UTC vs.
Revision 2.5 by greg, Tue Sep 8 09:09:24 1992 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1991 Regents of the University of California */
1 > /* Copyright (c) 1992 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 8 | Line 8 | static char SCCSid[] = "$SunId$ LBL";
8   *  getpath.c - function to search for file in a list of directories
9   */
10  
11 + #include "paths.h"
12 +
13   #define  NULL           0
14  
15   #ifndef  NIX
16   #include  <pwd.h>
17 + extern struct passwd  *getpwnam();
18   #endif
19  
20 < #ifndef DIRSEP
18 < #define DIRSEP          '/'
19 < #endif
20 < #ifndef PATHSEP
21 < #define PATHSEP         ':'
22 < #endif
23 <
24 < extern char  *strcpy(), *strcat(), *getenv();
25 < extern struct passwd  *getpwnam();
20 > extern char  *strcpy(), *strcat();
21  
22  
23   char *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines