From 2836fa60045bcdd8c1c8c5ed775d711cc7f385a9 Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Sat, 17 May 2014 12:37:09 +0300 Subject: refactor code to use LIST from sys/queue.h It's now easier and more natural to work with the code. :-P --- parse.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'parse.h') diff --git a/parse.h b/parse.h index 94d6fa8..b05fd93 100644 --- a/parse.h +++ b/parse.h @@ -2,11 +2,7 @@ #define PARSER_H struct atom; -struct list; -int parse_next(const char *src, int *pos, struct atom **result); -struct list *parse(const char *src, int *pos); - -void print_list(struct list *list, int level); +struct atom *parse(const char *src, int *pos); #endif -- cgit v1.2.3