Browse Source

stdlib: use shorhand wur for realloc prototype

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 13 years ago
parent
commit
20e4af5469
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/stdlib.h

+ 1 - 1
include/stdlib.h

@@ -503,7 +503,7 @@ __BEGIN_NAMESPACE_STD
    the same pointer that was passed to it, aliasing needs to be allowed
    the same pointer that was passed to it, aliasing needs to be allowed
    between objects pointed by the old and new pointers.  */
    between objects pointed by the old and new pointers.  */
 extern void *realloc (void *__ptr, size_t __size)
 extern void *realloc (void *__ptr, size_t __size)
-     __THROW __attribute_warn_unused_result__;
+     __THROW __wur;
 /* Free a block allocated by `malloc', `realloc' or `calloc'.  */
 /* Free a block allocated by `malloc', `realloc' or `calloc'.  */
 extern void free (void *__ptr) __THROW;
 extern void free (void *__ptr) __THROW;
 __END_NAMESPACE_STD
 __END_NAMESPACE_STD