summaryrefslogtreecommitdiff
path: root/src/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stack.c')
-rw-r--r--src/stack.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/stack.c b/src/stack.c
index c277dfd0..a5a7bebc 100644
--- a/src/stack.c
+++ b/src/stack.c
@@ -32,7 +32,6 @@
#include <system.h>
/* 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. */
@@ -470,12 +469,6 @@ thread_callback (Dwfl_Thread *thread, void *thread_arg)
return DWARF_CB_OK;
}
-static void
-print_version (FILE *stream, struct argp_state *state __attribute__ ((unused)))
-{
- fprintf (stream, "stack (%s) %s\n", PACKAGE_NAME, PACKAGE_VERSION);
-}
-
static error_t
parse_opt (int key, char *arg __attribute__ ((unused)),
struct argp_state *state)