[master] f04a08e Change prototypes for .ttl and .grace VRT functions to be consistent

Poul-Henning Kamp phk at varnish-cache.org
Wed Mar 2 21:38:37 CET 2011


commit f04a08e82ec694e455acd459dde63089dfb5e5ba
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Mar 2 20:37:56 2011 +0000

    Change prototypes for .ttl and .grace VRT functions to be consistent

diff --git a/lib/libvcl/generate.py b/lib/libvcl/generate.py
index 6e27946..72edc9b 100755
--- a/lib/libvcl/generate.py
+++ b/lib/libvcl/generate.py
@@ -314,7 +314,7 @@ sp_variables = (
 		'DURATION',
 		( 'fetch',),
 		( 'fetch',),
-		'const struct sess *'
+		'struct sess *'
 	),
 	('beresp.grace',
 		'DURATION',
@@ -380,7 +380,7 @@ sp_variables = (
 		'DURATION',
 		( 'hit', 'error',),
 		( 'hit', 'error',),
-		'const struct sess *'
+		'struct sess *'
 	),
 	('obj.grace',
 		'DURATION',



More information about the varnish-commit mailing list