summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/unlimited/test2.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-30 11:12:01 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-30 11:12:01 +0000
commit4c84d7b760ceb1e140c1cfc0fa64289ca4d243ed (patch)
tree6925b52efd156f13a4493b4822653467de66c412 /testsuites/samples/unlimited/test2.c
parent2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-4c84d7b760ceb1e140c1cfc0fa64289ca4d243ed.tar.bz2
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* fileio/init.c, fileio/system.h, ticker/system.h, ticker/tasks.c, unlimited/init.c, unlimited/test1.c, unlimited/test2.c, unlimited/test3.c: Convert to using c99 fixed size types.
Diffstat (limited to 'testsuites/samples/unlimited/test2.c')
-rw-r--r--testsuites/samples/unlimited/test2.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuites/samples/unlimited/test2.c b/testsuites/samples/unlimited/test2.c
index c892315143..fe2f86ebeb 100644
--- a/testsuites/samples/unlimited/test2.c
+++ b/testsuites/samples/unlimited/test2.c
@@ -27,10 +27,10 @@
void test2()
{
rtems_status_code result;
- rtems_unsigned32 remove_task;
- rtems_unsigned32 task;
- rtems_unsigned32 block;
- rtems_unsigned32 task_count = 0;
+ uint32_t remove_task;
+ uint32_t task;
+ uint32_t block;
+ uint32_t task_count = 0;
rtems_id removed_ids[TASK_ALLOCATION_SIZE * 2];
char c1 = 'a';
@@ -126,7 +126,7 @@ void test2()
for (task = 0; task < (TASK_ALLOCATION_SIZE * 2); task++)
{
rtems_name name;
- rtems_unsigned32 id_slot;
+ uint32_t id_slot;
/*
* Find a free slot in the task id table.
@@ -202,7 +202,7 @@ void test2()
if (remove_task == (TASK_ALLOCATION_SIZE * 2))
{
- rtems_unsigned32 allocated_id;
+ uint32_t allocated_id;
for (allocated_id = 0; allocated_id < MAX_TASKS; allocated_id++)
if ((task_id[id_slot] == task_id[allocated_id]) && (id_slot != allocated_id))