aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-06-25 03:06:59 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-06-25 03:06:59 +0200
commita9bf621b288ef47b3b461adefbd0ef006ebc74d5 (patch)
treeeb4cc444977956c76afc894feb5bda7cc5222ce8 /src/blogc.c
parentb3c7c4633cdd0dedf3e329251fc7a6728bc041b5 (diff)
downloadblogc-a9bf621b288ef47b3b461adefbd0ef006ebc74d5.tar.gz
blogc-a9bf621b288ef47b3b461adefbd0ef006ebc74d5.tar.bz2
blogc-a9bf621b288ef47b3b461adefbd0ef006ebc74d5.zip
debug: move debug functions to separated file
Diffstat (limited to 'src/blogc.c')
-rw-r--r--src/blogc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/blogc.c b/src/blogc.c
index 10f341f..40a5918 100644
--- a/src/blogc.c
+++ b/src/blogc.c
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <string.h>
+#include "debug.h"
#include "source-parser.h"
#include "template-parser.h"
#include "loader.h"
@@ -252,7 +253,7 @@ main(int argc, char **argv)
}
if (debug)
- blogc_template_debug(l);
+ blogc_debug_template(l);
char *out = blogc_render(l, s, config, listing);