aboutsummaryrefslogtreecommitdiff
path: root/gdb/agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/agent.c')
-rw-r--r--gdb/agent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/agent.c b/gdb/agent.c
index ccf8c44..77ece23 100644
--- a/gdb/agent.c
+++ b/gdb/agent.c
@@ -74,8 +74,9 @@ agent_new_objfile (struct objfile *objfile)
agent_look_up_symbols (objfile);
}
+void _initialize_agent ();
void
-_initialize_agent (void)
+_initialize_agent ()
{
gdb::observers::new_objfile.attach (agent_new_objfile);