X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fm32c%2Fmem.h;h=2fae9aa7505484e55a6d1e151d71ec650b4f20a7;hb=3922b302645fda04da42a5279399578ae2f6206c;hp=5caef25edff9a9c6fdd93c4787d421edd86616f7;hpb=dc3cf14f35b666eed7be13100ff58639450aa5cf;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/m32c/mem.h b/sim/m32c/mem.h index 5caef25edf..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, 2010 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;