diff options
author | Danny van Kooten <dannyvankooten@users.noreply.github.com> | 2020-03-12 14:19:24 +0100 |
---|---|---|
committer | Danny van Kooten <dannyvankooten@users.noreply.github.com> | 2020-03-12 14:19:24 +0100 |
commit | 616ff505f666d4d162e5d2d8c0238f8af6f79c40 (patch) | |
tree | bd475af1d3c7b200d38e6769d33c1bed77384d15 /src/template.h | |
parent | 83eee4d23f9da9e72238dd01d43b350ed5bc04f1 (diff) | |
download | unja-616ff505f666d4d162e5d2d8c0238f8af6f79c40.tar.gz unja-616ff505f666d4d162e5d2d8c0238f8af6f79c40.zip |
add first template tests
Diffstat (limited to 'src/template.h')
-rw-r--r-- | src/template.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/template.h b/src/template.h index 896ef71..9174ad8 100644 --- a/src/template.h +++ b/src/template.h @@ -1,7 +1,7 @@ #include "hashmap.h" char *read_file(char *filename); -void template(char *tmpl, struct hashmap *ctx); +char *template(char *tmpl, struct hashmap *ctx); struct post { char title[64]; |