[master] 71b8584 Remove strlcpy() compat includery, strlcpy() is not used.

Poul-Henning Kamp phk at varnish-cache.org
Thu May 12 14:19:14 CEST 2011


commit 71b8584857c8ffe4fc3b3367de5d3e20ba490952
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu May 12 10:47:51 2011 +0000

    Remove strlcpy() compat includery, strlcpy() is not used.

diff --git a/bin/varnishd/cache_http.c b/bin/varnishd/cache_http.c
index fc03c1a..5dc922a 100644
--- a/bin/varnishd/cache_http.c
+++ b/bin/varnishd/cache_http.c
@@ -41,10 +41,6 @@
 #include "vct.h"
 #include "cache.h"
 
-#ifndef HAVE_STRLCPY
-#include <compat/strlcpy.h>
-#endif
-
 #define HTTPH(a, b, c, d, e, f, g) char b[] = "*" a ":";
 #include "http_headers.h"
 #undef HTTPH
diff --git a/bin/varnishd/varnishd.c b/bin/varnishd/varnishd.c
index 7f423f1..32d97e8 100644
--- a/bin/varnishd/varnishd.c
+++ b/bin/varnishd/varnishd.c
@@ -50,10 +50,6 @@
 
 #include "compat/daemon.h"
 
-#ifndef HAVE_STRLCPY
-#include "compat/strlcpy.h"
-#endif
-
 #include "vsb.h"
 #include "vev.h"
 #include "vpf.h"



More information about the varnish-commit mailing list