From b72243982e0dc447c2f2e29f5d70c3b33850b2be Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 31 Jul 2008 09:24:25 +0000 Subject: [PATCH] Flexelint silencing git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3036 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/storage_file.c | 1 + varnish-cache/bin/varnishd/storage_malloc.c | 1 + 2 files changed, 2 insertions(+) diff --git a/varnish-cache/bin/varnishd/storage_file.c b/varnish-cache/bin/varnishd/storage_file.c index 021c4785..542db337 100644 --- a/varnish-cache/bin/varnishd/storage_file.c +++ b/varnish-cache/bin/varnishd/storage_file.c @@ -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) { diff --git a/varnish-cache/bin/varnishd/storage_malloc.c b/varnish-cache/bin/varnishd/storage_malloc.c index bee45c79..6cde5d43 100644 --- a/varnish-cache/bin/varnishd/storage_malloc.c +++ b/varnish-cache/bin/varnishd/storage_malloc.c @@ -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) { -- 2.39.5