summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-14 16:13:05 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-14 16:13:05 +0000
commite717495dd2975e26bc8c31845980e959fa8c0a7c (patch)
tree5d7a14320753911f1bb1ecc0153f8dfd88211167 /cpukit
parent2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-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')
-rw-r--r--cpukit/ChangeLog2
-rw-r--r--cpukit/libcsupport/include/rtems/libcsupport.h14
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 <ralf.corsepius@rtems.org>
+ * 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 <joel.sherrill@oarcorp.com>
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,