[master] 319d601 More OSX compat hackery, this time for LLVM

Poul-Henning Kamp phk at varnish-cache.org
Mon Sep 19 22:38:59 CEST 2011


commit 319d60136f8bfbe52bda54b2a1c0e0c97a048a35
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Sep 19 20:38:39 2011 +0000

    More OSX compat hackery, this time for LLVM

diff --git a/bin/varnishd/cache_pool.c b/bin/varnishd/cache_pool.c
index 7b79873..4dbf8bd 100644
--- a/bin/varnishd/cache_pool.c
+++ b/bin/varnishd/cache_pool.c
@@ -71,6 +71,7 @@ clock_gettime(int foo, struct timespec *ts)
 {
 	struct timeval tv;
 
+	(void)foo;
 	gettimeofday(&tv, NULL);
 	ts->tv_sec = tv.tv_sec;
 	ts->tv_nsec = tv.tv_usec * 1000;



More information about the varnish-commit mailing list