Declare tag and content stream functions before defining as they depend on each other
This commit is contained in:
parent
26ddcc2cc6
commit
d68953cb26
|
@ -4,6 +4,9 @@
|
||||||
#include "../util/hbchar.h"
|
#include "../util/hbchar.h"
|
||||||
#include "../util/pipe.c"
|
#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"
|
#include "./tag.c"
|
||||||
|
|
||||||
void hbs_content(hbu_pipe_t pipe) {
|
void hbs_content(hbu_pipe_t pipe) {
|
||||||
|
|
|
@ -7,6 +7,9 @@
|
||||||
#include "../util/pipe.c"
|
#include "../util/pipe.c"
|
||||||
|
|
||||||
#include "./helper/tagname.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"
|
#include "./content.c"
|
||||||
|
|
||||||
void hbs_tag(hbu_pipe_t pipe) {
|
void hbs_tag(hbu_pipe_t pipe) {
|
||||||
|
|
Loading…
Reference in New Issue