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/stats-mode.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/stats-mode.c')
-rw-r--r-- | src/stats-mode.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/stats-mode.c b/src/stats-mode.c index 0c42d95..0ecb2b0 100644 --- a/src/stats-mode.c +++ b/src/stats-mode.c @@ -18,16 +18,15 @@ #include "netlink.h" #include "traffic_stats.h" -#include <stdlib.h> +#include "buffer.h" +#include "debug.h" #include "cache.h" #include "log.h" #include "conntrackd.h" -#include <libnfnetlink/libnfnetlink.h> -#include <libnetfilter_conntrack/libnetfilter_conntrack.h> + #include <errno.h> -#include "us-conntrack.h" -#include <signal.h> -#include <sys/select.h> +#include <string.h> +#include <stdlib.h> static int init_stats(void) { |