summaryrefslogtreecommitdiff
path: root/src/hash.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/hash.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/hash.c')
-rw-r--r--src/hash.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/hash.c b/src/hash.c
index d7724c8..cf64df4 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -18,14 +18,12 @@
* Description: generic hash table implementation
*/
-#include <stdio.h>
+#include "hash.h"
+#include "slist.h"
+
#include <errno.h>
#include <stdlib.h>
-#include <sys/types.h>
#include <string.h>
-#include "slist.h"
-#include "hash.h"
-
struct hashtable_node *hashtable_alloc_node(int datasize, void *data)
{