summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/libcsupport/include/rtems/libcsupport.h9
-rw-r--r--c/src/lib/include/rtems/libcsupport.h9
-rw-r--r--c/src/lib/libc/libcsupport.h9
-rw-r--r--cpukit/libcsupport/include/rtems/libcsupport.h9
4 files changed, 8 insertions, 28 deletions
diff --git a/c/src/exec/libcsupport/include/rtems/libcsupport.h b/c/src/exec/libcsupport/include/rtems/libcsupport.h
index 2b199707f8..063246f4e5 100644
--- a/c/src/exec/libcsupport/include/rtems/libcsupport.h
+++ b/c/src/exec/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 */
diff --git a/c/src/lib/include/rtems/libcsupport.h b/c/src/lib/include/rtems/libcsupport.h
index 2b199707f8..063246f4e5 100644
--- a/c/src/lib/include/rtems/libcsupport.h
+++ b/c/src/lib/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 */
diff --git a/c/src/lib/libc/libcsupport.h b/c/src/lib/libc/libcsupport.h
index 2b199707f8..063246f4e5 100644
--- a/c/src/lib/libc/libcsupport.h
+++ b/c/src/lib/libc/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 */
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 */