From 2dda378def0c48ae16ec07e55bffc095360b525c Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Thu, 19 Nov 2020 05:20:22 +0000 Subject: [PATCH] refactor --- src/common/inc/tdisk.h | 3 --- src/common/src/tdisk.c | 6 ++++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/common/inc/tdisk.h b/src/common/inc/tdisk.h index 7214f3a3ed..79e8e4baec 100644 --- a/src/common/inc/tdisk.h +++ b/src/common/inc/tdisk.h @@ -16,9 +16,6 @@ #ifndef TD_TDISK_H #define TD_TDISK_H -#include "taosdef.h" -#include "hash.h" -#include "taoserror.h" #include "tglobal.h" #ifdef __cplusplus diff --git a/src/common/src/tdisk.c b/src/common/src/tdisk.c index 407d21abf5..abc01d9dfa 100644 --- a/src/common/src/tdisk.c +++ b/src/common/src/tdisk.c @@ -13,10 +13,12 @@ * along with this program. If not, see . */ #include "os.h" -#include "tutil.h" #include "tdisk.h" +#include "hash.h" +#include "taosdef.h" +#include "taoserror.h" #include "tulog.h" - +#include "tutil.h" typedef struct { uint64_t size;