summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-08-11 04:41:58 +0000
committerUlrich Drepper <drepper@redhat.com>2005-08-11 04:41:58 +0000
commit8f32539b84d1d9849cdc03645a444c48719fd91f (patch)
treec363f2210c39acd238c54befe3a506347acb9ed9 /src
parent6d5c3bdf1b37ddb328604d0d5894d7aa70402366 (diff)
downloadelfutils-8f32539b84d1d9849cdc03645a444c48719fd91f.tar.gz
Minimal cleanup in strip.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/strip.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7552f777..6c7040de 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
2005-08-10 Ulrich Drepper <drepper@redhat.com>
+ * strip.c (parse_opt): STATE parameter is now used.
+
* readelf.c (print_debug_line_section): Correct fallout of renaming
of DW_LNS_set_epilog_begin.
diff --git a/src/strip.c b/src/strip.c
index 37f9eb0e..aefea938 100644
--- a/src/strip.c
+++ b/src/strip.c
@@ -199,8 +199,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
/* Handle program arguments. */
static error_t
-parse_opt (int key, char *arg,
- struct argp_state *state __attribute__ ((unused)))
+parse_opt (int key, char *arg, struct argp_state *state)
{
switch (key)
{