aboutsummaryrefslogtreecommitdiff
path: root/contrib/tcp_wrappers/diag.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2023-03-21 14:08:28 +0000
committerEd Maste <emaste@FreeBSD.org>2023-03-21 14:09:34 +0000
commit14f102eacc8434a5a1f96466752578a4167140c9 (patch)
tree738f4692796be47db8e930f5bacf28698bec0f2d /contrib/tcp_wrappers/diag.c
parent87bb53cb538059a3085db1fa4295dde5fcba55fe (diff)
downloadsrc-14f102eacc8434a5a1f96466752578a4167140c9.tar.gz
src-14f102eacc8434a5a1f96466752578a4167140c9.zip
tcp_wrappers: Use ANSI (c89) function definitions
Although this code is in contrib/ there is no active upstream. Reviewed by: brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D36047
Diffstat (limited to 'contrib/tcp_wrappers/diag.c')
-rw-r--r--contrib/tcp_wrappers/diag.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/contrib/tcp_wrappers/diag.c b/contrib/tcp_wrappers/diag.c
index ac3df07a202e..f3b8b1aaf589 100644
--- a/contrib/tcp_wrappers/diag.c
+++ b/contrib/tcp_wrappers/diag.c
@@ -29,11 +29,7 @@ jmp_buf tcpd_buf;
/* tcpd_diag - centralize error reporter */
-static void tcpd_diag(severity, tag, format, ap)
-int severity;
-char *tag;
-char *format;
-va_list ap;
+static void tcpd_diag(int severity, char *tag, char *format, va_list ap)
{
char fmt[BUFSIZ];