X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fm32c%2Fmem.h;h=2fae9aa7505484e55a6d1e151d71ec650b4f20a7;hb=3922b302645fda04da42a5279399578ae2f6206c;hp=9b8e9619a6189a1184b538cb7730b0daa92bfaec;hpb=e4d013fc0f3df3200be2dca48ed2e330e8a4ddf9;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/m32c/mem.h b/sim/m32c/mem.h index 9b8e9619a6..2fae9aa750 100644 --- a/sim/m32c/mem.h +++ b/sim/m32c/mem.h @@ -1,6 +1,6 @@ /* mem.h --- interface to memory for M32C simulator. -Copyright (C) 2005, 2007, 2008, 2009 Free Software Foundation, Inc. +Copyright (C) 2005-2020 Free Software Foundation, Inc. Contributed by Red Hat, Inc. This file is part of the GNU simulators. @@ -27,9 +27,9 @@ 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, const void *bufptr, int nbytes); -unsigned char mem_get_pc (); +unsigned char mem_get_pc (void); unsigned char mem_get_qi (int address); unsigned short mem_get_hi (int address); @@ -40,6 +40,6 @@ void mem_get_blk (int address, void *bufptr, int nbytes); int sign_ext (int v, int bits); -void m32c_sim_restore_console (); +void m32c_sim_restore_console (void); extern int m32c_use_raw_console;