sim/rx: mark some functions as static

Some functions that should be marked static.

sim/rx/ChangeLog:

	* fpu.c (check_exceptions): Make static.
	* gdb-if.c (handle_step): Likewise.
	* mem.c (mem_put_byte): Likewise.
This commit is contained in:
Andrew Burgess
2021-01-28 17:27:44 +00:00
parent 1c3e93a41f
commit 73d4725f21
4 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
* fpu.c (check_exceptions): Make static.
* gdb-if.c (handle_step): Likewise.
* mem.c (mem_put_byte): Likewise.
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
* cpu.h (trace_register_changes): Add void parameter type.

View File

@ -354,7 +354,7 @@ static const char *ex_names[] = {
/* This checks for all exceptional cases (not all FP exceptions) and
returns TRUE if it is providing the result in *c. If it returns
FALSE, the caller should do the "normal" operation. */
int
static int
check_exceptions (FP_Parts *a, FP_Parts *b, fp_t *c,
FP_ExceptionCases ex_tab[5][5],
FP_ExceptionCases *case_ret)

View File

@ -688,7 +688,7 @@ rx_signal_to_gdb_signal (int rx)
/* Take a step return code RC and set up the variables consulted by
sim_stop_reason appropriately. */
void
static void
handle_step (int rc)
{
if (execution_error_get_last_error () != SIM_ERR_NONE)

View File

@ -262,7 +262,7 @@ mtypec (int address)
#define E() if (trace) e()
void
static void
mem_put_byte (unsigned int address, unsigned char value)
{
unsigned char *m;