X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/ae6ead3dc84acd074be24c0da5efd94ea7a0b225..ced742717d0e0c8c2f964ae0a559a87a2a621867:/common/crc32.h?ds=sidebyside

diff --git a/common/crc32.h b/common/crc32.h
index 0dd2a328..8876dc96 100644
--- a/common/crc32.h
+++ b/common/crc32.h
@@ -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