summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-05-08 19:03:07 +0000
committerRob Landley <rob@landley.net>2006-05-08 19:03:07 +0000
commita6b5b60942b4e28965f10cb107d4f94aaf756bc1 (patch)
treee97daaa61ca25179f9cfd9251446d00521bb5ddb /include
parent712ba85b30426bc8fa093c21ae9a5d0018450cc7 (diff)
downloadbusybox-w32-a6b5b60942b4e28965f10cb107d4f94aaf756bc1.tar.gz
busybox-w32-a6b5b60942b4e28965f10cb107d4f94aaf756bc1.tar.bz2
busybox-w32-a6b5b60942b4e28965f10cb107d4f94aaf756bc1.zip
Fiddling with llist to make memory management easier. Specifically, the
option to delete the contents of the list when we delete the list is a good thing.
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 48239798b..39361a232 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -477,8 +477,8 @@ typedef struct llist_s {
477} llist_t; 477} llist_t;
478extern llist_t *llist_add_to(llist_t *old_head, char *new_item); 478extern llist_t *llist_add_to(llist_t *old_head, char *new_item);
479extern llist_t *llist_add_to_end(llist_t *list_head, char *data); 479extern llist_t *llist_add_to_end(llist_t *list_head, char *data);
480extern llist_t *llist_free_one(llist_t *elm); 480extern void *llist_pop(llist_t **elm);
481extern void llist_free(llist_t *elm); 481extern void llist_free(llist_t *elm, void (*freeit)(void *data));
482 482
483extern void print_login_issue(const char *issue_file, const char *tty); 483extern void print_login_issue(const char *issue_file, const char *tty);
484extern void print_login_prompt(void); 484extern void print_login_prompt(void);