From: Zackery Spytz Date: Wed, 1 Apr 2020 17:06:16 +0000 (+0100) Subject: doc: Fix a typo in the documentation of the copy attribute X-Git-Tag: embedded-9-2020q2~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0897a45216d8965e35e5c5538c0edb77cec016e;p=thirdparty%2Fgcc.git doc: Fix a typo in the documentation of the copy attribute 2020-04-01 Zackery Spytz gcc/ * doc/extend.texi: Fix a typo in the documentation of the copy function attribute. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 25138099ca17..9ded73c7f5c1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-04-01 Zackery Spytz + + * doc/extend.texi: Fix a typo in the documentation of the + copy function attribute. + 2020-04-01 Kyrylo Tkachov Backport from mainline diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index f5becf988d2e..51ebb90e32d7 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -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)));