diff options
Diffstat (limited to 'src/rc.h')
-rw-r--r-- | src/rc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -203,8 +203,8 @@ char *rc_strlist_addsort (char ***list, const char *item); char *rc_strlist_addsortc (char ***list, const char *item); char *rc_strlist_addsortu (char ***list, const char *item); int rc_strlist_delete (char ***list, const char *item); -/* rc_strlist_list_join does a shallow copy of list2 onto list1 - * and then frees the pointer for list2 (but not the contents) */ +/* join moves items from list2 to list1, so list2 is empty + * on return. It still needs to be freed though. */ int rc_strlist_join (char ***list1, char **list2); void rc_strlist_reverse (char **list); void rc_strlist_free (char **list); |