Fix posix tm_basic test
Jonathan Larmour
jifl@eCosCentric.com
Mon Nov 4 21:56:00 GMT 2002
Just like for the recent kernel test change.
Jifl
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/compat/posix/current/ChangeLog,v
retrieving revision 1.27
diff -u -5 -p -r1.27 ChangeLog
--- ChangeLog 23 May 2002 22:59:55 -0000 1.27
+++ ChangeLog 5 Nov 2002 05:55:18 -0000
@@ -1,5 +1,10 @@
+2002-11-05 Jonathan Larmour <jifl@eCosCentric.com>
+
+ * tests/tm_basic.cxx: Use <cyg/infra/diag.h> for diag_printf
+ prototype.
+
2002-05-23 Jesper Skov <jskov@redhat.com>
* cdl/posix.cdl: Don't build tests using signals when posix
signals are disabled.
Index: tests/tm_basic.cxx
===================================================================
RCS file: /cvs/ecos/ecos/packages/compat/posix/current/tests/tm_basic.cxx,v
retrieving revision 1.5
diff -u -5 -p -r1.5 tm_basic.cxx
--- tests/tm_basic.cxx 23 May 2002 23:00:03 -0000 1.5
+++ tests/tm_basic.cxx 5 Nov 2002 05:55:18 -0000
@@ -47,10 +47,11 @@
//####DESCRIPTIONEND####
//==========================================================================
#include <cyg/infra/testcase.h>
+#include <cyg/infra/diag.h>
#include <pkgconf/posix.h>
#include <pkgconf/system.h>
#ifdef CYGPKG_KERNEL
#include <pkgconf/kernel.h>
#endif
@@ -204,12 +205,10 @@ extern cyg_tick_count total_clock_dsr_la
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);
void run_thread_switch_test(void);
void run_mutex_tests(void);
--
eCosCentric http://www.eCosCentric.com/ <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
More information about the Ecos-patches
mailing list