diff options
| author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-08 19:03:07 +0000 |
|---|---|---|
| committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-08 19:03:07 +0000 |
| commit | 048ae3483e3ed87f390d42e420c021e6b2fe85fe (patch) | |
| tree | e97daaa61ca25179f9cfd9251446d00521bb5ddb /include | |
| parent | 75b3ad9deb25bb7305f4e4c139991ac715d27238 (diff) | |
| download | busybox-w32-048ae3483e3ed87f390d42e420c021e6b2fe85fe.tar.gz busybox-w32-048ae3483e3ed87f390d42e420c021e6b2fe85fe.tar.bz2 busybox-w32-048ae3483e3ed87f390d42e420c021e6b2fe85fe.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.
git-svn-id: svn://busybox.net/trunk/busybox@15037 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/libbb.h | 4 |
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; |
| 478 | extern llist_t *llist_add_to(llist_t *old_head, char *new_item); | 478 | extern llist_t *llist_add_to(llist_t *old_head, char *new_item); |
| 479 | extern llist_t *llist_add_to_end(llist_t *list_head, char *data); | 479 | extern llist_t *llist_add_to_end(llist_t *list_head, char *data); |
| 480 | extern llist_t *llist_free_one(llist_t *elm); | 480 | extern void *llist_pop(llist_t **elm); |
| 481 | extern void llist_free(llist_t *elm); | 481 | extern void llist_free(llist_t *elm, void (*freeit)(void *data)); |
| 482 | 482 | ||
| 483 | extern void print_login_issue(const char *issue_file, const char *tty); | 483 | extern void print_login_issue(const char *issue_file, const char *tty); |
| 484 | extern void print_login_prompt(void); | 484 | extern void print_login_prompt(void); |
