changeset 371:c030434df232

Improve include file to avoid build errors (when used elsewhere)
author gthomas
date Wed, 16 Oct 2002 14:28:41 +0000
parents 3dded0c88355
children 5a32216b6c64
files packages/kernel/current/ChangeLog packages/kernel/current/include/test/stackmon.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/kernel/current/ChangeLog
+++ b/packages/kernel/current/ChangeLog
@@ -1,3 +1,8 @@
+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
--- a/packages/kernel/current/include/test/stackmon.h
+++ b/packages/kernel/current/include/test/stackmon.h
@@ -74,7 +74,7 @@
 #endif
 
 #ifndef STACKMON_PRINTF
-externC void diag_printf(const char *, ...);
+#include <cyg/infra/diag.h>
 #define STACKMON_PRINTF diag_printf
 #endif