diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-02 13:33:25 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-02 13:34:09 +0200 |
commit | 1999791b7cedb6f25d6d638513a5b9aa647bb977 (patch) | |
tree | 7474389a8094e21aff81d00c5a7f48b47866a500 | |
parent | ab57861686e90d1639f9836d964d8a642c644953 (diff) | |
download | samba-1999791b7cedb6f25d6d638513a5b9aa647bb977.tar.gz samba-1999791b7cedb6f25d6d638513a5b9aa647bb977.tar.bz2 samba-1999791b7cedb6f25d6d638513a5b9aa647bb977.zip |
Make idmap_init() static
This is called only from idmap_alloc_init, which feels kindof weird.
Digging deeper in the code...
(This used to be commit c8d1bbfddce41cd6bf37dd0a622ef3437a24b492)
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/winbindd/idmap.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index e918b258c8..ae5481dc31 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -10483,7 +10483,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 c056596470..32fc3dc975 100644 --- a/source3/winbindd/idmap.c +++ b/source3/winbindd/idmap.c @@ -279,7 +279,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; |