summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/libcsupport/include/rtems/libio_.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio_.h b/cpukit/libcsupport/include/rtems/libio_.h
index 6b326b7590..f64fefb2e8 100644
--- a/cpukit/libcsupport/include/rtems/libio_.h
+++ b/cpukit/libcsupport/include/rtems/libio_.h
@@ -18,10 +18,6 @@
#ifndef _RTEMS_RTEMS_LIBIO__H
#define _RTEMS_RTEMS_LIBIO__H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <rtems.h>
#include <rtems/libio.h> /* include before standard IO */
@@ -29,6 +25,10 @@ extern "C" {
#include <errno.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Semaphore to protect the io table
*/