aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/interps.c2
-rw-r--r--gdb/interps.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/gdb/interps.c b/gdb/interps.c
index b8df3d7..44002ff 100644
--- a/gdb/interps.c
+++ b/gdb/interps.c
@@ -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);
diff --git a/gdb/interps.h b/gdb/interps.h
index 40f6d3b..330c1ba 100644
--- a/gdb/interps.h
+++ b/gdb/interps.h
@@ -94,8 +94,6 @@ public:
bool inited;
};
-extern void interp_add (struct ui *ui, struct interp *interp);
-
/* Look up the interpreter for NAME, creating one if none exists yet.
If NAME is not a interpreter type previously registered with
interp_factory_register, return NULL; otherwise return a pointer to