From 6fc26f8d185f87cb7b6f1e78c2eefff9b97aa998 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Wed, 2 Dec 2015 11:08:23 +0100 Subject: [PATCH] core: fixed include guards for selected headers --- core/include/flags.h | 6 +++--- core/include/log.h | 6 +++--- core/include/native_sched.h | 6 +++--- core/include/sched.h | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/core/include/flags.h b/core/include/flags.h index 733c8872be..62a85a6b8c 100644 --- a/core/include/flags.h +++ b/core/include/flags.h @@ -16,8 +16,8 @@ * @author Kaspar Schleiser */ -#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 */ /** @} */ diff --git a/core/include/log.h b/core/include/log.h index b9e7c47f8a..fe10855ebe 100644 --- a/core/include/log.h +++ b/core/include/log.h @@ -29,8 +29,8 @@ * @author Kaspar Schleiser */ -#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 */ /** @} */ diff --git a/core/include/native_sched.h b/core/include/native_sched.h index 2c11161733..10508d2390 100644 --- a/core/include/native_sched.h +++ b/core/include/native_sched.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 */ diff --git a/core/include/sched.h b/core/include/sched.h index 7f0436377a..53b883c7fb 100644 --- a/core/include/sched.h +++ b/core/include/sched.h @@ -77,8 +77,8 @@ * @author Kaspar Schleiser */ -#ifndef _SCHEDULER_H -#define _SCHEDULER_H +#ifndef SCHEDULER_H +#define SCHEDULER_H #include #include "bitarithm.h" @@ -193,5 +193,5 @@ void sched_register_cb(void (*callback)(uint32_t, uint32_t)); } #endif -#endif // _SCHEDULER_H +#endif /* SCHEDULER_H */ /** @} */