gdb: LoongArch: Remove nonportable #include
[binutils-gdb.git] / gdb / command.h
index cd798146ae0b77bb382a00c50ecfa1661615092b..d901da3c8cbbf7f8695d2f26e88f9027d4825253 100644 (file)
@@ -71,7 +71,7 @@ enum command_class
 };
 
 /* Types of "set" or "show" command.  */
-typedef enum var_types
+enum var_types
   {
     /* "on" or "off".  *VAR is a bool which is true for on,
        false for off.  */
@@ -120,8 +120,7 @@ typedef enum var_types
        *VAR is a char pointer to the name of the element that we
        find.  */
     var_enum
-  }
-var_types;
+  };
 
 /* Return true if a setting of type VAR_TYPE is backed with type T.