[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
small compile nit: extern vs static
From: |
Ralf Wildenhues |
Subject: |
small compile nit: extern vs static |
Date: |
Tue, 30 May 2006 22:27:05 +0200 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- small compile nit: extern vs static,
Ralf Wildenhues <=