summaryrefslogtreecommitdiffstats
path: root/src/findtextrel.c
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2009-01-21 19:35:30 -0800
committerRoland McGrath <[email protected]>2009-01-21 19:35:30 -0800
commite3181ccc427fd4b95de0c564d279950f6f540da2 (patch)
treeaef15f5b30580fb8d556cd50c8611e567f1c0cf4 /src/findtextrel.c
parentb8bde702c55d2e1da38b650cdb1fcb5cafeca75d (diff)
parent1ea4fdca6f9b2be5a6ad02c18493145d2b669455 (diff)
Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils into portable
Conflicts: configure.ac
Diffstat (limited to 'src/findtextrel.c')
-rw-r--r--src/findtextrel.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/findtextrel.c b/src/findtextrel.c
index 459b49b0..35ab3c4b 100644
--- a/src/findtextrel.c
+++ b/src/findtextrel.c
@@ -44,6 +44,8 @@
#include <string.h>
#include <unistd.h>
+#include <system.h>
+
struct segments
{
@@ -54,10 +56,10 @@ struct segments
/* Name and version of program. */
static void print_version (FILE *stream, struct argp_state *state);
-void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
+ARGP_PROGRAM_VERSION_HOOK_DEF = print_version;
/* Bug report address. */
-const char *argp_program_bug_address = PACKAGE_BUGREPORT;
+ARGP_PROGRAM_BUG_ADDRESS_DEF = PACKAGE_BUGREPORT;
/* Values for the parameters which have no short form. */
#define OPT_DEBUGINFO 0x100