core: fixed include guards for selected headers

This commit is contained in:
Hauke Petersen 2015-12-02 11:08:23 +01:00
parent f0e5413f3a
commit 6fc26f8d18
4 changed files with 12 additions and 12 deletions

View File

@ -16,8 +16,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de> * @author Kaspar Schleiser <kaspar@schleiser.de>
*/ */
#ifndef _FLAGS_H #ifndef FLAGS_H
#define _FLAGS_H #define FLAGS_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -38,5 +38,5 @@
} }
#endif #endif
#endif /* _FLAGS_H */ #endif /* FLAGS_H */
/** @} */ /** @} */

View File

@ -29,8 +29,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de> * @author Kaspar Schleiser <kaspar@schleiser.de>
*/ */
#ifndef __LOG_H #ifndef LOG_H
#define __LOG_H #define LOG_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -100,5 +100,5 @@ enum {
} }
#endif #endif
#endif /* __LOG_H */ #endif /* LOG_H */
/** @} */ /** @} */

View File

@ -21,8 +21,8 @@
* @} * @}
*/ */
#ifndef _NATIVE_SCHEDULER_H #ifndef NATIVE_SCHEDULER_H
#define _NATIVE_SCHEDULER_H #define NATIVE_SCHEDULER_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -54,4 +54,4 @@ inline int sched_yield(void)
} }
#endif #endif
#endif // _NATIVE_SCHEDULER_H #endif /* NATIVE_SCHEDULER_H */

View File

@ -77,8 +77,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de> * @author Kaspar Schleiser <kaspar@schleiser.de>
*/ */
#ifndef _SCHEDULER_H #ifndef SCHEDULER_H
#define _SCHEDULER_H #define SCHEDULER_H
#include <stddef.h> #include <stddef.h>
#include "bitarithm.h" #include "bitarithm.h"
@ -193,5 +193,5 @@ void sched_register_cb(void (*callback)(uint32_t, uint32_t));
} }
#endif #endif
#endif // _SCHEDULER_H #endif /* SCHEDULER_H */
/** @} */ /** @} */