summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-07 00:05:10 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-07 00:05:10 +0000
commitd07b34e0eda52690ff711bfaab9108563ba6bd5c (patch)
tree28a173983a00e281c94a2f08ed9edccadae360dc /lib
parent5df41f93f061af43b269547eef87b54316ab04d4 (diff)
func prototype
Diffstat (limited to 'lib')
-rw-r--r--lib/libwrap/diag.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libwrap/diag.c b/lib/libwrap/diag.c
index 4a1ea0db067..31c0a65ad45 100644
--- a/lib/libwrap/diag.c
+++ b/lib/libwrap/diag.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diag.c,v 1.2 2002/02/19 19:39:37 millert Exp $ */
+/* $OpenBSD: diag.c,v 1.3 2002/06/07 00:05:09 itojun Exp $ */
/*
* Routines to report various classes of problems. Each report is decorated
@@ -15,7 +15,7 @@
#if 0
static char sccsid[] = "@(#) diag.c 1.1 94/12/28 17:42:20";
#else
-static char rcsid[] = "$OpenBSD: diag.c,v 1.2 2002/02/19 19:39:37 millert Exp $";
+static char rcsid[] = "$OpenBSD: diag.c,v 1.3 2002/06/07 00:05:09 itojun Exp $";
#endif
#endif
@@ -33,6 +33,9 @@ static char rcsid[] = "$OpenBSD: diag.c,v 1.2 2002/02/19 19:39:37 millert Exp $"
struct tcpd_context tcpd_context;
jmp_buf tcpd_buf;
+static void tcpd_diag(int, char *, char *, va_list)
+ __attribute__((__format__(__printf__, 3, 0)));
+
/* tcpd_diag - centralize error reporter */
static void tcpd_diag(severity, tag, format, ap)