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

* psxstat/test.c, psxtime/test.c: Convert calls to legacy routine
	rtems_clock_get( RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
This commit is contained in:
Joel Sherrill
2009-08-10 14:50:02 +00:00
parent ec5c898b41
commit 78076a2ce4
3 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxstat/test.c, psxtime/test.c: Convert calls to legacy routine
rtems_clock_get( RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test case for user providing their own

View File

@@ -716,9 +716,9 @@ void Show_Time()
rtems_time_of_day time;
rtems_status_code status;
status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
status = rtems_clock_get_tod( &time );
printf("--->Current Time: ");
print_time( " - rtems_clock_get - ", &time, "\n" );
print_time( " - rtems_clock_get_tod - ", &time, "\n" );
}
/*

View File

@@ -65,9 +65,9 @@ void check_a_tod(
assert( !status );
do {
status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &new_tod );
status = rtems_clock_get_tod( &new_tod );
assert( !status );
print_time( "rtems_clock_get ", &new_tod, "\n" );
print_time( "rtems_clock_get_tod ", &new_tod, "\n" );
/* now do the posix time gets */
result = gettimeofday( &tv, 0 );