aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/crc32.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2023-04-17 14:09:04 +0000
committerNeale Ranns <neale@graphiant.com>2023-04-18 02:35:26 +0000
commitb1c5c3fc344a48eed79dc433ecbeb7bb26433986 (patch)
tree5a91ee530284b30d1f601b9221d694d202990526 /src/vppinfra/crc32.h
parent687823f0178cfc672bcbaccaf27825047b18180d (diff)
vppinfra: missing static_always_inline in crc32c.h
Change-Id: Ie7ee71af7dbbc23de3f413423070ea87fb36ed8c Type: fix Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/crc32.h')
-rw-r--r--src/vppinfra/crc32.h4
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);