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 #include /* include before standard IO */ @@ -29,6 +25,10 @@ extern "C" { #include +#ifdef __cplusplus +extern "C" { +#endif + /* * Semaphore to protect the io table */