aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuxy Meng <zuxy.meng@gmail.com>2008-03-23 16:38:05 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2008-03-23 16:38:05 +0000
commit1c42f5c6adb364ddb9339a05cbea12b906263852 (patch)
tree92f0d4942d0be3ddcb0ccf6f2f12099601b462d9
parent808e68bbc8deda237cfeb2264816fb0c27500fe0 (diff)
downloadgcc-1c42f5c6adb364ddb9339a05cbea12b906263852.zip
gcc-1c42f5c6adb364ddb9339a05cbea12b906263852.tar.gz
gcc-1c42f5c6adb364ddb9339a05cbea12b906263852.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/extend.texi2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 27dbcb2..a2f1b35 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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:
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index fd97c16..b28d9df 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