From patchwork Tue Feb 17 07:44:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Gaisler X-Patchwork-Id: 5122 Received: (qmail 7251 invoked by alias); 17 Feb 2015 07:46:42 -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 7187 invoked by uid 89); 17 Feb 2015 07:46:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: bin-vsp-out-01.atm.binero.net Received: from vsp-unauthed01.binero.net (HELO bin-vsp-out-01.atm.binero.net) (195.74.38.225) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 17 Feb 2015 07:46:40 +0000 X-Halon-ID: 0048b1c2-b679-11e4-acbf-005056917a89 Authorized-sender: jiri@gaisler.se Received: from vaio.orange-hotspot.com (unknown [81.253.22.86]) by bin-vsp-out-01.atm.binero.net (Halon Mail Gateway) with ESMTPSA; Tue, 17 Feb 2015 08:45:53 +0100 (CET) From: Jiri Gaisler To: gdb-patches@sourceware.org Cc: Jiri Gaisler Subject: [PATCH 13/23] sim/erc32: Fix a few compiler warnings Date: Tue, 17 Feb 2015 08:44:50 +0100 Message-Id: <1424159099-5148-14-git-send-email-jiri@gaisler.se> In-Reply-To: <1424159099-5148-1-git-send-email-jiri@gaisler.se> References: <1424159099-5148-1-git-send-email-jiri@gaisler.se> Minor edits to remove compiler warnings. --- sim/erc32/interf.c | 2 +- sim/erc32/sis.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c index 981aa11..f03f1d5 100644 --- a/sim/erc32/interf.c +++ b/sim/erc32/interf.c @@ -509,7 +509,7 @@ sim_do_command(sd, cmd) SIM_DESC sd; const char *cmd; { - exec_cmd(&sregs, cmd); + exec_cmd(&sregs, (char *) cmd); } char ** diff --git a/sim/erc32/sis.h b/sim/erc32/sis.h index 604d344..e2bed36 100644 --- a/sim/erc32/sis.h +++ b/sim/erc32/sis.h @@ -203,7 +203,6 @@ extern int check_bpt (struct pstate *sregs); extern void reset_all (void); extern void sys_reset (void); extern void sys_halt (void); -extern int bfd_load (char *fname); extern double get_time (void); /* exec.c */