]> err.no Git - varnish/commitdiff
Use NULL init method
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 13 Jun 2006 07:26:20 +0000 (07:26 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 13 Jun 2006 07:26:20 +0000 (07:26 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@169 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/storage_malloc.c

index 4baf37dc6a726703b3bb4d96c2b6aa50071c3dd6..d67ed50bbf86dfb11563aa10bdcb333dca732b61 100644 (file)
@@ -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
 };