diff options
author | Dale Johannesen <dalej@apple.com> | 2005-01-31 23:18:49 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@gcc.gnu.org> | 2005-01-31 23:18:49 +0000 |
commit | 286972677eedc731d85a7758a86023b9ebdc2b08 (patch) | |
tree | 1f94814cfaf9c9241abd12635050cfe9f185fa2f /gcc | |
parent | 65e9fa1009c4d715363af095e40d954293644315 (diff) | |
download | gcc-286972677eedc731d85a7758a86023b9ebdc2b08.zip gcc-286972677eedc731d85a7758a86023b9ebdc2b08.tar.gz gcc-286972677eedc731d85a7758a86023b9ebdc2b08.tar.bz2 |
extend.texi (nested functions): Fix linkage description.
2005-01-31 Dale Johannesen <dalej@apple.com>
* doc/extend.texi (nested functions): Fix linkage description.
Clarify that static is not allowed.
From-SVN: r94499
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4fa04ff..e58b0ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -21,6 +21,11 @@ 2005-01-31 Dale Johannesen <dalej@apple.com> + * doc/extend.texi (nested functions): Fix linkage description. + Clarify that static is not allowed. + +2005-01-31 Dale Johannesen <dalej@apple.com> + * config/rs6000/darwin.md (movsf_low_di): Make work. (movdf_low_di): Make work. diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 8a3decd..47eb8a3 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -449,8 +449,8 @@ bar (int *array, int offset, int size) @end group @end smallexample -A nested function always has internal linkage. Declaring one with -@code{extern} is erroneous. If you need to declare the nested function +A nested function always has no linkage. Declaring one with +@code{extern} or @code{static} is erroneous. If you need to declare the nested function before its definition, use @code{auto} (which is otherwise meaningless for function declarations). |