make md_parse_option () take a const char *
[binutils-gdb.git] / gas / config / tc-frv.c
index c9aacf8c2d21d8bc4338e9e63b4afd59fe054f8a..24baa96364ab3b9096b7c77bd828a5ef9bde16b9 100644 (file)
@@ -262,7 +262,7 @@ size_t md_longopts_size = sizeof (md_longopts);
 static int g_switch_value = 8;
 
 int
-md_parse_option (int c, char *arg)
+md_parse_option (int c, const char *arg)
 {
   switch (c)
     {
@@ -337,7 +337,7 @@ md_parse_option (int c, char *arg)
 
     case OPTION_CPU:
       {
-       char *p;
+       const char *p;
        int cpu_flags = EF_FRV_CPU_GENERIC;
 
        /* Identify the processor type */