[master] d9e16c9 director has been a vmod for a while

Federico G. Schwindt fgsch at lodoss.net
Tue Jun 14 18:54:07 CEST 2016


commit d9e16c973d8a8f00b24f49c5ba88be2fb438483a
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Tue Jun 14 16:23:46 2016 +0100

    director has been a vmod for a while
    
    Also remove OBE comment.

diff --git a/lib/libvcc/vcc_parse.c b/lib/libvcc/vcc_parse.c
index aa242f8..869979e 100644
--- a/lib/libvcc/vcc_parse.c
+++ b/lib/libvcc/vcc_parse.c
@@ -272,18 +272,6 @@ vcc_ParseFunction(struct vcc *tl)
  */
 
 static void
-vcc_ParseDirector(struct vcc *tl)
-{
-	VSB_printf(tl->sb, "\ndirectors are now in directors VMOD.\n");
-	vcc_ErrWhere(tl, tl->t);
-}
-
-/*--------------------------------------------------------------------
- * TODO when bumping the vcl version:
- * #1603 remove return(fetch) from vcl_hit{}
- */
-
-static void
 vcc_ParseVcl(struct vcc *tl)
 {
 	struct token *tok;
@@ -324,7 +312,6 @@ static struct toplev {
 	{ "acl",		vcc_ParseAcl },
 	{ "sub",		vcc_ParseFunction },
 	{ "backend",		vcc_ParseBackend },
-	{ "director",		vcc_ParseDirector },
 	{ "probe",		vcc_ParseProbe },
 	{ "import",		vcc_ParseImport },
 	{ "vcl",		vcc_ParseVcl },



More information about the varnish-commit mailing list