3.4.3. Block scope function declarations

Two extensions to block scope function declarations are supported:

Example

void f1(void)
{
    static void g(void); /* static function declared in local scope */
                         /* use of static keyword is illegal in strict ISO C */
}
void f2(void)
{
    g();                 /* uses previous local declaration */
}
static void g(int i)
{ } /* error - conflicts with previous declaration of g */
Copyright © 2007-2010 ARM. All rights reserved.ARM DUI 0348C
Non-ConfidentialID101213