From 5fa03ec9a3e066573f02f8f03d67768e89cebe55 Mon Sep 17 00:00:00 2001 From: yrutschle Date: Sat, 2 Apr 2022 18:59:32 +0200 Subject: [PATCH] fix hash item type definition --- sslh-ev.c | 1 - udp-listener.c | 3 --- udp-listener.h | 3 +++ 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/sslh-ev.c b/sslh-ev.c index ff6f365..414b969 100644 --- a/sslh-ev.c +++ b/sslh-ev.c @@ -22,7 +22,6 @@ #include #include -#include "processes.h" #include "gap.h" #include "log.h" #include "udp-listener.h" diff --git a/udp-listener.c b/udp-listener.c index 2b065f7..1cfa46d 100644 --- a/udp-listener.c +++ b/udp-listener.c @@ -27,9 +27,6 @@ #include "sslh-conf.h" #include "udp-listener.h" -typedef struct connection* hash_item; -#include "hash.h" - /* returns date at which this socket times out. */ static int udp_timeout(struct connection* cnx) diff --git a/udp-listener.h b/udp-listener.h index 67c2a00..0309bf4 100644 --- a/udp-listener.h +++ b/udp-listener.h @@ -1,6 +1,9 @@ #ifndef UDPLISTENER_H #define UDPLISTENER_H +typedef struct connection* hash_item; +#include "hash.h" + #include "collection.h" #include "processes.h" #include "common.h"