summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-01-18 09:09:01 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-01-18 09:09:01 +0100
commit20e4af546967c6bc0cc55a309c9d18818a1404de (patch)
treefe4709a8393bcb7dfbb069b1b97d50d15b88a707 /include/stdlib.h
parent9617bbc95b468b019814a6e25178d53bb4bb8783 (diff)
stdlib: use shorhand wur for realloc prototype
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h2
1 files changed, 1 insertions, 1 deletions
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