From f52837dbde5780cd17393605cf6ae6632ecd2e30 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Fri, 30 Jan 2015 10:39:20 +0100 Subject: Aerocore: CXX init --- src/drivers/boards/aerocore/aerocore_init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/drivers/boards/aerocore/aerocore_init.c b/src/drivers/boards/aerocore/aerocore_init.c index 79e3e9e77..4d257d24b 100644 --- a/src/drivers/boards/aerocore/aerocore_init.c +++ b/src/drivers/boards/aerocore/aerocore_init.c @@ -71,6 +71,10 @@ #include #include +#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE) +#include +#endif + /**************************************************************************** * Pre-Processor Definitions ****************************************************************************/ @@ -110,10 +114,6 @@ __END_DECLS * Protected Functions ****************************************************************************/ -#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE) -__EXPORT extern void up_cxxinitialize(void); -#endif - #if defined(CONFIG_FAT_DMAMEMORY) # if !defined(CONFIG_GRAN) || !defined(CONFIG_FAT_DMAMEMORY) # error microSD DMA support requires CONFIG_GRAN -- cgit v1.2.3