From: Mike Frysinger Date: Mon, 4 Jan 2021 23:09:31 +0000 (-0500) Subject: sim: common: use sim_config_print name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b667e32973db97fb12b78f4f4d950c8c538d67c;p=binutils-gdb.git sim: common: use sim_config_print name Meant to push this variant where naming preference is given to the module the code resides in rather than the operation it performs. --- diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 0b1c666c539..178154475ab 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -7,7 +7,7 @@ 2021-01-04 Mike Frysinger * sim-config.c (print_sim_config): Rename to ... - (sim_print_config): ... this. + (sim_config_print): ... this. * sim-config.h: Likewise. 2021-01-02 Mike Frysinger diff --git a/sim/common/sim-config.c b/sim/common/sim-config.c index 59ee2d8f322..2acd1e4f77a 100644 --- a/sim/common/sim-config.c +++ b/sim/common/sim-config.c @@ -294,7 +294,7 @@ sim_config (SIM_DESC sd) void -sim_print_config (SIM_DESC sd) +sim_config_print (SIM_DESC sd) { sim_io_printf (sd, "WITH_TARGET_BYTE_ORDER = %s\n", config_byte_order_to_a (WITH_TARGET_BYTE_ORDER)); diff --git a/sim/common/sim-config.h b/sim/common/sim-config.h index 43c0327fd52..6ab8d1a97ec 100644 --- a/sim/common/sim-config.h +++ b/sim/common/sim-config.h @@ -313,7 +313,7 @@ extern SIM_RC sim_config (SIM_DESC sd); /* Print the simulator configuration. */ -extern void sim_print_config (SIM_DESC sd); +extern void sim_config_print (SIM_DESC sd); #endif