diff options
author | Volker Lendecke <vl@samba.org> | 2010-09-08 12:07:42 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-08 21:10:18 +0200 |
commit | e2b63996e851b9621d287ad9d853930ecbc39d7f (patch) | |
tree | d20bd88b4d6dc10ad2957a8097317ab8ed719ef0 /source3/winbindd | |
parent | 3928565bc97a7c03305c7fd58fbd41be68940f24 (diff) | |
download | samba-e2b63996e851b9621d287ad9d853930ecbc39d7f.tar.gz samba-e2b63996e851b9621d287ad9d853930ecbc39d7f.tar.bz2 samba-e2b63996e851b9621d287ad9d853930ecbc39d7f.zip |
s3: Make winbind_add_failed_connection_entry static
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 7 | ||||
-rw-r--r-- | source3/winbindd/winbindd_proto.h | 3 |
2 files changed, 4 insertions, 6 deletions
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); |