From 899becbfcbf75008c560bae5e5fce0c205a5bc82 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 21 Mar 2023 16:05:57 -0400 Subject: [PATCH] tcp_wrappers: Use ANSI (c89) definitions for one more function Fixes: 14f102eacc84 ("tcp_wrappers: Use ANSI (c89) function definit...") Sponsored by: The FreeBSD Foundation --- contrib/tcp_wrappers/tli.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/tcp_wrappers/tli.c b/contrib/tcp_wrappers/tli.c index f362004f9f58..8ac967bb4e52 100644 --- a/contrib/tcp_wrappers/tli.c +++ b/contrib/tcp_wrappers/tli.c @@ -182,8 +182,7 @@ static void tli_endpoints(struct request_info *request) /* tli_transport - find out TLI transport type */ -static struct netconfig *tli_transport(fd) -int fd; +static struct netconfig *tli_transport(int fd) { struct stat from_client; struct stat from_config;