summaryrefslogtreecommitdiffstats
path: root/contrib/libs/nghttp3/lib/nghttp3_pq.c
diff options
context:
space:
mode:
authorrobot-contrib <[email protected]>2025-05-01 08:17:53 +0300
committerrobot-contrib <[email protected]>2025-05-01 08:57:12 +0300
commit0d5861bb6d9b5e7f39cbdc17456909efab426bd9 (patch)
tree9414709cf2454ae612ed7a34c34a8047436d6932 /contrib/libs/nghttp3/lib/nghttp3_pq.c
parenta24e6ced72db4dbcfba43e2f8c630986b2c9c38b (diff)
Update contrib/libs/nghttp3 to 1.9.0
commit_hash:404c76a4ce7d29b42f27d1a0cd72424faad00313
Diffstat (limited to 'contrib/libs/nghttp3/lib/nghttp3_pq.c')
-rw-r--r--contrib/libs/nghttp3/lib/nghttp3_pq.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/contrib/libs/nghttp3/lib/nghttp3_pq.c b/contrib/libs/nghttp3/lib/nghttp3_pq.c
index feefcd6fc71..e35bcac4e43 100644
--- a/contrib/libs/nghttp3/lib/nghttp3_pq.c
+++ b/contrib/libs/nghttp3/lib/nghttp3_pq.c
@@ -164,20 +164,4 @@ int nghttp3_pq_empty(const nghttp3_pq *pq) { return pq->length == 0; }
size_t nghttp3_pq_size(const nghttp3_pq *pq) { return pq->length; }
-int nghttp3_pq_each(const nghttp3_pq *pq, nghttp3_pq_item_cb fun, void *arg) {
- size_t i;
-
- if (pq->length == 0) {
- return 0;
- }
-
- for (i = 0; i < pq->length; ++i) {
- if ((*fun)(pq->q[i], arg)) {
- return 1;
- }
- }
-
- return 0;
-}
-
void nghttp3_pq_clear(nghttp3_pq *pq) { pq->length = 0; }