From: Joel Brobecker Date: Wed, 19 Dec 2007 12:55:09 +0000 (+0000) Subject: * language.h (enum exp_opcode): Remove commented out forward X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a188e2b3d8a6f630a34013fcc47b5d42b586b2a;p=binutils-gdb.git * language.h (enum exp_opcode): Remove commented out forward declaration. (op_error): Delete declaration. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 258d57fd638..b5a802a773d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2007-12-19 Joel Brobecker + + * language.h (enum exp_opcode): Remove commented out forward + declaration. + (op_error): Delete declaration. + 2007-12-19 Joel Brobecker * infrun.c (handle_inferior_event): Fix spelling in comment. diff --git a/gdb/language.h b/gdb/language.h index 5c86f6abca2..2de78613617 100644 --- a/gdb/language.h +++ b/gdb/language.h @@ -31,8 +31,6 @@ struct frame_info; struct expression; struct ui_file; -/* enum exp_opcode; ANSI's `wisdom' didn't include forward enum decls. */ - /* This used to be included to configure GDB for one or more specific languages. Now it is left out to configure for all of them. FIXME. */ /* #include "lang_def.h" */ @@ -410,9 +408,6 @@ extern void binop_type_check (struct value *, struct value *, int); /* Error messages */ -extern void op_error (const char *lhs, enum exp_opcode, - const char *rhs); - extern void type_error (const char *, ...) ATTR_FORMAT (printf, 1, 2); extern void range_error (const char *, ...) ATTR_FORMAT (printf, 1, 2);