summaryrefslogtreecommitdiff
path: root/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'list.c')
-rw-r--r--list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/list.c b/list.c
index 55f50f1..6e9a7a4 100644
--- a/list.c
+++ b/list.c
@@ -74,7 +74,7 @@ int add_to_list(list_ptr lp, void *item)
/** ------------------------------------------------------------------------
- Creates a new list and sets its pointers to NULL.
+ Creates a new list and sets its pointers to NULL.
Returns a pointer to the new list.
-------------------------------------------------------------------- **/
list_ptr new_list (void)
@@ -161,7 +161,7 @@ void *delete_from_list(list_ptr lp, void *item)
/** ------------------------------------------------------------------------
Deletes each node in the list *except the head*. This allows
the deletion of lists where the head is not malloced or created
- with new_list(). If free_items is true, each item pointed to
+ with new_list(). If free_items is true, each item pointed to
from the node is freed, in addition to the node itself.
-------------------------------------------------------------------- **/
void delete_list(list_ptr lp, int free_items)