s3: Make ads_get_attrnames_by_oids static
authorVolker Lendecke <vl@samba.org>
Tue, 16 Nov 2010 18:20:43 +0000 (19:20 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 20 Nov 2010 13:42:44 +0000 (14:42 +0100)
source3/libads/ldap_schema.c
source3/libads/ldap_schema.h

index 66c9bf4b57ef95bbb23fc6ba18c3d8ef0687b18b..db5d35ec92a77bf9797f19bdc89a9613202ccb90 100644 (file)
 
 #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;
index 90ce203cf57694e79fc3d8abf70104bac9cce748..2a8cec264d349c38dc499e2da7f4383a948ed7e1 100644 (file)
@@ -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,