This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Kernel - minor compile fix
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: 16 Oct 2002 08:31:26 -0600
- Subject: Kernel - minor compile fix
When this file is used elsewhere.
Index: kernel/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/kernel/current/ChangeLog,v
retrieving revision 1.81
diff -u -5 -p -r1.81 ChangeLog
--- kernel/current/ChangeLog 1 Oct 2002 19:10:21 -0000 1.81
+++ kernel/current/ChangeLog 16 Oct 2002 14:00:49 -0000
@@ -1,5 +1,10 @@
+2002-10-16 Gary Thomas <gthomas@ecoscentric.com>
+
+ * include/test/stackmon.h (STACKMON_PRINTF): Use #include to get
+ prototype for 'diag_printf()'.
+
2002-10-01 Jonathan Larmour <jifl@eCosCentric.com>
* src/common/clock.cxx (add_alarm): Tweak last change to allow
alarm order for identical alarms to be the same as it used to be.
Index: kernel/current/include/test/stackmon.h
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/kernel/current/include/test/stackmon.h,v
retrieving revision 1.6
diff -u -5 -p -r1.6 stackmon.h
--- kernel/current/include/test/stackmon.h 23 May 2002 23:06:52 -0000 1.6
+++ kernel/current/include/test/stackmon.h 16 Oct 2002 14:00:52 -0000
@@ -72,11 +72,11 @@
# endif
# include <cyg/kernel/smp.hxx>
#endif
#ifndef STACKMON_PRINTF
-externC void diag_printf(const char *, ...);
+#include <cyg/infra/diag.h>
#define STACKMON_PRINTF diag_printf
#endif
// ------------------------------------------------------------------------
// Utility function for actually counting a stack
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------