2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>

* sp04/task1.c, sp09/screen02.c, sp09/screen04.c, sp09/sp09.scn,
	sp38/init.c: Convert calls to legacy routine rtems_clock_get(
	RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
This commit is contained in:
Joel Sherrill
2009-08-10 16:04:41 +00:00
parent c0e8da43cc
commit 05b9f81761
6 changed files with 30 additions and 24 deletions

View File

@@ -6,7 +6,7 @@
*
* Output parameters: NONE
*
* COPYRIGHT (c) 1989-1999.
* COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -84,8 +84,8 @@ void Screen4()
directive_failed( status, "rtems_clock_set" );
puts( " - RTEMS_SUCCESSFUL" );
status = rtems_clock_get( RTEMS_CLOCK_GET_TIME_VALUE, &tv );
directive_failed( status, "clock_get time value OK" );
status = rtems_clock_get_tod_timeval( &tv );
directive_failed( status, "clock_get_tod_timeval OK" );
seconds = tv.tv_sec;
printf( "TA1 - current time - %s\n", ctime(&seconds) );