Mercurial > flash_v2
changeset 407:74f0dcfdc166
* tests/tm_basic.cxx: Use <cyg/infra/diag.h> for diag_printf
prototype.
| author | jlarmour |
|---|---|
| date | Tue, 05 Nov 2002 05:56:35 +0000 |
| parents | 7f858e6dff42 |
| children | dbc601e76824 |
| files | packages/compat/posix/current/ChangeLog packages/compat/posix/current/tests/tm_basic.cxx |
| diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/compat/posix/current/ChangeLog +++ b/packages/compat/posix/current/ChangeLog @@ -1,3 +1,8 @@ +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
--- a/packages/compat/posix/current/tests/tm_basic.cxx +++ b/packages/compat/posix/current/tests/tm_basic.cxx @@ -9,6 +9,7 @@ // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. +// Copyright (C) 2002 Jonathan Larmour // // eCos is free software; you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free @@ -49,6 +50,7 @@ #include <cyg/infra/testcase.h> +#include <cyg/infra/diag.h> #include <pkgconf/posix.h> #include <pkgconf/system.h> #ifdef CYGPKG_KERNEL @@ -207,8 +209,6 @@ extern bool measure_clock_latency; //========================================================================== -externC void diag_printf(const char *, ...); - void run_sched_tests(void); void run_thread_tests(void); void run_thread_switch_test(void);
