Declare tag and content stream functions before defining as they depend on each other

This commit is contained in:
Wilson Lin 2018-07-05 19:52:22 +12:00
parent 26ddcc2cc6
commit d68953cb26
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,9 @@
#include "../util/hbchar.h"
#include "../util/pipe.c"
// Declare first before tag.c, as tag.c depends on it
void hbs_content(hbu_pipe_t pipe);
#include "./tag.c"
void hbs_content(hbu_pipe_t pipe) {

View File

@ -7,6 +7,9 @@
#include "../util/pipe.c"
#include "./helper/tagname.c"
// Declare first before content.c, as content.c depends on it
void hbs_tag(hbu_pipe_t pipe);
#include "./content.c"
void hbs_tag(hbu_pipe_t pipe) {