summaryrefslogtreecommitdiffstats
path: root/testsuites/mptests/mp10/task1.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-17 19:36:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-17 19:36:43 +0000
commit4b374f36e7172d59d6d8c252973c1ef65637ecbb (patch)
treed6be1084c310d24004e9b056eebdac6c286a4f25 /testsuites/mptests/mp10/task1.c
parentadded tty driver to simhppa (diff)
downloadrtems-4b374f36e7172d59d6d8c252973c1ef65637ecbb.tar.bz2
maximum number of messages removed and include statement cleanup
Diffstat (limited to '')
-rw-r--r--testsuites/mptests/mp10/task1.c4
1 files changed, 3 insertions, 1 deletions
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
);