diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-14 16:13:05 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-14 16:13:05 +0000 |
commit | e717495dd2975e26bc8c31845980e959fa8c0a7c (patch) | |
tree | 5d7a14320753911f1bb1ecc0153f8dfd88211167 /cpukit/libcsupport/include/rtems/libcsupport.h | |
parent | 2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-e717495dd2975e26bc8c31845980e959fa8c0a7c.tar.bz2 |
2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libcsupport.h: Remove RTEMS_UNIX, hpux.
Fix extern "C" {}.
Diffstat (limited to 'cpukit/libcsupport/include/rtems/libcsupport.h')
-rw-r--r-- | cpukit/libcsupport/include/rtems/libcsupport.h | 14 |
1 files changed, 4 insertions, 10 deletions
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 <sys/types.h> +#include <stdint.h> + #ifdef __cplusplus extern "C" { #endif -#include <stdint.h> - -#include <sys/types.h> - 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, |