summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/iostream/init.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/samples/iostream/init.cc')
-rw-r--r--testsuites/samples/iostream/init.cc4
1 files changed, 4 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
)