summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/winbindd/idmap.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index e918b258c8..ae5481dc31 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -10483,7 +10483,6 @@ NTSTATUS smb_register_idmap_alloc(int version, const char *name,
struct idmap_alloc_methods *methods);
NTSTATUS idmap_close(void);
NTSTATUS idmap_init_cache(void);
-NTSTATUS idmap_init(void);
NTSTATUS idmap_allocate_uid(struct unixid *id);
NTSTATUS idmap_allocate_gid(struct unixid *id);
NTSTATUS idmap_set_uid_hwm(struct unixid *id);
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index c056596470..32fc3dc975 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -279,7 +279,7 @@ NTSTATUS idmap_init_cache(void)
/****************************************************************************
****************************************************************************/
-NTSTATUS idmap_init(void)
+static NTSTATUS idmap_init(void)
{
NTSTATUS ret;
static NTSTATUS idmap_init_status = NT_STATUS_UNSUCCESSFUL;