summaryrefslogtreecommitdiffstats
path: root/c/src/ada-tests/mptests/mp01
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-03-22 17:13:30 -0500
committerJoel Sherrill <joel@rtems.org>2016-04-14 16:36:53 -0500
commite65c45c4b6cf6dfb485bef48385e39969de8b361 (patch)
tree2ef5f976ff45c59bd29ce006f2c2585cd0e05e23 /c/src/ada-tests/mptests/mp01
parentconddefaultattributes.c: Add default clock to structure. (diff)
downloadrtems-e65c45c4b6cf6dfb485bef48385e39969de8b361.tar.bz2
Obsolete rtems_clock_get() directive.
This service was marked as deprecated long prior to the 4.11 release series and is now being removed. closes #2676.
Diffstat (limited to 'c/src/ada-tests/mptests/mp01')
-rw-r--r--c/src/ada-tests/mptests/mp01/mptest.adb8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/ada-tests/mptests/mp01/mptest.adb b/c/src/ada-tests/mptests/mp01/mptest.adb
index 779d1242d2..b76a1af8dc 100644
--- a/c/src/ada-tests/mptests/mp01/mptest.adb
+++ b/c/src/ada-tests/mptests/mp01/mptest.adb
@@ -146,8 +146,8 @@ package body MPTEST is
RTEMS.TASKS.IDENT( RTEMS.SELF, RTEMS.SEARCH_ALL_NODES, TID, STATUS );
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_IDENT OF SELF" );
- RTEMS.CLOCK.GET( RTEMS.CLOCK.GET_TOD, TIME'ADDRESS, STATUS );
- TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "CLOCK_GET" );
+ RTEMS.CLOCK.GET_TOD( TIME, STATUS );
+ TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "CLOCK_GET_TOD" );
TEST_SUPPORT.PUT_NAME(
MPTEST.TASK_NAME( TEST_SUPPORT.TASK_NUMBER( TID ) ),
@@ -164,8 +164,8 @@ package body MPTEST is
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_WAKE_AFTER" );
- RTEMS.CLOCK.GET( RTEMS.CLOCK.GET_TOD, TIME'ADDRESS, STATUS );
- TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "CLOCK_GET" );
+ RTEMS.CLOCK.GET_TOD( TIME, STATUS );
+ TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "CLOCK_GET_TOD" );
TEST_SUPPORT.PUT_NAME(
MPTEST.TASK_NAME( TEST_SUPPORT.TASK_NUMBER( TID ) ),