[master] 23003cd39 pack structs

Nils Goroll nils.goroll at uplex.de
Mon Apr 13 09:47:07 UTC 2020


commit 23003cd3929fb97e2b9c0a2179337c76b390e748
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Apr 13 11:43:33 2020 +0200

    pack structs

diff --git a/bin/varnishd/cache/cache_filter.h b/bin/varnishd/cache/cache_filter.h
index 5887ef01e..be8b304c8 100644
--- a/bin/varnishd/cache/cache_filter.h
+++ b/bin/varnishd/cache/cache_filter.h
@@ -58,10 +58,10 @@ struct vfp {
 struct vfp_entry {
 	unsigned		magic;
 #define VFP_ENTRY_MAGIC		0xbe32a027
+	enum vfp_status		closed;
 	const struct vfp	*vfp;
 	void			*priv1;
 	intptr_t		priv2;
-	enum vfp_status		closed;
 	VTAILQ_ENTRY(vfp_entry)	list;
 	uint64_t		calls;
 	uint64_t		bytes_out;
@@ -133,9 +133,9 @@ VTAILQ_HEAD(vdp_entry_s, vdp_entry);
 struct vdp_ctx {
 	unsigned		magic;
 #define VDP_CTX_MAGIC		0xee501df7
+	int			retval;
 	struct vdp_entry_s	vdp;
 	struct vdp_entry	*nxt;
-	int			retval;
 };
 
 int VDP_bytes(struct req *, enum vdp_action act, const void *ptr, ssize_t len);


More information about the varnish-commit mailing list