X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/82e690f48baa721b264405585a280e0df7d1eb5e..14d6c4fc3463771fca026f23904eba2858c2d422:/common/crc.h

diff --git a/common/crc.h b/common/crc.h
index d7314379..22b703fe 100644
--- a/common/crc.h
+++ b/common/crc.h
@@ -9,9 +9,7 @@
 #ifndef __CRC_H
 #define __CRC_H
 
-#include <stdint.h>		//uint32+
-#include <stdbool.h>	//bool
-#include <stddef.h>
+#include "common.h"	//stdint, stddef, stdbool
 #include "util.h"	// reflect, bswap_16
 
 typedef struct crc {
@@ -44,6 +42,7 @@ extern void crc_init(crc_t *crc, int order, uint32_t polynom, uint32_t initial_v
  * data_width lower-most bits are used).
  */
 extern void crc_update(crc_t *crc, uint32_t data, int data_width);
+extern void crc_update2(crc_t *crc, uint32_t data, int data_width);
 
 /* Clean the crc state, e.g. reset it to initial_value */
 extern void crc_clear(crc_t *crc);