[git commit] stdlib: use shorhand wur for realloc prototype
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed Jan 18 08:09:01 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=20e4af546967c6bc0cc55a309c9d18818a1404de
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
include/stdlib.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/stdlib.h b/include/stdlib.h
index 1f15531..352e58a 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
More information about the uClibc-cvs
mailing list