[master] 114319570 vrt: Move major/minor definitions above the history

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Mar 17 14:31:05 UTC 2022


commit 114319570d3966a8216c1f851047c03bdb11c8ca
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu Mar 17 15:28:43 2022 +0100

    vrt: Move major/minor definitions above the history
    
    This puts them closer to the 'NEXT' marker to lower the risk of
    overlooking them in the release process.

diff --git a/include/vrt.h b/include/vrt.h
index b149ad215..562904942 100644
--- a/include/vrt.h
+++ b/include/vrt.h
@@ -46,6 +46,10 @@
 #  error "include vdef.h before vrt.h"
 #endif
 
+#define VRT_MAJOR_VERSION	15U
+
+#define VRT_MINOR_VERSION	0U
+
 /***********************************************************************
  * Major and minor VRT API versions.
  *
@@ -249,10 +253,6 @@
  *	vrt_acl type added
  */
 
-#define VRT_MAJOR_VERSION	15U
-
-#define VRT_MINOR_VERSION	0U
-
 /***********************************************************************/
 
 #include <stddef.h>		// NULL, size_t


More information about the varnish-commit mailing list