core: fixed include guards for selected headers

cc430
Hauke Petersen 7 years ago
parent f0e5413f3a
commit 6fc26f8d18

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

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

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

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

Loading…
Cancel
Save