changeset 394:7ca632b46393

* tests/tm_basic.cxx: Include infra/diag.h and removed the incorrect prototype for diag_printf
author asl
date Mon, 28 Oct 2002 16:34:21 +0000
parents ce151b640a24
children 9f81d6e38c3d
files packages/kernel/current/ChangeLog packages/kernel/current/tests/tm_basic.cxx
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/kernel/current/ChangeLog
+++ b/packages/kernel/current/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-28  Andrew Lunn  <andrew.lunn@ascom.ch>
+
+	* tests/tm_basic.cxx: Include infra/diag.h and removed the 
+	incorrect prototype for diag_printf
+
 2002-10-16  Gary Thomas  <gthomas@ecoscentric.com>
 
 	* include/test/stackmon.h (STACKMON_PRINTF): Use #include to get
--- a/packages/kernel/current/tests/tm_basic.cxx
+++ b/packages/kernel/current/tests/tm_basic.cxx
@@ -60,6 +60,7 @@
 #include <cyg/kernel/kapi.h>
 
 #include <cyg/infra/testcase.h>
+#include <cyg/infra/diag.h>
 
 #include <cyg/kernel/test/stackmon.h>
 #include CYGHWR_MEMORY_LAYOUT_H
@@ -185,8 +186,6 @@ extern cyg_int32 min_clock_dsr_latency, 
 extern bool measure_clock_latency;
 #endif
 
-externC void diag_printf(const char *, ...);
-
 void run_sched_tests(void);
 void run_thread_tests(void);
 void run_thread_switch_test(void);