diff options
author | 2002-06-07 00:05:09 +0000 | |
---|---|---|
committer | 2002-06-07 00:05:09 +0000 | |
commit | 880d06c91a06c57138ff57b1085dbd046f32be16 (patch) | |
tree | 0c31a61c5e74bf74c1a79e481d51d55fb0df12ac /lib | |
parent | more strict prototype (diff) | |
download | wireguard-openbsd-880d06c91a06c57138ff57b1085dbd046f32be16.tar.xz wireguard-openbsd-880d06c91a06c57138ff57b1085dbd046f32be16.zip |
func prototype
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libwrap/diag.c | 7 |
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) |