aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/linked_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/linked_list.h')
-rw-r--r--Source/charon/linked_list.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/charon/linked_list.h b/Source/charon/linked_list.h
index a8d848c7e..8a8dbc212 100644
--- a/Source/charon/linked_list.h
+++ b/Source/charon/linked_list.h
@@ -92,10 +92,9 @@ struct linked_list_s {
* @brief gets the count of items in the list
*
* @param linked_list calling object
- * @param[in] count place where the count is written
- * @return SUCCESS if succeeded, FAILED otherwise
+ * @return number of items in list
*/
- status_t (*get_count) (linked_list_t *linked_list, int *count);
+ int (*get_count) (linked_list_t *linked_list);
/**
* @brief creates a iterator for the given list