summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-07-18 18:00:19 +0300
committerValentin Bartenev <vbart@nginx.com>2017-07-18 18:00:19 +0300
commita6c4ef7a10aebe595aa2b9d00198a8e791baa5b3 (patch)
tree4de7d081ae4423c52fffa593a3a9fe5b71f0a2fa /src/nxt_conf.h
parentf16510585fc139b667261bdfcd759e41553abb36 (diff)
downloadunit-a6c4ef7a10aebe595aa2b9d00198a8e791baa5b3.tar.gz
unit-a6c4ef7a10aebe595aa2b9d00198a8e791baa5b3.tar.bz2
Configuration: reduced memory consumption of long strings.
Diffstat (limited to '')
-rw-r--r--src/nxt_conf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_conf.h b/src/nxt_conf.h
index 90a4450a..7262d890 100644
--- a/src/nxt_conf.h
+++ b/src/nxt_conf.h
@@ -82,8 +82,8 @@ void nxt_conf_get_string(nxt_conf_value_t *value, nxt_str_t *str);
// FIXME reimplement and reorder functions below
nxt_uint_t nxt_conf_object_members_count(nxt_conf_value_t *value);
nxt_conf_value_t *nxt_conf_create_object(nxt_mp_t *mp, nxt_uint_t count);
-nxt_int_t nxt_conf_set_object_member(nxt_mp_t *mp, nxt_conf_value_t *object,
- nxt_str_t *name, nxt_conf_value_t *value, uint32_t index);
+nxt_int_t nxt_conf_set_object_member(nxt_conf_value_t *object, nxt_str_t *name,
+ nxt_conf_value_t *value, uint32_t index);
#endif /* _NXT_CONF_INCLUDED_ */