]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: resolvers: remove duplicate func prototype
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 4 Dec 2023 15:02:14 +0000 (16:02 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Dec 2023 13:22:27 +0000 (14:22 +0100)
dns_dgram_init() function prototype was found in both resolvers and dns
header files, but it should belong to the dns header file, so the
duplicate entry was simply removed.

include/haproxy/resolvers.h

index 5d4c7445b53717093d31e167c8179cdbec5e4ed7..70dd0978a86e486f4579759e940e702f4d852dda 100644 (file)
@@ -60,7 +60,6 @@ int stats_dump_resolvers(struct stconn *sc,
                          struct list *stat_modules);
 void resolv_stats_clear_counters(int clrall, struct list *stat_modules);
 int resolv_allocate_counters(struct list *stat_modules);
-int dns_dgram_init(struct dns_nameserver *ns, struct sockaddr_storage *sk);
 int resolvers_create_default();
 
 #endif // _HAPROXY_RESOLVER_H