Added functions to access the errno of the native system when using the

newlib C library.
This commit is contained in:
Joel Sherrill
1995-08-11 14:31:29 +00:00
parent c1403ef153
commit 4e58d80b9e
4 changed files with 8 additions and 28 deletions

View File

@@ -21,10 +21,6 @@
extern "C" { extern "C" {
#endif #endif
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/types.h> #include <sys/types.h>
void RTEMS_Malloc_Initialize( void RTEMS_Malloc_Initialize(
@@ -39,9 +35,8 @@ extern void libc_init(int reentrant);
} }
#endif #endif
#ifdef __cplusplus extern int host_errno(void);
} extern void fix_syscall_errno(void);
#endif
#endif #endif
/* end of include file */ /* end of include file */

View File

@@ -21,10 +21,6 @@
extern "C" { extern "C" {
#endif #endif
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/types.h> #include <sys/types.h>
void RTEMS_Malloc_Initialize( void RTEMS_Malloc_Initialize(
@@ -39,9 +35,8 @@ extern void libc_init(int reentrant);
} }
#endif #endif
#ifdef __cplusplus extern int host_errno(void);
} extern void fix_syscall_errno(void);
#endif
#endif #endif
/* end of include file */ /* end of include file */

View File

@@ -21,10 +21,6 @@
extern "C" { extern "C" {
#endif #endif
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/types.h> #include <sys/types.h>
void RTEMS_Malloc_Initialize( void RTEMS_Malloc_Initialize(
@@ -39,9 +35,8 @@ extern void libc_init(int reentrant);
} }
#endif #endif
#ifdef __cplusplus extern int host_errno(void);
} extern void fix_syscall_errno(void);
#endif
#endif #endif
/* end of include file */ /* end of include file */

View File

@@ -21,10 +21,6 @@
extern "C" { extern "C" {
#endif #endif
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/types.h> #include <sys/types.h>
void RTEMS_Malloc_Initialize( void RTEMS_Malloc_Initialize(
@@ -39,9 +35,8 @@ extern void libc_init(int reentrant);
} }
#endif #endif
#ifdef __cplusplus extern int host_errno(void);
} extern void fix_syscall_errno(void);
#endif
#endif #endif
/* end of include file */ /* end of include file */