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

Comparing ray/src/common/rtmisc.h (file contents):
Revision 3.2 by schorsch, Mon Jun 30 14:59:11 2003 UTC vs.
Revision 3.5 by schorsch, Mon Jul 21 22:30:17 2003 UTC

# Line 4 | Line 4
4   */
5   #ifndef _RAD_RTMISC_H_
6   #define _RAD_RTMISC_H_
7 +
8 + #include  <stdlib.h>
9 +
10   #ifdef __cplusplus
11   extern "C" {
12   #endif
13  
11 #include  <stdlib.h>
12                                        /* memory operations */
13 #ifdef  NOSTRUCTASS
14 #include  <string.h>
15 #define  copystruct(d,s)        memcpy((void *)(d),(void *)(s),sizeof(*(d)))
16 #else
17 #define  copystruct(d,s)        (*(d) = *(s))
18 #endif
19
14                                          /* defined in bmalloc.c */
15   extern char     *bmalloc(unsigned int n);
16   extern void     bfree(char *p, unsigned int n);
17 +                                        /*  defined in myhostname.c */
18 + extern char     *myhostname(void);
19  
20   #ifdef __cplusplus
21   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines