s3:idmap_tdb: make idmap_alloc_tdb_init() static.
authorMichael Adam <obnox@samba.org>
Mon, 31 May 2010 08:14:18 +0000 (10:14 +0200)
committerMichael Adam <obnox@samba.org>
Sat, 14 Aug 2010 00:10:37 +0000 (02:10 +0200)
source3/include/proto.h
source3/winbindd/idmap_tdb.c

index eeee333382a579015c41c8ad0fc9b7ff340f2870..952bea42320f06eebd57f3dde7340e878bfa0f97 100644 (file)
@@ -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  */
index 554fdd29aac2b5c6498be1f1aac153cdcf8e05b0..bfaa3a92268abc84623552539cc46f963a29cfbf 100644 (file)
@@ -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);
 }