Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2023 20:09:33 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 899becbfcbf7 - main - tcp_wrappers: Use ANSI (c89) definitions for one more function
Message-ID:  <202303212009.32LK9XW8008675@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303212009.32LK9XW8008675>