diff options
Diffstat (limited to 'testsuites/psxtests/psxtime/test.c')
-rw-r--r-- | testsuites/psxtests/psxtime/test.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxtime/test.c b/testsuites/psxtests/psxtime/test.c index 629a102fc3..72d436ae30 100644 --- a/testsuites/psxtests/psxtime/test.c +++ b/testsuites/psxtests/psxtime/test.c @@ -2,7 +2,7 @@ * This test exercises the time of day services via the Classic * and POSIX APIs to make sure they are consistent. * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -23,6 +23,11 @@ #include <rtems.h> #include <rtems/libio.h> +void test_adjtime(void); +void check_a_tod( + rtems_time_of_day *the_tod +); + /* * List of dates and times to test. */ @@ -86,7 +91,7 @@ void check_a_tod( } while( i < 6 ); } -void test_adjtime() +void test_adjtime(void) { int sc; rtems_status_code status; @@ -145,6 +150,8 @@ void test_adjtime() */ #if defined(__rtems__) +int test_main(void); + int test_main(void) #else int main( |