Move allocate_stub_method to stabsread.c
authorTom Tromey <tromey@adacore.com>
Fri, 24 Feb 2023 20:55:29 +0000 (13:55 -0700)
committerTom Tromey <tromey@adacore.com>
Fri, 10 Mar 2023 14:57:45 +0000 (07:57 -0700)
commit1cd0716eb199963ec63fcafa94699d14bbf45e01
tree13aa4dca04b2821b4788bdb10e085ee57ae79f51
parenta4d5aec71e097837ee314eca612f71a3d85b6b3f
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.c
gdb/gdbtypes.h
gdb/stabsread.c