diff options
author | Rob Landley <rob@landley.net> | 2013-09-09 04:26:03 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-09-09 04:26:03 -0500 |
commit | 5f57bccc41c8893914121b00e16a96dd16282486 (patch) | |
tree | 740fe030a8ffd4f238cc0b86f35af8e8db227aac /lib/lib.h | |
parent | 9d4cd46b82b4e5d05c26dc4fa40ef20174ca0355 (diff) | |
download | toybox-5f57bccc41c8893914121b00e16a96dd16282486.tar.gz |
Redo tail closer to the original design. Add more tests for large data sets. (Still no -f support yet.)
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -36,7 +36,8 @@ struct double_list { }; void llist_traverse(void *list, void (*using)(void *data)); -void *llist_pop(void *list); // actually void **list, but the compiler's dumb +void *llist_pop(void *list); // actually void **list +void *dlist_pop(void *list); // actually struct double_list **list void dlist_add_nomalloc(struct double_list **list, struct double_list *new); struct double_list *dlist_add(struct double_list **list, char *data); |