Commit 05b4f849 authored by Mike Frysinger's avatar Mike Frysinger Committed by Stephen Hemminger

tc: remove dlfcn.h from files that dont need it

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: default avatarMike Frysinger <vapier@gentoo.org>
parent a6992a9c
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <string.h> #include <string.h>
#include <dlfcn.h>
#include <errno.h> #include <errno.h>
#include "m_ematch.h" #include "m_ematch.h"
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <string.h> #include <string.h>
#include <dlfcn.h>
#include <errno.h> #include <errno.h>
#include "m_ematch.h" #include "m_ematch.h"
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <string.h> #include <string.h>
#include <dlfcn.h>
#include <errno.h> #include <errno.h>
#include "m_ematch.h" #include "m_ematch.h"
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <string.h> #include <string.h>
#include <dlfcn.h>
#include <errno.h> #include <errno.h>
#include "m_ematch.h" #include "m_ematch.h"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <string.h> #include <string.h>
#include <dlfcn.h>
#include "utils.h" #include "utils.h"
#include "tc_util.h" #include "tc_util.h"
#include <linux/tc_act/tc_nat.h> #include <linux/tc_act/tc_nat.h>
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include "tc_util.h" #include "tc_util.h"
#include <linux/tc_act/tc_ipt.h> #include <linux/tc_act/tc_ipt.h>
#include <stdio.h> #include <stdio.h>
#include <dlfcn.h>
#include <getopt.h> #include <getopt.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment