re PR other/21052 (Example does not compile in user docs, type attributes, packed)
authorJoseph Myers <joseph@codesourcery.com>
Tue, 10 May 2005 00:19:28 +0000 (01:19 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 10 May 2005 00:19:28 +0000 (01:19 +0100)
PR other/21052
* doc/extend.texi (Type Attributes): Correct example syntax.

From-SVN: r99485

gcc/ChangeLog
gcc/doc/extend.texi

index 44126a221f8015fe57550443afc109dc0faace9c..b8997851c766f1c8611b5e7c4711c5ea8f49deff 100644 (file)
@@ -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
index acd75e4f71b44da85316bf7edb46548110398bea..c714c54b4951d2be6e8aea300a7731b10859d7ab 100644 (file)
@@ -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;