diff options
author | Volker Lendecke <vl@samba.org> | 2010-06-28 16:54:56 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-06-28 16:57:04 +0200 |
commit | ba0ba4e85b6c248cfc8079d6db9b8a22e55f7336 (patch) | |
tree | f51a8bd11fae6f91c96886c9aabf8a4885d7b7a1 /source3 | |
parent | 4fc51ad07a1787241a4065d35c0d2783661e3a6a (diff) | |
download | samba-ba0ba4e85b6c248cfc8079d6db9b8a22e55f7336.tar.gz samba-ba0ba4e85b6c248cfc8079d6db9b8a22e55f7336.tar.bz2 samba-ba0ba4e85b6c248cfc8079d6db9b8a22e55f7336.zip |
s3: Make some routines static in smbldap
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/lib/smbldap.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 07a6757936..a65449558f 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -818,8 +818,6 @@ bool parse_usershare_acl(TALLOC_CTX *ctx, const char *acl_str, struct security_d /* The following definitions come from lib/smbldap.c */ int smb_ldap_start_tls(LDAP *ldap_struct, int version); -int smb_ldap_setup_conn(LDAP **ldap_struct, const char *uri); -int smb_ldap_upgrade_conn(LDAP *ldap_struct, int *new_version) ; int smb_ldap_setup_full_conn(LDAP **ldap_struct, const char *uri); int smbldap_search(struct smbldap_state *ldap_state, const char *base, int scope, const char *filter, diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index 118f89169b..a4d26fa8b6 100644 --- a/source3/lib/smbldap.c +++ b/source3/lib/smbldap.c @@ -744,7 +744,7 @@ int smb_ldap_start_tls(LDAP *ldap_struct, int version) setup a connection to the LDAP server based on a uri *******************************************************************/ -int smb_ldap_setup_conn(LDAP **ldap_struct, const char *uri) +static int smb_ldap_setup_conn(LDAP **ldap_struct, const char *uri) { int rc; @@ -848,7 +848,7 @@ int smb_ldap_setup_conn(LDAP **ldap_struct, const char *uri) version *******************************************************************/ -int smb_ldap_upgrade_conn(LDAP *ldap_struct, int *new_version) +static int smb_ldap_upgrade_conn(LDAP *ldap_struct, int *new_version) { int version; int rc; |