[master] e1dcc19 remove some unused declarations

Nils Goroll nils.goroll at uplex.de
Wed Sep 17 17:02:53 CEST 2014


commit e1dcc194fa5508678fbd04416e326ca486f1dbf5
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 90e85ea..1bb0b66 100644
--- a/include/vrt.h
+++ b/include/vrt.h
@@ -169,38 +169,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