diff options
author | Damjan Marion <damarion@cisco.com> | 2016-11-07 14:57:50 +0100 |
---|---|---|
committer | Chris Luke <chris_luke@comcast.com> | 2016-11-07 14:53:29 +0000 |
commit | cf4789498d077a2733055b0144c5a4ea2e33d95f (patch) | |
tree | 934847846fa334ea0454953e3d8dbed44bb7f4f9 /vnet/vnet/map/map.h | |
parent | 109cd5026122c4174ef4b2c8a560d24d6eb07626 (diff) |
use STATIC_ASSERT macro instead of calling _Static_assert directly
Change-Id: Iccae655334b6219d22c325108b0e7f37d1dd68cf
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vnet/vnet/map/map.h')
-rw-r--r-- | vnet/vnet/map/map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnet/vnet/map/map.h b/vnet/vnet/map/map.h index b76891b6..f446b739 100644 --- a/vnet/vnet/map/map.h +++ b/vnet/vnet/map/map.h @@ -110,8 +110,8 @@ typedef struct u8 ip4_prefix_len; } map_domain_t; -_Static_assert ((sizeof (map_domain_t) <= CLIB_CACHE_LINE_BYTES), - "MAP domain fits in one cacheline"); +STATIC_ASSERT ((sizeof (map_domain_t) <= CLIB_CACHE_LINE_BYTES), + "MAP domain fits in one cacheline"); #define MAP_REASS_INDEX_NONE ((u16)0xffff) |