frcode: avoid link failure due to multiple program_name definitions

* locate/frcode.c: Include "progname.h".
(program_name): Remove two declarations.
Now the definition comes from gnulib.
This commit is contained in:
Jim Meyering
2010-04-05 14:10:26 +02:00
committed by James Youngman
parent a44cece85b
commit f049c775a7
2 changed files with 8 additions and 7 deletions

View File

@@ -1,3 +1,10 @@
2010-04-05 Jim Meyering <meyering@redhat.com>
frcode: avoid link failure due to multiple program_name definition
* locate/frcode.c: Include "progname.h".
(program_name): Remove two declarations.
Now the definition comes from gnulib.
2010-04-04 James Youngman <jay@gnu.org>
Fix Savannah bug #29435: fd_is_cloexec does not work on Fedora

View File

@@ -102,12 +102,10 @@
#include "error.h"
#include "closeout.h"
#include "findutils-version.h"
#include "progname.h"
char *xmalloc PARAMS((size_t));
/* The name this program was run with. */
char *program_name;
/* Write out a 16-bit int, high byte first (network byte order).
* Return true iff all went well.
*/
@@ -151,10 +149,6 @@ static struct option const longopts[] =
extern char *version_string;
/* The name this program was run with. */
char *program_name;
static void
usage (FILE *stream)
{