From 3cc57dec4f495fee4caff86bc960c510c3f05903 Mon Sep 17 00:00:00 2001 From: Alexey Tikhonov Date: Thu, 14 Sep 2023 13:54:53 +0200 Subject: [PATCH] SSS_INI: const correctness --- src/util/sss_ini.c | 2 +- src/util/sss_ini.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/sss_ini.c b/src/util/sss_ini.c index 97ca96c3932..a752ba0dc8e 100644 --- a/src/util/sss_ini.c +++ b/src/util/sss_ini.c @@ -417,7 +417,7 @@ const char *sss_ini_get_string_config_value(struct sss_ini *self, /* Create LDIF */ int sss_confdb_create_ldif(TALLOC_CTX *mem_ctx, - struct sss_ini *self, + const struct sss_ini *self, const char **config_ldif) { int ret, i, j; diff --git a/src/util/sss_ini.h b/src/util/sss_ini.h index f7090fca6b0..10a8dbcd201 100644 --- a/src/util/sss_ini.h +++ b/src/util/sss_ini.h @@ -143,7 +143,7 @@ const char *sss_ini_get_string_config_value(struct sss_ini *self, * @brief Create LDIF */ int sss_confdb_create_ldif(TALLOC_CTX *mem_ctx, - struct sss_ini *self, + const struct sss_ini *self, const char **config_ldif); /**