diff --git a/source/dnode/mgmt/CMakeLists.txt b/source/dnode/mgmt/CMakeLists.txt index 3293d1967a..35ea166983 100644 --- a/source/dnode/mgmt/CMakeLists.txt +++ b/source/dnode/mgmt/CMakeLists.txt @@ -23,7 +23,7 @@ target_include_directories( PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/container/inc" ) -add_subdirectory(exec) +add_subdirectory(main) if(${BUILD_TEST}) add_subdirectory(test) diff --git a/source/dnode/mgmt/container/src/dndNode.c b/source/dnode/mgmt/container/src/dndNode.c index ada39e6d4a..a9bd696c6d 100644 --- a/source/dnode/mgmt/container/src/dndNode.c +++ b/source/dnode/mgmt/container/src/dndNode.c @@ -14,7 +14,7 @@ */ #define _DEFAULT_SOURCE -#include "dndMain.h" +#include "dndNode.h" #include "dmMgmt.h" #include "dndTransport.h" diff --git a/source/dnode/mgmt/main/inc/dndExec.h b/source/dnode/mgmt/main/inc/dndMain.h similarity index 100% rename from source/dnode/mgmt/main/inc/dndExec.h rename to source/dnode/mgmt/main/inc/dndMain.h diff --git a/source/dnode/mgmt/main/src/dndExec.c b/source/dnode/mgmt/main/src/dndMain.c similarity index 99% rename from source/dnode/mgmt/main/src/dndExec.c rename to source/dnode/mgmt/main/src/dndMain.c index c60f07f409..9351f60e3d 100644 --- a/source/dnode/mgmt/main/src/dndExec.c +++ b/source/dnode/mgmt/main/src/dndMain.c @@ -14,7 +14,7 @@ */ #define _DEFAULT_SOURCE -#include "dndExec.h" +#include "dndMain.h" static struct { bool dumpConfig; diff --git a/source/dnode/mgmt/main/src/dndUtil.c b/source/dnode/mgmt/main/src/dndUtil.c index ce45a802d2..163aad6694 100644 --- a/source/dnode/mgmt/main/src/dndUtil.c +++ b/source/dnode/mgmt/main/src/dndUtil.c @@ -14,7 +14,7 @@ */ #define _DEFAULT_SOURCE -#include "dndExec.h" +#include "dndMain.h" void dndGenerateGrant() { #if 0