Fix -Wuh and -Wnhu options so that they work.
[deliverable/binutils-gdb.git] / gdb / typeprint.c
index 1a4877befb3a191c6fb70e009c47527877248246..9f8bd4f6ae7e2b51454af9fcf322d22f1ec6adc7 100644 (file)
@@ -38,6 +38,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 extern int objectprint;                /* Controls looking up an object's derived type
                                   using what we find in its vtables.  */
 
+extern void _initialize_typeprint PARAMS ((void));
+
 static void
 ptype_command PARAMS ((char *, int));
 
@@ -262,8 +264,6 @@ print_type_scalar (type, val, stream)
   gdb_flush (stream);
 }
 
-#if MAINTENANCE_CMDS
-
 /* Dump details of a type specified either directly or indirectly.
    Uses the same sort of type lookup mechanism as ptype_command()
    and whatis_command(). */
@@ -302,8 +302,6 @@ maintenance_print_type (typename, from_tty)
   }
 }
 
-#endif /* MAINTENANCE_CMDS */
-
 \f
 void
 _initialize_typeprint ()
This page took 0.023414 seconds and 4 git commands to generate.