summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-12-28 18:03:14 +0100
committerVolker Lendecke <vl@samba.org>2010-01-02 12:09:05 +0100
commit22a4a000cecb971a16a1303e8b16fb659f5ccdec (patch)
treeb488ef31eef930acaf6934f886ea850aa365320e /source3/winbindd
parent583d192e4715e5fa72041e6ea43dbf6c2a559c36 (diff)
downloadsamba-22a4a000cecb971a16a1303e8b16fb659f5ccdec.tar.gz
samba-22a4a000cecb971a16a1303e8b16fb659f5ccdec.tar.bz2
samba-22a4a000cecb971a16a1303e8b16fb659f5ccdec.zip
s3: Make free_domain_list() static
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_proto.h1
-rw-r--r--source3/winbindd/winbindd_util.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index cf429c764f..93d5748c49 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -412,7 +412,6 @@ enum winbindd_result winbindd_dual_pam_chng_pswd_auth_crap(struct winbindd_domai
/* The following definitions come from winbindd/winbindd_util.c */
struct winbindd_domain *domain_list(void);
-void free_domain_list(void);
bool domain_is_forest_root(const struct winbindd_domain *domain);
void rescan_trusted_domains(struct tevent_context *ev, struct tevent_timer *te,
struct timeval now, void *private_data);
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c
index 5442a90cdf..e56efa4c8c 100644
--- a/source3/winbindd/winbindd_util.c
+++ b/source3/winbindd/winbindd_util.c
@@ -58,7 +58,7 @@ struct winbindd_domain *domain_list(void)
/* Free all entries in the trusted domain list */
-void free_domain_list(void)
+static void free_domain_list(void)
{
struct winbindd_domain *domain = _domain_list;