]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/crc32.h
CHG: 'lf noralsy read' - new STT doesn't need so many bits.
[proxmark3-svn] / common / crc32.h
index 0dd2a3287923ab8633d03fc6bbffb940b99d4fc6..8876dc9646009a88e11dc123c0b57c6c15c0b476 100644 (file)
@@ -9,7 +9,19 @@
 #ifndef __CRC32_H
 #define __CRC32_H
 
-void                   crc32 (const uint8_t *data, const size_t len, uint8_t *crc);
-void                   crc32_append (uint8_t *data, const size_t len);
+#include <stdint.h>
+#include <stddef.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void crc32 (const uint8_t *data, const size_t len, uint8_t *crc);
+void crc32_append (uint8_t *data, const size_t len);
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif
Impressum, Datenschutz