malloc definition with deprecated attribute was duplicated, one removed

This commit is contained in:
antirez 2010-07-27 14:30:02 +02:00
parent 80091bbaac
commit f99e660b44

View File

@ -887,7 +887,6 @@ void watchCommand(redisClient *c);
void unwatchCommand(redisClient *c);
#if defined(__GNUC__)
void *malloc(size_t size) __attribute__ ((deprecated));
void *calloc(size_t count, size_t size) __attribute__ ((deprecated));
void free(void *ptr) __attribute__ ((deprecated));
void *malloc(size_t size) __attribute__ ((deprecated));