This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] sim: mn10300: add missing static markings
- From: Michael Frysinger <vapier at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 11 Jun 2015 11:35:57 -0000
- Subject: [binutils-gdb] sim: mn10300: add missing static markings
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2cc78d4dd7cb533024eab3a59fb278e03fb51c87
commit 2cc78d4dd7cb533024eab3a59fb278e03fb51c87
Author: Mike Frysinger <vapier@gentoo.org>
Date: Tue Jun 9 22:31:51 2015 +0800
sim: mn10300: add missing static markings
Diff:
---
sim/mn10300/ChangeLog | 4 ++++
sim/mn10300/interp.c | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index c32c69e..7cc0f32 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,5 +1,9 @@
2015-06-11 Mike Frysinger <vapier@gentoo.org>
+ * interp.c (round_64, fpu_status_ok): Add static.
+
+2015-06-11 Mike Frysinger <vapier@gentoo.org>
+
* interp.c (mn10300_debug): Delete.
* mn10300_sim.h (DEBUG_TRACE, DEBUG_VALUES, mn10300_debug): Delete.
(struct _state): Delete exception and exited members.
diff --git a/sim/mn10300/interp.c b/sim/mn10300/interp.c
index f6f093d..e24cbc5 100644
--- a/sim/mn10300/interp.c
+++ b/sim/mn10300/interp.c
@@ -629,7 +629,7 @@ reg2val_64 (const void *reg, sim_fpu *val)
/* Round the given sim_fpu value to double precision, following the
target platform rounding and denormalization conventions. On
AM33/2.0, round_near is the only rounding mode. */
-int
+static int
round_64 (sim_fpu *val)
{
return sim_fpu_round_64 (val, sim_fpu_round_near, sim_fpu_denorm_zero);
@@ -657,7 +657,7 @@ fp_double_prec = {
/* Check whether overflow, underflow or inexact exceptions should be
raised. */
-int
+static int
fpu_status_ok (sim_fpu_status stat)
{
if ((stat & sim_fpu_status_overflow)