diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-17 17:36:32 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-17 17:36:32 +0000 |
commit | 001805d9998229534264758432c06295614f8e2a (patch) | |
tree | 03a09d8acb26a72161ad05a35866931eeca2021a /src/conntrack.c | |
parent | bdbacf04ce2e2d7ddfc7027d08e1290e7d3dc788 (diff) | |
download | conntrack-tools-001805d9998229534264758432c06295614f8e2a.tar.gz conntrack-tools-001805d9998229534264758432c06295614f8e2a.zip |
Max Kellermann <max@duempel.org>:
import only required C headers and put local headers on top to check
Diffstat (limited to 'src/conntrack.c')
-rw-r--r-- | src/conntrack.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/conntrack.c b/src/conntrack.c index 7918b3f..5f0cb1a 100644 --- a/src/conntrack.c +++ b/src/conntrack.c @@ -33,9 +33,10 @@ * Ported to the new libnetfilter_conntrack API * */ + +#include "conntrack.h" + #include <stdio.h> -#include <sys/wait.h> -#include <stdlib.h> #include <getopt.h> #include <stdlib.h> #include <stdarg.h> @@ -43,22 +44,15 @@ #include <unistd.h> #include <netinet/in.h> #include <sys/types.h> -#include <sys/stat.h> #include <sys/socket.h> #include <sys/time.h> #include <time.h> #ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> #endif -#include <fcntl.h> -#include <dlfcn.h> #include <signal.h> #include <string.h> -#include "linux_list.h" -#include "conntrack.h" #include <libnetfilter_conntrack/libnetfilter_conntrack.h> -#include <libnetfilter_conntrack/libnetfilter_conntrack_ipv4.h> -#include <libnetfilter_conntrack/libnetfilter_conntrack_ipv6.h> static const char cmdflags[NUMBER_OF_CMD] = {'L','I','U','D','G','F','E','V','h','L','I','D','G','F','E'}; |