r169 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue Jun 13 09:26:20 CEST 2006


Author: phk
Date: 2006-06-13 09:26:20 +0200 (Tue, 13 Jun 2006)
New Revision: 169

Modified:
   trunk/varnish-cache/bin/varnishd/storage_malloc.c
Log:
Use NULL init method


Modified: trunk/varnish-cache/bin/varnishd/storage_malloc.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_malloc.c	2006-06-13 07:25:20 UTC (rev 168)
+++ trunk/varnish-cache/bin/varnishd/storage_malloc.c	2006-06-13 07:26:20 UTC (rev 169)
@@ -16,11 +16,6 @@
 	struct storage		s;
 };
 
-static void
-sma_init(void)
-{
-}
-
 static struct storage *
 sma_alloc(unsigned size)
 {
@@ -47,7 +42,7 @@
 
 struct stevedore sma_stevedore = {
 	"Malloc",
-	sma_init,
+	NULL,			/* init */
 	sma_alloc,
 	sma_free
 };




More information about the varnish-commit mailing list