aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/classify
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-09-19 18:43:42 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-10-03 08:39:00 +0000
commitd3d71352cbbfa20fe1c965ea100b6ea250df33b2 (patch)
tree91923ab92ee62aa13f2eff4bd874454599ef914a /src/vnet/classify
parent4ce47210e9f6c2186bb96bf5761168906b94d39a (diff)
classify: remove includes from classifier header file
Type: refactor Change-Id: I6f0af1c3078edce1c1b29a8b99c4a232d7084d33 Signed-off-by: Damjan Marion <damarion@cisco.com> (cherry picked from commit 864d857c6c223be8ec11c588d65e8c5c2e211814)
Diffstat (limited to 'src/vnet/classify')
-rw-r--r--src/vnet/classify/flow_classify.c2
-rw-r--r--src/vnet/classify/vnet_classify.h10
2 files changed, 2 insertions, 10 deletions
diff --git a/src/vnet/classify/flow_classify.c b/src/vnet/classify/flow_classify.c
index 941a030f640..afdadc66235 100644
--- a/src/vnet/classify/flow_classify.c
+++ b/src/vnet/classify/flow_classify.c
@@ -12,6 +12,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
+#include <vnet/feature/feature.h>
#include <vnet/classify/flow_classify.h>
flow_classify_main_t flow_classify_main;
diff --git a/src/vnet/classify/vnet_classify.h b/src/vnet/classify/vnet_classify.h
index 986e0a68674..620ef9a1052 100644
--- a/src/vnet/classify/vnet_classify.h
+++ b/src/vnet/classify/vnet_classify.h
@@ -15,17 +15,7 @@
#ifndef __included_vnet_classify_h__
#define __included_vnet_classify_h__
-#include <stdarg.h>
-
-#include <vlib/vlib.h>
#include <vnet/vnet.h>
-#include <vnet/pg/pg.h>
-#include <vnet/ethernet/ethernet.h>
-#include <vnet/ethernet/packet.h>
-#include <vnet/ip/ip_packet.h>
-#include <vnet/ip/ip4_packet.h>
-#include <vnet/ip/ip6_packet.h>
-#include <vlib/cli.h>
#include <vnet/api_errno.h> /* for API error numbers */
#include <vppinfra/error.h>