]> err.no Git - varnish/commitdiff
Flexelint silencing
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 31 Jul 2008 09:24:25 +0000 (09:24 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 31 Jul 2008 09:24:25 +0000 (09:24 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3036 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/storage_file.c
varnish-cache/bin/varnishd/storage_malloc.c

index 021c4785c260a0b6a10b4894d6fd3b23897bcb85..542db3379fc68387d1c489a997c54fc1d44aee33 100644 (file)
@@ -680,6 +680,7 @@ smf_trim(const struct storage *s, size_t size)
 
 /*--------------------------------------------------------------------*/
 
+/*lint -e{818} not const-able */
 static void
 smf_free(struct storage *s)
 {
index bee45c79e08554e9fcb20f3ee35020ffe781fd2c..6cde5d434092bd3a9c11f40722035ed4551c31fd 100644 (file)
@@ -85,6 +85,7 @@ sma_alloc(struct stevedore *st, size_t size)
        return (&sma->s);
 }
 
+/*lint -e{818} not const-able */
 static void
 sma_free(struct storage *s)
 {