core/native_sched.h: style and doxygen fixes

This commit is contained in:
Hauke Petersen 2015-12-02 11:11:00 +01:00
parent 6fc26f8d18
commit f326beb3f7

View File

@ -18,7 +18,6 @@
* @brief Add definitions required on the native board * @brief Add definitions required on the native board
* *
* @author Raphael Hiesgen <raphael.hiesgen@haw-hamburg.de> * @author Raphael Hiesgen <raphael.hiesgen@haw-hamburg.de>
* @}
*/ */
#ifndef NATIVE_SCHEDULER_H #ifndef NATIVE_SCHEDULER_H
@ -30,6 +29,7 @@ extern "C" {
#ifdef BOARD_NATIVE #ifdef BOARD_NATIVE
#include <stdio.h> #include <stdio.h>
/* /*
* Required to use some C++11 headers with g++ on the native board. * Required to use some C++11 headers with g++ on the native board.
*/ */
@ -48,10 +48,11 @@ inline int sched_yield(void)
puts("[ERROR] sched_yield called (defined in sched.h)\n"); puts("[ERROR] sched_yield called (defined in sched.h)\n");
return 0; return 0;
} }
#endif // BOARD_NATIVE #endif /* BOARD_NATIVE */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* NATIVE_SCHEDULER_H */ #endif /* NATIVE_SCHEDULER_H */
/** @} */