]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commitdiff
tc: remove dlfcn.h from files that dont need it
authorMike Frysinger <vapier@gentoo.org>
Wed, 4 Nov 2009 04:26:34 +0000 (04:26 +0000)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Fri, 13 Nov 2009 22:14:07 +0000 (14:14 -0800)
A bunch of source files look like they're copy & pasted from other files,
and some include header files that they don't actually need.  Since dlfcn
has very specific usage (and is a pain on a static-only system), drop it
where it isn't really needed.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
tc/em_cmp.c
tc/em_meta.c
tc/em_nbyte.c
tc/em_u32.c
tc/m_nat.c
tc/m_xt.c

index ce72a42918e376207032912fb570ae41d3be28d4..6addce072bd4feab27a9bcf39c6391aa0ba01015 100644 (file)
@@ -18,7 +18,6 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <string.h>
-#include <dlfcn.h>
 #include <errno.h>
 
 #include "m_ematch.h"
index ee6034fb6f410e02efd8660cea5fe8aa9986e314..033e29f2f6c81a1cc1fff7b18f65817a38225ab6 100644 (file)
@@ -18,7 +18,6 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <string.h>
-#include <dlfcn.h>
 #include <errno.h>
 
 #include "m_ematch.h"
index 242c361ba912f1ce572c55c582daa882ff6896e5..87f3e9d2074d1068c318ae1a06a17caedbc409da 100644 (file)
@@ -18,7 +18,6 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <string.h>
-#include <dlfcn.h>
 #include <errno.h>
 
 #include "m_ematch.h"
index 402bea0e1493b76099942512ee3ed10373421610..21ed70fd9b02742b226457c91f0d38bf7d1bd442 100644 (file)
@@ -18,7 +18,6 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <string.h>
-#include <dlfcn.h>
 #include <errno.h>
 
 #include "m_ematch.h"
index 6e7fd0556034429bedb471df19eedbc85e1aa5c8..01ec0328c4aa929cafaef020de8ad396e130be93 100644 (file)
@@ -19,7 +19,6 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <string.h>
-#include <dlfcn.h>
 #include "utils.h"
 #include "tc_util.h"
 #include <linux/tc_act/tc_nat.h>
index 0fe61899e6aeea0202197c87684cf8f190c41dc9..0c7ec6042a224111c44eab346e370f9108aff7f0 100644 (file)
--- a/tc/m_xt.c
+++ b/tc/m_xt.c
@@ -25,7 +25,6 @@
 #include "tc_util.h"
 #include <linux/tc_act/tc_ipt.h>
 #include <stdio.h>
-#include <dlfcn.h>
 #include <getopt.h>
 #include <errno.h>
 #include <string.h>