summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/unix/errno.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/unix/errno.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/unix/errno.c')
-rw-r--r--usr.bin/dig/lib/isc/unix/errno.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/usr.bin/dig/lib/isc/unix/errno.c b/usr.bin/dig/lib/isc/unix/errno.c
deleted file mode 100644
index 59bc50cef12..00000000000
--- a/usr.bin/dig/lib/isc/unix/errno.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
- * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- * PERFORMANCE OF THIS SOFTWARE.
- */
-
-/*! \file */
-
-
-
-#include <isc/errno.h>
-
-#include "errno2result.h"
-
-isc_result_t
-isc_errno_toresult(int err) {
- return (isc___errno2result(err, ISC_FALSE, 0, 0));
-}