From 91ffb02d09f73fb880aae074d4347f781334fabe Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Mon, 19 Nov 2012 16:17:19 +0000 Subject: [PATCH] Remove from API git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1411274 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/eventopt/skiplist.c | 2 ++ server/mpm/eventopt/skiplist.h | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/server/mpm/eventopt/skiplist.c b/server/mpm/eventopt/skiplist.c index 7d60b66f55..26ace19d75 100644 --- a/server/mpm/eventopt/skiplist.c +++ b/server/mpm/eventopt/skiplist.c @@ -378,6 +378,7 @@ skiplistnode *skiplist_insert_compare(Skiplist *sl, void *data, return ret; } +#if 0 /* * There are reports of skiplist_append() being buggy. * Use at own risk @@ -518,6 +519,7 @@ Skiplist *skiplist_concat(Skiplist *sl1, Skiplist *sl2) skiplist_remove_all(sl2, NULL); return sl1; } +#endif int skiplist_remove(Skiplist *sl, void *data, FreeFunc myfree) { diff --git a/server/mpm/eventopt/skiplist.h b/server/mpm/eventopt/skiplist.h index f704cbcd4f..50543acb41 100644 --- a/server/mpm/eventopt/skiplist.h +++ b/server/mpm/eventopt/skiplist.h @@ -87,8 +87,6 @@ skiplistnode *skiplist_insert_compare(Skiplist *sl, skiplistnode *skiplist_insert(Skiplist* sl, void *data); -skiplistnode *skiplist_append(Skiplist *sl, void *data); - int skiplist_remove_compare(Skiplist *sl, void *data, FreeFunc myfree, SkiplistComparator comp); @@ -112,7 +110,11 @@ void *skiplist_pop(Skiplist *a, FreeFunc myfree); void *skiplist_peek(Skiplist *a); +/* Below 2 are buggy */ +#if 0 Skiplist *skiplist_concat(Skiplist *sl1, Skiplist *sl2); +skiplistnode *skiplist_append(Skiplist *sl, void *data); +#endif Skiplist *skiplist_merge(Skiplist *sl1, Skiplist *sl2); -- 2.40.0