summaryrefslogtreecommitdiff
path: root/src/configfile.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-10-10 03:01:43 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-02-24 11:15:32 -0500
commit78a644049215a11f0a295e30660a0d85fbacc277 (patch)
treea17ed9bad6a0619410b04ac3454b172cd372e3a6 /src/configfile.h
parent0ce30f8c22074a0cd2254be1b94e08631e6e8d9c (diff)
downloadlighttpd-git-78a644049215a11f0a295e30660a0d85fbacc277.tar.gz
[core] perf: initialize con->conf using memcpy()
initialize specific_config (con->conf) from top-level specific_config using memcpy()
Diffstat (limited to 'src/configfile.h')
-rw-r--r--src/configfile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configfile.h b/src/configfile.h
index 61d66d0c..0d9c263c 100644
--- a/src/configfile.h
+++ b/src/configfile.h
@@ -119,8 +119,8 @@ int config_parse_file(server *srv, config_t *context, const char *fn);
__attribute_cold__
int config_parse_cmd(server *srv, config_t *context, const char *cmd);
-int config_setup_connection(server *srv, connection *con);
-int config_patch_connection(server *srv, connection *con);
+void config_setup_connection(server *srv, connection *con);
+void config_patch_connection(server *srv, connection *con);
void config_cond_cache_reset(server *srv, connection *con);
void config_cond_cache_reset_item(server *srv, connection *con, comp_key_t item);