-Wwrite-strings: Constify struct disassemble_info's disassembler_options field
[deliverable/binutils-gdb.git] / opcodes / arc-dis.c
index 3afd2533c860b62027e808770b237e50ae455092..4beca689c397c42ee33c13da3024927d13f3b7d3 100644 (file)
@@ -733,7 +733,7 @@ operand_iterator_next (struct arc_operand_iterator *iter,
 /* Helper for parsing the options.  */
 
 static void
-parse_option (char *option)
+parse_option (const char *option)
 {
   if (CONST_STRNEQ (option, "dsp"))
     add_to_decodelist (DSP, NONE);
@@ -772,7 +772,7 @@ parse_option (char *option)
 /* Go over the options list and parse it.  */
 
 static void
-parse_disassembler_options (char *options)
+parse_disassembler_options (const char *options)
 {
   if (options == NULL)
     return;
This page took 0.024098 seconds and 4 git commands to generate.