From 7b4c6f7e89c6e5b9e68676f89e32a0d51cf947f5 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 31 May 2010 10:14:18 +0200 Subject: s3:idmap_tdb: make idmap_alloc_tdb_init() static. --- source3/include/proto.h | 1 - source3/winbindd/idmap_tdb.c | 2 +- 2 files changed, 1 insertion(+), 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); } -- cgit