numam-dpdk/lib/librte_kni
Adrien Mazarguil 8d4b8c87f2 lib: work around nonstandard bit-fields
Exported header files used by applications should allow the strictest
compiler flags. Language extensions used in many places must be explicitly
marked or removed to avoid warnings and compilation failures.

This commit prevents the following errors:

 error: type of bit-field `[...]' is a GCC extension

Note: the standard does not require implementations to issue a diagnostic
message with these, and such errors do not occur with recent GCC or clang
versions. However, GCC 4.7 is still common and using the extension keyword
is easier than checking compiler version.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2016-09-13 15:35:28 +02:00
..
Makefile mk: fix internal dependencies 2016-06-29 13:33:01 +02:00
rte_kni_fifo.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte_kni_version.map kni: remove deprecated functions 2015-09-03 19:22:48 +02:00
rte_kni.c kni: remove memzone lookup to get mbuf address 2016-08-24 18:30:58 +02:00
rte_kni.h lib: work around nonstandard bit-fields 2016-09-13 15:35:28 +02:00