From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6785 invoked by alias); 11 Sep 2007 18:05:46 -0000 Received: (qmail 6772 invoked by uid 22791); 11 Sep 2007 18:05:43 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Sep 2007 18:05:36 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1IVA77-0002zQ-00; Tue, 11 Sep 2007 20:05:29 +0200 Date: Tue, 11 Sep 2007 18:05:00 -0000 From: Andrew Lunn To: Sergei Gavrikov Cc: eCos patches list Subject: Re: hal/arm/acrh/hal_misc.c (fix warning) Message-ID: <20070911180529.GO3557@lunn.ch> References: <20070901221314.GA20932@ubuntu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8GpibOaaTibBMecb" Content-Disposition: inline In-Reply-To: <20070901221314.GA20932@ubuntu> User-Agent: Mutt/1.5.16 (2007-06-11) X-IsSubscribed: yes Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2007-09/txt/msg00012.txt.bz2 --8GpibOaaTibBMecb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 352 On Sun, Sep 02, 2007 at 01:13:14AM +0300, Sergei Gavrikov wrote: > Add a function prototype to avoid compiler warning in dump_frame(), it > occurs when a CDL option CYGHWR_HAL_ARM_DUMP_EXCEPTIONS is selected. Hi Sergei Thanks for the patch. I decided instead to just include rather than had a prototype. Andrew --8GpibOaaTibBMecb Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="hal_arm_arch.diff" Content-length: 1449 Index: hal/arm/arch/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/arm/arch/current/ChangeLog,v retrieving revision 1.109 diff -u -r1.109 ChangeLog --- hal/arm/arch/current/ChangeLog 4 Feb 2007 00:16:42 -0000 1.109 +++ hal/arm/arch/current/ChangeLog 11 Sep 2007 18:03:53 -0000 @@ -1,3 +1,9 @@ +2007-09-11 Andrew Lunn + + * src/hal_misc.c: Include to prevent compiler + warning when CYGHWR_HAL_ARM_DUMP_EXCEPTIONS is enabled. + Reported by Sergei Gavrikov * src/vectors.S: Added a possibility to fix ARM vector 0x14 Index: hal/arm/arch/current/src/hal_misc.c =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/arm/arch/current/src/hal_misc.c,v retrieving revision 1.20 diff -u -r1.20 hal_misc.c --- hal/arm/arch/current/src/hal_misc.c 24 May 2004 12:32:10 -0000 1.20 +++ hal/arm/arch/current/src/hal_misc.c 11 Sep 2007 18:03:53 -0000 @@ -67,7 +67,7 @@ #include // HAL header #include // HAL header -externC void diag_printf(const char *fmt, ...); +#include /*------------------------------------------------------------------------*/ /* First level C exception handler. */ --8GpibOaaTibBMecb--