summaryrefslogtreecommitdiff
path: root/gdb/ada-typeprint.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-02-19 23:59:27 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-02-19 23:59:27 +0000
commit9509403af9755d5334454c20d1504a567c5d9b3a (patch)
treee78b29474bcb1aadedbf1a689f85791e27df31d0 /gdb/ada-typeprint.c
parent597f03241f93b1a73ab394469992309f93e4bc8e (diff)
downloadgdb-9509403af9755d5334454c20d1504a567c5d9b3a.tar.gz
* ada-typeprint.c (ada_typedef_print): Remove. Unused.
Diffstat (limited to 'gdb/ada-typeprint.c')
-rw-r--r--gdb/ada-typeprint.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/ada-typeprint.c b/gdb/ada-typeprint.c
index e1ab2ac84bf..f00824ab9af 100644
--- a/gdb/ada-typeprint.c
+++ b/gdb/ada-typeprint.c
@@ -114,22 +114,6 @@ decoded_type_name (struct type *type)
}
}
-
-/* Print a description of a type in the format of a
- typedef for the current language.
- NEW is the new name for a type TYPE. */
-
-void
-ada_typedef_print (struct type *type, struct symbol *new,
- struct ui_file *stream)
-{
- /* XXX: type_sprint */
- fprintf_filtered (stream, "type %.*s is ",
- ada_name_prefix_len (SYMBOL_PRINT_NAME (new)),
- SYMBOL_PRINT_NAME (new));
- type_print (type, "", stream, 1);
-}
-
/* Print range type TYPE on STREAM. */
static void