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 2a5d21d740..9958c91dca 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -10484,7 +10484,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 8b16f27f7d..b793c47969 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -277,7 +277,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;