From f0b75b96cec106c03ba707032e088de20bee351f Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Thu, 24 Feb 2022 12:20:48 +0800 Subject: [PATCH] timezone --- include/common/ttimezone.h | 29 --------------------------- source/client/src/clientEnv.c | 1 - source/common/src/tglobal.c | 1 - source/dnode/mgmt/daemon/src/dmnCfg.c | 1 - source/libs/config/src/config.c | 1 - 5 files changed, 33 deletions(-) delete mode 100644 include/common/ttimezone.h diff --git a/include/common/ttimezone.h b/include/common/ttimezone.h deleted file mode 100644 index cc50a29d57..0000000000 --- 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 eeb9b110c5..f07048efbc 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 5946232c85..e26dbb639a 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 b09866fa7b..9215fb6699 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 0b2680f08e..f877b22046 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