summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-04-22 12:09:27 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-04-22 12:09:27 +0200
commit9948329992e4de0cc838bb2d87eea6f389786519 (patch)
tree64b3f06e9fa33a2d81ff1d62b333bf8564456caa
parentd711a09cad37a39a4aa67ae9ddf8e5fbff833d8e (diff)
built_in: Remove unnecessary #include <built_in.h> 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 <tklauser@distanz.ch>
-rw-r--r--dissector.h1
-rw-r--r--locking.h2
-rw-r--r--ring_rx.h1
-rw-r--r--ring_tx.h1
4 files changed, 0 insertions, 5 deletions
diff --git a/dissector.h b/dissector.h
index c6a22e6..e564697 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 95f1341..51034b3 100644
--- a/locking.h
+++ b/locking.h
@@ -3,8 +3,6 @@
#include <pthread.h>
-#include "built_in.h"
-
struct spinlock {
pthread_spinlock_t lock;
};
diff --git a/ring_rx.h b/ring_rx.h
index 8bf439b..5057a30 100644
--- a/ring_rx.h
+++ b/ring_rx.h
@@ -10,7 +10,6 @@
#include <stdbool.h>
#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 adfe2a4..ea99fc6 100644
--- a/ring_tx.h
+++ b/ring_tx.h
@@ -10,7 +10,6 @@
#include <stdbool.h>
#include "ring.h"
-#include "built_in.h"
/* Give userland 10 us time to push packets to the ring */
#define TX_KERNEL_PULL_INT 10