From 1654d02d6f1ad09e4dbc5fd58e1b6ecc476b30bc Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 10 Aug 2009 14:50:11 +0000 Subject: 2009-08-10 Joel Sherrill * itrontask01/task1.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..). --- testsuites/itrontests/itrontask01/task1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuites/itrontests/itrontask01/task1.c') diff --git a/testsuites/itrontests/itrontask01/task1.c b/testsuites/itrontests/itrontask01/task1.c index c8f0b54db1..01bdc28cc7 100644 --- a/testsuites/itrontests/itrontask01/task1.c +++ b/testsuites/itrontests/itrontask01/task1.c @@ -36,8 +36,8 @@ void Task_2_through_4() sprintf(name, "TA%d", tid_index); while( FOREVER ) { - status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time ); - directive_failed( status, "rtems_clock_get" ); + status = rtems_clock_get_tod( &time ); + directive_failed( status, "rtems_clock_get_tod" ); if ( time.second >= 35 ) { puts( "*** END OF ITRON TASK TEST 1 ***" ); @@ -45,7 +45,7 @@ void Task_2_through_4() } printf(name); - print_time( " - rtems_clock_get - ", &time, "\n" ); + print_time( " - rtems_clock_get_tod - ", &time, "\n" ); status = rtems_task_wake_after( tid_index * 5 * TICKS_PER_SECOND ); directive_failed( status, "rtems_task_wake_after" ); -- cgit v1.2.3