summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>2017-08-04 13:56:22 +0200
committerThomas Monjalon <thomas@monjalon.net>2017-08-05 01:18:21 +0200
commitc65de526140e4b6e22c5889c35381cf274ab9ab3 (patch)
tree2a2a8cce2332e3adcfb9ffc053675612242c628a
parent4f28b83c451b4e458fa422971bfccf1b9197d168 (diff)
downloaddpdk-c65de526140e4b6e22c5889c35381cf274ab9ab3.zip
dpdk-c65de526140e4b6e22c5889c35381cf274ab9ab3.tar.gz
dpdk-c65de526140e4b6e22c5889c35381cf274ab9ab3.tar.xz
cryptodev: fix C11 extensions in exported header
Fix issues reported by check-includes.sh: rte_crypto_sym.h:586:3: error: anonymous structs are a C11 extension [-Werror,-Wc11-extensions] rte_crypto_sym.h:510:2: error: anonymous unions are a C11 extension [-Werror,-Wc11-extensions] Fixes: b59502a5e3d0 ("cryptodev: add AEAD parameters in crypto operation") Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
-rw-r--r--lib/librte_cryptodev/rte_crypto_sym.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/librte_cryptodev/rte_crypto_sym.h b/lib/librte_cryptodev/rte_crypto_sym.h
index 58a33b8..0ceaa91 100644
--- a/lib/librte_cryptodev/rte_crypto_sym.h
+++ b/lib/librte_cryptodev/rte_crypto_sym.h
@@ -507,6 +507,7 @@ struct rte_crypto_sym_op {
/**< Session-less API crypto operation parameters */
};
+ RTE_STD_C11
union {
struct {
struct {