--- ray/src/common/rtmisc.h 2003/06/30 14:59:11 3.2 +++ ray/src/common/rtmisc.h 2003/07/17 09:21:29 3.4 @@ -1,12 +1,9 @@ -/* RCSid $Id: rtmisc.h,v 3.2 2003/06/30 14:59:11 schorsch Exp $ */ +/* RCSid $Id: rtmisc.h,v 3.4 2003/07/17 09:21:29 schorsch Exp $ */ /* * Miscellaneous Radiance definitions */ #ifndef _RAD_RTMISC_H_ #define _RAD_RTMISC_H_ -#ifdef __cplusplus -extern "C" { -#endif #include /* memory operations */ @@ -17,9 +14,15 @@ extern "C" { #define copystruct(d,s) (*(d) = *(s)) #endif +#ifdef __cplusplus +extern "C" { +#endif + /* 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 }