summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp20/task1.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-30 11:15:35 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-30 11:15:35 +0000
commitc87608fd821faf8c936d9ac51373186cc2f1f4e9 (patch)
tree59b93749b3fb171a6d2691caf1ae8bdc735695ab /testsuites/sptests/sp20/task1.c
parent2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-c87608fd821faf8c936d9ac51373186cc2f1f4e9.tar.bz2
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* sp02/task1.c, sp04/system.h, sp04/task1.c, sp04/tswitch.c, sp05/task1.c, sp06/task1.c, sp09/screen01.c, sp09/screen07.c, sp09/screen12.c, sp09/system.h, sp09/task3.c, sp11/task1.c, sp12/pridrv.c, sp12/pritask.c, sp12/system.h, sp13/task1.c, sp13/task2.c, sp13/task3.c, sp14/system.h, sp15/system.h, sp16/system.h, sp17/system.h, sp19/first.c, sp19/fptask.c, sp19/inttest.h, sp19/system.h, sp19/task1.c, sp20/init.c, sp20/system.h, sp20/task1.c, sp23/system.h, sp24/init.c, sp25/system.h, sp30/init.c, spfatal/fatal.c, spfatal/puterr.c, spfatal/system.h, spsize/size.c: Convert to using c99 fixed size types.
Diffstat (limited to 'testsuites/sptests/sp20/task1.c')
-rw-r--r--testsuites/sptests/sp20/task1.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuites/sptests/sp20/task1.c b/testsuites/sptests/sp20/task1.c
index 765affffe9..1d3e552852 100644
--- a/testsuites/sptests/sp20/task1.c
+++ b/testsuites/sptests/sp20/task1.c
@@ -26,19 +26,19 @@
#define TA6_ITERATIONS 10
#define TA6_PERIOD_FACTOR 10
-rtems_unsigned32 Periods[7] = { 0, 2, 2, 2, 2, 100, 0 };
-rtems_unsigned32 Iterations[7] = { 0, 50, 50, 50, 50, 1, TA6_ITERATIONS };
+uint32_t Periods[7] = { 0, 2, 2, 2, 2, 100, 0 };
+uint32_t Iterations[7] = { 0, 50, 50, 50, 50, 1, TA6_ITERATIONS };
rtems_task_priority Priorities[7] = { 0, 1, 1, 3, 4, 5, 1 };
rtems_task Task_1_through_6(
- 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 );
@@ -120,7 +120,7 @@ rtems_task Task_1_through_6(
case 6:
/* test changing periods */
{
- unsigned32 time[TA6_ITERATIONS+1];
+ uint32_t time[TA6_ITERATIONS+1];
rtems_interval period;
period = 1*TA6_PERIOD_FACTOR;