diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-20 07:16:34 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-19 12:51:06 -0700 |
commit | 522553837be31e09d182a8974429650f68c108f3 (patch) | |
tree | 371897aff2fe715e03f4422227669bebf2d47481 /gdb/block.h | |
parent | 56c0cd6158851c2f870374a9c2114810dabac70b (diff) | |
download | gdb-522553837be31e09d182a8974429650f68c108f3.zip gdb-522553837be31e09d182a8974429650f68c108f3.tar.gz gdb-522553837be31e09d182a8974429650f68c108f3.tar.bz2 |
Remove allocate_block and allocate_global_block
This removes allocate_block and allocate_global_block in favor of
simply calling 'new'.
Diffstat (limited to 'gdb/block.h')
-rw-r--r-- | gdb/block.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/block.h b/gdb/block.h index 3d71e7d..7c40bae 100644 --- a/gdb/block.h +++ b/gdb/block.h @@ -426,10 +426,6 @@ extern const struct block *block_for_pc (CORE_ADDR); extern const struct block *block_for_pc_sect (CORE_ADDR, struct obj_section *); -extern struct block *allocate_block (struct obstack *obstack); - -extern struct block *allocate_global_block (struct obstack *obstack); - /* A block iterator. This structure should be treated as though it were opaque; it is only defined here because we want to support stack allocation of iterators. */ |