X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/3e134b4c20a5528b8264cd87d3fdebd0b2df6fd9..e0a241f76ed8aea5f23745fb3775c6916406aea4:/common/crc32.h?ds=sidebyside diff --git a/common/crc32.h b/common/crc32.h index 7df7c79d..a21b741e 100644 --- a/common/crc32.h +++ b/common/crc32.h @@ -9,7 +9,18 @@ #ifndef __CRC32_H #define __CRC32_H -void crc32 (const uint8_t *data, const size_t len, uint8_t *crc); +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +void crc32_ex(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