From: Jakub Jelinek Date: Thu, 1 Apr 2021 09:04:12 +0000 (+0200) Subject: doc: Fix up symver attribute documentation X-Git-Tag: upstream/12.2.0~9007 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b478ede2a37b1586846abd355bd902ea4cae117;p=platform%2Fupstream%2Fgcc.git doc: Fix up symver attribute documentation When looking at the symver documentation, I've noticed a couple of syntax errors in it. 2021-04-01 Jakub Jelinek * doc/extend.texi (symver attribute): Fix up syntax errors in the examples. --- diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 0debf84..29ef0d6 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -3851,13 +3851,13 @@ output. One can also define multiple version for a given symbol. @smallexample -__attribute__ ((__symver__ ("foo@@VERS_2"), ("foo@@VERS_3"))) +__attribute__ ((__symver__ ("foo@@VERS_2"), __symver__ ("foo@@VERS_3"))) int symver_foo_v1 (void) @{ @} -__attribute__ ((__symver__ ("bar@@VERS_2")))) -__attribute__ ((__symver__ ("bar@@VERS_3")))) +__attribute__ ((__symver__ ("bar@@VERS_2"))) +__attribute__ ((__symver__ ("bar@@VERS_3"))) int symver_bar_v1 (void) @{ @}