summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxsignal01
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-10 16:05:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-10 16:05:02 +0000
commitde90869d97f9c89f6e1073ad3661b460dc300b2a (patch)
tree70a4ef9c48db479f5aaec4bee296708b8007ad85 /testsuites/psxtests/psxsignal01
parent2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-de90869d97f9c89f6e1073ad3661b460dc300b2a.tar.bz2
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsignal01/init.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
Diffstat (limited to 'testsuites/psxtests/psxsignal01')
-rw-r--r--testsuites/psxtests/psxsignal01/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxsignal01/init.c b/testsuites/psxtests/psxsignal01/init.c
index c7e10303f0..30416bdb4a 100644
--- a/testsuites/psxtests/psxsignal01/init.c
+++ b/testsuites/psxtests/psxsignal01/init.c
@@ -198,7 +198,7 @@ void *POSIX_Init(
/* now schedule another one to fire but do not sleep */
puts( "Init: send SIGUSR1 to process from a TSR (spin)" );
- rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &start );
+ start = rtems_clock_get_ticks_since_boot();
Signal_count = 0;
Signal_occurred = 0;
status = rtems_timer_fire_after(
@@ -208,7 +208,7 @@ void *POSIX_Init(
NULL
);
do {
- rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &end );
+ end = rtems_clock_get_ticks_since_boot();
} while ( !Signal_occurred && ((end - start) <= 800));
if ( !Signal_occurred ) {