--- ray/src/common/tmprivat.h 2003/02/25 02:47:22 3.7 +++ ray/src/common/tmprivat.h 2003/06/06 16:38:47 3.8 @@ -1,7 +1,12 @@ -/* RCSid $Id: tmprivat.h,v 3.7 2003/02/25 02:47:22 greg Exp $ */ +/* RCSid $Id: tmprivat.h,v 3.8 2003/06/06 16:38:47 schorsch Exp $ */ /* * Private header file for tone mapping routines. */ +#ifndef _RAD_TMPRIVAT_H_ +#define _RAD_TMPRIVAT_H_ +#ifdef __cplusplus +extern "C" { +#endif #include "copyright.h" @@ -11,10 +16,6 @@ #include "color.h" #include "tonemap.h" -#ifdef __cplusplus -extern "C" { -#endif - /* required constants */ #ifndef M_LN2 #define M_LN2 0.69314718055994530942 @@ -80,6 +81,9 @@ extern void tmMkMesofact(); /* build tmMesofact */ &&FEQ((p1)[2][0],(p2)[2][0])&&FEQ((p1)[2][1],(p2)[2][1])\ &&FEQ((p1)[3][0],(p2)[3][0])&&FEQ((p1)[3][1],(p2)[3][1])) + #ifdef __cplusplus } #endif +#endif /* _RAD_TMPRIVAT_H_ */ +