From f99e660b44281cd6bd6c24c60f1ebfb5e0e994e1 Mon Sep 17 00:00:00 2001
From: antirez <antirez@gmail.com>
Date: Tue, 27 Jul 2010 14:30:02 +0200
Subject: [PATCH] malloc definition with deprecated attribute was duplicated,
 one removed

---
 src/redis.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/redis.h b/src/redis.h
index 630418609..fb051f8eb 100644
--- a/src/redis.h
+++ b/src/redis.h
@@ -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));