warnings: use more 'const' for char *
[fw/openocd] / src / target / target_type.h
index 7a8ac9c4a89a0f7752c347f7a284b20ced122127..bfa7f9379fb35714aaa0a529a5243feed3b9383b 100644 (file)
@@ -42,7 +42,7 @@ struct target_type
         * Name of this type of target.  Do @b not access this
         * field directly, use target_type_name() instead.
         */
-       char *name;
+       const char *name;
 
        /* poll current target status */
        int (*poll)(struct target *target);