aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2005-05-10 01:19:28 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2005-05-10 01:19:28 +0100
commit75b66a16fd2e317ccce9454a0fdf34e657e0abc0 (patch)
tree0f07d3f905b3adaf1462123c841aad732c718f53
parentf11b939c6554aebe9196ebdabf1f0bc9b089fb97 (diff)
downloadgcc-75b66a16fd2e317ccce9454a0fdf34e657e0abc0.zip
gcc-75b66a16fd2e317ccce9454a0fdf34e657e0abc0.tar.gz
gcc-75b66a16fd2e317ccce9454a0fdf34e657e0abc0.tar.bz2
re PR other/21052 (Example does not compile in user docs, type attributes, packed)
PR other/21052 * doc/extend.texi (Type Attributes): Correct example syntax. From-SVN: r99485
-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 44126a2..b899785 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
+
+ PR other/21052
+ * doc/extend.texi (Type Attributes): Correct example syntax.
+
2005-05-09 Joseph S. Myers <joseph@codesourcery.com>
PR c/21160
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index acd75e4..c714c54 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -3253,7 +3253,7 @@ struct my_unpacked_struct
int i;
@};
-struct my_packed_struct __attribute__ ((__packed__))
+struct __attribute__ ((__packed__)) my_packed_struct
@{
char c;
int i;