sim: common: use sim_config_print name
authorMike Frysinger <vapier@gentoo.org>
Mon, 4 Jan 2021 23:09:31 +0000 (18:09 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 4 Jan 2021 23:10:40 +0000 (18:10 -0500)
Meant to push this variant where naming preference is given to the
module the code resides in rather than the operation it performs.

sim/common/ChangeLog
sim/common/sim-config.c
sim/common/sim-config.h

index 0b1c666c53986d4fedcb3d2024ff7d2e9a1a5e90..178154475ab6bb2ab6969cb3518766eaf842d7fe 100644 (file)
@@ -7,7 +7,7 @@
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * 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  <vapier@gentoo.org>
index 59ee2d8f322a1a23e367df73d6ee4f5094801e22..2acd1e4f77aff54931aaaedf4cfe6f4597be0bba 100644 (file)
@@ -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));
index 43c0327fd526e69fb16c08bf4dc5100c2918fd87..6ab8d1a97eca75c4644efbea53263378b12855d8 100644 (file)
@@ -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