[master] 29872fb polish

Poul-Henning Kamp phk at FreeBSD.org
Thu Dec 21 16:52:06 UTC 2017


commit 29872fb8c522e0a2f65522e10d72452d277a5808
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Dec 21 10:58:29 2017 +0000

    polish

diff --git a/include/vsl_priv.h b/include/vsl_priv.h
index 7ab0606..434550f 100644
--- a/include/vsl_priv.h
+++ b/include/vsl_priv.h
@@ -32,11 +32,12 @@
  * NB: THIS IS NOT A PUBLIC API TO VARNISH!
  */
 
-#ifndef VSL_PRIV_H_INCLUDED
+#ifdef VSL_PRIV_H_INCLUDED
+#  error "vsl_priv.h included more than once"
+#endif
 #define VSL_PRIV_H_INCLUDED
 
 #include "vapi/vsl_int.h"
-#include "vsm_priv.h"
 
 #define VSL_CLASS		"Log"
 #define VSL_SEGMENTS		8U	// power of two
@@ -65,5 +66,3 @@ struct VSL_head {
 	ssize_t			offset[VSL_SEGMENTS];
 	uint32_t		log[];
 };
-
-#endif /* VSL_PRIV_H_INCLUDED */


More information about the varnish-commit mailing list