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:
parent
42cae1c6c9
commit
bb2dcaa057
572 changed files with 1708 additions and 1708 deletions
|
@ -35,8 +35,8 @@
|
|||
* $Revision: 1.1 $
|
||||
*/
|
||||
|
||||
#ifndef __BATTERY_SENSOR_H__
|
||||
#define __BATTERY_SENSOR_H__
|
||||
#ifndef BATTERY_SENSOR_H_
|
||||
#define BATTERY_SENSOR_H_
|
||||
|
||||
#include "lib/sensors.h"
|
||||
|
||||
|
@ -44,4 +44,4 @@ extern const struct sensors_sensor battery_sensor;
|
|||
|
||||
#define BATTERY_SENSOR "Battery"
|
||||
|
||||
#endif /* __BATTERY_SENSOR_H__ */
|
||||
#endif /* BATTERY_SENSOR_H_ */
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
*/
|
||||
#ifndef __BUTTON_SENSOR_H__
|
||||
#define __BUTTON_SENSOR_H__
|
||||
#ifndef BUTTON_SENSOR_H_
|
||||
#define BUTTON_SENSOR_H_
|
||||
|
||||
#include "lib/sensors.h"
|
||||
|
||||
|
@ -38,4 +38,4 @@ extern const struct sensors_sensor button_sensor;
|
|||
|
||||
#define BUTTON_SENSOR "Button"
|
||||
|
||||
#endif /* __BUTTON_SENSOR_H__ */
|
||||
#endif /* BUTTON_SENSOR_H_ */
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
* Adam Dunkels <adam@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __CC2420_AES_H__
|
||||
#define __CC2420_AES_H__
|
||||
#ifndef CC2420_AES_H_
|
||||
#define CC2420_AES_H_
|
||||
|
||||
/**
|
||||
* \brief Setup an AES key
|
||||
|
@ -72,4 +72,4 @@ void cc2420_aes_set_key(const uint8_t *key, int index);
|
|||
void cc2420_aes_cipher(uint8_t *data, int len, int key_index);
|
||||
|
||||
|
||||
#endif /* __CC2420_AES_H__ */
|
||||
#endif /* CC2420_AES_H_ */
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
* Joakim Eriksson <joakime@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __CC2420_H__
|
||||
#define __CC2420_H__
|
||||
#ifndef CC2420_H_
|
||||
#define CC2420_H_
|
||||
|
||||
#include "contiki.h"
|
||||
#include "dev/spi.h"
|
||||
|
@ -200,4 +200,4 @@ void cc2420_set_cca_threshold(int value);
|
|||
CC2420_SPI_DISABLE(); \
|
||||
} while (0)
|
||||
|
||||
#endif /* __CC2420_H__ */
|
||||
#endif /* CC2420_H_ */
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
* Joakim Eriksson <joakime@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __CC2520_H__
|
||||
#define __CC2520_H__
|
||||
#ifndef CC2520_H_
|
||||
#define CC2520_H_
|
||||
|
||||
#include "contiki.h"
|
||||
#include "dev/spi.h"
|
||||
|
@ -195,4 +195,4 @@ void cc2520_set_cca_threshold(int value);
|
|||
CC2520_SPI_DISABLE(); \
|
||||
} while (0)
|
||||
|
||||
#endif /* __CC2520_H__ */
|
||||
#endif /* CC2520_H_ */
|
||||
|
|
|
@ -51,8 +51,8 @@
|
|||
*/
|
||||
|
||||
|
||||
#ifndef __EEPROM_H__
|
||||
#define __EEPROM_H__
|
||||
#ifndef EEPROM_H_
|
||||
#define EEPROM_H_
|
||||
|
||||
typedef unsigned short eeprom_addr_t;
|
||||
|
||||
|
@ -111,7 +111,7 @@ void eeprom_read(eeprom_addr_t addr, unsigned char *buf, int size);
|
|||
|
||||
void eeprom_init(void);
|
||||
|
||||
#endif /* __EEPROM_H__ */
|
||||
#endif /* EEPROM_H_ */
|
||||
|
||||
/** @} */
|
||||
/** @} */
|
||||
|
|
|
@ -44,8 +44,8 @@
|
|||
* @{
|
||||
*/
|
||||
|
||||
#ifndef __LEDS_H__
|
||||
#define __LEDS_H__
|
||||
#ifndef LEDS_H_
|
||||
#define LEDS_H_
|
||||
|
||||
/* Allow platform to override LED numbering */
|
||||
#include "contiki-conf.h"
|
||||
|
@ -92,4 +92,4 @@ void leds_arch_init(void);
|
|||
unsigned char leds_arch_get(void);
|
||||
void leds_arch_set(unsigned char leds);
|
||||
|
||||
#endif /* __LEDS_H__ */
|
||||
#endif /* LEDS_H_ */
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
*/
|
||||
#ifndef __RADIO_SENSOR_H__
|
||||
#define __RADIO_SENSOR_H__
|
||||
#ifndef RADIO_SENSOR_H_
|
||||
#define RADIO_SENSOR_H_
|
||||
|
||||
#include "lib/sensors.h"
|
||||
|
||||
|
@ -43,4 +43,4 @@ extern const struct sensors_sensor radio_sensor;
|
|||
|
||||
extern unsigned int radio_sensor_signal;
|
||||
|
||||
#endif /* __RADIO_SENSOR_H__ */
|
||||
#endif /* RADIO_SENSOR_H_ */
|
||||
|
|
|
@ -51,8 +51,8 @@
|
|||
* Adam Dunkels <adam@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __RADIO_H__
|
||||
#define __RADIO_H__
|
||||
#ifndef RADIO_H_
|
||||
#define RADIO_H_
|
||||
|
||||
/**
|
||||
* The structure of a device driver for a radio in Contiki.
|
||||
|
@ -98,7 +98,7 @@ enum {
|
|||
RADIO_TX_NOACK,
|
||||
};
|
||||
|
||||
#endif /* __RADIO_H__ */
|
||||
#endif /* RADIO_H_ */
|
||||
|
||||
|
||||
/** @} */
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
* Adam Dunkels
|
||||
*
|
||||
*/
|
||||
#ifndef __SERIAL_LINE_H__
|
||||
#define __SERIAL_LINE_H__
|
||||
#ifndef SERIAL_LINE_H_
|
||||
#define SERIAL_LINE_H_
|
||||
|
||||
#include "contiki.h"
|
||||
|
||||
|
@ -73,4 +73,4 @@ void serial_line_init(void);
|
|||
|
||||
PROCESS_NAME(serial_line_process);
|
||||
|
||||
#endif /* __SERIAL_LINE_H__ */
|
||||
#endif /* SERIAL_LINE_H_ */
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
* $Revision: 1.2 $
|
||||
*/
|
||||
|
||||
#ifndef __SHT11_SENSOR_H__
|
||||
#define __SHT11_SENSOR_H__
|
||||
#ifndef SHT11_SENSOR_H_
|
||||
#define SHT11_SENSOR_H_
|
||||
|
||||
#include "lib/sensors.h"
|
||||
|
||||
|
@ -48,4 +48,4 @@ extern const struct sensors_sensor sht11_sensor;
|
|||
#define SHT11_SENSOR_BATTERY_INDICATOR 2
|
||||
|
||||
|
||||
#endif /* __SHT11-SENSOR_H__ */
|
||||
#endif /* SHT11-SENSOR_H_ */
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __SLIP_H__
|
||||
#define __SLIP_H__
|
||||
#ifndef SLIP_H_
|
||||
#define SLIP_H_
|
||||
|
||||
#include "contiki.h"
|
||||
|
||||
|
@ -83,4 +83,4 @@ void slip_set_input_callback(void (*callback)(void));
|
|||
void slip_arch_init(unsigned long ubr);
|
||||
void slip_arch_writeb(unsigned char c);
|
||||
|
||||
#endif /* __SLIP_H__ */
|
||||
#endif /* SLIP_H_ */
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
* Niclas Finne <nfi@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __SPI_H__
|
||||
#define __SPI_H__
|
||||
#ifndef SPI_H_
|
||||
#define SPI_H_
|
||||
|
||||
/* Define macros to use for checking SPI transmission status depending
|
||||
on if it is possible to wait for TX buffer ready. This is possible
|
||||
|
@ -88,4 +88,4 @@ void spi_init(void);
|
|||
} while(0);
|
||||
|
||||
|
||||
#endif /* __SPI_H__ */
|
||||
#endif /* SPI_H_ */
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
*/
|
||||
#ifndef __WATCHDOG_H__
|
||||
#define __WATCHDOG_H__
|
||||
#ifndef WATCHDOG_H_
|
||||
#define WATCHDOG_H_
|
||||
|
||||
void watchdog_init(void);
|
||||
void watchdog_start(void);
|
||||
|
@ -39,4 +39,4 @@ void watchdog_stop(void);
|
|||
|
||||
void watchdog_reboot(void);
|
||||
|
||||
#endif /* __WATCHDOG_H__ */
|
||||
#endif /* WATCHDOG_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue