[master] 6c17a35 Enforce the convention that varnish related files are included with "..." and external files are included with <...>

Poul-Henning Kamp phk at varnish-cache.org
Fri Oct 7 22:57:42 CEST 2011


commit 6c17a356c8b36bf1ae29a5e97473abba5b36a78c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Oct 7 20:57:13 2011 +0000

    Enforce the convention that varnish related files are included with "..."
    and external files are included with <...>

diff --git a/lib/libvarnish/binary_heap.c b/lib/libvarnish/binary_heap.c
index 01a3c96..f49c736 100644
--- a/lib/libvarnish/binary_heap.c
+++ b/lib/libvarnish/binary_heap.c
@@ -455,7 +455,7 @@ binheap_reorder(const struct binheap *bh, unsigned idx)
 #ifdef TEST_DRIVER
 /* Test driver -------------------------------------------------------*/
 #include <stdio.h>
-#include <miniobj.h>
+#include "miniobj.h"
 
 static void
 vasfail(const char *func, const char *file, int line,
diff --git a/lib/libvarnish/cli_serve.c b/lib/libvarnish/cli_serve.c
index dc4a89b..854c2ff 100644
--- a/lib/libvarnish/cli_serve.c
+++ b/lib/libvarnish/cli_serve.c
@@ -38,15 +38,15 @@
 #include <stdio.h>
 #include <unistd.h>
 
-#include <vqueue.h>
-#include <vsb.h>
-#include <vlu.h>
-#include <vcli.h>
-#include <cli_priv.h>
-#include <cli_common.h>
-#include <cli_serve.h>
-#include <libvarnish.h>
-#include <miniobj.h>
+#include "vqueue.h"
+#include "vsb.h"
+#include "vlu.h"
+#include "vcli.h"
+#include "cli_priv.h"
+#include "cli_common.h"
+#include "cli_serve.h"
+#include "libvarnish.h"
+#include "miniobj.h"
 
 struct VCLS_func {
 	unsigned			magic;
diff --git a/lib/libvarnish/num.c b/lib/libvarnish/num.c
index 5ef2cd7..70255db 100644
--- a/lib/libvarnish/num.c
+++ b/lib/libvarnish/num.c
@@ -35,7 +35,7 @@
 #include <stdlib.h>
 #include <stdint.h>
 
-#include <libvarnish.h>
+#include "libvarnish.h"
 
 static const char err_miss_num[] = "Missing number";
 static const char err_invalid_num[] = "Invalid number";
diff --git a/lib/libvarnish/vct.c b/lib/libvarnish/vct.c
index adcffdb..2740aa1 100644
--- a/lib/libvarnish/vct.c
+++ b/lib/libvarnish/vct.c
@@ -31,7 +31,7 @@
 #include "config.h"
 
 #include <stdint.h>
-#include <vct.h>
+#include "vct.h"
 
 /* NB: VCT always operate in ASCII, don't replace 0x0d with \r etc. */
 



More information about the varnish-commit mailing list