diff --git a/include/common/ttimezone.h b/include/common/ttimezone.h deleted file mode 100644 index cc50a29d57a2f1a308b8b236fc7bb80122adb387..0000000000000000000000000000000000000000 --- a/include/common/ttimezone.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2019 TAOS Data, Inc. - * - * This program is free software: you can use, redistribute, and/or modify - * it under the terms of the GNU Affero General Public License, version 3 - * or later ("AGPL"), as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -#ifndef _TD_COMMON_TIMEZONE_H_ -#define _TD_COMMON_TIMEZONE_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -void tsSetTimeZone(); - -#ifdef __cplusplus -} -#endif - -#endif /*_TD_COMMON_TIMEZONE_H_*/ diff --git a/source/client/src/clientEnv.c b/source/client/src/clientEnv.c index eeb9b110c514b900ecef04a8829570827f0e9a4a..f07048efbc0ed151ca63dbe782626d7078105a37 100644 --- a/source/client/src/clientEnv.c +++ b/source/client/src/clientEnv.c @@ -25,7 +25,6 @@ #include "tref.h" #include "trpc.h" #include "ttime.h" -#include "ttimezone.h" #define TSC_VAR_NOT_RELEASE 1 #define TSC_VAR_RELEASED 0 diff --git a/source/common/src/tglobal.c b/source/common/src/tglobal.c index 5946232c8557820c4c090795f015f9672fe7db29..e26dbb639a66ebc530e0a41ae9afa702fb598420 100644 --- a/source/common/src/tglobal.c +++ b/source/common/src/tglobal.c @@ -23,7 +23,6 @@ #include "tglobal.h" #include "tlocale.h" #include "tlog.h" -#include "ttimezone.h" #include "tutil.h" #include "ulog.h" diff --git a/source/dnode/mgmt/daemon/src/dmnCfg.c b/source/dnode/mgmt/daemon/src/dmnCfg.c index b09866fa7bf50cf294d3614d2e225b9d870889dd..9215fb6699433aad7888d9c72ab8fc382f21c9b3 100644 --- a/source/dnode/mgmt/daemon/src/dmnCfg.c +++ b/source/dnode/mgmt/daemon/src/dmnCfg.c @@ -16,7 +16,6 @@ #define _DEFAULT_SOURCE #include "dmnInt.h" #include "tlocale.h" -#include "ttimezone.h" static int32_t dmnAddEpCfg(SConfig *pCfg) { char defaultFqdn[TSDB_FQDN_LEN] = {0}; diff --git a/source/libs/config/src/config.c b/source/libs/config/src/config.c index 0b2680f08ece7b26800eb23eddd942ec5c40a8f4..f877b22046e4e5cf0620513e389881a217efecab 100644 --- a/source/libs/config/src/config.c +++ b/source/libs/config/src/config.c @@ -18,7 +18,6 @@ #include "tep.h" #include "tlocale.h" #include "tmsg.h" -#include "ttimezone.h" #define CFG_NAME_PRINT_LEN 22 #define CFG_SRC_PRINT_LEN 12