remove an unused macro and an unused declaration

This patch removes an unused macro from language.h.  It also removes
the declaration of a function which is not defined.

I'm checking this in as obvious.
Tested by rebuilding.

2014-05-13  Tom Tromey  <tromey@redhat.com>

	* language.h (unop_type_check): Remove.
	(binop_type_check): Don't declare.
This commit is contained in:
Tom Tromey
2014-05-13 11:35:18 -06:00
parent 1642b4b337
commit 033c337911
2 changed files with 5 additions and 6 deletions

View File

@@ -475,12 +475,6 @@ extern enum language set_language (enum language);
extern int pointer_type (struct type *);
/* Checks Binary and Unary operations for semantic type correctness. */
/* FIXME: Does not appear to be used. */
#define unop_type_check(v,o) binop_type_check((v),NULL,(o))
extern void binop_type_check (struct value *, struct value *, int);
/* Error messages */
extern void range_error (const char *, ...) ATTRIBUTE_PRINTF (1, 2);