[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: small compile nit: extern vs static
From: |
Ralf Wildenhues |
Subject: |
Re: small compile nit: extern vs static |
Date: |
Thu, 15 Jun 2006 08:33:40 +0200 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
Hello James,
* James Youngman wrote on Wed, Jun 14, 2006 at 11:44:40PM CEST:
> On 5/30/06, Ralf Wildenhues <address@hidden> wrote:
> >Recent GCC will barf over an extern variable declaration followed by a
> >static one. This patch fixes building the CVS version of findutils.
> > * find/defs.h (last_pred): Do not declare, this is static now.
>
> In 4.2.x, it's defined in find.c and referenced in util.c. In 4.3.x
> it's a static variable which only exists in tree.c. (I'm speaking
> here of the CVS sources)
Yes, I'm speaking of the CVS HEAD sources, sorry if that wasn't clear.
There is an extern declaration in find/defs.h, in the tree obtainable by
cvs -d :pserver:address@hidden:/cvsroot/findutils \
co findutils
Cheers,
Ralf