--- ray/src/common/rtmisc.h 2003/07/14 22:23:59 3.3 +++ ray/src/common/rtmisc.h 2003/07/21 22:30:17 3.5 @@ -1,4 +1,4 @@ -/* RCSid $Id: rtmisc.h,v 3.3 2003/07/14 22:23:59 schorsch Exp $ */ +/* RCSid $Id: rtmisc.h,v 3.5 2003/07/21 22:30:17 schorsch Exp $ */ /* * Miscellaneous Radiance definitions */ @@ -6,13 +6,6 @@ #define _RAD_RTMISC_H_ #include - /* memory operations */ -#ifdef NOSTRUCTASS -#include -#define copystruct(d,s) memcpy((void *)(d),(void *)(s),sizeof(*(d))) -#else -#define copystruct(d,s) (*(d) = *(s)) -#endif #ifdef __cplusplus extern "C" { @@ -21,6 +14,8 @@ extern "C" { /* defined in bmalloc.c */ extern char *bmalloc(unsigned int n); extern void bfree(char *p, unsigned int n); + /* defined in myhostname.c */ +extern char *myhostname(void); #ifdef __cplusplus }