From 1526296ab4088bba659787e83553a605cbda09bd Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 1 Jan 2014 20:14:42 +0000 Subject: [PATCH] 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(). --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5