X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/4e3d8d0f764823d3550970d6d686a86e8f04d8af..9833360b251571f82749c352f49d712c9c8322ad:/common/crc32.h diff --git a/common/crc32.h b/common/crc32.h index 0dd2a328..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); -void crc32_append (uint8_t *data, const size_t len); +#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