Mercurial > hg > toybox
diff lib/lib.h @ 540:c2f39708a4c4
Redo tail to use optargs and optionally support lseek. Add support to optargs and llist.c, plus add a test suite entry. Still no -f support though.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 12 Mar 2012 00:25:40 -0500 |
parents | 3b9dea897dc0 |
children | 2548e6e590b2 |
line wrap: on
line diff
--- a/lib/lib.h Sat Mar 10 14:57:33 2012 -0600 +++ b/lib/lib.h Mon Mar 12 00:25:40 2012 -0500 @@ -35,6 +35,7 @@ void llist_free(void *list, void (*freeit)(void *data)); void *llist_pop(void *list); // actually void **list, but the compiler's dumb +void dlist_add_nomalloc(struct double_list **list, struct double_list *new); struct double_list *dlist_add(struct double_list **list, char *data); // args.c