bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: update to latest gnulib and clean-up


From: Eric Blake
Subject: Re: update to latest gnulib and clean-up
Date: Thu, 28 Apr 2011 13:52:23 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9

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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]