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

Comparing ray/src/common/lookup.c (file contents):
Revision 2.8 by greg, Tue May 13 17:58:32 2003 UTC vs.
Revision 2.9 by schorsch, Mon Jun 30 14:59:11 2003 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9  
10   #include <stdio.h>
11   #include <stdlib.h>
12 + #include <string.h>
13 +
14   #include "lookup.h"
15  
16   #ifdef  NOSTRUCTASS
17 < #define  copystruct(d,s)        bcopy((void *)(s),(void *)(d),sizeof(*(d)))
17 > #define  copystruct(d,s)        memcpy((void *)(d),(void *)(s),sizeof(*(d)))
18   #else
19   #define  copystruct(d,s)        (*(d) = *(s))
20   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines