]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - crc.h
added showtime/showtime_format and showdate/showdate_format cvars, and moved the...
[xonotic/darkplaces.git] / crc.h
diff --git a/crc.h b/crc.h
index c613ebc4f24304517b167bf3a5d7c4c40f90e0df..ec12ce847fcc94b30d4093c62607e0b8eb6e9b87 100644 (file)
--- a/crc.h
+++ b/crc.h
@@ -19,10 +19,16 @@ 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, byte data);
+void CRC_ProcessByte(unsigned short *crcvalue, qbyte data);
 // LordHavoc: added this for speed reasons
-void CRC_ProcessBytes(unsigned short *crcvalue, byte *data, int size);
+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(byte *data, int size);
+unsigned short CRC_Block(qbyte *data, int size);
+
+#endif
+