From c0e92c6df94e824248eb2620cdded46f68a8adb1 Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Fri, 21 Mar 2025 10:20:07 +0100 Subject: [PATCH] Remove dns_qpmulti_lockedread declaration This function was removed in 6217e434b57bd5d60ed69f792ae9a1a65a008f57 but not from the header file. (cherry picked from commit 2c52aea3dc4093dfddc704e1b173f8f38543b4c0) --- lib/dns/include/dns/qp.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/lib/dns/include/dns/qp.h b/lib/dns/include/dns/qp.h index e2dbb71afa..16eca977d9 100644 --- a/lib/dns/include/dns/qp.h +++ b/lib/dns/include/dns/qp.h @@ -741,23 +741,6 @@ dns_qpmulti_query(dns_qpmulti_t *multi, dns_qpread_t *qpr); * \li `qpr` is a valid read-only qp-trie handle */ -void -dns_qpmulti_lockedread(dns_qpmulti_t *multi, dns_qpread_t *qpr); -/*%< - * Start a read-only transaction that takes the `dns_qpmulti_t` mutex. - * - * The `dns_qpmulti_lockedread()` function must NOT be called from an - * isc_loop thread. We keep query and read transactions separate to - * avoid accidentally taking or failing to take the mutex. - * - * Requires: - * \li `multi` is a pointer to a valid multi-threaded qp-trie - * \li `qpr != NULL` - * - * Returns: - * \li `qpr` is a valid read-only qp-trie handle - */ - void dns_qpread_destroy(dns_qpmulti_t *multi, dns_qpread_t *qpr); /*%<