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 1.2 by greg, Thu Jul 27 22:41:04 1989 UTC vs.
Revision 1.3 by greg, Thu Jan 18 23:58:53 1990 UTC

# Line 41 | Line 41 | extern char  errmsg[];                 /* global buffer for error me
41  
42   extern int  errno;                      /* system error number */
43  
44 +                                        /* memory operations */
45 + #ifdef  STRUCTASSIGN
46 + #define  copystruct(d,s)        (*(d) = *(s))
47 + #else
48 + #define  copystruct(d,s)        bcopy((char *)(s),(char *)(d),sizeof(*(d)))
49 + #endif
50 + #ifndef  BSD
51 + #define  bcopy(s,d,n)           (void)memcpy(d,s,n)
52 + #define  bzero(d,n)             (void)memset(d,0,n)
53 + #define  bcmp(b1,b2,n)          memcmp(b1,b2,n)
54 + extern char  *memcpy(), *memset();
55 + #endif
56 +
57   extern char  *sskip();
58   extern char  *getpath();
59   extern char  *malloc(), *calloc(), *realloc();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines