summaryrefslogtreecommitdiff
path: root/contrib/tcp_wrappers/myvsyslog.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2001-07-24 09:05:01 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2001-07-24 09:05:01 +0000
commit169285e67baae4a0fdb27d78bd659fe50a26bb93 (patch)
treea30aa9b663d1ed8734ece42bad186ac9ffe04c51 /contrib/tcp_wrappers/myvsyslog.c
parent7c79d50ee7f8468dcf210a772e79cfbf6259eb88 (diff)
Notes
Diffstat (limited to 'contrib/tcp_wrappers/myvsyslog.c')
-rw-r--r--contrib/tcp_wrappers/myvsyslog.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/contrib/tcp_wrappers/myvsyslog.c b/contrib/tcp_wrappers/myvsyslog.c
deleted file mode 100644
index 20401f1f371bf..0000000000000
--- a/contrib/tcp_wrappers/myvsyslog.c
+++ /dev/null
@@ -1,33 +0,0 @@
- /*
- * vsyslog() for sites without. In order to enable this code, build with
- * -Dvsyslog=myvsyslog. We use a different name so that no accidents will
- * happen when vsyslog() exists. On systems with vsyslog(), syslog() is
- * typically implemented in terms of vsyslog().
- *
- * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
- */
-
-#ifndef lint
-static char sccsid[] = "@(#) myvsyslog.c 1.1 94/12/28 17:42:33";
-#endif
-
-#ifdef vsyslog
-
-#include <stdio.h>
-
-#include "tcpd.h"
-#include "mystdarg.h"
-
-myvsyslog(severity, format, ap)
-int severity;
-char *format;
-va_list ap;
-{
- char fbuf[BUFSIZ];
- char obuf[3 * STRING_LENGTH];
-
- vsprintf(obuf, percent_m(fbuf, format), ap);
- syslog(severity, "%s", obuf);
-}
-
-#endif