diff --git a/include/nuttx/crc16.h b/include/nuttx/crc16.h index 7ca21b14a81..2d83fd5973f 100644 --- a/include/nuttx/crc16.h +++ b/include/nuttx/crc16.h @@ -28,6 +28,14 @@ #include #include +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +/* Append full suffix to avoid the penitential symbol collision */ + +#define crc16 crc16full + /**************************************************************************** * Public Function Prototypes ****************************************************************************/ diff --git a/include/nuttx/crc32.h b/include/nuttx/crc32.h index 452df9f2285..3aa1abd3224 100644 --- a/include/nuttx/crc32.h +++ b/include/nuttx/crc32.h @@ -28,6 +28,14 @@ #include #include +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +/* Append full suffix to avoid the penitential symbol collision */ + +#define crc32 crc32full + /**************************************************************************** * Public Function Prototypes ****************************************************************************/ diff --git a/include/nuttx/crc64.h b/include/nuttx/crc64.h index 618241ff4b2..15ef4271c66 100644 --- a/include/nuttx/crc64.h +++ b/include/nuttx/crc64.h @@ -32,6 +32,14 @@ #ifdef CONFIG_HAVE_LONG_LONG +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +/* Append full suffix to avoid the penitential symbol collision */ + +#define crc64 crc64full + /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ diff --git a/include/nuttx/crc8.h b/include/nuttx/crc8.h index 2525b8d4fe8..469c2f04385 100644 --- a/include/nuttx/crc8.h +++ b/include/nuttx/crc8.h @@ -28,6 +28,14 @@ #include #include +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +/* Append full suffix to avoid the penitential symbol collision */ + +#define crc8 crc8full + /**************************************************************************** * Public Function Prototypes ****************************************************************************/