summaryrefslogtreecommitdiffstats
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-16 18:14:33 +0200
committerVolker Lendecke <vl@samba.org>2008-08-12 11:28:29 +0200
commit8d25729705170733b565ccc1751302dc9962eea5 (patch)
treeb6242d8f4846b9517ef45915d041dfdafdeecb8b /source3/winbindd
parent2a3698e5c05b5eb98d4ff47437d5afd191bd4ebd (diff)
downloadsamba-8d25729705170733b565ccc1751302dc9962eea5.tar.gz
samba-8d25729705170733b565ccc1751302dc9962eea5.tar.xz
samba-8d25729705170733b565ccc1751302dc9962eea5.zip
Fix prototypes
(This used to be commit 8b9d12714679745b98755e6805e71b75828ce227)
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_ldap.c b/source3/winbindd/idmap_ldap.c
index 5657cb591ec..c86a5023d0c 100644
--- a/source3/winbindd/idmap_ldap.c
+++ b/source3/winbindd/idmap_ldap.c
@@ -246,7 +246,6 @@ done:
static NTSTATUS idmap_ldap_alloc_init(const char *params)
{
NTSTATUS ret = NT_STATUS_UNSUCCESSFUL;
- const char *range;
const char *tmp;
uid_t low_uid = 0;
uid_t high_uid = 0;
@@ -1458,12 +1457,13 @@ static struct idmap_alloc_methods idmap_ldap_alloc_methods = {
/* .dump_data = TODO */
};
-NTSTATUS idmap_alloc_ldap_init(void)
+static NTSTATUS idmap_alloc_ldap_init(void)
{
return smb_register_idmap_alloc(SMB_IDMAP_INTERFACE_VERSION, "ldap",
&idmap_ldap_alloc_methods);
}
+NTSTATUS idmap_ldap_init(void);
NTSTATUS idmap_ldap_init(void)
{
NTSTATUS ret;