git: 899becbfcbf7 - main - tcp_wrappers: Use ANSI (c89) definitions for one more function
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 20:09:33 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=899becbfcbf75008c560bae5e5fce0c205a5bc82 commit 899becbfcbf75008c560bae5e5fce0c205a5bc82 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2023-03-21 20:05:57 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2023-03-21 20:09:13 +0000 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;