summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-11-16 19:20:43 +0100
committerVolker Lendecke <vl@samba.org>2010-11-20 14:42:44 +0100
commitd14cf7a50b8ef5740c82028da3eba3a9d7992b45 (patch)
tree0e6df72c6c544309a2d8cb3351ac50a8d32a0af4
parent491fdb24e44c0b4ba6004ce9f4dc071f1632d5d2 (diff)
downloadsamba-d14cf7a50b8ef5740c82028da3eba3a9d7992b45.tar.gz
samba-d14cf7a50b8ef5740c82028da3eba3a9d7992b45.tar.bz2
samba-d14cf7a50b8ef5740c82028da3eba3a9d7992b45.zip
s3: Make ads_get_attrnames_by_oids static
-rw-r--r--source3/libads/ldap_schema.c11
-rw-r--r--source3/libads/ldap_schema.h4
2 files changed, 7 insertions, 8 deletions
diff --git a/source3/libads/ldap_schema.c b/source3/libads/ldap_schema.c
index 66c9bf4b57..db5d35ec92 100644
--- a/source3/libads/ldap_schema.c
+++ b/source3/libads/ldap_schema.c
@@ -25,10 +25,13 @@
#ifdef HAVE_LDAP
-ADS_STATUS ads_get_attrnames_by_oids(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx,
- const char *schema_path,
- const char **OIDs, size_t num_OIDs,
- char ***OIDs_out, char ***names, size_t *count)
+static ADS_STATUS ads_get_attrnames_by_oids(ADS_STRUCT *ads,
+ TALLOC_CTX *mem_ctx,
+ const char *schema_path,
+ const char **OIDs,
+ size_t num_OIDs,
+ char ***OIDs_out, char ***names,
+ size_t *count)
{
ADS_STATUS status;
LDAPMessage *res = NULL;
diff --git a/source3/libads/ldap_schema.h b/source3/libads/ldap_schema.h
index 90ce203cf5..2a8cec264d 100644
--- a/source3/libads/ldap_schema.h
+++ b/source3/libads/ldap_schema.h
@@ -46,10 +46,6 @@ enum wb_posix_mapping {
/* The following definitions come from libads/ldap_schema.c */
-ADS_STATUS ads_get_attrnames_by_oids(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx,
- const char *schema_path,
- const char **OIDs, size_t num_OIDs,
- char ***OIDs_out, char ***names, size_t *count);
const char *ads_get_attrname_by_guid(ADS_STRUCT *ads,
const char *schema_path,
TALLOC_CTX *mem_ctx,