[master] 9343c46 Minor API cleanup
Poul-Henning Kamp
phk at FreeBSD.org
Wed Dec 20 08:55:11 UTC 2017
commit 9343c46733943e8fef2f48d346fce79233eabfb3
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Dec 20 08:43:21 2017 +0000
Minor API cleanup
diff --git a/include/vsl_priv.h b/include/vsl_priv.h
index 8ac6c66..7ab0606 100644
--- a/include/vsl_priv.h
+++ b/include/vsl_priv.h
@@ -59,7 +59,7 @@
struct VSL_head {
#define VSL_HEAD_MARKER "VSLHEAD1" /* Incr. as version# */
- char marker[VSM_MARKER_LEN];
+ char marker[8];
ssize_t segsize;
unsigned segment_n;
ssize_t offset[VSL_SEGMENTS];
diff --git a/include/vsm_priv.h b/include/vsm_priv.h
index 00619fc..9bb3271 100644
--- a/include/vsm_priv.h
+++ b/include/vsm_priv.h
@@ -34,6 +34,4 @@
#define VSM_MGT_DIRNAME "_.vsm_mgt"
#define VSM_CHILD_DIRNAME "_.vsm_child"
-#define VSM_MARKER_LEN 8
-
#endif /* VSM_PRIV_H_INCLUDED */
More information about the varnish-commit
mailing list