]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - crc.h
DP code cleanup, stage one - all headers that can be protected by ifdef
[xonotic/darkplaces.git] / crc.h
diff --git a/crc.h b/crc.h
index 7bf4092ae37aa2a984e034534f9b59025bf38889..ec12ce847fcc94b30d4093c62607e0b8eb6e9b87 100644 (file)
--- 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
+