From: Andre Noll Date: Wed, 1 Jan 2014 20:14:42 +0000 (+0000) Subject: Remove __malloc attribute from para_realloc(). X-Git-Tag: v0.5.2~6^2~24 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=1526296ab4088bba659787e83553a605cbda09bd Remove __malloc attribute from para_realloc(). This attribute tells the compiler that the returned pointer cannot alias any other pointer. This is not the case for para_realloc(). --- diff --git a/string.c b/string.c index 38e25b09..d22c4e64 100644 --- a/string.c +++ b/string.c @@ -36,7 +36,7 @@ * * \sa realloc(3). */ -__must_check __malloc void *para_realloc(void *p, size_t size) +__must_check void *para_realloc(void *p, size_t size) { /* * No need to check for NULL pointers: If p is NULL, the call