From: phk Date: Tue, 13 Jun 2006 07:26:20 +0000 (+0000) Subject: Use NULL init method X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04ad81aa91b0bc52be17af8fb098f0e8ac21699d;p=varnish Use NULL init method git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@169 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/storage_malloc.c b/varnish-cache/bin/varnishd/storage_malloc.c index 4baf37dc..d67ed50b 100644 --- a/varnish-cache/bin/varnishd/storage_malloc.c +++ b/varnish-cache/bin/varnishd/storage_malloc.c @@ -16,11 +16,6 @@ struct sma { struct storage s; }; -static void -sma_init(void) -{ -} - static struct storage * sma_alloc(unsigned size) { @@ -47,7 +42,7 @@ sma_free(struct storage *s) struct stevedore sma_stevedore = { "Malloc", - sma_init, + NULL, /* init */ sma_alloc, sma_free };