From 9948329992e4de0cc838bb2d87eea6f389786519 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 22 Apr 2014 12:09:27 +0200 Subject: [PATCH] built_in: Remove unnecessary #include from several headers These are not needed in the headers themselves and are pulled in in the .c file where necessary. Signed-off-by: Tobias Klauser --- dissector.h | 1 - locking.h | 2 -- ring_rx.h | 1 - ring_tx.h | 1 - 4 files changed, 5 deletions(-) diff --git a/dissector.h b/dissector.h index c6a22e67..e5646970 100644 --- a/dissector.h +++ b/dissector.h @@ -15,7 +15,6 @@ #include "ring.h" #include "tprintf.h" -#include "built_in.h" #define PRINT_NORM 0 #define PRINT_LESS 1 diff --git a/locking.h b/locking.h index 95f13418..51034b36 100644 --- a/locking.h +++ b/locking.h @@ -3,8 +3,6 @@ #include -#include "built_in.h" - struct spinlock { pthread_spinlock_t lock; }; diff --git a/ring_rx.h b/ring_rx.h index 8bf439b0..5057a30f 100644 --- a/ring_rx.h +++ b/ring_rx.h @@ -10,7 +10,6 @@ #include #include "ring.h" -#include "built_in.h" extern void destroy_rx_ring(int sock, struct ring *ring); extern void create_rx_ring(int sock, struct ring *ring, int verbose); diff --git a/ring_tx.h b/ring_tx.h index adfe2a43..ea99fc60 100644 --- a/ring_tx.h +++ b/ring_tx.h @@ -10,7 +10,6 @@ #include #include "ring.h" -#include "built_in.h" /* Give userland 10 us time to push packets to the ring */ #define TX_KERNEL_PULL_INT 10 -- 2.11.4.GIT