diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-30 11:12:01 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-30 11:12:01 +0000 |
commit | 4c84d7b760ceb1e140c1cfc0fa64289ca4d243ed (patch) | |
tree | 6925b52efd156f13a4493b4822653467de66c412 /testsuites/samples/unlimited | |
parent | 2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-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 '')
-rw-r--r-- | testsuites/samples/unlimited/init.c | 4 | ||||
-rw-r--r-- | testsuites/samples/unlimited/test1.c | 2 | ||||
-rw-r--r-- | testsuites/samples/unlimited/test2.c | 12 | ||||
-rw-r--r-- | testsuites/samples/unlimited/test3.c | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/testsuites/samples/unlimited/init.c b/testsuites/samples/unlimited/init.c index 925d4589b3..eeebf4b1ac 100644 --- a/testsuites/samples/unlimited/init.c +++ b/testsuites/samples/unlimited/init.c @@ -37,7 +37,7 @@ rtems_task Init( { rtems_task_priority old_priority; rtems_mode old_mode; - rtems_unsigned32 task; + uint32_t task; /* lower the task priority to allow created tasks to execute */ @@ -80,7 +80,7 @@ void destory_all_tasks( const char *who ) { - rtems_unsigned32 task; + uint32_t task; /* * If the id is not zero, signal the task to delete. diff --git a/testsuites/samples/unlimited/test1.c b/testsuites/samples/unlimited/test1.c index 89e46a54a9..09e67a6191 100644 --- a/testsuites/samples/unlimited/test1.c +++ b/testsuites/samples/unlimited/test1.c @@ -26,7 +26,7 @@ void test1() { boolean auto_extend; rtems_status_code result; - rtems_unsigned32 task_count = 0; + uint32_t task_count = 0; Objects_Information *the_information; char c1 = 'a'; 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)) diff --git a/testsuites/samples/unlimited/test3.c b/testsuites/samples/unlimited/test3.c index f3624d72ad..5ae799066f 100644 --- a/testsuites/samples/unlimited/test3.c +++ b/testsuites/samples/unlimited/test3.c @@ -27,9 +27,9 @@ void test3() { rtems_status_code result; - rtems_unsigned32 remove_task; - rtems_unsigned32 block; - rtems_unsigned32 task_count = 0; + uint32_t remove_task; + uint32_t block; + uint32_t task_count = 0; char c1 = 'a'; char c2 = 'a'; |