summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-03-29 16:56:47 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-03-29 16:56:47 +0000
commit90721670a8239a0ad20043d40036f92dc9001c87 (patch)
treea3845031a4775a079aa75ac4231d63e6093bc060 /testsuites
parentUse rtems_task_argument.sp06/task1.c (diff)
downloadrtems-90721670a8239a0ad20043d40036f92dc9001c87.tar.bz2
Use rtems_task_argument.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/libtests/monitor/init.c2
-rw-r--r--testsuites/libtests/rtmonuse/task1.c2
-rw-r--r--testsuites/sptests/sp06/task1.c5
3 files changed, 5 insertions, 4 deletions
diff --git a/testsuites/libtests/monitor/init.c b/testsuites/libtests/monitor/init.c
index c2bc1e8734..07f2a54ebf 100644
--- a/testsuites/libtests/monitor/init.c
+++ b/testsuites/libtests/monitor/init.c
@@ -21,7 +21,7 @@
rtems_task_priority Priorities[6] = { 0, 1, 1, 3, 4, 5 };
rtems_task Task_1_through_5(
- uint32_t argument
+ rtems_task_argument argument
)
{
rtems_status_code status;
diff --git a/testsuites/libtests/rtmonuse/task1.c b/testsuites/libtests/rtmonuse/task1.c
index 7d6a59845c..3007baa56e 100644
--- a/testsuites/libtests/rtmonuse/task1.c
+++ b/testsuites/libtests/rtmonuse/task1.c
@@ -28,7 +28,7 @@ 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(
- uint32_t argument
+ rtems_task_argument argument
)
{
rtems_id rmid;
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;