From 1cd0716eb199963ec63fcafa94699d14bbf45e01 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 24 Feb 2023 13:55:29 -0700 Subject: 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. --- gdb/gdbtypes.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/gdbtypes.h') diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index c4889a4a05b..52475d5afb4 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 -- cgit v1.2.1