This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
hal/arm/acrh/hal_misc.c (fix warning)
- From: Sergei Gavrikov <w3sg at SoftHome dot net>
- To: eCos patches list <ecos-patches at ecos dot sourceware dot org>
- Date: Sun, 2 Sep 2007 01:13:14 +0300
- Subject: hal/arm/acrh/hal_misc.c (fix warning)
Add a function prototype to avoid compiler warning in dump_frame(), it
occurs when a CDL option CYGHWR_HAL_ARM_DUMP_EXCEPTIONS is selected.
Sergei
diff -ur hal/arm/arch/current/ChangeLog hal/arm/arch/current/ChangeLog.new
--- hal/arm/arch/current/ChangeLog
+++ hal/arm/arch/current/ChangeLog.new
@@ -1,3 +1,7 @@
+2007-09-02 Sergei Gavrikov <sg@sgs.gomel.by>
+
+ * src/hal_misc.c: Add a function prototype to avoid warning.
+
2007-02-03 Sergei Gavrikov <sg@sgs.gomel.by>
* src/vectors.S: Added a possibility to fix ARM vector 0x14
diff -ur hal/arm/arch/current/src/hal_misc.c hal/arm/arch/current/src/hal_misc.c.new
--- hal/arm/arch/current/src/hal_misc.c
+++ hal/arm/arch/current/src/hal_misc.c.new
@@ -68,6 +68,7 @@
#include <cyg/hal/hal_intr.h> // HAL header
externC void diag_printf(const char *fmt, ...);
+externC void diag_dump_buf(void *buf, CYG_ADDRWORD len);
/*------------------------------------------------------------------------*/
/* First level C exception handler. */