[4.0] cebdf05 remove some unused declarations

Lasse Karstensen lkarsten at varnish-software.com
Mon Sep 22 16:38:26 CEST 2014


commit cebdf0524ef36d6d7c9190315f40725030138fc9
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Sep 17 17:02:21 2014 +0200

    remove some unused declarations
    
    Fixes #1546

diff --git a/include/vrt.h b/include/vrt.h
index e49926d..1c5eea2 100644
--- a/include/vrt.h
+++ b/include/vrt.h
@@ -170,38 +170,6 @@ struct vrt_backend {
 };
 
 /*
- * A director with an unpredictable reply
- */
-
-struct vrt_dir_random_entry {
-	int					host;
-	double					weight;
-};
-
-struct vrt_dir_random {
-	const char				*name;
-	unsigned				retries;
-	unsigned				nmember;
-	const struct vrt_dir_random_entry	*members;
-};
-
-/*
- * A director with dns-based selection
- */
-
-struct vrt_dir_dns_entry {
-	int					host;
-};
-
-struct vrt_dir_dns {
-	const char				*name;
-	const char				*suffix;
-	const double				ttl;
-	unsigned				nmember;
-	const struct vrt_dir_dns_entry		*members;
-};
-
-/*
  * other stuff.
  * XXX: document when bored
  */



More information about the varnish-commit mailing list