]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/rx/mem.h
sim/rx: avoid pointer arithmetic on void * pointers
[thirdparty/binutils-gdb.git] / sim / rx / mem.h
index 21080f6e6e3a1782587fe7b6d36c4fa9feadd168..a4c7455a20d92e104157fa4daa99f90e6b13b44d 100644 (file)
@@ -53,7 +53,7 @@ void mem_put_hi (int address, unsigned short value);
 void mem_put_psi (int address, unsigned long value);
 void mem_put_si (int address, unsigned long value);
 
-void mem_put_blk (int address, void *bufptr, int nbytes);
+void mem_put_blk (int address, void *bufptr_void, int nbytes);
 
 unsigned char mem_get_pc (int address);
 
@@ -62,7 +62,7 @@ unsigned short mem_get_hi (int address);
 unsigned long mem_get_psi (int address);
 unsigned long mem_get_si (int address);
 
-void mem_get_blk (int address, void *bufptr, int nbytes);
+void mem_get_blk (int address, void *bufptr_void, int nbytes);
 
 int sign_ext (int v, int bits);