SSIA

Martin
>From d6a78ddef613e39a6912a31d9ed70903533fa014 Mon Sep 17 00:00:00 2001
From: Martin Nagy <mn...@redhat.com>
Date: Wed, 3 Mar 2010 08:31:59 +0100
Subject: [PATCH] Make confdb_init's confdb_location parameter const

---
 src/confdb/confdb.c |    2 +-
 src/confdb/confdb.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/confdb/confdb.c b/src/confdb/confdb.c
index cfead5f..c46b765 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 06faa43..452fbdc 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
-- 
1.6.2.5

_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to