]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Docs: correct typo in nonnull function attribute description.
authorJonny Grant <jg@jguk.org>
Sun, 19 Mar 2023 01:21:33 +0000 (01:21 +0000)
committerSandra Loosemore <sandra@codesourcery.com>
Sun, 19 Mar 2023 01:28:56 +0000 (01:28 +0000)
gcc/ChangeLog:
* doc/extend.texi (Common Function Attributes) <nonnull>:
Correct typo.

gcc/doc/extend.texi

index 8ecd9611201a2f1c1de3ad04acc3f9c9f323282b..dfe54a6ddf3f64a8eea99835db1c41f0635d33d1 100644 (file)
@@ -3665,7 +3665,7 @@ marked with nonnull is compared with null, and
 @option{-Wnonnull-compare} option is enabled, a warning is issued.
 @xref{Warning Options}.
 @item The compiler may also perform optimizations based on the
-knowledge that @code{nonnul} parameters cannot be null.  This can
+knowledge that @code{nonnull} parameters cannot be null.  This can
 currently not be disabled other than by removing the nonnull
 attribute.
 @end itemize