summaryrefslogtreecommitdiff
path: root/template.c
diff options
context:
space:
mode:
Diffstat (limited to 'template.c')
-rw-r--r--template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/template.c b/template.c
index f6a55b2..4ac3e9f 100644
--- a/template.c
+++ b/template.c
@@ -43,7 +43,7 @@
* to be used in case of success).
*/
static int
-read_file(char *path, char **output, size_t * read_size)
+read_file(const char *path, char **output, size_t * read_size)
{
long file_size;
FILE *fp;
@@ -82,7 +82,7 @@ read_file(char *path, char **output, size_t * read_size)
}
struct page_template *
-page_template_new(char *page)
+page_template_new(const char *page)
{
struct page_template *tmpl;
char template_path[PATH_MAX];