diff options
author | Richard Braun <rbraun@sceen.net> | 2018-01-29 21:23:51 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-01-29 21:23:51 +0100 |
commit | e6145fc66fa0398139d80ec00a9578001089b4df (patch) | |
tree | 4d42dbb7d23b3ffc69bd51b682a6dbe19ad2d2cb | |
parent | dffd4c0654fd3c12744a9a1f939ba33a0a46b0c4 (diff) |
slist: improve slist_remove description
-rw-r--r-- | src/slist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slist.h b/src/slist.h index 5dbe537..f6138e2 100644 --- a/src/slist.h +++ b/src/slist.h @@ -204,8 +204,8 @@ slist_insert_after(struct slist *list, struct slist_node *node, * Remove a node from a list. * * The prev argument must point to the node immediately preceding the target - * node. It may safely denote the end of the given list, in which case the - * first node is removed. + * node. It may safely denote the end of the given list (NULL), in which case + * the first node is removed. */ static inline void slist_remove(struct slist *list, struct slist_node *prev) |