summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-03-28 03:27:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:21 -0500
commit202c7b4571824406c5751018aa1896a31f73c24e (patch)
tree11757732f51313bd57d8ca69722885f68ea4b448 /source3
parente0c51ee41fc8cab303459b77c123c1c1b0739eba (diff)
downloadsamba-202c7b4571824406c5751018aa1896a31f73c24e.tar.gz
samba-202c7b4571824406c5751018aa1896a31f73c24e.tar.bz2
samba-202c7b4571824406c5751018aa1896a31f73c24e.zip
r6092: This much const causes the compiler on Fedora Core 2
to throw up. Jeremy. (This used to be commit 051f0ed8075a3616484888ab22d68ca11aa1dd36)
Diffstat (limited to 'source3')
-rw-r--r--source3/groupdb/mapping.c2
-rw-r--r--source3/include/passdb.h4
-rw-r--r--source3/passdb/pdb_interface.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c
index 83ba575759..244cbd8fe7 100644
--- a/source3/groupdb/mapping.c
+++ b/source3/groupdb/mapping.c
@@ -1350,7 +1350,7 @@ NTSTATUS pdb_default_enum_aliasmem(struct pdb_methods *methods,
NTSTATUS pdb_default_alias_memberships(struct pdb_methods *methods,
TALLOC_CTX *mem_ctx,
const DOM_SID *domain_sid,
- const DOM_SID const *members,
+ const DOM_SID *members,
int num_members,
uint32 **alias_rids,
int *num_alias_rids)
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index f711eaf578..2c63271492 100644
--- a/source3/include/passdb.h
+++ b/source3/include/passdb.h
@@ -339,7 +339,7 @@ typedef struct pdb_context
NTSTATUS (*pdb_enum_alias_memberships)(struct pdb_context *context,
TALLOC_CTX *mem_ctx,
const DOM_SID *domain_sid,
- const DOM_SID const *members,
+ const DOM_SID *members,
int num_members,
uint32 **alias_rids,
int *num_alias_rids);
@@ -449,7 +449,7 @@ typedef struct pdb_methods
NTSTATUS (*enum_alias_memberships)(struct pdb_methods *methods,
TALLOC_CTX *mem_ctx,
const DOM_SID *domain_sid,
- const DOM_SID const *members,
+ const DOM_SID *members,
int num_members,
uint32 **alias_rids,
int *num_alias_rids);
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index e61cf33279..730569ec4b 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -645,7 +645,7 @@ static NTSTATUS context_enum_aliasmem(struct pdb_context *context,
static NTSTATUS context_enum_alias_memberships(struct pdb_context *context,
TALLOC_CTX *mem_ctx,
const DOM_SID *domain_sid,
- const DOM_SID const *members,
+ const DOM_SID *members,
int num_members,
uint32 **alias_rids,
int *num_alias_rids)
@@ -1278,7 +1278,7 @@ BOOL pdb_enum_aliasmem(const DOM_SID *alias,
}
BOOL pdb_enum_alias_memberships(TALLOC_CTX *mem_ctx, const DOM_SID *domain_sid,
- const DOM_SID const *members, int num_members,
+ const DOM_SID *members, int num_members,
uint32 **alias_rids, int *num_alias_rids)
{
struct pdb_context *pdb_context = pdb_get_static_context(False);