summaryrefslogtreecommitdiffstats
path: root/libdwfl/argp-std.c
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2010-03-10 23:49:13 -0800
committerRoland McGrath <[email protected]>2010-03-11 00:00:20 -0800
commit8068e06dd70d08789fafd8d6d22bbb42adbd2e7d (patch)
treec198133b372ad6c45b26301d7a1197d4d5a70377 /libdwfl/argp-std.c
parentdd7a9d79b88cf55d0b2c0e57e5f46373308e0cac (diff)
Export dwfl_core_file_report.
Diffstat (limited to 'libdwfl/argp-std.c')
-rw-r--r--libdwfl/argp-std.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libdwfl/argp-std.c b/libdwfl/argp-std.c
index ce2e20a4..e598c6ef 100644
--- a/libdwfl/argp-std.c
+++ b/libdwfl/argp-std.c
@@ -1,5 +1,5 @@
/* Standard argp argument parsers for tools using libdwfl.
- Copyright (C) 2005, 2007, 2008, 2009 Red Hat, Inc.
+ Copyright (C) 2005-2010 Red Hat, Inc.
This file is part of Red Hat elfutils.
Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -225,9 +225,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
return error == DWFL_E_ERRNO ? errno : EIO;
}
- GElf_Ehdr ehdr;
- int result = INTUSE(dwfl_core_file_report) (dwfl, core,
- gelf_getehdr (core, &ehdr));
+ int result = INTUSE(dwfl_core_file_report) (dwfl, core);
if (result < 0)
{
elf_end (core);