[PATCH/committed] sim: mips: mark local func static

Message ID 20210502011651.31126-1-vapier@gentoo.org
State New
Headers show
Series
  • [PATCH/committed] sim: mips: mark local func static
Related show

Commit Message

Weimin Pan via Gdb-patches May 2, 2021, 1:16 a.m.
---
 sim/mips/ChangeLog | 4 ++++
 sim/mips/cp1.c     | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

-- 
2.31.1

Patch

diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index c4434ac32689..5eb6ea71c8f5 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,7 @@ 
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+	* cp1.c (store_fcr): Mark static.
+
 2021-05-01  Mike Frysinger  <vapier@gentoo.org>
 
 	* config.in, configure: Regenerate.
diff --git a/sim/mips/cp1.c b/sim/mips/cp1.c
index 309b17f6a94e..f5d3d1dd5fbe 100644
--- a/sim/mips/cp1.c
+++ b/sim/mips/cp1.c
@@ -421,7 +421,7 @@  store_fcr(sim_cpu *cpu,
     }
 }
 
-void
+static void
 update_fcsr (sim_cpu *cpu,
 	     address_word cia,
 	     sim_fpu_status status)