aboutsummaryrefslogtreecommitdiffstats
path: root/src/chlists.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chlists.c')
-rw-r--r--src/chlists.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chlists.c b/src/chlists.c
index dcb3b0412..3f5f3e8ee 100644
--- a/src/chlists.c
+++ b/src/chlists.c
@@ -114,6 +114,7 @@ void list_insert(Thread *tp, ThreadsList *tlp) {
*
* @param tlp the pointer to the threads list header
* @return the removed thread pointer
+ * @note The list must be non-empty before calling this function.
*/
Thread *list_remove(ThreadsList *tlp) {