From e2b63996e851b9621d287ad9d853930ecbc39d7f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 8 Sep 2010 12:07:42 +0200 Subject: s3: Make winbind_add_failed_connection_entry static --- source3/winbindd/winbindd_cm.c | 7 ++++--- source3/winbindd/winbindd_proto.h | 3 --- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index 94142e0323..8f94b29640 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -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, diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 5e49dcd4c2..d9b8180a58 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -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); -- cgit