s3: Make winbind_add_failed_connection_entry static
authorVolker Lendecke <vl@samba.org>
Wed, 8 Sep 2010 10:07:42 +0000 (12:07 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 8 Sep 2010 19:10:18 +0000 (21:10 +0200)
source3/winbindd/winbindd_cm.c
source3/winbindd/winbindd_proto.h

index 94142e03238cf542bae3fbbd67efa2bcaa789efc..8f94b29640da4b4372883c502d28ef2f8bf708ef 100644 (file)
@@ -541,9 +541,10 @@ void set_domain_online_request(struct winbindd_domain *domain)
  Add -ve connection cache entries for domain and realm.
 ****************************************************************/
 
-void winbind_add_failed_connection_entry(const struct winbindd_domain *domain,
-                                       const char *server,
-                                       NTSTATUS result)
+static void winbind_add_failed_connection_entry(
+       const struct winbindd_domain *domain,
+       const char *server,
+       NTSTATUS result)
 {
        add_failed_connection_entry(domain->name, server, result);
        /* If this was the saf name for the last thing we talked to,
index 5e49dcd4c2520ca6203bee4a990333e289236c01..d9b8180a58e44b936844c7b4ac9b39280431a6e5 100644 (file)
@@ -182,9 +182,6 @@ enum winbindd_result winbindd_dual_ccache_save(
 
 void set_domain_offline(struct winbindd_domain *domain);
 void set_domain_online_request(struct winbindd_domain *domain);
-void winbind_add_failed_connection_entry(const struct winbindd_domain *domain,
-                                       const char *server,
-                                       NTSTATUS result);
 void invalidate_cm_connection(struct winbindd_cm_conn *conn);
 void close_conns_after_fork(void);
 NTSTATUS init_dc_connection(struct winbindd_domain *domain);