sim: constify sim_write source buffer (part 2)
[deliverable/binutils-gdb.git] / sim / sh / interp.c
index 2b2044430fcc1ce06398b642ca984e94d7e1fce6..0d1360f385a1a27c5a17f84e6c2dacf5a5b35f24 100644 (file)
@@ -81,7 +81,7 @@
 
 extern unsigned short sh_jump_table[], sh_dsp_table[0x1000], ppi_table[];
 
-int sim_write (SIM_DESC sd, SIM_ADDR addr, unsigned char *buffer, int size);
+int sim_write (SIM_DESC sd, SIM_ADDR addr, const unsigned char *buffer, int size);
 
 #define O_RECOMPILE 85
 #define DEFINE_TABLE
@@ -2141,7 +2141,7 @@ int
 sim_write (sd, addr, buffer, size)
      SIM_DESC sd;
      SIM_ADDR addr;
-     unsigned char *buffer;
+     const unsigned char *buffer;
      int size;
 {
   int i;
This page took 0.023361 seconds and 4 git commands to generate.