summaryrefslogtreecommitdiffstats
path: root/c/src/tests/mptests/mp10
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/tests/mptests/mp10/init.c5
-rw-r--r--c/src/tests/mptests/mp10/system.h5
-rw-r--r--c/src/tests/mptests/mp10/task1.c4
3 files changed, 8 insertions, 6 deletions
diff --git a/c/src/tests/mptests/mp10/init.c b/c/src/tests/mptests/mp10/init.c
index 7acf5ca411..645250dddb 100644
--- a/c/src/tests/mptests/mp10/init.c
+++ b/c/src/tests/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/c/src/tests/mptests/mp10/system.h b/c/src/tests/mptests/mp10/system.h
index aa2c6d17e4..43804fb080 100644
--- a/c/src/tests/mptests/mp10/system.h
+++ b/c/src/tests/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/c/src/tests/mptests/mp10/task1.c b/c/src/tests/mptests/mp10/task1.c
index ff6f4bd69a..984c2ddfd4 100644
--- a/c/src/tests/mptests/mp10/task1.c
+++ b/c/src/tests/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
);