diff options
Diffstat (limited to 'testsuites/psxtests/psxmsgq02/init.c')
-rw-r--r-- | testsuites/psxtests/psxmsgq02/init.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/testsuites/psxtests/psxmsgq02/init.c b/testsuites/psxtests/psxmsgq02/init.c index a9cb686e38..3899294f46 100644 --- a/testsuites/psxtests/psxmsgq02/init.c +++ b/testsuites/psxtests/psxmsgq02/init.c @@ -17,15 +17,12 @@ #include "system.h" #include <errno.h> #include "tmacros.h" -#include <rtems/score/wkspace.h> -#include <rtems/score/heap.h> #include <mqueue.h> #include <sched.h> #include <fcntl.h> #include <time.h> #include <tmacros.h> #include <signal.h> /* signal facilities */ -#include "test_support.h" pthread_t Init_id; @@ -48,7 +45,7 @@ void *POSIX_Init( Init_id = pthread_self(); printf( "Init's ID is 0x%08" PRIxpthread_t "\n", Init_id ); - Allocate_majority_of_workspace(NAME_MAX); + rtems_workspace_greedy_allocate( 0 ); attr.mq_maxmsg = MAXMSG; attr.mq_msgsize = MSGSIZE; |