From 4e58d80b9eff1e81b4982b6617763a4344e1eabe Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 11 Aug 1995 14:31:29 +0000 Subject: Added functions to access the errno of the native system when using the newlib C library. --- cpukit/libcsupport/include/rtems/libcsupport.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'cpukit/libcsupport/include/rtems/libcsupport.h') diff --git a/cpukit/libcsupport/include/rtems/libcsupport.h b/cpukit/libcsupport/include/rtems/libcsupport.h index 2b199707f8..063246f4e5 100644 --- a/cpukit/libcsupport/include/rtems/libcsupport.h +++ b/cpukit/libcsupport/include/rtems/libcsupport.h @@ -21,10 +21,6 @@ extern "C" { #endif -#ifdef __cplusplus -extern "C" { -#endif - #include void RTEMS_Malloc_Initialize( @@ -39,9 +35,8 @@ extern void libc_init(int reentrant); } #endif -#ifdef __cplusplus -} -#endif +extern int host_errno(void); +extern void fix_syscall_errno(void); #endif /* end of include file */ -- cgit v1.2.3