aboutsummaryrefslogtreecommitdiff
path: root/parse.h
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2014-05-17 12:37:09 +0300
committerOskari Timperi <oskari.timperi@iki.fi>2014-05-17 12:37:09 +0300
commit2836fa60045bcdd8c1c8c5ed775d711cc7f385a9 (patch)
tree7892216d6ae7f0c51bd6c147dadc0bb88f06070c /parse.h
parent6814f6b99562620e70538787b6f8d66c80f7b990 (diff)
downloadlispish-2836fa60045bcdd8c1c8c5ed775d711cc7f385a9.tar.gz
lispish-2836fa60045bcdd8c1c8c5ed775d711cc7f385a9.zip
refactor code to use LIST from sys/queue.h
It's now easier and more natural to work with the code. :-P
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h6
1 files changed, 1 insertions, 5 deletions
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