summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-03-29 17:01:59 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-03-29 17:01:59 +0000
commit77198be529d03b765b89f228c828607e22b8f04c (patch)
tree186124fcce3d221f65e9626955aaff0e3b046b41 /testsuites/sptests
parent2007-03-28 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-77198be529d03b765b89f228c828607e22b8f04c.tar.bz2
Use rtems_task_argument.
Diffstat (limited to 'testsuites/sptests')
-rw-r--r--testsuites/sptests/sp06/task1.c5
-rw-r--r--testsuites/sptests/sp20/task1.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/testsuites/sptests/sp06/task1.c b/testsuites/sptests/sp06/task1.c
index f11fa931a3..bf0c0e3873 100644
--- a/testsuites/sptests/sp06/task1.c
+++ b/testsuites/sptests/sp06/task1.c
@@ -20,8 +20,9 @@
#include "system.h"
-rtems_task Task_1( argument )
-uint32_t argument;
+rtems_task Task_1(
+ rtems_task_argument argument
+)
{
uint32_t pass;
rtems_status_code status;
diff --git a/testsuites/sptests/sp20/task1.c b/testsuites/sptests/sp20/task1.c
index 1d3e552852..cd9ff99434 100644
--- a/testsuites/sptests/sp20/task1.c
+++ b/testsuites/sptests/sp20/task1.c
@@ -31,7 +31,7 @@ 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(
- uint32_t argument
+ rtems_task_argument argument
)
{
rtems_id rmid;