diff --git a/src/db/sysdb_init.c b/src/db/sysdb_init.c index a078cd9a18a..dd983697cda 100644 --- a/src/db/sysdb_init.c +++ b/src/db/sysdb_init.c @@ -773,7 +773,7 @@ static int sysdb_timestamp_cache_connect(struct sysdb_ctx *sysdb, return ret; } -int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx, +static int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, const char *db_path, struct sysdb_dom_upgrade_ctx *upgrade_ctx, diff --git a/src/db/sysdb_private.h b/src/db/sysdb_private.h index ce3f40124ca..d21c758c89b 100644 --- a/src/db/sysdb_private.h +++ b/src/db/sysdb_private.h @@ -161,12 +161,6 @@ struct sysdb_dom_upgrade_ctx { struct sss_names_ctx *names; /* upgrade to 0.18 needs to parse names */ }; -int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx, - struct sss_domain_info *domain, - const char *db_path, - struct sysdb_dom_upgrade_ctx *upgrade_ctx, - struct sysdb_ctx **_ctx); - /* Upgrade routines */ int sysdb_upgrade_16(struct sysdb_ctx *sysdb, const char **ver); int sysdb_upgrade_17(struct sysdb_ctx *sysdb,