bug-findutils
[Top][All Lists]
Advanced

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

Re: small compile nit: extern vs static


From: James Youngman
Subject: Re: small compile nit: extern vs static
Date: Wed, 14 Jun 2006 22:44:40 +0100

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.

Cheers,
Ralf

        * 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)

James.




reply via email to

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