]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: Fix a typo in the documentation of the copy attribute
authorZackery Spytz <zspytz@gmail.com>
Wed, 1 Apr 2020 17:06:16 +0000 (18:06 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Wed, 1 Apr 2020 17:10:07 +0000 (18:10 +0100)
2020-04-01  Zackery Spytz  <zspytz@gmail.com>

gcc/
* doc/extend.texi: Fix a typo in the documentation of the
copy function attribute.

gcc/ChangeLog
gcc/doc/extend.texi

index 25138099ca172180b971075edd21b6a62de6c517..9ded73c7f5c1f7297914e40e83f9fa636461798d 100644 (file)
@@ -1,3 +1,8 @@
+2020-04-01  Zackery Spytz  <zspytz@gmail.com>
+
+       * doc/extend.texi: Fix a typo in the documentation of the
+       copy function attribute.
+
 2020-04-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        Backport from mainline
index f5becf988d2ef9c82ab0dff0d468d2456c3466c0..51ebb90e32d7eb2e98dafd9f995e8120dd9c1579 100644 (file)
@@ -2760,7 +2760,7 @@ the same type as the target function.  As a result of the @code{copy}
 attribute the alias also shares the same attributes as the target.
 
 @smallexample
-#define StrongAlias(TagetFunc, AliasDecl)   \
+#define StrongAlias(TargetFunc, AliasDecl)  \
   extern __typeof__ (TargetFunc) AliasDecl  \
     __attribute__ ((alias (#TargetFunc), copy (TargetFunc)));