aboutsummaryrefslogtreecommitdiff
path: root/gdb/interps.h
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2021-11-24 17:18:34 +0000
committerAndrew Burgess <aburgess@redhat.com>2022-04-06 15:29:21 +0100
commit9716aa0a271cf59fb40194440ea6e2a0cf8ab192 (patch)
tree6de85972e484ba855731528ff451a1b7f7be5d5e /gdb/interps.h
parent19c26da69d68d5d863f37c06ad73ab6292d02ffa (diff)
downloadgdb-9716aa0a271cf59fb40194440ea6e2a0cf8ab192.zip
gdb-9716aa0a271cf59fb40194440ea6e2a0cf8ab192.tar.gz
gdb-9716aa0a271cf59fb40194440ea6e2a0cf8ab192.tar.bz2
gdb: make interp_add static
Since this commit: commit 8322445e0584be846f5873b9aab257dc9fbda05d 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.
Diffstat (limited to 'gdb/interps.h')
-rw-r--r--gdb/interps.h2
1 files changed, 0 insertions, 2 deletions
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