summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-11 14:31:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-11 14:31:29 +0000
commit4e58d80b9eff1e81b4982b6617763a4344e1eabe (patch)
treed71089bda3c217fbce325ba6a3dc4e495ec5180e /cpukit/libcsupport
parentAdded flush of output on exit. On some UNIX's using the native library (diff)
downloadrtems-4e58d80b9eff1e81b4982b6617763a4344e1eabe.tar.bz2
Added functions to access the errno of the native system when using the
newlib C library.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/include/rtems/libcsupport.h9
1 files changed, 2 insertions, 7 deletions
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 <sys/types.h>
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 */