aboutsummaryrefslogtreecommitdiff
path: root/gdb/go-typeprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/go-typeprint.c')
-rw-r--r--gdb/go-typeprint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/go-typeprint.c b/gdb/go-typeprint.c
index c334914..d768498 100644
--- a/gdb/go-typeprint.c
+++ b/gdb/go-typeprint.c
@@ -42,9 +42,9 @@
LEVEL indicates level of recursion (for nested definitions). */
void
-go_print_type (struct type *type, const char *varstring,
- struct ui_file *stream, int show, int level,
- const struct type_print_options *flags)
+go_language::print_type (struct type *type, const char *varstring,
+ struct ui_file *stream, int show, int level,
+ const struct type_print_options *flags) const
{
/* Borrowed from c-typeprint.c. */
if (show > 0)