diff options
author | Tom Tromey <tromey@adacore.com> | 2023-02-24 13:55:29 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-03-10 07:57:45 -0700 |
commit | 1cd0716eb199963ec63fcafa94699d14bbf45e01 (patch) | |
tree | 13aa4dca04b2821b4788bdb10e085ee57ae79f51 /gdb/gdbtypes.h | |
parent | a4d5aec71e097837ee314eca612f71a3d85b6b3f (diff) | |
download | gdb-1cd0716eb199963ec63fcafa94699d14bbf45e01.zip gdb-1cd0716eb199963ec63fcafa94699d14bbf45e01.tar.gz gdb-1cd0716eb199963ec63fcafa94699d14bbf45e01.tar.bz2 |
Move allocate_stub_method to stabsread.c
allocate_stub_method is only called from stabsread.c, and I don't
think it will be needed anywhere else. So, move it and make it
static. Tested by rebuilding.
Diffstat (limited to 'gdb/gdbtypes.h')
-rw-r--r-- | gdb/gdbtypes.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index c4889a4..52475d5 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -2312,8 +2312,6 @@ extern void smash_to_memberptr_type (struct type *, struct type *, extern void smash_to_methodptr_type (struct type *, struct type *); -extern struct type *allocate_stub_method (struct type *); - extern const char *type_name_or_error (struct type *type); struct struct_elt |