summaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-05-22 09:02:23 +0000
committerAndrew Cagney <cagney@redhat.com>2000-05-22 09:02:23 +0000
commit8bc03e33b431d1eb24d0bf62bd6de8541cc8a587 (patch)
tree9b21100bd147ba7660ed8beef02555b41563366a /gdb/solib.c
parentd9d44fe4c56f9fbb4e2db06384fc6ec08aa4bfd9 (diff)
downloadgdb-8bc03e33b431d1eb24d0bf62bd6de8541cc8a587.tar.gz
Purge (almost) make_cleanup_func.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 0000444f3d0..a0af4b615a3 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -984,7 +984,7 @@ open_symbol_file_object (from_ttyp)
return 0;
}
- make_cleanup ((make_cleanup_func) free, (void *) filename);
+ make_cleanup (free, filename);
/* Have a pathname: read the symbol file. */
symbol_file_command (filename, *from_ttyp);