From b7217c8363db16f01965b509ad09a4624e82c93e Mon Sep 17 00:00:00 2001 From: luwenpeng Date: Wed, 28 Aug 2024 18:03:23 +0800 Subject: [PATCH] refactor(test/debug_plugin): from *.cpp to *.c --- test/debug_plugin/CMakeLists.txt | 2 +- test/debug_plugin/{debug_plugin.cpp => debug_plugin.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename test/debug_plugin/{debug_plugin.cpp => debug_plugin.c} (100%) 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 similarity index 100% rename from test/debug_plugin/debug_plugin.cpp rename to test/debug_plugin/debug_plugin.c