--- libelwix/inc/elwix/acrc.h 2024/10/28 09:55:57 1.9.2.1 +++ libelwix/inc/elwix/acrc.h 2025/08/21 15:43:00 1.11 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: acrc.h,v 1.9.2.1 2024/10/28 09:55:57 misho Exp $ +* $Id: acrc.h,v 1.11 2025/08/21 15:43:00 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -58,6 +58,9 @@ struct tagCRCPoly { }; /* size 24bytes */ typedef struct tagCRCPoly crcPoly_t; +#ifdef __cplusplus +extern "C" { +#endif /* * crcReflect() - Reflect all bits of number @@ -258,5 +261,8 @@ unsigned int hash_fnv1(const char *csStr, int nStrLen, */ #define hash_fnv(str, len) hash_fnv1((str), (len), 1) +#ifdef __cplusplus +} +#endif #endif