summaryrefslogtreecommitdiff
path: root/src/ranlib.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/ranlib.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/ranlib.c')
-rw-r--r--src/ranlib.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/ranlib.c b/src/ranlib.c
index 455de0d6..41a3bcf2 100644
--- a/src/ranlib.c
+++ b/src/ranlib.c
@@ -47,7 +47,6 @@ static int handle_file (const char *fname);
/* 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. */
@@ -115,20 +114,6 @@ main (int argc, char *argv[])
}
-/* Print the version information. */
-static void
-print_version (FILE *stream, struct argp_state *state __attribute__ ((unused)))
-{
- fprintf (stream, "ranlib (%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");
-}
-
-
static int
copy_content (Elf *elf, int newfd, off_t off, size_t n)
{