summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-08-28 18:03:23 +0800
committerluwenpeng <[email protected]>2024-08-28 18:03:23 +0800
commitb7217c8363db16f01965b509ad09a4624e82c93e (patch)
treed99eb389b89267b51f6af29680a26626d4c8173a
parente91343d4021ef3677e9b0569a56b167dc0c5fa28 (diff)
refactor(test/debug_plugin): from *.cpp to *.c
-rw-r--r--test/debug_plugin/CMakeLists.txt2
-rw-r--r--test/debug_plugin/debug_plugin.c (renamed from test/debug_plugin/debug_plugin.cpp)0
2 files changed, 1 insertions, 1 deletions
diff --git a/test/debug_plugin/CMakeLists.txt b/test/debug_plugin/CMakeLists.txt
index a667f2c..218462f 100644
--- a/test/debug_plugin/CMakeLists.txt
+++ b/test/debug_plugin/CMakeLists.txt
@@ -1,5 +1,5 @@
# build libdebug_plugin.so
-add_library(debug_plugin SHARED debug_plugin.cpp)
+add_library(debug_plugin SHARED debug_plugin.c)
target_link_libraries(debug_plugin stellar_devel session_manager packet)
target_include_directories(debug_plugin PUBLIC ${CMAKE_SOURCE_DIR}/include/)
target_include_directories(debug_plugin PUBLIC ${CMAKE_SOURCE_DIR}/infra/core/utils)
diff --git a/test/debug_plugin/debug_plugin.cpp b/test/debug_plugin/debug_plugin.c
index c354e5e..c354e5e 100644
--- a/test/debug_plugin/debug_plugin.cpp
+++ b/test/debug_plugin/debug_plugin.c