Index: gdb/objc-lang.h |
diff --git a/gdb/objc-lang.h b/gdb/objc-lang.h |
index 593ef022221e1c2a230123ee94be0431d398c691..2409363de06d18ac8713338e7d6af2bf9fe67af6 100644 |
--- a/gdb/objc-lang.h |
+++ b/gdb/objc-lang.h |
@@ -1,6 +1,6 @@ |
/* Objective-C language support definitions for GDB, the GNU debugger. |
- Copyright (C) 1992, 2005, 2007-2012 Free Software Foundation, Inc. |
+ Copyright (C) 1992-2013 Free Software Foundation, Inc. |
Contributed by Apple Computer, Inc. |
@@ -27,10 +27,6 @@ struct stoken; |
struct value; |
struct block; |
-extern int objc_parse (void); /* Defined in c-exp.y */ |
- |
-extern void objc_error (char *); /* Defined in c-exp.y */ |
- |
extern CORE_ADDR lookup_objc_class (struct gdbarch *gdbarch, |
char *classname); |
extern CORE_ADDR lookup_child_selector (struct gdbarch *gdbarch, |
@@ -40,7 +36,8 @@ extern char *objc_demangle (const char *mangled, int options); |
extern int find_objc_msgcall (CORE_ADDR pc, CORE_ADDR *new_pc); |
-extern char *find_imps (char *method, VEC (const_char_ptr) **symbol_names); |
+extern const char * |
+ find_imps (const char *method, VEC (const_char_ptr) **symbol_names); |
extern struct value *value_nsstring (struct gdbarch *gdbarch, |
char *ptr, int len); |
@@ -50,7 +47,7 @@ extern void start_msglist (void); |
extern void add_msglist (struct stoken *str, int addcolon); |
extern int end_msglist (void); |
-struct symbol *lookup_struct_typedef (char *name, struct block *block, |
+struct symbol *lookup_struct_typedef (char *name, const struct block *block, |
int noerr); |
#endif |