diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-30 11:12:47 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-30 11:12:47 +0000 |
commit | 9919946a826082275166ebfe37eee168672f7eca (patch) | |
tree | c6165403496985bbec8fb1a6b823e1032991673a /testsuites/libtests/rtmonuse | |
parent | 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-9919946a826082275166ebfe37eee168672f7eca.tar.bz2 |
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* cpuuse/system.h, cpuuse/task1.c, cpuuse/tswitch.c, monitor/init.c,
monitor/system.h, rtems++/System.h, rtems++/Task1.cc,
rtems++/Task2.cc, rtems++/Task3.cc, rtmonuse/init.c,
rtmonuse/system.h, rtmonuse/task1.c, stackchk/blow.c: Convert to
using c99 fixed size types.
Diffstat (limited to 'testsuites/libtests/rtmonuse')
-rw-r--r-- | testsuites/libtests/rtmonuse/init.c | 2 | ||||
-rw-r--r-- | testsuites/libtests/rtmonuse/system.h | 2 | ||||
-rw-r--r-- | testsuites/libtests/rtmonuse/task1.c | 12 |
3 files changed, 8 insertions, 8 deletions
diff --git a/testsuites/libtests/rtmonuse/init.c b/testsuites/libtests/rtmonuse/init.c index be2281f1c9..a634e3f897 100644 --- a/testsuites/libtests/rtmonuse/init.c +++ b/testsuites/libtests/rtmonuse/init.c @@ -30,7 +30,7 @@ rtems_task Init( rtems_task_argument argument ) { - rtems_unsigned32 index; + uint32_t index; rtems_status_code status; puts( "\n\n*** RATE MONOTONIC PERIOD STATISTICS TEST ***" ); diff --git a/testsuites/libtests/rtmonuse/system.h b/testsuites/libtests/rtmonuse/system.h index 9f01d2e2a0..214afec493 100644 --- a/testsuites/libtests/rtmonuse/system.h +++ b/testsuites/libtests/rtmonuse/system.h @@ -18,7 +18,7 @@ /* types */ struct counters { - rtems_unsigned32 count[6]; + uint32_t count[6]; }; /* functions */ diff --git a/testsuites/libtests/rtmonuse/task1.c b/testsuites/libtests/rtmonuse/task1.c index aae5cce94b..dcaf0376e6 100644 --- a/testsuites/libtests/rtmonuse/task1.c +++ b/testsuites/libtests/rtmonuse/task1.c @@ -23,19 +23,19 @@ #include <rtems/cpuuse.h> #include <rtems/rtmonuse.h> -rtems_unsigned32 Periods[6] = { 0, 2, 2, 2, 2, 100 }; -rtems_unsigned32 Iterations[6] = { 0, 50, 50, 50, 50, 1 }; +uint32_t Periods[6] = { 0, 2, 2, 2, 2, 100 }; +uint32_t Iterations[6] = { 0, 50, 50, 50, 50, 1 }; rtems_task_priority Priorities[6] = { 0, 1, 1, 3, 4, 5 }; rtems_task Task_1_through_5( - rtems_unsigned32 argument + uint32_t argument ) { rtems_id rmid; rtems_id test_rmid; - rtems_unsigned32 index; - rtems_unsigned32 pass; - rtems_unsigned32 failed; + uint32_t index; + uint32_t pass; + uint32_t failed; rtems_status_code status; status = rtems_rate_monotonic_create( argument, &rmid ); |