From 74b7792f0fcae41f7c7da524527b7261a3fd68c4 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 22 May 2000 09:02:23 +0000 Subject: Purge (almost) make_cleanup_func. --- gdb/solib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/solib.c') diff --git a/gdb/solib.c b/gdb/solib.c index 0000444f3d..a0af4b615a 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); -- cgit v1.2.1