cryptodev: fix C11 extensions in exported header
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Fri, 4 Aug 2017 11:56:22 +0000 (13:56 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 4 Aug 2017 23:18:21 +0000 (01:18 +0200)
commitc65de526140e4b6e22c5889c35381cf274ab9ab3
tree2a2a8cce2332e3adcfb9ffc053675612242c628a
parent4f28b83c451b4e458fa422971bfccf1b9197d168
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>
lib/librte_cryptodev/rte_crypto_sym.h