diff options
| author | Rob Landley <rob@landley.net> | 2006-05-26 23:00:10 +0000 |
|---|---|---|
| committer | Rob Landley <rob@landley.net> | 2006-05-26 23:00:10 +0000 |
| commit | 5edc10275ec86f6ce6af97a8e2e5eeccb3a2e8cb (patch) | |
| tree | 0f5d3abe8e3c94c516037f1021cb356866e72f13 /include | |
| parent | d765ee5d0fb3a8077dcf4b1520321089aa4104ce (diff) | |
| download | busybox-w32-5edc10275ec86f6ce6af97a8e2e5eeccb3a2e8cb.tar.gz busybox-w32-5edc10275ec86f6ce6af97a8e2e5eeccb3a2e8cb.tar.bz2 busybox-w32-5edc10275ec86f6ce6af97a8e2e5eeccb3a2e8cb.zip | |
Slight sanity fix: data is void *, not char *. And it's called data
almost everywhere, so be consistent.
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 64c91b170..93b29c6ae 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -84,8 +84,8 @@ typedef struct llist_s { | |||
| 84 | char *data; | 84 | char *data; |
| 85 | struct llist_s *link; | 85 | struct llist_s *link; |
| 86 | } llist_t; | 86 | } llist_t; |
| 87 | extern llist_t *llist_add_to(llist_t *old_head, char *new_item); | 87 | extern llist_t *llist_add_to(llist_t *old_head, void *data); |
| 88 | extern llist_t *llist_add_to_end(llist_t *list_head, char *data); | 88 | extern llist_t *llist_add_to_end(llist_t *list_head, void *data); |
| 89 | extern void *llist_pop(llist_t **elm); | 89 | extern void *llist_pop(llist_t **elm); |
| 90 | extern void llist_free(llist_t *elm, void (*freeit)(void *data)); | 90 | extern void llist_free(llist_t *elm, void (*freeit)(void *data)); |
| 91 | 91 | ||
