From a13cd6e0ddd4652a31ab6f72f29707bb8d824ef0 Mon Sep 17 00:00:00 2001 From: Matt Clarkson Date: Fri, 22 May 2015 13:32:31 +0100 Subject: [PATCH] Hide unused function The create_config_file is not currently used on Windows. --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.c b/src/main.c index ae233468..e8a78c47 100644 --- a/src/main.c +++ b/src/main.c @@ -255,6 +255,7 @@ static const char *get_url_to_first_open_port(const struct mg_context *ctx) return url; } +#ifdef ENABLE_CREATE_CONFIG_FILE static void create_config_file(const struct mg_context *ctx, const char *path) { const struct mg_option *options; @@ -277,6 +278,7 @@ static void create_config_file(const struct mg_context *ctx, const char *path) } } #endif +#endif static char *sdup(const char *str) {