mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libcsupport.h: Remove RTEMS_UNIX, hpux.
Fix extern "C" {}.
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>
|
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__.
|
* libfs/src/imfs/ioman.c: Remove RTEMS_UNIX, __linux__.
|
||||||
|
|
||||||
2009-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2009-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|||||||
@@ -20,14 +20,13 @@
|
|||||||
#ifndef _RTEMS_RTEMS_LIBCSUPPORT_H
|
#ifndef _RTEMS_RTEMS_LIBCSUPPORT_H
|
||||||
#define _RTEMS_RTEMS_LIBCSUPPORT_H
|
#define _RTEMS_RTEMS_LIBCSUPPORT_H
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
|
||||||
|
|
||||||
void RTEMS_Malloc_Initialize(
|
void RTEMS_Malloc_Initialize(
|
||||||
void *heap_begin,
|
void *heap_begin,
|
||||||
uintptr_t heap_size,
|
uintptr_t heap_size,
|
||||||
@@ -50,12 +49,7 @@ bool newlib_create_hook(
|
|||||||
rtems_tcb *creating_task
|
rtems_tcb *creating_task
|
||||||
);
|
);
|
||||||
|
|
||||||
#if defined(RTEMS_UNIX) && !defined(hpux)
|
#define __RTEMS_NEWLIB_BEGIN 0
|
||||||
void newlib_begin_hook(rtems_tcb *current_task);
|
|
||||||
#define __RTEMS_NEWLIB_BEGIN newlib_begin_hook
|
|
||||||
#else
|
|
||||||
#define __RTEMS_NEWLIB_BEGIN 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void newlib_delete_hook(
|
void newlib_delete_hook(
|
||||||
rtems_tcb *current_task,
|
rtems_tcb *current_task,
|
||||||
|
|||||||
Reference in New Issue
Block a user