Automatic date update in version.in
[binutils-gdb.git] / gdb / f-typeprint.c
index aa33231a5cf4092cde417e3b28b0beadc2e20319..590ed73d32fa0e85d37fd7b0c1b4f1d6ef86d1d9 100644 (file)
@@ -1,6 +1,6 @@
 /* Support for printing Fortran types for GDB, the GNU debugger.
 
-   Copyright (C) 1986-2013 Free Software Foundation, Inc.
+   Copyright (C) 1986-2015 Free Software Foundation, Inc.
 
    Contributed by Motorola.  Adapted from the C version by Farooq Butt
    (fmbutt@engage.sps.mot.com).
@@ -31,9 +31,6 @@
 #include "target.h"
 #include "f-lang.h"
 
-#include "gdb_string.h"
-#include <errno.h>
-
 #if 0                          /* Currently unused.  */
 static void f_type_print_args (struct type *, struct ui_file *);
 #endif
@@ -276,7 +273,7 @@ f_type_print_base (struct type *type, struct ui_file *stream, int show,
     }
 
   if (TYPE_CODE (type) != TYPE_CODE_TYPEDEF)
-    CHECK_TYPEDEF (type);
+    type = check_typedef (type);
 
   switch (TYPE_CODE (type))
     {