aboutsummaryrefslogtreecommitdiff
path: root/src/templating/mustach-tool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/templating/mustach-tool.c')
-rw-r--r--src/templating/mustach-tool.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/templating/mustach-tool.c b/src/templating/mustach-tool.c
index 5f28c1f58..66ddc1f36 100644
--- a/src/templating/mustach-tool.c
+++ b/src/templating/mustach-tool.c
@@ -129,11 +129,12 @@ static char *readfile(const char *filename, size_t *length)
static int load_json(const char *filename);
static int process(const char *content, size_t length);
-static void close_json();
+static void close_json(void);
int main(int ac, char **av)
{
- char *t, *f;
+ char *t;
+ const char *f;
char *prog = *av;
int s;
size_t length;