diff options
author | Volker Lendecke <vl@samba.org> | 2010-11-16 19:10:50 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-11-20 14:42:44 +0100 |
commit | cdf52d56d5476f77c5a594a996a1a7d65dc16ab4 (patch) | |
tree | d20d771d0b658973701b82936bd3d147b10ee4f5 /source3/libads | |
parent | e3017e6411d753e42ecb9002c2a89a5b806d44f5 (diff) | |
download | samba-cdf52d56d5476f77c5a594a996a1a7d65dc16ab4.tar.gz samba-cdf52d56d5476f77c5a594a996a1a7d65dc16ab4.tar.bz2 samba-cdf52d56d5476f77c5a594a996a1a7d65dc16ab4.zip |
s3: Make ads_do_search_retry_args() static
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/ads_ldap_protos.h | 4 | ||||
-rw-r--r-- | source3/libads/ldap_utils.c | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/source3/libads/ads_ldap_protos.h b/source3/libads/ads_ldap_protos.h index a4821d8308..b81a713cb3 100644 --- a/source3/libads/ads_ldap_protos.h +++ b/source3/libads/ads_ldap_protos.h @@ -63,10 +63,6 @@ ADS_STATUS ads_do_search_retry(ADS_STRUCT *ads, const char *bind_path, int scope, const char *expr, const char **attrs, LDAPMessage **res); -ADS_STATUS ads_do_search_retry_args(ADS_STRUCT *ads, const char *bind_path, - int scope, const char *expr, - const char **attrs, void *args, - LDAPMessage **res); ADS_STATUS ads_search_retry(ADS_STRUCT *ads, LDAPMessage **res, const char *expr, const char **attrs); ADS_STATUS ads_search_retry_dn(ADS_STRUCT *ads, LDAPMessage **res, diff --git a/source3/libads/ldap_utils.c b/source3/libads/ldap_utils.c index 0c07961153..498a810c35 100644 --- a/source3/libads/ldap_utils.c +++ b/source3/libads/ldap_utils.c @@ -121,10 +121,10 @@ static ADS_STATUS ads_do_search_retry_internal(ADS_STRUCT *ads, const char *bind return ads_do_search_retry_internal(ads, bind_path, scope, expr, attrs, NULL, res); } - ADS_STATUS ads_do_search_retry_args(ADS_STRUCT *ads, const char *bind_path, - int scope, const char *expr, - const char **attrs, void *args, - LDAPMessage **res) +static ADS_STATUS ads_do_search_retry_args(ADS_STRUCT *ads, const char *bind_path, + int scope, const char *expr, + const char **attrs, void *args, + LDAPMessage **res) { return ads_do_search_retry_internal(ads, bind_path, scope, expr, attrs, args, res); } |