r1974 - trunk/varnish-cache/lib/libvcl

phk at projects.linpro.no phk at projects.linpro.no
Fri Sep 21 00:27:26 CEST 2007


Author: phk
Date: 2007-09-21 00:27:25 +0200 (Fri, 21 Sep 2007)
New Revision: 1974

Modified:
   trunk/varnish-cache/lib/libvcl/vcc_compile.h
Log:
Fix an extremely fine C-standard point and remove the vcc_FreeToken()
prototype


Modified: trunk/varnish-cache/lib/libvcl/vcc_compile.h
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_compile.h	2007-09-20 22:26:53 UTC (rev 1973)
+++ trunk/varnish-cache/lib/libvcl/vcc_compile.h	2007-09-20 22:27:25 UTC (rev 1974)
@@ -103,6 +103,12 @@
 	SET
 };
 
+enum var_access {
+	V_RO,
+	V_RW,
+	V_WO
+};
+
 enum ref_type {
 	R_FUNC,
 	R_ACL,
@@ -123,7 +129,7 @@
 	unsigned		len;
 	const char		*rname;
 	const char		*lname;
-	enum {V_RO, V_RW, V_WO}	access;
+	enum var_access		access;
 	const char		*hdr;
 	unsigned		methods;
 };
@@ -187,7 +193,6 @@
 void vcc_NextToken(struct tokenlist *tl);
 void vcc__ErrInternal(struct tokenlist *tl, const char *func, unsigned line);
 void vcc_AddToken(struct tokenlist *tl, unsigned tok, const char *b, const char *e);
-void vcc_FreeToken(struct token *t);
 
 /* vcc_var.c */
 struct var *vcc_FindVar(struct tokenlist *tl, const struct token *t, struct var *vl);




More information about the varnish-commit mailing list