--- libelwix/inc/elwix/acrc.h 2024/10/28 09:58:51 1.10 +++ libelwix/inc/elwix/acrc.h 2024/12/05 12:33:49 1.10.4.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: acrc.h,v 1.10 2024/10/28 09:58:51 misho Exp $ +* $Id: acrc.h,v 1.10.4.1 2024/12/05 12:33:49 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