]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/crc32.h
syntax sugar
[proxmark3-svn] / common / crc32.h
index 7df7c79d245db165e7eff4279cc105cb59238071..8876dc9646009a88e11dc123c0b57c6c15c0b476 100644 (file)
@@ -9,7 +9,19 @@
 #ifndef __CRC32_H
 #define __CRC32_H
 
+#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