summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-08-28 18:01:12 +0800
committerluwenpeng <[email protected]>2024-08-28 18:01:12 +0800
commitcb56fe90d595ec3dfd0a673165a722574405abbc (patch)
tree6136a6e3a6f60a8e5d3a6cec0b5c1ae930e5155e
parent18827c6de9f6541382b25c00e73504c7c2974a26 (diff)
refactor(infra/snowflake): from *.cpp to *.c
-rw-r--r--infra/snowflake/CMakeLists.txt2
-rw-r--r--infra/snowflake/snowflake.c (renamed from infra/snowflake/snowflake.cpp)0
2 files changed, 1 insertions, 1 deletions
diff --git a/infra/snowflake/CMakeLists.txt b/infra/snowflake/CMakeLists.txt
index 7ebc441..246367a 100644
--- a/infra/snowflake/CMakeLists.txt
+++ b/infra/snowflake/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_library(snowflake snowflake.cpp)
+add_library(snowflake snowflake.c)
target_include_directories(snowflake PUBLIC ${CMAKE_CURRENT_LIST_DIR})
target_link_libraries(snowflake log)
diff --git a/infra/snowflake/snowflake.cpp b/infra/snowflake/snowflake.c
index 87ddf14..87ddf14 100644
--- a/infra/snowflake/snowflake.cpp
+++ b/infra/snowflake/snowflake.c