From 17dbb4ccbff1259da86ce6a602cbcd8f49ecfbf5 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sun, 25 Oct 2026 03:32:27 +0100 Subject: Drop dead test helper --- tests/t_socket.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/t_socket.c b/tests/t_socket.c index cf7d291..bbc9e5e 100644 --- a/tests/t_socket.c +++ b/tests/t_socket.c @@ -58,14 +58,6 @@ static void bound_address(int s, char ip[16], uint16_t *port) { } } -static uint16_t bound_port(int s) { - char ip[16]; - uint16_t port; - - bound_address(s, ip, &port); - return port; -} - static int is_nonblocking(int s) { int flags = fcntl(s, F_GETFL, 0); return flags != -1 && (flags & O_NONBLOCK) != 0; -- cgit v1.3