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

Comparing ray/src/common/standard.h (file contents):
Revision 2.4 by greg, Fri Jun 4 15:02:45 1993 UTC vs.
Revision 2.8 by greg, Wed Jan 17 10:54:46 1996 UTC

# Line 26 | Line 26 | typedef struct {
26          XF  b;                                  /* backward */
27   }  FULLXF;
28  
29 + #ifndef  PI
30   #ifdef  M_PI
31   #define  PI             M_PI
32   #else
33   #define  PI             3.14159265358979323846
34   #endif
35 + #endif
36  
37   #ifndef  F_OK                   /* mode bits for access(2) call */
38   #define  R_OK           4               /* readable */
# Line 59 | Line 61 | extern char  errmsg[];                 /* global buffer for error me
61   #define  bcopy(s,d,n)           (void)memcpy(d,s,n)
62   #define  bzero(d,n)             (void)memset(d,0,n)
63   #define  bcmp(b1,b2,n)          memcmp(b1,b2,n)
62 extern char  *memcpy(), *memset();
64   #define  index                  strchr
65   #define  rindex                 strrchr
66   #endif
67  
68 < extern char  *sskip();
68 > extern char  *sskip(), *sskip2();
69   extern char  *getpath(), *getenv();
70   #ifndef malloc
71   extern char  *malloc(), *calloc(), *realloc();
72   #endif
73   extern char  *bmalloc(), *savestr(), *savqstr();
74 +
75 + #ifdef  DCL_ATOF
76 + extern double  atof();
77 + #endif
78  
79   #ifdef MSDOS
80   #define NIX 1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines