diff options
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index d8fe88b..edde399 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -729,18 +729,6 @@ objfile::~objfile () htab_delete (static_links); } -static void -do_free_objfile_cleanup (void *obj) -{ - delete (struct objfile *) obj; -} - -struct cleanup * -make_cleanup_free_objfile (struct objfile *obj) -{ - return make_cleanup (do_free_objfile_cleanup, obj); -} - /* Free all the object files at once and clean up their users. */ void |