提交 a217b3e4 编写于 作者: H Haojun Liao

fix(query): fix syntax errors on centos.

上级 02e298b9
......@@ -39,7 +39,7 @@ int32_t taosMemoryDbgInitRestore();
void *taosMemoryMalloc(int64_t size);
void *taosMemoryCalloc(int64_t num, int64_t size);
void *taosMemoryRealloc(void *ptr, int64_t size);
void *taosStrdup(const char *ptr);
char *taosStrdup(const char *ptr);
void taosMemoryFree(void *ptr);
int64_t taosMemorySize(void *ptr);
void taosPrintBackTrace();
......
......@@ -312,7 +312,7 @@ void *taosMemoryRealloc(void *ptr, int64_t size) {
#endif
}
void *taosStrdup(const char *ptr) {
char *taosStrdup(const char *ptr) {
#ifdef USE_TD_MEMORY
if (ptr == NULL) return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册