commit 17e311dba92131a527330fc0643f7ff7677e8e87
parent ac864a741957fa1d877634debb687fdd96c04ac1
Author: Joris Vink <joris@coders.se>
Date: Mon, 1 Feb 2016 21:59:31 +0100
constify kore_parse_config_file() parameter.
Diffstat:
src/config.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/config.c b/src/config.c
@@ -92,7 +92,7 @@ static int configure_task_threads(char *);
#endif
static void domain_sslstart(void);
-static void kore_parse_config_file(char *);
+static void kore_parse_config_file(const char *);
static struct {
const char *name;
@@ -186,7 +186,7 @@ kore_parse_config(void)
}
static void
-kore_parse_config_file(char *fpath)
+kore_parse_config_file(const char *fpath)
{
FILE *fp;
int i, lineno;