From 1c42f5c6adb364ddb9339a05cbea12b906263852 Mon Sep 17 00:00:00 2001 From: Zuxy Meng Date: Sun, 23 Mar 2008 16:38:05 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/doc/extend.texi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 27dbcb230c1..a2f1b3515a7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-03-23 Zuxy Meng + + * doc/extend.texi (Function Attributes): Add missing comma in the + example of the "alloc_size" attribute. + 2008-03-23 Uros Bizjak Revert: diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index fd97c16d96f..b28d9dfd35d 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -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 -- 2.30.2