s3: Make free_domain_list() static
authorVolker Lendecke <vl@samba.org>
Mon, 28 Dec 2009 17:03:14 +0000 (18:03 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 2 Jan 2010 11:09:05 +0000 (12:09 +0100)
source3/winbindd/winbindd_proto.h
source3/winbindd/winbindd_util.c

index cf429c764fa4d1d8b42a48cd5fc901efa2c47fd9..93d5748c4912b78b88278dce8c8c165d644f3ea4 100644 (file)
@@ -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);
index 5442a90cdfc3c646d3ba86764931c2733b4eaf6d..e56efa4c8c42bdffdab27317a37073962d054aee 100644 (file)
@@ -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;