2002-10-03 Adam Fedor <fedor@gnu.org>

* objc-lang.c: ARI fixes.  Change string.h to gdb_string.h.
	(objc_demangle): Remove assignment in if statements, Replace
	free with xfree.
	(add_msglist): Likewise.
	(end_msglist): Likewise.
	(complare_selectors): Likewise.
	(selectors_info): Likewise.
	(compare_classes): Likewise.
	(classes_info): Likewise.
	(print_object_command): Likewise.
	(find_objc_msgcall_submethod): Replace PTR with void *.
	* objc-lang.h: Remove check for __STDC__.
This commit is contained in:
Adam Fedor 2002-10-04 01:18:48 +00:00
parent 62823d4d45
commit 7248f48e57
3 changed files with 52 additions and 26 deletions

View file

@ -19,9 +19,7 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#ifdef __STDC__ /* Forward decls for prototypes. */
struct value;
#endif
extern int objc_parse (void); /* Defined in c-exp.y */