[committed] fix typo in pure attribute documentation
diff mbox

Message ID 56F4B7EE.3020002@redhat.com
State New
Headers show

Commit Message

Aldy Hernandez March 25, 2016, 4 a.m. UTC
Committed as obvious.
commit cdc4f177c26c1949be630634a72a6622250624a8
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Thu Mar 24 22:55:07 2016 -0500

    	* doc/extend.texi: Fix typo in documentation to pure attribute.

diff mbox

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 623a5d0..6e27029 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -3045,7 +3045,7 @@  int square (int) __attribute__ ((pure));
 says that the hypothetical function @code{square} is safe to call
 fewer times than the program says.
-Some of common examples of pure functions are @code{strlen} or @code{memcmp}.
+Some common examples of pure functions are @code{strlen} or @code{memcmp}.
 Interesting non-pure functions are functions with infinite loops or those
 depending on volatile memory or other system resource, that may change between
 two consecutive calls (such as @code{feof} in a multithreading environment).