diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-07-08 10:12:03 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-07-08 10:12:03 +0200 |
commit | ca6a0798fe39efb3f1258d9b15f7e02d8c546eb3 (patch) | |
tree | 4a793998df206fdb8491c2897b5c153bc3d57758 | |
parent | e6660d3be56472a0ab05503b4611805a0a5a3b62 (diff) |
conntrack: consolidate all conntrack header includes into conntrack.h
Consolidate all conntrack header includes into conntrack.h as this
is more clean.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
-rw-r--r-- | conntrack.h | 9 | ||||
-rw-r--r-- | flowtop.c | 5 |
2 files changed, 10 insertions, 4 deletions
diff --git a/conntrack.h b/conntrack.h new file mode 100644 index 0000000..d37d209 --- /dev/null +++ b/conntrack.h @@ -0,0 +1,9 @@ +#ifndef CONNTRACK_H +#define CONNTRACK_H + +#include <libnetfilter_conntrack/libnetfilter_conntrack.h> +#include <libnetfilter_conntrack/libnetfilter_conntrack_tcp.h> +#include <libnetfilter_conntrack/libnetfilter_conntrack_dccp.h> +#include <libnetfilter_conntrack/libnetfilter_conntrack_sctp.h> + +#endif /* CONNTRACK_H */ @@ -15,10 +15,6 @@ #include <signal.h> #include <netdb.h> #include <ctype.h> -#include <libnetfilter_conntrack/libnetfilter_conntrack.h> -#include <libnetfilter_conntrack/libnetfilter_conntrack_tcp.h> -#include <libnetfilter_conntrack/libnetfilter_conntrack_dccp.h> -#include <libnetfilter_conntrack/libnetfilter_conntrack_sctp.h> #include <netinet/in.h> #include <curses.h> #include <dirent.h> @@ -29,6 +25,7 @@ #include "die.h" #include "xmalloc.h" +#include "conntrack.h" #include "ioops.h" #include "str.h" #include "sig.h" |