mirror of
git://git.sv.gnu.org/findutils.git
synced 2026-01-29 20:58:59 +01:00
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:
committed by
James Youngman
parent
a44cece85b
commit
f049c775a7
@@ -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
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user