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

@ -46,8 +46,8 @@
*
*/
#ifndef __BEEP_H__
#define __BEEP_H__
#ifndef BEEP_H_
#define BEEP_H_
#define BEEP_ALARM1 1
#define BEEP_ALARM2 2
@ -159,4 +159,4 @@ void beep_quick(int num);
/** @} */
/** @} */
#endif /* __BEEP_H__ */
#endif /* BEEP_H_ */

View file

@ -1,5 +1,5 @@
#ifndef __BUTTON_SENSOR_H__
#define __BUTTON_SENSOR_H__
#ifndef BUTTON_SENSOR_H_
#define BUTTON_SENSOR_H_
#include "lib/sensors.h"
@ -9,4 +9,4 @@ extern const struct sensors_sensor button_sensor;
void button_press(void);
#endif /* __BUTTON_SENSOR_H__ */
#endif /* BUTTON_SENSOR_H_ */

View file

@ -1,5 +1,5 @@
#ifndef __PIR_SENSOR_H__
#define __PIR_SENSOR_H__
#ifndef PIR_SENSOR_H_
#define PIR_SENSOR_H_
#include "lib/sensors.h"
@ -9,4 +9,4 @@ extern const struct sensors_sensor pir_sensor;
void pir_sensor_changed(int strength);
#endif /* __PIR_SENSOR_H__ */
#endif /* PIR_SENSOR_H_ */

View file

@ -38,8 +38,8 @@
* $Revision: 1.1 $
*/
#ifndef __TEMPERATURE_SENSOR_H__
#define __TEMPERATURE_SENSOR_H__
#ifndef TEMPERATURE_SENSOR_H_
#define TEMPERATURE_SENSOR_H_
#include "lib/sensors.h"
@ -47,4 +47,4 @@ extern const struct sensors_sensor temperature_sensor;
#define TEMPERATURE_SENSOR "Temperature"
#endif /* __TEMPERATURE_SENSOR_H__ */
#endif /* TEMPERATURE_SENSOR_H_ */

View file

@ -38,8 +38,8 @@
* $Revision: 1.1 $
*/
#ifndef __VIB_SENSOR_H__
#define __VIB_SENSOR_H__
#ifndef VIB_SENSOR_H_
#define VIB_SENSOR_H_
#include "lib/sensors.h"
@ -49,4 +49,4 @@ extern const struct sensors_sensor vib_sensor;
void vib_sensor_changed(void);
#endif /* __VIB_SENSOR_H__ */
#endif /* VIB_SENSOR_H_ */