aboutsummaryrefslogtreecommitdiff
path: root/lib/llist.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-06-10 14:40:46 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-06-10 14:40:46 +0200
commit0f7bea7c3a6ddb0bf43f890c764322faaa3ba561 (patch)
treeef05aacf5e2aea61ae1fca0748dd6e19997e9c8b /lib/llist.c
parentd5cc77b7449316b6c8374968594f718df567ef7a (diff)
unittest: mark all unit tested functions
With "@unittest: [num]" in the header comment for each tested function. Shows we have a log way to go still...
Diffstat (limited to 'lib/llist.c')
-rw-r--r--lib/llist.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/llist.c b/lib/llist.c
index 42364b121..9478a708d 100644
--- a/lib/llist.c
+++ b/lib/llist.c
@@ -62,6 +62,8 @@ Curl_llist_alloc(curl_llist_dtor dtor)
* inserted first in the list.
*
* Returns: 1 on success and 0 on failure.
+ *
+ * @unittest: 1300
*/
int
Curl_llist_insert_next(struct curl_llist *list, struct curl_llist_element *e,
@@ -101,9 +103,11 @@ Curl_llist_insert_next(struct curl_llist *list, struct curl_llist_element *e,
return 1;
}
-int
-Curl_llist_remove(struct curl_llist *list, struct curl_llist_element *e,
- void *user)
+/*
+ * @unittest: 1300
+ */
+int Curl_llist_remove(struct curl_llist *list, struct curl_llist_element *e,
+ void *user)
{
if(e == NULL || list->size == 0)
return 1;