A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix

This commit is contained in:
Adam Dunkels 2013-11-24 16:57:08 +01:00
parent 42cae1c6c9
commit bb2dcaa057
572 changed files with 1708 additions and 1708 deletions

View file

@ -36,8 +36,8 @@
*
*/
#ifndef __FLASH_H__
#define __FLASH_H__
#ifndef FLASH_H_
#define FLASH_H_
/**
* Setup function to be called before any of the flash programming functions.
@ -74,4 +74,4 @@ void flash_write(unsigned short *addr, unsigned short word);
*/
void flash_clear(unsigned short *addr);
#endif /* __FLASH_H__ */
#endif /* FLASH_H_ */

View file

@ -29,8 +29,8 @@
* This file is part of the Contiki operating system.
*
*/
#ifndef __HWCONF_H__
#define __HWCONF_H__
#ifndef HWCONF_H_
#define HWCONF_H_
#include "contiki.h"
#include "sys/cc.h"
@ -53,4 +53,4 @@ static CC_INLINE void name##_IRQ_EDGE_SELECTU() {P##port##IES &= ~(1 << bit);}\
static CC_INLINE int name##_CHECK_IRQ() {return P##port##IFG & (1 << bit);} \
static CC_INLINE int name##_IRQ_PORT() {return port;}
#endif /* __HWCONF_H__ */
#endif /* HWCONF_H_ */

View file

@ -29,8 +29,8 @@
* This file is part of the Contiki operating system.
*
*/
#ifndef __LPM_H__
#define __LPM_H__
#ifndef LPM_H_
#define LPM_H_
#include "contiki-conf.h"
@ -58,4 +58,4 @@ void lpm_off(void);
#define LPM_STATUS_ON 1
#endif /* __LPM_H__ */
#endif /* LPM_H_ */

View file

@ -37,8 +37,8 @@
* Enric M. Calvo <ecalvo@zolertia.com>
*/
#ifndef __UART0_H__
#define __UART0_H__
#ifndef UART0_H_
#define UART0_H_
#include "contiki.h"
@ -49,4 +49,4 @@ void uart0_writeb(unsigned char c);
void uart0_init(unsigned long ubr);
uint8_t uart0_active(void);
#endif /* __UART0_H__ */
#endif /* UART0_H_ */

View file

@ -37,8 +37,8 @@
* Adam Dunkels <adam@sics.se>
*/
#ifndef __UART1_H__
#define __UART1_H__
#ifndef UART1_H_
#define UART1_H_
#include "contiki.h"
@ -49,4 +49,4 @@ void uart1_writeb(unsigned char c);
void uart1_init(unsigned long ubr);
uint8_t uart1_active(void);
#endif /* __UART1_H__ */
#endif /* UART1_H_ */

View file

@ -25,8 +25,8 @@
*
*/
#ifndef _ISR_COMPAT_H_
#define _ISR_COMPAT_H_
#ifndef ISR_COMPAT_H_
#define ISR_COMPAT_H_
/* Cross compiler interrupt service routine compatibility definitions */
/* This code currently allows for:

View file

@ -28,8 +28,8 @@
*
* This file is part of the Contiki operating system.
*/
#ifndef __MTARCH_H__
#define __MTARCH_H__
#ifndef MTARCH_H_
#define MTARCH_H_
#include "contiki.h"
@ -48,4 +48,4 @@ struct mt_thread;
int mtarch_stack_usage(struct mt_thread *t);
#endif /* __MTARCH_H__ */
#endif /* MTARCH_H_ */

View file

@ -37,8 +37,8 @@
* Adam Dunkels <adam@sics.se>
*/
#ifndef __RTIMER_ARCH_H__
#define __RTIMER_ARCH_H__
#ifndef RTIMER_ARCH_H_
#define RTIMER_ARCH_H_
#include "sys/rtimer.h"
@ -50,4 +50,4 @@
rtimer_clock_t rtimer_arch_now(void);
#endif /* __RTIMER_ARCH_H__ */
#endif /* RTIMER_ARCH_H_ */