This is the mail archive of the ecos-patches@sources.redhat.com 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]

tm_basic not compiling


Does anybody know what changed recently to stop tm_basic compiling?
The prototype it has for diag_printf is wrong. The following patch
corrects this, but before i commit it, id like to understand why this
error suddenly becomes apparent.

         Andrew

Index: kernel/current/tests/tm_basic.cxx
===================================================================
RCS file: /cvs/ecos/ecos/packages/kernel/current/tests/tm_basic.cxx,v
retrieving revision 1.17
diff -u -r1.17 tm_basic.cxx
--- kernel/current/tests/tm_basic.cxx   23 May 2002 23:07:03 -0000      1.17
+++ kernel/current/tests/tm_basic.cxx   28 Oct 2002 16:20:06 -0000
@@ -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
@@ -184,8 +185,6 @@
 extern cyg_int32 min_clock_dsr_latency, max_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);


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