aboutsummaryrefslogtreecommitdiff
path: root/gdb/go-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/go-lang.c')
-rw-r--r--gdb/go-lang.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/go-lang.c b/gdb/go-lang.c
index fe60b29..9ad456f 100644
--- a/gdb/go-lang.c
+++ b/gdb/go-lang.c
@@ -682,8 +682,9 @@ builtin_go_type (struct gdbarch *gdbarch)
return (const struct builtin_go_type *) gdbarch_data (gdbarch, go_type_data);
}
+void _initialize_go_language ();
void
-_initialize_go_language (void)
+_initialize_go_language ()
{
go_type_data = gdbarch_data_register_post_init (build_go_types);
}