X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=crc.h;h=ec12ce847fcc94b30d4093c62607e0b8eb6e9b87;hp=7bf4092ae37aa2a984e034534f9b59025bf38889;hb=bc8b80ee19f7a87e326fa765427d0c4e8dfe9940;hpb=c4ee1bbcc6b2f917465f07269ad09942bbf40849 diff --git a/crc.h b/crc.h index 7bf4092a..ec12ce84 100644 --- a/crc.h +++ b/crc.h @@ -19,6 +19,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* crc.h */ +#ifndef CRC_H +#define CRC_H + void CRC_Init(unsigned short *crcvalue); void CRC_ProcessByte(unsigned short *crcvalue, qbyte data); // LordHavoc: added this for speed reasons @@ -26,3 +29,6 @@ void CRC_ProcessBytes(unsigned short *crcvalue, qbyte *data, int size); unsigned short CRC_Value(unsigned short crcvalue); // LordHavoc: further speed and usability improvement unsigned short CRC_Block(qbyte *data, int size); + +#endif +