aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libutil/str_util.c4
-rw-r--r--src/libutil/str_util.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libutil/str_util.c b/src/libutil/str_util.c
index 9031305b0..8254aa2ad 100644
--- a/src/libutil/str_util.c
+++ b/src/libutil/str_util.c
@@ -1289,7 +1289,7 @@ rspamd_gstring_append_double (double val, void *ud)
}
void
-rspamd_ucl_emit_gstring (ucl_object_t *obj,
+rspamd_ucl_emit_gstring (const ucl_object_t *obj,
enum ucl_emitter emit_type,
GString *target)
{
@@ -1357,7 +1357,7 @@ rspamd_fstring_emit_append_double (double val, void *ud)
}
void
-rspamd_ucl_emit_fstring (ucl_object_t *obj,
+rspamd_ucl_emit_fstring (const ucl_object_t *obj,
enum ucl_emitter emit_type,
rspamd_fstring_t **buf)
{
diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h
index 75938668b..8ea5e3fce 100644
--- a/src/libutil/str_util.h
+++ b/src/libutil/str_util.h
@@ -204,7 +204,7 @@ goffset rspamd_string_find_eoh (GString *input);
* @param emit_type emitter type
* @param target target string
*/
-void rspamd_ucl_emit_gstring (ucl_object_t *obj,
+void rspamd_ucl_emit_gstring (const ucl_object_t *obj,
enum ucl_emitter emit_type,
GString *target);
@@ -214,7 +214,7 @@ void rspamd_ucl_emit_gstring (ucl_object_t *obj,
* @param emit_type emitter type
* @param target target string
*/
-void rspamd_ucl_emit_fstring (ucl_object_t *obj,
+void rspamd_ucl_emit_fstring (const ucl_object_t *obj,
enum ucl_emitter emit_type,
rspamd_fstring_t **target);