summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/winbindd/idmap_tdb.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index eeee333382..952bea4232 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -6045,7 +6045,6 @@ NTSTATUS idmap_passdb_init(void);
/* The following definitions come from winbindd/idmap_tdb.c */
-NTSTATUS idmap_alloc_tdb_init(void);
NTSTATUS idmap_tdb_init(void);
/* The following definitions come from winbindd/idmap_util.c */
diff --git a/source3/winbindd/idmap_tdb.c b/source3/winbindd/idmap_tdb.c
index 554fdd29aa..bfaa3a9226 100644
--- a/source3/winbindd/idmap_tdb.c
+++ b/source3/winbindd/idmap_tdb.c
@@ -931,7 +931,7 @@ static struct idmap_alloc_methods db_alloc_methods = {
.close_fn = idmap_tdb_alloc_close
};
-NTSTATUS idmap_alloc_tdb_init(void)
+static NTSTATUS idmap_alloc_tdb_init(void)
{
return smb_register_idmap_alloc(SMB_IDMAP_INTERFACE_VERSION, "tdb", &db_alloc_methods);
}