distributor: remove inclusion of mbuf header
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 23 Apr 2015 13:03:50 +0000 (14:03 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 11 May 2015 13:36:37 +0000 (15:36 +0200)
commit13501503a69b96b5818292eaf0014a6c12d9b3b1
tree276eaad6886613a6cde4f9de8a27b4c59bb3d6f7
parent216391fc3fcf83e4e863b52a7ea327eca2724d86
distributor: remove inclusion of mbuf header

The distributor header file includes the mbuf header file, but it does not
need to do so as it only uses pointers to the struct rte_mbuf type, and
does not use any of the mbuf internals, nor any of the mbuf functions or
macros. Therefore the inclusion is unnecessary, and can be replaced by a
forward declaration of the mbuf type.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
app/test/test_distributor.c
app/test/test_distributor_perf.c
lib/librte_distributor/rte_distributor.h