cryptodev: fix build with icc
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 10 Jul 2017 02:59:23 +0000 (03:59 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 12 Jul 2017 12:40:40 +0000 (14:40 +0200)
commitf51fd44d645fc1914bbaeda67c2210f6e06c44e6
tree567bfbb21bd2587996b07ba642a2fb6d1c4f51fb
parentdb2592be2f8ba6bab030e4868bc664e6c1f9e29f
cryptodev: fix build with icc

Removed unnecessary macro RTE_STD_C11, which is used
for unnamed structs.
Since there is no longer an unnamed structure in
rte_cryptodev_sym_session, this is not needed and
it is actually breaking compilation on icc:

lib/librte_cryptodev/rte_cryptodev.h(887): error: expected a declaration
   __extension__ void *sess_private_data[0];
   ^
Fixes: 7c110ce7aa4e ("cryptodev: remove mempool from session")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
lib/librte_cryptodev/rte_cryptodev.h