From e717495dd2975e26bc8c31845980e959fa8c0a7c Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 14 Oct 2009 16:13:05 +0000 Subject: =?UTF-8?q?2009-10-14=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libcsupport/include/rtems/libcsupport.h: Remove RTEMS_UNIX, hpux. Fix extern "C" {}. --- cpukit/ChangeLog | 2 ++ cpukit/libcsupport/include/rtems/libcsupport.h | 14 ++++---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 9fb033eab1..b71ab52300 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,7 @@ 2009-10-14 Ralf Corsépius + * libcsupport/include/rtems/libcsupport.h: Remove RTEMS_UNIX, hpux. + Fix extern "C" {}. * libfs/src/imfs/ioman.c: Remove RTEMS_UNIX, __linux__. 2009-10-14 Joel Sherrill diff --git a/cpukit/libcsupport/include/rtems/libcsupport.h b/cpukit/libcsupport/include/rtems/libcsupport.h index 5c9081c353..63ddd4fa91 100644 --- a/cpukit/libcsupport/include/rtems/libcsupport.h +++ b/cpukit/libcsupport/include/rtems/libcsupport.h @@ -20,14 +20,13 @@ #ifndef _RTEMS_RTEMS_LIBCSUPPORT_H #define _RTEMS_RTEMS_LIBCSUPPORT_H +#include +#include + #ifdef __cplusplus extern "C" { #endif -#include - -#include - void RTEMS_Malloc_Initialize( void *heap_begin, uintptr_t heap_size, @@ -50,12 +49,7 @@ bool newlib_create_hook( rtems_tcb *creating_task ); -#if defined(RTEMS_UNIX) && !defined(hpux) - void newlib_begin_hook(rtems_tcb *current_task); - #define __RTEMS_NEWLIB_BEGIN newlib_begin_hook -#else - #define __RTEMS_NEWLIB_BEGIN 0 -#endif +#define __RTEMS_NEWLIB_BEGIN 0 void newlib_delete_hook( rtems_tcb *current_task, -- cgit v1.2.3