diff options
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index a6d2033727e..47161e22b6d 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -298,24 +298,6 @@ make_cleanup_unpush_target (struct target_ops *ops) return make_cleanup (do_unpush_target, ops); } -/* Helper for make_cleanup_htab_delete compile time checking the types. */ - -static void -do_htab_delete_cleanup (void *htab_voidp) -{ - htab_t htab = (htab_t) htab_voidp; - - htab_delete (htab); -} - -/* Return a new cleanup that deletes HTAB. */ - -struct cleanup * -make_cleanup_htab_delete (htab_t htab) -{ - return make_cleanup (do_htab_delete_cleanup, htab); -} - /* Helper for make_cleanup_value_free_to_mark. */ static void |