diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-02-17 16:54:23 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-02-17 16:56:17 +0100 |
commit | 77998753b522e28f1b6f92ebab407e1fcaef5296 (patch) | |
tree | aff584f670dd662e85cba95aa96f97f802f52f04 /testsuites/sptests | |
parent | Add functions for greedy workspace allocation (diff) | |
download | rtems-77998753b522e28f1b6f92ebab407e1fcaef5296.tar.bz2 |
Use alternative API
Replaced Allocate_majority_of_workspace() with
rtems_workspace_allocate(). Replaced Allocate_majority_of_heap() with
rtems_heap_greedy_allocate().
Diffstat (limited to 'testsuites/sptests')
-rw-r--r-- | testsuites/sptests/spfatal22/testcase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/spfatal22/testcase.h b/testsuites/sptests/spfatal22/testcase.h index d44e6475b7..f8e0fdfb80 100644 --- a/testsuites/sptests/spfatal22/testcase.h +++ b/testsuites/sptests/spfatal22/testcase.h @@ -16,11 +16,11 @@ #define FATAL_ERROR_EXPECTED_ERROR RTEMS_NO_MEMORY #include <rtems/libio.h> -#include "test_support.h" +#include <rtems/malloc.h> void force_error() { - Allocate_majority_of_heap( 1 ); + rtems_heap_greedy_allocate( 0 ); rtems_libio_init(); } |