From e191a4babcde2a1bba830487bbe5c8bec51b20cf Mon Sep 17 00:00:00 2001 From: luwenpeng Date: Wed, 28 Aug 2024 17:57:35 +0800 Subject: [PATCH] refactor(infra/core): from *.cpp to *.c --- infra/core/CMakeLists.txt | 2 +- infra/core/{stellar_config.cpp => stellar_config.c} | 0 infra/core/{stellar_core.cpp => stellar_core.c} | 0 infra/core/{stellar_stat.cpp => stellar_stat.c} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename infra/core/{stellar_config.cpp => stellar_config.c} (100%) rename infra/core/{stellar_core.cpp => stellar_core.c} (100%) rename infra/core/{stellar_stat.cpp => stellar_stat.c} (100%) diff --git a/infra/core/CMakeLists.txt b/infra/core/CMakeLists.txt index 342a6e0..eb0a589 100644 --- a/infra/core/CMakeLists.txt +++ b/infra/core/CMakeLists.txt @@ -1,4 +1,4 @@ -set(SOURCE stellar_config.cpp stellar_stat.cpp stellar_core.cpp) +set(SOURCE stellar_config.c stellar_stat.c stellar_core.c) set(LIBRARY session_manager plugin_manager ip_reassembly packet_io snowflake packet pthread fieldstat4 toml nmx_pool) set(PLUGIN http glimpse_detector) diff --git a/infra/core/stellar_config.cpp b/infra/core/stellar_config.c similarity index 100% rename from infra/core/stellar_config.cpp rename to infra/core/stellar_config.c diff --git a/infra/core/stellar_core.cpp b/infra/core/stellar_core.c similarity index 100% rename from infra/core/stellar_core.cpp rename to infra/core/stellar_core.c diff --git a/infra/core/stellar_stat.cpp b/infra/core/stellar_stat.c similarity index 100% rename from infra/core/stellar_stat.cpp rename to infra/core/stellar_stat.c