From 20e4af546967c6bc0cc55a309c9d18818a1404de Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 18 Jan 2012 09:09:01 +0100 Subject: stdlib: use shorhand wur for realloc prototype Signed-off-by: Bernhard Reutner-Fischer --- include/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/stdlib.h') diff --git a/include/stdlib.h b/include/stdlib.h index 1f15531e4..352e58ab3 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -503,7 +503,7 @@ __BEGIN_NAMESPACE_STD the same pointer that was passed to it, aliasing needs to be allowed between objects pointed by the old and new pointers. */ extern void *realloc (void *__ptr, size_t __size) - __THROW __attribute_warn_unused_result__; + __THROW __wur; /* Free a block allocated by `malloc', `realloc' or `calloc'. */ extern void free (void *__ptr) __THROW; __END_NAMESPACE_STD -- cgit v1.2.3