diff options
| author | 2020-02-17 18:58:39 +0000 | |
|---|---|---|
| committer | 2020-02-17 18:58:39 +0000 | |
| commit | a61b9c11d1cfbd02350b4fbc5b6cf37b75fec5ff (patch) | |
| tree | 0ff52fd4fe2d2913de1df499e5914c7896a21fd9 /usr.bin/dig/lib/isc/log.c | |
| parent | vmm: check guest cpl and xsave_mask in xsetbv handler (diff) | |
| download | wireguard-openbsd-a61b9c11d1cfbd02350b4fbc5b6cf37b75fec5ff.tar.xz wireguard-openbsd-a61b9c11d1cfbd02350b4fbc5b6cf37b75fec5ff.zip | |
remove unused code
ok florian
Diffstat (limited to 'usr.bin/dig/lib/isc/log.c')
| -rw-r--r-- | usr.bin/dig/lib/isc/log.c | 39 |
1 files changed, 1 insertions, 38 deletions
diff --git a/usr.bin/dig/lib/isc/log.c b/usr.bin/dig/lib/isc/log.c index 76a01473640..820a3e9ad3d 100644 --- a/usr.bin/dig/lib/isc/log.c +++ b/usr.bin/dig/lib/isc/log.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: log.c,v 1.13 2020/02/16 21:11:02 florian Exp $ */ +/* $Id: log.c,v 1.14 2020/02/17 18:58:39 jung Exp $ */ /*! \file * \author Principal Authors: DCL */ @@ -680,43 +680,6 @@ isc_log_write(isc_log_t *lctx, isc_logcategory_t *category, } void -isc_log_vwrite(isc_log_t *lctx, isc_logcategory_t *category, - isc_logmodule_t *module, int level, - const char *format, va_list args) -{ - /* - * Contract checking is done in isc_log_doit(). - */ - isc_log_doit(lctx, category, module, level, ISC_FALSE, format, args); -} - -void -isc_log_write1(isc_log_t *lctx, isc_logcategory_t *category, - isc_logmodule_t *module, int level, const char *format, ...) -{ - va_list args; - - /* - * Contract checking is done in isc_log_doit(). - */ - - va_start(args, format); - isc_log_doit(lctx, category, module, level, ISC_TRUE, format, args); - va_end(args); -} - -void -isc_log_vwrite1(isc_log_t *lctx, isc_logcategory_t *category, - isc_logmodule_t *module, int level, - const char *format, va_list args) -{ - /* - * Contract checking is done in isc_log_doit(). - */ - isc_log_doit(lctx, category, module, level, ISC_TRUE, format, args); -} - -void isc_log_setcontext(isc_log_t *lctx) { isc_lctx = lctx; } |
