diff --git a/tests/memarray/main.c b/tests/memarray/main.c index b00f790b15..7d5762ecd7 100644 --- a/tests/memarray/main.c +++ b/tests/memarray/main.c @@ -24,6 +24,7 @@ #include #include "memarray.h" +#include "ps.h" #define MESSAGE_SIZE (8U) @@ -39,8 +40,6 @@ #define NUMBER_OF_LOOPS (1) #endif -extern int _ps_handler(int argc, char **argv); - struct block_t { struct node *next; int number; @@ -114,7 +113,7 @@ int main(void) int loop = 0; printf("Starting (%d, %u)\n", MAX_NUMBER_BLOCKS, MESSAGE_SIZE); - _ps_handler(0, NULL); + ps(); printf("LOOP #%i:\n", loop + 1); while (count < NUMBER_OF_TESTS) { @@ -184,7 +183,7 @@ int main(void) res, (unsigned)memarray_available(&block_storage)); printf("Finishing\n"); - _ps_handler(0, NULL); + ps(); return 0; }