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 /extensions | |
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 'extensions')
-rw-r--r-- | extensions/libct_proto_icmp.c | 4 | ||||
-rw-r--r-- | extensions/libct_proto_udp.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/extensions/libct_proto_icmp.c b/extensions/libct_proto_icmp.c index 7c59072..f81c3b4 100644 --- a/extensions/libct_proto_icmp.c +++ b/extensions/libct_proto_icmp.c @@ -8,6 +8,9 @@ * (at your option) any later version. * */ + +#include "conntrack.h" + #include <stdio.h> #include <getopt.h> #include <stdlib.h> @@ -15,7 +18,6 @@ #include <netinet/ip_icmp.h> #include <libnetfilter_conntrack/libnetfilter_conntrack.h> #include <libnetfilter_conntrack/libnetfilter_conntrack_icmp.h> -#include "conntrack.h" static struct option opts[] = { {"icmp-type", 1, 0, '1'}, diff --git a/extensions/libct_proto_udp.c b/extensions/libct_proto_udp.c index 267e3d6..a72f9cf 100644 --- a/extensions/libct_proto_udp.c +++ b/extensions/libct_proto_udp.c @@ -10,7 +10,6 @@ #include <stdio.h> #include <getopt.h> #include <stdlib.h> -#include <string.h> #include <netinet/in.h> /* For htons */ #include <libnetfilter_conntrack/libnetfilter_conntrack.h> #include <libnetfilter_conntrack/libnetfilter_conntrack_udp.h> |