diff options
author | Michael Adam <obnox@samba.org> | 2010-05-31 10:14:18 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-08-14 02:10:37 +0200 |
commit | 7b4c6f7e89c6e5b9e68676f89e32a0d51cf947f5 (patch) | |
tree | 78ed6622e6dd311b70251212d8b3b2432d1a977a | |
parent | fe8b1588b465bd84a20cc137aabdaab7453a2211 (diff) | |
download | samba-7b4c6f7e89c6e5b9e68676f89e32a0d51cf947f5.tar.gz samba-7b4c6f7e89c6e5b9e68676f89e32a0d51cf947f5.tar.bz2 samba-7b4c6f7e89c6e5b9e68676f89e32a0d51cf947f5.zip |
s3:idmap_tdb: make idmap_alloc_tdb_init() static.
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/winbindd/idmap_tdb.c | 2 |
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); } |