aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc/template-parser.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-09-03 21:23:27 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-09-03 21:57:04 +0200
commite5f9cd349da231eae42ec9d35e3ebcd0d8fff973 (patch)
treeca81ecd0548cafdefffc4a61b3e1dd2afac32d16 /src/blogc/template-parser.h
parenta319fe44f6d50d25f546e17ad9907eedd9a358a0 (diff)
downloadblogc-e5f9cd349da231eae42ec9d35e3ebcd0d8fff973.tar.gz
blogc-e5f9cd349da231eae42ec9d35e3ebcd0d8fff973.tar.bz2
blogc-e5f9cd349da231eae42ec9d35e3ebcd0d8fff973.zip
*: moved error handling to src/common/
Diffstat (limited to 'src/blogc/template-parser.h')
-rw-r--r--src/blogc/template-parser.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/blogc/template-parser.h b/src/blogc/template-parser.h
index b22c2e7..3ed3b07 100644
--- a/src/blogc/template-parser.h
+++ b/src/blogc/template-parser.h
@@ -10,7 +10,8 @@
#define _TEMPLATE_PARSER_H
#include <stddef.h>
-#include "error.h"
+#include "errors.h"
+#include "../common/error.h"
#include "../common/utils.h"
/*
@@ -47,7 +48,7 @@ typedef struct {
} blogc_template_stmt_t;
bc_slist_t* blogc_template_parse(const char *src, size_t src_len,
- blogc_error_t **err);
+ bc_error_t **err);
void blogc_template_free_stmts(bc_slist_t *stmts);
#endif /* _TEMPLATE_PARSER_H */