diff --git a/include/common/tgrant.h b/include/common/tgrant.h index 8ff844abe1..edbc74bf18 100644 --- a/include/common/tgrant.h +++ b/include/common/tgrant.h @@ -51,13 +51,11 @@ typedef enum { } EGrantType; int32_t grantCheck(EGrantType grant); -#ifdef TD_ENTERPRISE #ifndef TD_GRANT_OPTIMIZE int32_t grantAlterActiveCode(const char* old, const char* new, char* out, int8_t type); #else int32_t grantAlterActiveCode(int32_t did, const char* old, const char* new, char* out, int8_t type); #endif -#endif #ifndef GRANTS_CFG #ifdef TD_ENTERPRISE