forked from Imagelibrary/rtems
rtems: Move extern "C" in <rtems.h>
Do not cover the includes with an extern "C".
This commit is contained in:
@@ -26,10 +26,6 @@
|
||||
*/
|
||||
/**@{*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/rtems/status.h>
|
||||
#include <rtems/rtems/types.h>
|
||||
@@ -64,6 +60,10 @@ extern "C" {
|
||||
|
||||
#include <rtems/rtems/support.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Returns the pointer to the RTEMS version string.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user