aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content-parser.c2
-rw-r--r--src/datetime-parser.c2
-rw-r--r--src/error.c2
-rw-r--r--src/file.c2
-rw-r--r--src/loader.c2
-rw-r--r--src/loader.h2
-rw-r--r--src/main.c2
-rw-r--r--src/renderer.c2
-rw-r--r--src/renderer.h2
-rw-r--r--src/source-parser.c2
-rw-r--r--src/source-parser.h2
-rw-r--r--src/template-parser.c2
-rw-r--r--src/template-parser.h2
13 files changed, 13 insertions, 13 deletions
diff --git a/src/content-parser.c b/src/content-parser.c
index 795cc34..0c99e31 100644
--- a/src/content-parser.c
+++ b/src/content-parser.c
@@ -13,8 +13,8 @@
#include <stdbool.h>
#include <string.h>
-#include <squareball.h>
#include "content-parser.h"
+#include "utils.h"
// this is a half ass implementation of a markdown-like syntax. bugs are
// expected. feel free to improve the parser and add new features.
diff --git a/src/datetime-parser.c b/src/datetime-parser.c
index 0aeb702..ad65ff7 100644
--- a/src/datetime-parser.c
+++ b/src/datetime-parser.c
@@ -17,8 +17,8 @@
#include <string.h>
#include "error.h"
-#include <squareball.h>
#include "datetime-parser.h"
+#include "utils.h"
typedef enum {
diff --git a/src/error.c b/src/error.c
index f05049c..586386a 100644
--- a/src/error.c
+++ b/src/error.c
@@ -14,8 +14,8 @@
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
-#include <squareball.h>
#include "error.h"
+#include "utils.h"
blogc_error_t*
diff --git a/src/file.c b/src/file.c
index dec7c1b..f784d93 100644
--- a/src/file.c
+++ b/src/file.c
@@ -14,9 +14,9 @@
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
-#include <squareball.h>
#include "file.h"
#include "error.h"
+#include "utils.h"
// this would belong to loader.c, but we need it in a separated file to be
// able to mock it when unit testing the loader functions.
diff --git a/src/loader.c b/src/loader.c
index 8008c3a..5ca0aac 100644
--- a/src/loader.c
+++ b/src/loader.c
@@ -14,12 +14,12 @@
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
-#include <squareball.h>
#include "file.h"
#include "source-parser.h"
#include "template-parser.h"
#include "loader.h"
#include "error.h"
+#include "utils.h"
char*
diff --git a/src/loader.h b/src/loader.h
index 080aff6..32b58be 100644
--- a/src/loader.h
+++ b/src/loader.h
@@ -9,8 +9,8 @@
#ifndef _LOADER_H
#define _LOADER_H
-#include <squareball.h>
#include "error.h"
+#include "utils.h"
char* blogc_get_filename(const char *f);
sb_slist_t* blogc_template_parse_from_file(const char *f, blogc_error_t **err);
diff --git a/src/main.c b/src/main.c
index 143c836..2338c9e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -24,12 +24,12 @@
#include <stdio.h>
#include <string.h>
-#include <squareball.h>
#include "source-parser.h"
#include "template-parser.h"
#include "loader.h"
#include "renderer.h"
#include "error.h"
+#include "utils.h"
#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "Unknown"
diff --git a/src/renderer.c b/src/renderer.c
index a7a7dd7..5af3b8a 100644
--- a/src/renderer.c
+++ b/src/renderer.c
@@ -13,13 +13,13 @@
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
-#include <squareball.h>
#include "datetime-parser.h"
#include "error.h"
#include "loader.h"
#include "source-parser.h"
#include "template-parser.h"
#include "renderer.h"
+#include "utils.h"
const char*
diff --git a/src/renderer.h b/src/renderer.h
index 3ff62e7..2982ee8 100644
--- a/src/renderer.h
+++ b/src/renderer.h
@@ -10,7 +10,7 @@
#define _RENDERER_H
#include <stdbool.h>
-#include <squareball.h>
+#include "utils.h"
const char* blogc_get_variable(const char *name, sb_trie_t *global, sb_trie_t *local);
char* blogc_format_date(const char *date, sb_trie_t *global, sb_trie_t *local);
diff --git a/src/source-parser.c b/src/source-parser.c
index 67c3717..f250bd3 100644
--- a/src/source-parser.c
+++ b/src/source-parser.c
@@ -13,10 +13,10 @@
#include <stdbool.h>
#include <string.h>
-#include <squareball.h>
#include "content-parser.h"
#include "source-parser.h"
#include "error.h"
+#include "utils.h"
typedef enum {
diff --git a/src/source-parser.h b/src/source-parser.h
index 460aedb..5cadf95 100644
--- a/src/source-parser.h
+++ b/src/source-parser.h
@@ -10,8 +10,8 @@
#define _SOURCE_PARSER_H
#include <stdlib.h>
-#include <squareball.h>
#include "error.h"
+#include "utils.h"
sb_trie_t* blogc_source_parse(const char *src, size_t src_len,
blogc_error_t **err);
diff --git a/src/template-parser.c b/src/template-parser.c
index 6f23ef1..525f5f5 100644
--- a/src/template-parser.c
+++ b/src/template-parser.c
@@ -13,9 +13,9 @@
#include <stdbool.h>
#include <string.h>
-#include <squareball.h>
#include "template-parser.h"
#include "error.h"
+#include "utils.h"
typedef enum {
diff --git a/src/template-parser.h b/src/template-parser.h
index de5113e..a8b4e8b 100644
--- a/src/template-parser.h
+++ b/src/template-parser.h
@@ -9,8 +9,8 @@
#ifndef _TEMPLATE_PARSER_H
#define _TEMPLATE_PARSER_H
-#include <squareball.h>
#include "error.h"
+#include "utils.h"
/*
* note: whitespace cleaners are NOT added to ast. we fix strings right during