diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2020-04-01 17:03:24 +0000 |
---|---|---|
committer | Segher Boessenkool <segher@kernel.crashing.org> | 2020-04-01 17:14:51 +0000 |
commit | b60bd122dc753a8407760f4a69bdc7f9126734f2 (patch) | |
tree | 94afc205607698894fa7190d81c636d10eb34d06 | |
parent | 43d011eb0541c14e3895a2bada71d9dfcae63c35 (diff) | |
download | gcc-b60bd122dc753a8407760f4a69bdc7f9126734f2.zip gcc-b60bd122dc753a8407760f4a69bdc7f9126734f2.tar.gz gcc-b60bd122dc753a8407760f4a69bdc7f9126734f2.tar.bz2 |
doc: Fix typo
2020-04-01 Joerg Sonnenberger <joerg@bec.de>
* doc/extend.texi (Common Function Attributes): Fix typo.
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 281401f..ba92946 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2020-04-01 Joerg Sonnenberger <joerg@bec.de> + + * doc/extend.texi (Common Function Attributes): Fix typo. + 2020-04-01 Segher Boessenkool <segher@kernel.crashing.org> PR target/94420 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index f1f2064..bde3748 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -2545,7 +2545,7 @@ __attribute__ ((access (read_write, 1), access (read_only, 2))) char* strcat (ch The @code{write_only} access mode applies to arguments of pointer types without the @code{const} qualifier. It specifies that the pointer to which it applies is used to write to the referenced object but not read from it. -The object refrenced by the pointer need not be initialized. An example +The object referenced by the pointer need not be initialized. An example of the use of the @code{write_only} access mode is the first argument to the @code{strcpy} function, or the first two arguments to the @code{fgets} function. |