summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/error.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2020-02-12 13:05:03 +0000
committerjsg <jsg@openbsd.org>2020-02-12 13:05:03 +0000
commit3f2f3b21418bf66ce0c584cef36ad5a798a738f7 (patch)
tree1e4e23ae444edbb6b0d77dc06f7a3fcd920ba950 /usr.bin/dig/lib/isc/error.c
parentReorder to handle apm events and timeouts with the same code (diff)
downloadwireguard-openbsd-3f2f3b21418bf66ce0c584cef36ad5a798a738f7.tar.xz
wireguard-openbsd-3f2f3b21418bf66ce0c584cef36ad5a798a738f7.zip
remove some unreferenced functions
ok florian@
Diffstat (limited to 'usr.bin/dig/lib/isc/error.c')
-rw-r--r--usr.bin/dig/lib/isc/error.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/usr.bin/dig/lib/isc/error.c b/usr.bin/dig/lib/isc/error.c
index 791df50a036..fb8d1724d03 100644
--- a/usr.bin/dig/lib/isc/error.c
+++ b/usr.bin/dig/lib/isc/error.c
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: error.c,v 1.2 2020/02/11 23:26:11 jsg Exp $ */
+/* $Id: error.c,v 1.3 2020/02/12 13:05:04 jsg Exp $ */
/*! \file */
@@ -40,22 +40,6 @@ static isc_errorcallback_t unexpected_callback = default_unexpected_callback;
static isc_errorcallback_t fatal_callback = default_fatal_callback;
void
-isc_error_setunexpected(isc_errorcallback_t cb) {
- if (cb == NULL)
- unexpected_callback = default_unexpected_callback;
- else
- unexpected_callback = cb;
-}
-
-void
-isc_error_setfatal(isc_errorcallback_t cb) {
- if (cb == NULL)
- fatal_callback = default_fatal_callback;
- else
- fatal_callback = cb;
-}
-
-void
isc_error_unexpected(const char *file, int line, const char *format, ...) {
va_list args;