On 04/28/2011 11:12 AM, Paul Eggert wrote:
> On 04/28/11 01:52, Jim Meyering wrote:
>> These changes fix typos, add explicit "extern" keywords
>> (preparing for...)
> 
> What does that "..." stand for?  (Sorry, I don't
> remember the justification for explicit "extern".)

>> add explicit "extern" keywords
>> (preparing for...), add a syntax check to enforce scoping policy

That is, one commit added extern keywords, so that the next commit could
use the presence of extern keywords to check whether scoping policy is
being properly followed.

It doesn't help or hurt C to have the explicit extern, other than having
the explicit extern makes source code easier to pass through perl to
validate whether non-static declarations were intentionally meant to be
externally visible, rather than accidentally missing 'static'.

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to