diff options
Diffstat (limited to '')
-rw-r--r-- | testsuites/mptests/mp13/init.c | 5 | ||||
-rw-r--r-- | testsuites/mptests/mp13/system.h | 5 | ||||
-rw-r--r-- | testsuites/mptests/mp13/task1.c | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/testsuites/mptests/mp13/init.c b/testsuites/mptests/mp13/init.c index 0ec132e9ed..c6411f8106 100644 --- a/testsuites/mptests/mp13/init.c +++ b/testsuites/mptests/mp13/init.c @@ -19,7 +19,7 @@ * to the copyright license under the clause at DFARS 252.227-7013. This * notice must appear in all copies of this file and its derivatives. * - * $Id$ + * init.c,v 1.2 1995/05/31 17:04:29 joel Exp */ #include "system.h" @@ -51,7 +51,8 @@ rtems_task Init( status = rtems_message_queue_create( Queue_name[ 1 ], 3, - RTEMS_GLOBAL|RTEMS_LIMIT, + 16, + RTEMS_GLOBAL, &Queue_id[ 1 ] ); directive_failed( status, "rtems_message_queue_create" ); diff --git a/testsuites/mptests/mp13/system.h b/testsuites/mptests/mp13/system.h index aa2c6d17e4..d7ed76d4e0 100644 --- a/testsuites/mptests/mp13/system.h +++ b/testsuites/mptests/mp13/system.h @@ -11,11 +11,10 @@ * to the copyright license under the clause at DFARS 252.227-7013. This * notice must appear in all copies of this file and its derivatives. * - * $Id$ + * system.h,v 1.2 1995/05/31 17:04:31 joel Exp */ -#include <rtems.h> -#include "tmacros.h" +#include <tmacros.h> /* Miscellaneous */ diff --git a/testsuites/mptests/mp13/task1.c b/testsuites/mptests/mp13/task1.c index 180d0fd101..95da90f431 100644 --- a/testsuites/mptests/mp13/task1.c +++ b/testsuites/mptests/mp13/task1.c @@ -17,7 +17,7 @@ * to the copyright license under the clause at DFARS 252.227-7013. This * notice must appear in all copies of this file and its derivatives. * - * $Id$ + * task1.c,v 1.2 1995/05/31 17:04:33 joel Exp */ #include "system.h" @@ -27,6 +27,7 @@ rtems_task Test_task1( ) { char receive_buffer[16]; + rtems_unsigned32 size; rtems_status_code status; puts( "Getting QID of message queue" ); @@ -44,6 +45,7 @@ rtems_task Test_task1( status = rtems_message_queue_receive( Queue_id[ 1 ], (long (*)[4])receive_buffer, + &size, RTEMS_DEFAULT_OPTIONS, RTEMS_NO_TIMEOUT ); @@ -58,6 +60,7 @@ rtems_task Test_task1( status = rtems_message_queue_receive( Queue_id[ 1 ], (long (*)[4])receive_buffer, + &size, RTEMS_DEFAULT_OPTIONS, 2 * TICKS_PER_SECOND ); |