This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] sim: mn10300: add missing static markings
- From: Mike Frysinger <vapier at gentoo dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 11 Jun 2015 07:35:44 -0400
- Subject: [PATCH] sim: mn10300: add missing static markings
- Authentication-results: sourceware.org; auth=none
Committed.
---
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)
--
2.4.1