From 7a188e2b3d8a6f630a34013fcc47b5d42b586b2a Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 19 Dec 2007 12:55:09 +0000 Subject: [PATCH] * language.h (enum exp_opcode): Remove commented out forward declaration. (op_error): Delete declaration. --- gdb/ChangeLog | 6 ++++++ gdb/language.h | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 258d57fd63..b5a802a773 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 5c86f6abca..2de7861361 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); -- 2.34.1