aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-06-09 22:31:51 +0800
committerMike Frysinger <vapier@gentoo.org>2015-06-11 07:35:32 -0400
commit2cc78d4dd7cb533024eab3a59fb278e03fb51c87 (patch)
treea0dc20637d249a037ef6fd77d1ab8288424f8533 /sim/mn10300
parent96eaf29ec4df2f81be180cfeabdb9b26492e8264 (diff)
downloadgdb-2cc78d4dd7cb533024eab3a59fb278e03fb51c87.zip
gdb-2cc78d4dd7cb533024eab3a59fb278e03fb51c87.tar.gz
gdb-2cc78d4dd7cb533024eab3a59fb278e03fb51c87.tar.bz2
sim: mn10300: add missing static markings
Diffstat (limited to 'sim/mn10300')
-rw-r--r--sim/mn10300/ChangeLog4
-rw-r--r--sim/mn10300/interp.c4
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)