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.

Index: find/defs.h
===================================================================
RCS file: /cvsroot/findutils/findutils/find/defs.h,v
retrieving revision 1.57
diff -u -r1.57 defs.h
--- find/defs.h 4 Jan 2006 19:22:38 -0000       1.57
+++ find/defs.h 30 May 2006 20:22:49 -0000
@@ -675,7 +675,6 @@
 extern char const *starting_dir;
 extern int starting_desc;
 extern char *program_name;
-extern struct predicate *last_pred;
 
 
 #endif


_______________________________________________
Bug-findutils mailing list
Bug-findutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to