From 5953832c5aa030416ff8a3c29160f93826e47366 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 4 Jan 2012 18:57:01 +0000 Subject: Delete #if 0'd out code. * language.c (binop_result_type): Delete. (simple_type, ordered_type, same_type, integral_type): Delete. (numeric_type, character_type, string_type, boolean_type): Delete. (float_type, structured_type): Delete. * language.h: Update. --- gdb/language.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'gdb/language.h') diff --git a/gdb/language.h b/gdb/language.h index 1ebae16..2ea2dca 100644 --- a/gdb/language.h +++ b/gdb/language.h @@ -473,26 +473,8 @@ extern enum language set_language (enum language); /* Type predicates */ -extern int simple_type (struct type *); - -extern int ordered_type (struct type *); - -extern int same_type (struct type *, struct type *); - -extern int integral_type (struct type *); - -extern int numeric_type (struct type *); - -extern int character_type (struct type *); - -extern int boolean_type (struct type *); - -extern int float_type (struct type *); - extern int pointer_type (struct type *); -extern int structured_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)) -- cgit v1.1