diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-02-06 19:14:54 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-02-06 19:14:54 +0000 |
commit | 3da8388977dc757e9df63a796f66e1b4802f2bcd (patch) | |
tree | 940f98458c772fa7c72c344ab44797ef7456c504 /testsuites | |
parent | 2007-02-06 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-3da8388977dc757e9df63a796f66e1b4802f2bcd.tar.bz2 |
2007-02-06 Joel Sherrill <joel@OARcorp.com>
* sp09/screen07.c, sp09/task3.c, sp13/task1.c, sp13/task2.c,
sp13/task3.c: Address size_t/uint32_t typing issues in message queue
tests.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/sptests/ChangeLog | 6 | ||||
-rw-r--r-- | testsuites/sptests/sp09/screen07.c | 4 | ||||
-rw-r--r-- | testsuites/sptests/sp09/task3.c | 4 | ||||
-rw-r--r-- | testsuites/sptests/sp13/task1.c | 6 | ||||
-rw-r--r-- | testsuites/sptests/sp13/task2.c | 4 | ||||
-rw-r--r-- | testsuites/sptests/sp13/task3.c | 6 |
6 files changed, 18 insertions, 12 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog index a48f54b8f5..ffc268eb2d 100644 --- a/testsuites/sptests/ChangeLog +++ b/testsuites/sptests/ChangeLog @@ -1,3 +1,9 @@ +2007-02-06 Joel Sherrill <joel@OARcorp.com> + + * sp09/screen07.c, sp09/task3.c, sp13/task1.c, sp13/task2.c, + sp13/task3.c: Address size_t/uint32_t typing issues in message queue + tests. + 2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org> * configure.ac: New BUG-REPORT address. diff --git a/testsuites/sptests/sp09/screen07.c b/testsuites/sptests/sp09/screen07.c index 3e3cbea898..5ddc7dee87 100644 --- a/testsuites/sptests/sp09/screen07.c +++ b/testsuites/sptests/sp09/screen07.c @@ -6,7 +6,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -23,7 +23,7 @@ void Screen7() { long buffer[ 4 ]; - uint32_t size; + size_t size; uint32_t count; rtems_status_code status; diff --git a/testsuites/sptests/sp09/task3.c b/testsuites/sptests/sp09/task3.c index 5111a583b7..f7bebffeb5 100644 --- a/testsuites/sptests/sp09/task3.c +++ b/testsuites/sptests/sp09/task3.c @@ -9,7 +9,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -27,7 +27,7 @@ rtems_task Task_3( { rtems_status_code status; long buffer[ 4 ]; - uint32_t size; + size_t size; puts( "TA3 - rtems_message_queue_receive - Q 1 - RTEMS_WAIT FOREVER" ); status = rtems_message_queue_receive( diff --git a/testsuites/sptests/sp13/task1.c b/testsuites/sptests/sp13/task1.c index 52508b2e60..d73dafa001 100644 --- a/testsuites/sptests/sp13/task1.c +++ b/testsuites/sptests/sp13/task1.c @@ -7,7 +7,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -50,8 +50,8 @@ rtems_task Task_1( uint32_t index; uint32_t count; rtems_status_code status; - uint32_t size; - uint32_t queue_size; + size_t size; + size_t queue_size; unsigned char *cp; status = rtems_message_queue_ident( diff --git a/testsuites/sptests/sp13/task2.c b/testsuites/sptests/sp13/task2.c index 79d705a2eb..699ef83ee6 100644 --- a/testsuites/sptests/sp13/task2.c +++ b/testsuites/sptests/sp13/task2.c @@ -8,7 +8,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -25,7 +25,7 @@ rtems_task Task_2( ) { long buffer[ 4 ]; - uint32_t size; + size_t size; rtems_task_priority previous_priority; rtems_status_code status; diff --git a/testsuites/sptests/sp13/task3.c b/testsuites/sptests/sp13/task3.c index 380c5c0c2b..cfa5a9c2d8 100644 --- a/testsuites/sptests/sp13/task3.c +++ b/testsuites/sptests/sp13/task3.c @@ -8,7 +8,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -25,8 +25,8 @@ rtems_task Task_3( ) { long buffer[ 4 ]; - uint32_t size; - uint32_t count; + size_t size; + uint32_t count; rtems_status_code status; puts( |