core: Updated include guards to remove leading underscores

dev/timer
altairpearl 9 years ago
parent 7273d5c9ad
commit a409191b71

@ -16,8 +16,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef __ATOMIC_ARCH_H
#define __ATOMIC_ARCH_H
#ifndef ATOMIC_ARCH_H
#define ATOMIC_ARCH_H
#ifdef __cplusplus
extern "C" {
@ -49,5 +49,5 @@ unsigned int atomic_arch_set_return(unsigned int *to_set, unsigned int value);
}
#endif
#endif /* __ATOMIC_ARCH_H */
#endif /* ATOMIC_ARCH_H */
/** @} */

@ -22,8 +22,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef __IRQ_ARCH_H
#define __IRQ_ARCH_H
#ifndef IRQ_ARCH_H
#define IRQ_ARCH_H
#ifdef __cplusplus
extern "C" {
@ -77,5 +77,5 @@ int irq_arch_in(void);
}
#endif
#endif /* __IRQ_ARCH_H */
#endif /* IRQ_ARCH_H */
/** @} */

@ -19,8 +19,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef __LPM_ARCH_H
#define __LPM_ARCH_H
#ifndef LPM_ARCH_H
#define LPM_ARCH_H
#ifdef __cplusplus
extern "C" {
@ -96,5 +96,5 @@ void lpm_arch_end_awake(void);
}
#endif
#endif /* __LPM_ARCH_H */
#endif /* LPM_ARCH_H */
/** @} */

@ -17,8 +17,8 @@
* @author Oliver Hahm <oliver.hahm@inria.fr>
*/
#ifndef __REBOOT_ARCH_H
#define __REBOOT_ARCH_H
#ifndef REBOOT_ARCH_H
#define REBOOT_ARCH_H
#ifdef __cplusplus
extern "C" {
@ -38,5 +38,5 @@ int reboot_arch(int mode);
}
#endif
#endif /* __REBOOT_ARCH_H */
#endif /* REBOOT_ARCH_H */
/** @} */

@ -16,8 +16,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef __THREAD_ARCH_H
#define __THREAD_ARCH_H
#ifndef THREAD_ARCH_H
#define THREAD_ARCH_H
#include "attributes.h"
@ -74,5 +74,5 @@ void thread_arch_yield(void);
}
#endif
#endif /* __THREAD_ARCH_H */
#endif /* THREAD_ARCH_H */
/** @} */

@ -18,8 +18,8 @@
* @author unknown, propably Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef __CIB_H
#define __CIB_H
#ifndef CIB_H
#define CIB_H
#ifdef __cplusplus
extern "C" {
@ -105,5 +105,5 @@ static inline int cib_put(cib_t *__restrict cib)
}
#endif
#endif /* __CIB_H */
#endif /* CIB_H */
/** @} */

@ -16,8 +16,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef __CLIST_H
#define __CLIST_H
#ifndef CLIST_H
#define CLIST_H
#include "kernel_macros.h"
@ -93,5 +93,5 @@ void clist_print(clist_node_t *clist);
}
#endif
#endif /* __CLIST_H */
#endif /* CLIST_H */
/** @} */

@ -19,8 +19,8 @@
* @author Kévin Roussel <Kevin.Roussel@inria.fr>
*/
#ifndef __CRASH_H
#define __CRASH_H
#ifndef CRASH_H
#define CRASH_H
#include "kernel.h"
@ -54,5 +54,5 @@ NORETURN void core_panic(int crash_code, const char *message);
}
#endif
#endif /* __CRASH_H */
#endif /* CRASH_H */
/** @} */

@ -19,8 +19,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef __DEBUG_H
#define __DEBUG_H
#ifndef DEBUG_H
#define DEBUG_H
#include <stdio.h>
#include "sched.h"
@ -112,5 +112,5 @@ extern "C" {
}
#endif
#endif /* __DEBUG_H */
#endif /* DEBUG_H */
/** @} */

@ -30,8 +30,8 @@
* @author Michael Baar
*/
#ifndef __HWTIMER_H
#define __HWTIMER_H
#ifndef HWTIMER_H
#define HWTIMER_H
#include <stdint.h>
#include "hwtimer_cpu.h"
@ -193,4 +193,4 @@ void hwtimer_spin(unsigned long ticks);
#endif
/** @} */
#endif /* __HWTIMER_H */
#endif /* HWTIMER_H */

@ -20,8 +20,8 @@
* If you insert a value twice the LIFO will break.
*/
#ifndef __LIFO_H_
#define __LIFO_H_
#ifndef LIFO_H_
#define LIFO_H_
#ifdef __cplusplus
extern "C" {
@ -70,5 +70,5 @@ int lifo_get(int *array);
}
#endif
#endif /* __LIFO_H_ */
#endif /* LIFO_H_ */
/** @} */

@ -29,8 +29,8 @@
* @author Kévin Roussel <Kevin.Roussel@inria.fr>
*/
#ifndef __MSG_H_
#define __MSG_H_
#ifndef MSG_H_
#define MSG_H_
#include <stdint.h>
#include <stdbool.h>
@ -238,5 +238,5 @@ int msg_init_queue(msg_t *array, int num);
}
#endif
#endif /* __MSG_H_ */
#endif /* MSG_H_ */
/** @} */

@ -18,8 +18,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef __MUTEX_H_
#define __MUTEX_H_
#ifndef MUTEX_H_
#define MUTEX_H_
#include "priority_queue.h"
@ -100,5 +100,5 @@ void mutex_unlock_and_sleep(mutex_t *mutex);
}
#endif
#endif /* __MUTEX_H_ */
#endif /* MUTEX_H_ */
/** @} */

@ -16,8 +16,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef __QUEUE_H
#define __QUEUE_H
#ifndef QUEUE_H
#define QUEUE_H
#include <stddef.h>
#include <stdint.h>
@ -119,4 +119,4 @@ void priority_queue_print_node(priority_queue_t *root);
#endif
/** @} */
#endif /* __QUEUE_H */
#endif /* QUEUE_H */

@ -16,8 +16,8 @@
* @}
*/
#ifndef __RINGBUFFER_H
#define __RINGBUFFER_H
#ifndef RINGBUFFER_H
#define RINGBUFFER_H
#ifdef __cplusplus
extern "C" {
@ -154,4 +154,4 @@ unsigned ringbuffer_peek(const ringbuffer_t *__restrict rb, char *buf, unsigned
}
#endif
#endif /* __RINGBUFFER_H */
#endif /* RINGBUFFER_H */

@ -19,8 +19,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef __THREAD_H
#define __THREAD_H
#ifndef THREAD_H
#define THREAD_H
#include "kernel.h"
#include "tcb.h"
@ -192,4 +192,4 @@ uintptr_t thread_measure_stack_free(char *stack);
#endif
/** @} */
#endif /* __THREAD_H */
#endif /* THREAD_H */

Loading…
Cancel
Save