This commit replaces __extension__ attribute with
RTE_STD_C11 in anonymous unions.
It makes API consistent in terms of usage of C11
feature macro.
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
enum rte_crypto_rsa_priv_key_type key_type;
- __extension__
+ RTE_STD_C11
union {
rte_crypto_param d;
/**< d - Private key exponent
enum rte_crypto_asym_xform_type xform_type;
/**< Asymmetric crypto transform */
- __extension__
+ RTE_STD_C11
union {
struct rte_crypto_rsa_xform rsa;
/**< RSA xform parameters */
/**< Session-less API crypto operation parameters */
};
- __extension__
+ RTE_STD_C11
union {
struct rte_crypto_rsa_op_param rsa;
struct rte_crypto_mod_op_param modex;