summaryrefslogtreecommitdiff
path: root/lib/splay.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-11-30 17:51:26 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-12-01 08:09:51 +0100
commitb6b535994e7d8d6ee79d5871849b95d53a64dd08 (patch)
tree66104b73cc60e190b02d0646f949d1a9da87eb99 /lib/splay.c
parent2d4d012a49a058ed886ef95cd91b412a98002006 (diff)
downloadcurl-b6b535994e7d8d6ee79d5871849b95d53a64dd08.tar.gz
splay: rename Curl_splayremovebyaddr to Curl_splayremove
... and remove the old unused proto for the old Curl_splayremove version. Closes #6269
Diffstat (limited to 'lib/splay.c')
-rw-r--r--lib/splay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/splay.c b/lib/splay.c
index 08a721319..98baf5d87 100644
--- a/lib/splay.c
+++ b/lib/splay.c
@@ -206,9 +206,9 @@ struct Curl_tree *Curl_splaygetbest(struct curltime i,
*
* @unittest: 1309
*/
-int Curl_splayremovebyaddr(struct Curl_tree *t,
- struct Curl_tree *removenode,
- struct Curl_tree **newroot)
+int Curl_splayremove(struct Curl_tree *t,
+ struct Curl_tree *removenode,
+ struct Curl_tree **newroot)
{
static const struct curltime KEY_NOTUSED = {
(time_t)-1, (unsigned int)-1