This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.                                       */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]