Why do some people declare extern functions inside one function?
<p>I need to maintain some code written by others.And I just came across many functions declared inside one function and defined elsewhere.
For example:</p>

<pre><code>int func(){
    ...
    extern func1();
    extern func2();
    ...

}
</code></pre>

<p>Why do they declare and define functions like this?Why don't they declare the functions outside? What's the advantages?</p>