mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-26 17:00:58 +08:00
extend.texi (Function Attributes): Add missing comma in the example of the "alloc_size" attribute.
* doc/extend.texi (Function Attributes): Add missing comma in the example of the "alloc_size" attribute. From-SVN: r133462
This commit is contained in:
parent
808e68bbc8
commit
1c42f5c6ad
@ -1,3 +1,8 @@
|
||||
2008-03-23 Zuxy Meng <zuxy.meng@gmail.com>
|
||||
|
||||
* doc/extend.texi (Function Attributes): Add missing comma in the
|
||||
example of the "alloc_size" attribute.
|
||||
|
||||
2008-03-23 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
Revert:
|
||||
|
@ -1881,7 +1881,7 @@ For instance,
|
||||
|
||||
@smallexample
|
||||
void* my_calloc(size_t, size_t) __attribute__((alloc_size(1,2)))
|
||||
void my_realloc(void* size_t) __attribute__((alloc_size(2)))
|
||||
void my_realloc(void*, size_t) __attribute__((alloc_size(2)))
|
||||
@end smallexample
|
||||
|
||||
declares that my_calloc will return memory of the size given by
|
||||
|
Loading…
x
Reference in New Issue
Block a user