summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2010-03-03 08:31:59 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-03-04 12:41:30 -0500
commit70f4c2a1c476804b4fc409923b6fb7b0c2d2aaf4 (patch)
tree04cbd317427fe8195039321e5e88ffc09d827954
parentb93f6528f77284198ccf974355558f64d6ea7a57 (diff)
downloadsssd-70f4c2a1c476804b4fc409923b6fb7b0c2d2aaf4.tar.gz
sssd-70f4c2a1c476804b4fc409923b6fb7b0c2d2aaf4.tar.bz2
sssd-70f4c2a1c476804b4fc409923b6fb7b0c2d2aaf4.zip
Make confdb_init's confdb_location parameter const
-rw-r--r--src/confdb/confdb.c2
-rw-r--r--src/confdb/confdb.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/confdb/confdb.c b/src/confdb/confdb.c
index cfead5f9..c46b7656 100644
--- a/src/confdb/confdb.c
+++ b/src/confdb/confdb.c
@@ -517,7 +517,7 @@ done:
int confdb_init(TALLOC_CTX *mem_ctx,
struct confdb_ctx **cdb_ctx,
- char *confdb_location)
+ const char *confdb_location)
{
struct confdb_ctx *cdb;
int ret = EOK;
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h
index 06faa43b..452fbdc9 100644
--- a/src/confdb/confdb.h
+++ b/src/confdb/confdb.h
@@ -152,7 +152,7 @@ struct sss_domain_info {
*/
int confdb_init(TALLOC_CTX *mem_ctx,
struct confdb_ctx **cdb_ctx,
- char *confdb_location);
+ const char *confdb_location);
/**
* Get a domain object for the named domain