--- ray/src/common/targa.h 1990/04/05 14:05:49 1.1 +++ ray/src/common/targa.h 2003/06/27 06:53:22 2.5 @@ -1,12 +1,13 @@ -/* Copyright 1988 Regents of the University of California */ - -/* SCCSid "$SunId$ LBL" */ - +/* 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. - * - * 8/25/88 */ +#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) */ @@ -36,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_ */