aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;