summaryrefslogtreecommitdiff
path: root/src/addr2line.c
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2016-12-24 22:31:41 +0100
committerMark Wielaard <mark@klomp.org>2016-12-24 22:51:32 +0100
commit1700fd25e6caf26663af2bd994d1d99fab9df59f (patch)
tree9a0bb382900e622e39e876b85c07e485d2b5c86b /src/addr2line.c
parent0d0f8450ffc6135c0938308254f378ac79612e75 (diff)
downloadelfutils-1700fd25e6caf26663af2bd994d1d99fab9df59f.tar.gz
http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/
fedorahosted used to be our home, but we are now hosted at sourceware. Change the elfutils project home to http://elfutils.org/ Point hosted services (email, release, git, bug tracker and web pages) to https://sourceware.org/elfutils/ Move design notes from README to NOTES. Add URLs for home, releases, bugs, git and mailinglist to README. Make the --version output of all tools the same by using a common print_version function and update the publicly shown copyright holder to the elfutils developers. Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'src/addr2line.c')
-rw-r--r--src/addr2line.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/addr2line.c b/src/addr2line.c
index bea24aea..02220885 100644
--- a/src/addr2line.c
+++ b/src/addr2line.c
@@ -41,7 +41,6 @@
/* Name and version of program. */
-static void print_version (FILE *stream, struct argp_state *state);
ARGP_PROGRAM_VERSION_HOOK_DEF = print_version;
/* Bug report address. */
@@ -208,20 +207,6 @@ main (int argc, char *argv[])
}
-/* Print the version information. */
-static void
-print_version (FILE *stream, struct argp_state *state __attribute__ ((unused)))
-{
- fprintf (stream, "addr2line (%s) %s\n", PACKAGE_NAME, PACKAGE_VERSION);
- fprintf (stream, gettext ("\
-Copyright (C) %s Red Hat, Inc.\n\
-This is free software; see the source for copying conditions. There is NO\n\
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
-"), "2012");
- fprintf (stream, gettext ("Written by %s.\n"), "Ulrich Drepper");
-}
-
-
/* Handle program arguments. */
static error_t
parse_opt (int key, char *arg, struct argp_state *state)