diff options
author | Tom Tromey <tromey@redhat.com> | 2014-05-13 11:35:18 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-05-13 11:47:43 -0600 |
commit | 033c337911594898b44678fa10b47ee19dd234b5 (patch) | |
tree | 46aea493b41c6b3782ac642c791cdf2504f3250f | |
parent | 1642b4b33783d70979dca379d57a0ce02559daec (diff) | |
download | gdb-033c337911594898b44678fa10b47ee19dd234b5.zip gdb-033c337911594898b44678fa10b47ee19dd234b5.tar.gz gdb-033c337911594898b44678fa10b47ee19dd234b5.tar.bz2 |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/language.h | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7dcb166..551c115 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-05-13 Tom Tromey <tromey@redhat.com> + + * language.h (unop_type_check): Remove. + (binop_type_check): Don't declare. + 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com> * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in diff --git a/gdb/language.h b/gdb/language.h index 9e95bf2..73619ca 100644 --- a/gdb/language.h +++ b/gdb/language.h @@ -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); |