From patchwork Thu Jun 11 11:35:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 7113 X-Patchwork-Delegate: vapier@gentoo.org Received: (qmail 69592 invoked by alias); 11 Jun 2015 11:35:50 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 69582 invoked by uid 89); 11 Jun 2015 11:35:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 11 Jun 2015 11:35:48 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 86C27340D00 for ; Thu, 11 Jun 2015 11:35:46 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: mn10300: add missing static markings Date: Thu, 11 Jun 2015 07:35:44 -0400 Message-Id: <1434022544-5846-1-git-send-email-vapier@gentoo.org> X-IsSubscribed: yes 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 + * interp.c (round_64, fpu_status_ok): Add static. + +2015-06-11 Mike Frysinger + * 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)