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
This commit is contained in:
parent
65e9fa1009
commit
286972677e
|
@ -19,6 +19,11 @@
|
|||
* config/i386/openbsdelf.h: Add DBX_REGISTER_NUMBER since we no
|
||||
longer pick it up there.
|
||||
|
||||
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.
|
||||
|
|
|
@ -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).
|
||||
|
||||
|
|
Loading…
Reference in New Issue