mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 17:01:06 +08:00
doc: Fix a typo in the documentation of the copy attribute
2020-04-01 Zackery Spytz <zspytz@gmail.com> gcc/ * doc/extend.texi: Fix a typo in the documentation of the copy function attribute.
This commit is contained in:
parent
032f2366a4
commit
dd5da57173
gcc
@ -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 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/94423
|
||||
|
@ -2817,7 +2817,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)));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user