summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/providers/ad/ad_init.c2
-rw-r--r--src/providers/ipa/ipa_init.c2
-rw-r--r--src/providers/ldap/ldap_common.h2
-rw-r--r--src/providers/ldap/ldap_init.c2
-rw-r--r--src/providers/ldap/sdap_child_helpers.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/providers/ad/ad_init.c b/src/providers/ad/ad_init.c
index f90df2a6..d5488ad0 100644
--- a/src/providers/ad/ad_init.c
+++ b/src/providers/ad/ad_init.c
@@ -178,7 +178,7 @@ sssm_ad_id_init(struct be_ctx *bectx,
goto done;
}
- ret = setup_child(sdap_ctx);
+ ret = sdap_setup_child();
if (ret != EOK) {
DEBUG(SSSDBG_FATAL_FAILURE,
("setup_child failed [%d][%s].\n",
diff --git a/src/providers/ipa/ipa_init.c b/src/providers/ipa/ipa_init.c
index 5192bc81..0a5d6e58 100644
--- a/src/providers/ipa/ipa_init.c
+++ b/src/providers/ipa/ipa_init.c
@@ -197,7 +197,7 @@ int sssm_ipa_id_init(struct be_ctx *bectx,
goto done;
}
- ret = setup_child(sdap_ctx);
+ ret = sdap_setup_child();
if (ret != EOK) {
DEBUG(1, ("setup_child failed [%d][%s].\n",
ret, strerror(ret)));
diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h
index 86079fa6..2d17b755 100644
--- a/src/providers/ldap/ldap_common.h
+++ b/src/providers/ldap/ldap_common.h
@@ -186,7 +186,7 @@ errno_t
services_get_recv(struct tevent_req *req, int *dp_error_out);
/* setup child logging */
-int setup_child(struct sdap_id_ctx *ctx);
+int sdap_setup_child(void);
errno_t string_to_shadowpw_days(const char *s, long *d);
diff --git a/src/providers/ldap/ldap_init.c b/src/providers/ldap/ldap_init.c
index 12b204c8..f70c8f1b 100644
--- a/src/providers/ldap/ldap_init.c
+++ b/src/providers/ldap/ldap_init.c
@@ -164,7 +164,7 @@ int sssm_ldap_id_init(struct be_ctx *bectx,
goto done;
}
- ret = setup_child(ctx);
+ ret = sdap_setup_child();
if (ret != EOK) {
DEBUG(1, ("setup_child failed [%d][%s].\n",
ret, strerror(ret)));
diff --git a/src/providers/ldap/sdap_child_helpers.c b/src/providers/ldap/sdap_child_helpers.c
index c63c3cb7..fd4d10f4 100644
--- a/src/providers/ldap/sdap_child_helpers.c
+++ b/src/providers/ldap/sdap_child_helpers.c
@@ -450,7 +450,7 @@ static errno_t set_tgt_child_timeout(struct tevent_req *req,
/* Setup child logging */
-int setup_child(struct sdap_id_ctx *ctx)
+int sdap_setup_child(void)
{
int ret;
FILE *debug_filep;