summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-07-12 21:13:05 -0400
committerSimo Sorce <idra@samba.org>2008-07-12 21:40:28 -0400
commit02e592486fc3130ebd365fe337d8597ebf9071ad (patch)
tree760fa0717c99f682e136857760ae7c371b612be6
parenta74f451a86ce045d17f65379366ab1832fabbd82 (diff)
downloadsamba-02e592486fc3130ebd365fe337d8597ebf9071ad.tar.gz
samba-02e592486fc3130ebd365fe337d8597ebf9071ad.tar.bz2
samba-02e592486fc3130ebd365fe337d8597ebf9071ad.zip
Make again idmap_init static
(This used to be commit e113b7c13f2457676fdec9e52f09046286e25b60)
-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;