提交 f99e660b 编写于 作者: A antirez

malloc definition with deprecated attribute was duplicated, one removed

上级 80091bba
...@@ -887,7 +887,6 @@ void watchCommand(redisClient *c); ...@@ -887,7 +887,6 @@ void watchCommand(redisClient *c);
void unwatchCommand(redisClient *c); void unwatchCommand(redisClient *c);
#if defined(__GNUC__) #if defined(__GNUC__)
void *malloc(size_t size) __attribute__ ((deprecated));
void *calloc(size_t count, size_t size) __attribute__ ((deprecated)); void *calloc(size_t count, size_t size) __attribute__ ((deprecated));
void free(void *ptr) __attribute__ ((deprecated)); void free(void *ptr) __attribute__ ((deprecated));
void *malloc(size_t size) __attribute__ ((deprecated)); void *malloc(size_t size) __attribute__ ((deprecated));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册