1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-09-03 01:21:16 +03:00

Hide unused function

The create_config_file is not currently used on Windows.
This commit is contained in:
Matt Clarkson
2015-05-22 13:32:31 +01:00
parent e724d36c28
commit a13cd6e0dd

View File

@@ -255,6 +255,7 @@ static const char *get_url_to_first_open_port(const struct mg_context *ctx)
return url; return url;
} }
#ifdef ENABLE_CREATE_CONFIG_FILE
static void create_config_file(const struct mg_context *ctx, const char *path) static void create_config_file(const struct mg_context *ctx, const char *path)
{ {
const struct mg_option *options; const struct mg_option *options;
@@ -277,6 +278,7 @@ static void create_config_file(const struct mg_context *ctx, const char *path)
} }
} }
#endif #endif
#endif
static char *sdup(const char *str) static char *sdup(const char *str)
{ {