diff options
| author | David Marchand <[email protected]> | 2024-06-12 09:12:40 +0200 |
|---|---|---|
| committer | David Marchand <[email protected]> | 2024-06-13 14:46:59 +0200 |
| commit | 3401a4afbb54a1b897551847a3e16c36afdf707a (patch) | |
| tree | 37e23e8c0559a7ae244c22bbb2cc7b743c3c5f49 /lib/ipsec | |
| parent | d7fcf40e1f8946e2d1ac8870df53b5d1f8d0b3c9 (diff) | |
remove extension keyword for flex arrays
Flex arrays are part of the C99 standard.
No need to mark them with __extension__.
Signed-off-by: David Marchand <[email protected]>
Acked-by: Morten Brørup <[email protected]>
Diffstat (limited to 'lib/ipsec')
| -rw-r--r-- | lib/ipsec/ipsec_sad.c | 2 | ||||
| -rw-r--r-- | lib/ipsec/sa.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ipsec/ipsec_sad.c b/lib/ipsec/ipsec_sad.c index 7cb492d187..7e147e729c 100644 --- a/lib/ipsec/ipsec_sad.c +++ b/lib/ipsec/ipsec_sad.c @@ -42,7 +42,7 @@ struct rte_ipsec_sad { * (spi_dip or spi_dip_sip). Used only in add/delete * as a helper struct. */ - __extension__ struct hash_cnt cnt_arr[]; + struct hash_cnt cnt_arr[]; }; TAILQ_HEAD(rte_ipsec_sad_list, rte_tailq_entry); diff --git a/lib/ipsec/sa.h b/lib/ipsec/sa.h index 2560d33d84..719b5c735c 100644 --- a/lib/ipsec/sa.h +++ b/lib/ipsec/sa.h @@ -59,7 +59,7 @@ union sym_op_data { struct replay_sqn { rte_rwlock_t rwl; uint64_t sqn; - __extension__ uint64_t window[]; + uint64_t window[]; }; /*IPSEC SA supported algorithms */ |
