summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-01-05 02:16:51 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-01-05 02:16:51 +0000
commit430eb9ad4526642f5eacdd15fbdcd99fbf4252aa (patch)
tree1ebc6b409c2dbced3bb7dafd5909b3d826c2e524 /source3/nsswitch
parent3c2371dcfc83ef7b9605e7450cdf8945723a3d1e (diff)
downloadsamba-430eb9ad4526642f5eacdd15fbdcd99fbf4252aa.tar.gz
samba-430eb9ad4526642f5eacdd15fbdcd99fbf4252aa.tar.bz2
samba-430eb9ad4526642f5eacdd15fbdcd99fbf4252aa.zip
Add const.
(This used to be commit aacb817e89d17349003159e1b7c28546babc8559)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c
index cc80a584e0..a3c1706b75 100644
--- a/source3/nsswitch/winbindd_cache.c
+++ b/source3/nsswitch/winbindd_cache.c
@@ -586,7 +586,7 @@ static void centry_end(struct cache_entry *centry, const char *format, ...)
static void wcache_save_name_to_sid(struct winbindd_domain *domain,
NTSTATUS status,
- const char *name, DOM_SID *sid,
+ const char *name, const DOM_SID *sid,
enum SID_NAME_USE type)
{
struct cache_entry *centry;
@@ -605,7 +605,7 @@ static void wcache_save_name_to_sid(struct winbindd_domain *domain,
}
static void wcache_save_sid_to_name(struct winbindd_domain *domain, NTSTATUS status,
- DOM_SID *sid, const char *name, enum SID_NAME_USE type)
+ const DOM_SID *sid, const char *name, enum SID_NAME_USE type)
{
struct cache_entry *centry;
fstring sid_string;
@@ -973,7 +973,7 @@ do_query:
given */
static NTSTATUS sid_to_name(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
- DOM_SID *sid,
+ const DOM_SID *sid,
char **name,
enum SID_NAME_USE *type)
{