--- ray/src/common/targa.h 2003/02/25 02:47:22 2.3 +++ ray/src/common/targa.h 2003/06/27 06:53:22 2.5 @@ -1,9 +1,13 @@ -/* RCSid $Id: targa.h,v 2.3 2003/02/25 02:47:22 greg Exp $ */ +/* RCSid $Id: targa.h,v 2.5 2003/06/27 06:53:22 greg Exp $ */ /* * tardev.h - header file for reading and writing Targa format files. */ -#include "copyright.h" - +#ifndef _RAD_TARGA_H_ +#define _RAD_TARGA_H_ +#ifdef __cplusplus +extern "C" { +#endif + /* header structure adapted from tardev.h */ struct hdStruct { char textSize; /* size of info. line ( < 256) */ @@ -33,3 +37,9 @@ struct hdStruct { #define CM_HASMAP 1 /* has color map */ #define bits_bytes(n) (((n)+7)>>3) /* number of bits to number of bytes */ + + +#ifdef __cplusplus +} +#endif +#endif /* _RAD_TARGA_H_ */