mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
gdb: make interp_add static
Since this commit:
commit 8322445e05
Date: Tue Jun 21 01:11:45 2016 +0100
Introduce interpreter factories
Interpreters should be registered with GDB, not by calling interp_add,
but with a call to interp_factory_register. I've checked the insight
source, and it too has moved over to using interp_factory_register.
In this commit I make interp_add static within interps.c.
There should be no user visible change after this commit.
This commit is contained in:
@@ -127,7 +127,7 @@ interp_factory_register (const char *name, interp_factory_func func)
|
||||
|
||||
/* Add interpreter INTERP to the gdb interpreter list. The
|
||||
interpreter must not have previously been added. */
|
||||
void
|
||||
static void
|
||||
interp_add (struct ui *ui, struct interp *interp)
|
||||
{
|
||||
struct ui_interp_info *ui_interp = get_interp_info (ui);
|
||||
|
||||
Reference in New Issue
Block a user