diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vppinfra/crc32.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vppinfra/crc32.h b/src/vppinfra/crc32.h index 3a46a74a558..5c5e548401a 100644 --- a/src/vppinfra/crc32.h +++ b/src/vppinfra/crc32.h @@ -100,7 +100,7 @@ clib_crc32c (u8 *s, int len) } #else -u32 +static_always_inline u32 _clib_crc32c (u32 crc, const u8 *p, uword len) { static const u32 clib_crc32c_table[256] = { @@ -164,7 +164,7 @@ _clib_crc32c (u32 crc, const u8 *p, uword len) return crc; } -u32 +static_always_inline u32 clib_crc32c (const u8 *p, uword len) { return _clib_crc32c (0, p, len); |