3.4.7. External entities

External entities declared in other scopes are visible.

Errors

The compiler generates a warning if an external entity declared in another scope is visible.

Example

void f1(void)
{
    extern void f();
}

void f2(void)
{
    f(); /* Out of scope declaration */
}
Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A
Non-Confidential