diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-17 19:36:43 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-17 19:36:43 +0000 |
commit | 4b374f36e7172d59d6d8c252973c1ef65637ecbb (patch) | |
tree | d6be1084c310d24004e9b056eebdac6c286a4f25 /testsuites/mptests/mp10 | |
parent | added tty driver to simhppa (diff) | |
download | rtems-4b374f36e7172d59d6d8c252973c1ef65637ecbb.tar.bz2 |
maximum number of messages removed and include statement cleanup
Diffstat (limited to 'testsuites/mptests/mp10')
-rw-r--r-- | testsuites/mptests/mp10/init.c | 5 | ||||
-rw-r--r-- | testsuites/mptests/mp10/system.h | 5 | ||||
-rw-r--r-- | testsuites/mptests/mp10/task1.c | 4 |
3 files changed, 8 insertions, 6 deletions
diff --git a/testsuites/mptests/mp10/init.c b/testsuites/mptests/mp10/init.c index 7acf5ca411..645250dddb 100644 --- a/testsuites/mptests/mp10/init.c +++ b/testsuites/mptests/mp10/init.c @@ -25,7 +25,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:03:33 joel Exp */ #include "system.h" @@ -58,7 +58,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/mp10/system.h b/testsuites/mptests/mp10/system.h index aa2c6d17e4..43804fb080 100644 --- a/testsuites/mptests/mp10/system.h +++ b/testsuites/mptests/mp10/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:03:35 joel Exp */ -#include <rtems.h> -#include "tmacros.h" +#include <tmacros.h> /* Miscellaneous */ diff --git a/testsuites/mptests/mp10/task1.c b/testsuites/mptests/mp10/task1.c index ff6f4bd69a..984c2ddfd4 100644 --- a/testsuites/mptests/mp10/task1.c +++ b/testsuites/mptests/mp10/task1.c @@ -16,7 +16,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:03:37 joel Exp */ #include "system.h" @@ -26,6 +26,7 @@ rtems_task Test_task1( ) { char receive_buffer[16]; + rtems_unsigned32 size; rtems_status_code status; puts( "Getting QID of message queue" ); @@ -42,6 +43,7 @@ rtems_task Test_task1( status = rtems_message_queue_receive( Queue_id[ 1 ], (long (*)[4])receive_buffer, + &size, RTEMS_DEFAULT_OPTIONS, RTEMS_NO_TIMEOUT ); |