s3: Make winbindd_lookup_names static
authorVolker Lendecke <vl@samba.org>
Tue, 6 Sep 2011 16:33:35 +0000 (18:33 +0200)
committerVolker Lendecke <vlendec@samba.org>
Tue, 6 Sep 2011 18:03:56 +0000 (20:03 +0200)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Sep  6 20:03:56 CEST 2011 on sn-devel-104

source3/winbindd/winbindd_msrpc.c
source3/winbindd/winbindd_proto.h

index 9ef0d87f5ad04b7daeb176c99e1cf3b601084616..342a03b1c9bbfd915024f43b10ebf296e6a79eb1 100644 (file)
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_WINBIND
 
+static NTSTATUS winbindd_lookup_names(TALLOC_CTX *mem_ctx,
+                                     struct winbindd_domain *domain,
+                                     uint32_t num_names,
+                                     const char **names,
+                                     const char ***domains,
+                                     struct dom_sid **sids,
+                                     enum lsa_SidType **types);
 
 /* Query display info for a domain.  This returns enough information plus a
    bit extra to give an overview of domain users for the User Manager
@@ -1156,13 +1163,13 @@ typedef NTSTATUS (*lookup_names_fn_t)(struct dcerpc_binding_handle *h,
                                      enum lsa_SidType **types,
                                      NTSTATUS *result);
 
-NTSTATUS winbindd_lookup_names(TALLOC_CTX *mem_ctx,
-                              struct winbindd_domain *domain,
-                              uint32_t num_names,
-                              const char **names,
-                              const char ***domains,
-                              struct dom_sid **sids,
-                              enum lsa_SidType **types)
+static NTSTATUS winbindd_lookup_names(TALLOC_CTX *mem_ctx,
+                                     struct winbindd_domain *domain,
+                                     uint32_t num_names,
+                                     const char **names,
+                                     const char ***domains,
+                                     struct dom_sid **sids,
+                                     enum lsa_SidType **types)
 {
        NTSTATUS status;
        NTSTATUS result;
index ce66964ace4865ae65073019678d9a02d706fc01..b965fdaf1d63201db19320272570605e961471af 100644 (file)
@@ -47,13 +47,6 @@ NTSTATUS winbindd_lookup_sids(TALLOC_CTX *mem_ctx,
                              char ***domains,
                              char ***names,
                              enum lsa_SidType **types);
-NTSTATUS winbindd_lookup_names(TALLOC_CTX *mem_ctx,
-                              struct winbindd_domain *domain,
-                              uint32_t num_names,
-                              const char **names,
-                              const char ***domains,
-                              struct dom_sid **sids,
-                              enum lsa_SidType **types);
 NTSTATUS rpc_lookup_sids(TALLOC_CTX *mem_ctx,
                         struct winbindd_domain *domain,
                         struct lsa_SidArray *sids,