public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* hal/arm/acrh/hal_misc.c (fix warning)
@ 2007-09-01 22:14 Sergei Gavrikov
  2007-09-11 18:05 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Sergei Gavrikov @ 2007-09-01 22:14 UTC (permalink / raw)
  To: eCos patches list

[-- Attachment #1: Type: text/plain, Size: 149 bytes --]

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

[-- Attachment #2: hal_arm_arch_hal_misc.c.patch --]
[-- Type: text/x-diff, Size: 901 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-11 18:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-01 22:14 hal/arm/acrh/hal_misc.c (fix warning) Sergei Gavrikov
2007-09-11 18:05 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).