summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-10 14:50:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-10 14:50:02 +0000
commit78076a2ce45a638ab751f86941ce8904cee53300 (patch)
tree4c5348f6782aac1dcad686c6465e78bd08f529c2 /testsuites
parent2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-78076a2ce45a638ab751f86941ce8904cee53300.tar.bz2
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(..).
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/psxtests/ChangeLog5
-rw-r--r--testsuites/psxtests/psxstat/test.c4
-rw-r--r--testsuites/psxtests/psxtime/test.c4
3 files changed, 9 insertions, 4 deletions
diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog
index d246118cfb..59198888b5 100644
--- a/testsuites/psxtests/ChangeLog
+++ b/testsuites/psxtests/ChangeLog
@@ -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
diff --git a/testsuites/psxtests/psxstat/test.c b/testsuites/psxtests/psxstat/test.c
index 00da904389..8abcf6826a 100644
--- a/testsuites/psxtests/psxstat/test.c
+++ b/testsuites/psxtests/psxstat/test.c
@@ -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" );
}
/*
diff --git a/testsuites/psxtests/psxtime/test.c b/testsuites/psxtests/psxtime/test.c
index 72d436ae30..dec42affcf 100644
--- a/testsuites/psxtests/psxtime/test.c
+++ b/testsuites/psxtests/psxtime/test.c
@@ -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 );