]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: grammar fix for -Wduplicate-decl-specifier
authorSam James <sam@gentoo.org>
Thu, 9 Oct 2025 03:27:02 +0000 (04:27 +0100)
committerSam James <sam@gentoo.org>
Wed, 22 Apr 2026 16:57:22 +0000 (17:57 +0100)
gcc/ChangeLog:

* doc/invoke.texi (-Wduplicate-decl-specifier): Say 'a duplicate'.

gcc/doc/invoke.texi

index 19ee836b090a5cfb7816acf56d9b81975c5b92e6..6751ff53381c5eb76bfa905b1bb74cacee9ea6bb 100644 (file)
@@ -7191,7 +7191,7 @@ because the floating-point literal is a @code{double}.
 @opindex Wduplicate-decl-specifier
 @opindex Wno-duplicate-decl-specifier
 @item -Wduplicate-decl-specifier @r{(C and Objective-C only)}
-Warn if a declaration has duplicate @code{const}, @code{volatile},
+Warn if a declaration has duplicate @code{const}, @code{volatile},
 @code{restrict} or @code{_Atomic} specifier.  This warning is enabled by
 @option{-Wall}.