summaryrefslogtreecommitdiff
path: root/lib/llist.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-08-08 23:49:49 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-08-10 11:07:38 +0200
commit1d594772fd15143ad602ac90f5bb2f58f8b06f1a (patch)
treeecd8942e3253fecbb0975f8742e8dd7c88b5f5aa /lib/llist.h
parentff26895b5c40c9e0d50122bcbb12368dbb627139 (diff)
downloadcurl-1d594772fd15143ad602ac90f5bb2f58f8b06f1a.tar.gz
llist: hide Curl_llist_init
Curl_llist_init is never used outside of llist.c and thus it should be static. I also removed the protos for Curl_llist_insert_prev and Curl_llist_remove_next which are functions we removed from llist.c ages ago.
Diffstat (limited to 'lib/llist.h')
-rw-r--r--lib/llist.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/llist.h b/lib/llist.h
index 358d3d689..c33912a4b 100644
--- a/lib/llist.h
+++ b/lib/llist.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -43,16 +43,11 @@ struct curl_llist {
size_t size;
};
-void Curl_llist_init(struct curl_llist *, curl_llist_dtor);
struct curl_llist *Curl_llist_alloc(curl_llist_dtor);
int Curl_llist_insert_next(struct curl_llist *, struct curl_llist_element *,
const void *);
-int Curl_llist_insert_prev(struct curl_llist *, struct curl_llist_element *,
- const void *);
int Curl_llist_remove(struct curl_llist *, struct curl_llist_element *,
void *);
-int Curl_llist_remove_next(struct curl_llist *, struct curl_llist_element *,
- void *);
size_t Curl_llist_count(struct curl_llist *);
void Curl_llist_destroy(struct curl_llist *, void *);
int Curl_llist_move(struct curl_llist *, struct curl_llist_element *,