aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinsoo Choo <minsoochoo0122@proton.me>2024-04-06 00:30:50 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2025-01-09 18:07:51 +0000
commit2cadbe468a8e8aef193429565b729d34ec48b266 (patch)
treec6d81323f9fb2c5868f53f2ed00fa7df0e005ca6
parent0acab8b3d1336d4db73a9946ef76b4bcd0b0aabe (diff)
tcp_wrappers: Use default C standard version
Reviewed by: emaste, arichardson, jhb Differential Revision: https://reviews.freebsd.org/D43236
-rw-r--r--contrib/tcp_wrappers/tcpd.c1
-rw-r--r--libexec/tcpd/Makefile1
2 files changed, 1 insertions, 1 deletions
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 bb8f09ca13ac..4845013f7489 100644
--- a/libexec/tcpd/Makefile
+++ b/libexec/tcpd/Makefile
@@ -6,7 +6,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\" \