From 9919946a826082275166ebfe37eee168672f7eca Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 30 Mar 2004 11:12:47 +0000 Subject: 2004-03-30 Ralf Corsepius * 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. --- testsuites/libtests/rtmonuse/init.c | 2 +- testsuites/libtests/rtmonuse/system.h | 2 +- testsuites/libtests/rtmonuse/task1.c | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'testsuites/libtests/rtmonuse') 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 #include -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 ); -- cgit v1.2.3