summaryrefslogtreecommitdiff
path: root/src/mcast.c
diff options
context:
space:
mode:
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
commit001805d9998229534264758432c06295614f8e2a (patch)
tree03a09d8acb26a72161ad05a35866931eeca2021a /src/mcast.c
parentbdbacf04ce2e2d7ddfc7027d08e1290e7d3dc788 (diff)
downloadconntrack-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/mcast.c')
-rw-r--r--src/mcast.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mcast.c b/src/mcast.c
index 9684b61..77aa35c 100644
--- a/src/mcast.c
+++ b/src/mcast.c
@@ -17,19 +17,17 @@
*
* Description: multicast socket library
*/
+
+#include "mcast.h"
+#include "debug.h"
+
#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h>
#include <arpa/inet.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <sys/time.h>
#include <unistd.h>
#include <string.h>
#include <sys/ioctl.h>
#include <net/if.h>
-#include "mcast.h"
-#include "debug.h"
struct mcast_sock *mcast_server_create(struct mcast_conf *conf)
{