[master] 46d9e79e6 ws: Remove deprecated WS_Front()

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Aug 17 06:57:05 UTC 2021


commit 46d9e79e61007f22d763c716feb8f58e9505e239
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Jul 5 12:22:40 2021 +0200

    ws: Remove deprecated WS_Front()

diff --git a/bin/varnishd/cache/cache.h b/bin/varnishd/cache/cache.h
index f3fc6c688..abfff698d 100644
--- a/bin/varnishd/cache/cache.h
+++ b/bin/varnishd/cache/cache.h
@@ -785,14 +785,6 @@ int WS_Allocated(const struct ws *ws, const void *ptr, ssize_t len);
 void WS_VSB_new(struct vsb *, struct ws *);
 char *WS_VSB_finish(struct vsb *, struct ws *, size_t *);
 
-/* REL_20210915 remove */
-static inline char*
-WS_Front(const struct ws *ws)
-{
-	AN(ws->r);
-	return ws->f;
-}
-
 static inline void *
 WS_Reservation(const struct ws *ws)
 {
diff --git a/include/vrt.h b/include/vrt.h
index e9bcd256e..180bbc8e3 100644
--- a/include/vrt.h
+++ b/include/vrt.h
@@ -60,6 +60,7 @@
  *	VRT_NULL_BLOB_TYPE added as the .type of vrt_null_blob
  *	VRT_blob() changed to return vrt_null_blob for
  *	    len == 0 or src == NULL arguments
+ *	[cache.h] WS_Front() removed
  *	[cache.h] WS_Inside() removed
  *	[cache.h] WS_Assert_Allocated() removed
  *	[cache.h] WS_Allocated() added


More information about the varnish-commit mailing list