diff --git a/source/libs/scalar/inc/sclfunc.h b/source/libs/scalar/inc/sclfunc.h deleted file mode 100644 index 679411e0040dc0e581c1dfcbf8882098d2695c66..0000000000000000000000000000000000000000 --- a/source/libs/scalar/inc/sclfunc.h +++ /dev/null @@ -1,32 +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 TDENGINE_TSCALARFUNCTION_H -#define TDENGINE_TSCALARFUNCTION_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include "function.h" -#include "scalar.h" - - - - -#ifdef __cplusplus -} -#endif - -#endif // TDENGINE_TSCALARFUNCTION_H diff --git a/source/libs/scalar/src/sclfunc.c b/source/libs/scalar/src/sclfunc.c index af5f07751b3af7f4ad2fba42584cc78c6872c7eb..db0aa21f423083c793c77111c85bc64c4fd0c066 100644 --- a/source/libs/scalar/src/sclfunc.c +++ b/source/libs/scalar/src/sclfunc.c @@ -1,14 +1,9 @@ -#include "sclfunc.h" -#include +#include "function.h" +#include "scalar.h" +#include "tdatablock.h" #include "sclInt.h" #include "sclvector.h" -static void assignBasicParaInfo(struct SScalarParam* dst, const struct SScalarParam* src) { -// dst->type = src->type; -// dst->bytes = src->bytes; -// dst->num = src->num; -} - /** Math functions **/ int32_t absFunction(SScalarParam *pInput, int32_t inputNum, SScalarParam *pOutput) { SColumnInfoData *pInputData = pInput->columnData;