This is an automated email from the ASF dual-hosted git repository.
maskit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new d11b602b1a Make P_Freer.h public (#11311)
d11b602b1a is described below
commit d11b602b1a5badb7484084ce795609e280b819ed
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Fri May 3 10:58:46 2024 -0600
Make P_Freer.h public (#11311)
Freer is used in proxy module, and the header only contains Freer, Deleter,
and other public stuff.
---
src/iocore/eventsystem/P_Freer.h => include/iocore/eventsystem/Freer.h | 0
include/proxy/http/remap/UrlRewrite.h | 1 +
src/iocore/eventsystem/P_EventSystem.h | 2 +-
src/proxy/http/remap/PluginDso.cc | 2 +-
4 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/iocore/eventsystem/P_Freer.h
b/include/iocore/eventsystem/Freer.h
similarity index 100%
rename from src/iocore/eventsystem/P_Freer.h
rename to include/iocore/eventsystem/Freer.h
diff --git a/include/proxy/http/remap/UrlRewrite.h
b/include/proxy/http/remap/UrlRewrite.h
index 581ebc4e3b..a25b4b32e7 100644
--- a/include/proxy/http/remap/UrlRewrite.h
+++ b/include/proxy/http/remap/UrlRewrite.h
@@ -24,6 +24,7 @@
#pragma once
+#include "iocore/eventsystem/Freer.h"
#include "tscore/ink_config.h"
#include "proxy/http/remap/UrlMapping.h"
#include "proxy/http/remap/UrlMappingPathIndex.h"
diff --git a/src/iocore/eventsystem/P_EventSystem.h
b/src/iocore/eventsystem/P_EventSystem.h
index d1bb98f228..f17686579f 100644
--- a/src/iocore/eventsystem/P_EventSystem.h
+++ b/src/iocore/eventsystem/P_EventSystem.h
@@ -34,12 +34,12 @@
#include "tscore/ink_platform.h"
#include "iocore/eventsystem/EventSystem.h"
+#include "iocore/eventsystem/Freer.h"
#include "P_Thread.h"
#include "P_VIO.h"
#include "P_IOBuffer.h"
#include "P_VConnection.h"
-#include "P_Freer.h"
#include "P_UnixEvent.h"
#include "P_UnixEThread.h"
#include "P_ProtectedQueue.h"
diff --git a/src/proxy/http/remap/PluginDso.cc
b/src/proxy/http/remap/PluginDso.cc
index c54673ea79..def6fff9c4 100644
--- a/src/proxy/http/remap/PluginDso.cc
+++ b/src/proxy/http/remap/PluginDso.cc
@@ -28,7 +28,7 @@
*/
#include "proxy/http/remap/PluginDso.h"
-#include "../../../iocore/eventsystem/P_Freer.h"
+#include "iocore/eventsystem/Freer.h"
#include "../../../iocore/eventsystem/P_EventSystem.h"
#ifdef PLUGIN_DSO_TESTS
#include "unit-tests/plugin_testing_common.h"