From 5edc10275ec86f6ce6af97a8e2e5eeccb3a2e8cb Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 26 May 2006 23:00:10 +0000 Subject: Slight sanity fix: data is void *, not char *. And it's called data almost everywhere, so be consistent. --- include/libbb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 { char *data; struct llist_s *link; } llist_t; -extern llist_t *llist_add_to(llist_t *old_head, char *new_item); -extern llist_t *llist_add_to_end(llist_t *list_head, char *data); +extern llist_t *llist_add_to(llist_t *old_head, void *data); +extern llist_t *llist_add_to_end(llist_t *list_head, void *data); extern void *llist_pop(llist_t **elm); extern void llist_free(llist_t *elm, void (*freeit)(void *data)); -- cgit v1.2.3