OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9617bbc
)
stdlib: use shorhand wur for realloc prototype
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Wed, 18 Jan 2012 08:09:01 +0000
(09:09 +0100)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Wed, 18 Jan 2012 08:09:01 +0000
(09:09 +0100)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
include/stdlib.h
patch
|
blob
|
history
diff --git
a/include/stdlib.h
b/include/stdlib.h
index
1f15531
..
352e58a
100644
(file)
--- 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