git: 880f1dee7ea2 - stable/14 - tcp_wrappers: Use default C standard version
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Jan 2025 19:50:52 UTC
The branch stable/14 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=880f1dee7ea25053a1f12effb1ab6dfb5d0321f7
commit 880f1dee7ea25053a1f12effb1ab6dfb5d0321f7
Author: Minsoo Choo <minsoochoo0122@proton.me>
AuthorDate: 2024-04-06 00:30:50 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-01-24 19:50:38 +0000
tcp_wrappers: Use default C standard version
Reviewed by: emaste, arichardson, jhb
Differential Revision: https://reviews.freebsd.org/D43236
(cherry picked from commit 2cadbe468a8e8aef193429565b729d34ec48b266)
---
contrib/tcp_wrappers/tcpd.c | 1 +
libexec/tcpd/Makefile | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/tcp_wrappers/tcpd.c b/contrib/tcp_wrappers/tcpd.c
index a0ba42f71f86..164132570a36 100644
--- a/contrib/tcp_wrappers/tcpd.c
+++ b/contrib/tcp_wrappers/tcpd.c
@@ -44,6 +44,7 @@ static char sccsid[] = "@(#) tcpd.c 1.10 96/02/11 17:01:32";
int allow_severity = SEVERITY; /* run-time adjustable */
int deny_severity = LOG_WARNING; /* ditto */
+int
main(int argc, char **argv)
{
struct request_info request;
diff --git a/libexec/tcpd/Makefile b/libexec/tcpd/Makefile
index 408db9c39744..892855d1d8a7 100644
--- a/libexec/tcpd/Makefile
+++ b/libexec/tcpd/Makefile
@@ -7,7 +7,6 @@ PACKAGE= tcpd
PROG= tcpd
MAN= tcpd.8
-CSTD?= c89
CFLAGS+=-DREAL_DAEMON_DIR=\"${LIBEXECDIR}\" \
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \