diff options
Diffstat (limited to 'testsuites/samples/iostream')
-rw-r--r-- | testsuites/samples/iostream/init.cc | 4 | ||||
-rw-r--r-- | testsuites/samples/iostream/system.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/samples/iostream/init.cc b/testsuites/samples/iostream/init.cc index 26fb7b754b..2f0e3944f8 100644 --- a/testsuites/samples/iostream/init.cc +++ b/testsuites/samples/iostream/init.cc @@ -20,8 +20,11 @@ * $Id$ */ +extern "C" { + #define CONFIGURE_INIT #include "system.h" +} #if BSP_SMALL_MEMORY #include <stdio.h> @@ -31,6 +34,7 @@ #include <stdlib.h> + rtems_task Init( rtems_task_argument ignored ) diff --git a/testsuites/samples/iostream/system.h b/testsuites/samples/iostream/system.h index d1033b5f51..4c4ab16582 100644 --- a/testsuites/samples/iostream/system.h +++ b/testsuites/samples/iostream/system.h @@ -32,6 +32,7 @@ #define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2) #define CONFIGURE_EXTRA_TASK_STACKS RTEMS_MINIMUM_STACK_SIZE +/* Only remove when this macro is removed from confdefs.h. It tests it. */ #define CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM #include <rtems/confdefs.h> |