aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/lib.h b/lib/lib.h
index afc3a8b2..ee073e0c 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -8,8 +8,6 @@
ssize_t getline(char **lineptr, size_t *n, FILE *stream);
// llist.c
-void llist_free(void *list, void (*freeit)(void *data));
-void *llist_pop(void *list); // actually void **list, but the compiler's dumb
struct string_list {
struct string_list *next;
@@ -27,6 +25,10 @@ struct double_list {
char *data;
};
+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(struct double_list **list, char *data);
+
// args.c
void get_optflags(void);