aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-lang.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/jv-lang.h')
-rw-r--r--gdb/jv-lang.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/jv-lang.h b/gdb/jv-lang.h
index 822cf08..61fb943 100644
--- a/gdb/jv-lang.h
+++ b/gdb/jv-lang.h
@@ -18,6 +18,11 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#ifndef JV_LANG_H
+#define JV_LANG_H
+
+struct value;
+
extern int java_parse (void); /* Defined in jv-exp.y */
extern void java_error (char *); /* Defined in jv-exp.y */
@@ -42,7 +47,7 @@ extern int java_val_print (struct type *, char *, int, CORE_ADDR,
extern int java_value_print (struct value *, struct ui_file *, int,
enum val_prettyprint);
-extern value_ptr java_class_from_object (value_ptr);
+extern struct value *java_class_from_object (struct value *);
extern struct type *type_from_class (struct value *);
@@ -64,3 +69,5 @@ extern void java_print_type (struct type *, char *, struct ui_file *, int,
int);
extern char *java_demangle_type_signature (char *);
+
+#endif