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
|
@ -38,8 +38,8 @@
|
|||
* Adam Dunkels <adam@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __CSMA_H__
|
||||
#define __CSMA_H__
|
||||
#ifndef CSMA_H_
|
||||
#define CSMA_H_
|
||||
|
||||
#include "net/mac/mac.h"
|
||||
#include "dev/radio.h"
|
||||
|
@ -48,4 +48,4 @@ extern const struct mac_driver csma_driver;
|
|||
|
||||
const struct mac_driver *csma_init(const struct mac_driver *r);
|
||||
|
||||
#endif /* __CSMA_H__ */
|
||||
#endif /* CSMA_H_ */
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
* Adam Dunkels <adam@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __CXMAC_H__
|
||||
#define __CXMAC_H__
|
||||
#ifndef CXMAC_H_
|
||||
#define CXMAC_H_
|
||||
|
||||
#include "sys/rtimer.h"
|
||||
#include "net/mac/rdc.h"
|
||||
|
@ -60,4 +60,4 @@ struct cxmac_config {
|
|||
extern const struct rdc_driver cxmac_driver;
|
||||
|
||||
|
||||
#endif /* __CXMAC_H__ */
|
||||
#endif /* CXMAC_H_ */
|
||||
|
|
|
@ -36,11 +36,11 @@
|
|||
* Joakim Eriksson <joakime@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __FRAMER_802154_H__
|
||||
#define __FRAMER_802154_H__
|
||||
#ifndef FRAMER_802154_H_
|
||||
#define FRAMER_802154_H_
|
||||
|
||||
#include "net/mac/framer.h"
|
||||
|
||||
extern const struct framer framer_802154;
|
||||
|
||||
#endif /* __FRAMER_802154_H__ */
|
||||
#endif /* FRAMER_802154_H_ */
|
||||
|
|
|
@ -36,11 +36,11 @@
|
|||
* Joakim Eriksson <joakime@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __FRAMER_NULLMAC_H__
|
||||
#define __FRAMER_NULLMAC_H__
|
||||
#ifndef FRAMER_NULLMAC_H_
|
||||
#define FRAMER_NULLMAC_H_
|
||||
|
||||
#include "net/mac/framer.h"
|
||||
|
||||
extern const struct framer framer_nullmac;
|
||||
|
||||
#endif /* __FRAMER_NULLMAC_H__ */
|
||||
#endif /* FRAMER_NULLMAC_H_ */
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
* Joakim Eriksson <joakime@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __FRAMER_H__
|
||||
#define __FRAMER_H__
|
||||
#ifndef FRAMER_H_
|
||||
#define FRAMER_H_
|
||||
|
||||
#define FRAMER_FAILED -1
|
||||
|
||||
|
@ -50,4 +50,4 @@ struct framer {
|
|||
|
||||
};
|
||||
|
||||
#endif /* __FRAMER_H__ */
|
||||
#endif /* FRAMER_H_ */
|
||||
|
|
|
@ -40,12 +40,12 @@
|
|||
* Adam Dunkels <adam@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __LPP_H__
|
||||
#define __LPP_H__
|
||||
#ifndef LPP_H_
|
||||
#define LPP_H_
|
||||
|
||||
#include "net/mac/rdc.h"
|
||||
#include "dev/radio.h"
|
||||
|
||||
extern const struct rdc_driver lpp_driver;
|
||||
|
||||
#endif /* __LPP_H__ */
|
||||
#endif /* LPP_H_ */
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
* Adam Dunkels <adam@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __MAC_H__
|
||||
#define __MAC_H__
|
||||
#ifndef MAC_H_
|
||||
#define MAC_H_
|
||||
|
||||
#include "contiki-conf.h"
|
||||
#include "dev/radio.h"
|
||||
|
@ -98,4 +98,4 @@ enum {
|
|||
MAC_TX_ERR_FATAL,
|
||||
};
|
||||
|
||||
#endif /* __MAC_H__ */
|
||||
#endif /* MAC_H_ */
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
* Adam Dunkels <adam@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __NULLMAC_H__
|
||||
#define __NULLMAC_H__
|
||||
#ifndef NULLMAC_H_
|
||||
#define NULLMAC_H_
|
||||
|
||||
#include "net/mac/mac.h"
|
||||
#include "dev/radio.h"
|
||||
|
@ -46,4 +46,4 @@
|
|||
extern const struct mac_driver nullmac_driver;
|
||||
|
||||
|
||||
#endif /* __NULLMAC_H__ */
|
||||
#endif /* NULLMAC_H_ */
|
||||
|
|
|
@ -37,12 +37,12 @@
|
|||
* Adam Dunkels <adam@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __NULLRDC_NOFRAMER_H__
|
||||
#define __NULLRDC_NOFRAMER_H__
|
||||
#ifndef NULLRDC_NOFRAMER_H_
|
||||
#define NULLRDC_NOFRAMER_H_
|
||||
|
||||
#include "net/mac/rdc.h"
|
||||
#include "dev/radio.h"
|
||||
|
||||
extern const struct rdc_driver nullrdc_noframer_driver;
|
||||
|
||||
#endif /* __NULLRDC_NOFRAMER_H__ */
|
||||
#endif /* NULLRDC_NOFRAMER_H_ */
|
||||
|
|
|
@ -38,11 +38,11 @@
|
|||
* Niclas Finne <nfi@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __NULLRDC_H__
|
||||
#define __NULLRDC_H__
|
||||
#ifndef NULLRDC_H_
|
||||
#define NULLRDC_H_
|
||||
|
||||
#include "net/mac/rdc.h"
|
||||
|
||||
extern const struct rdc_driver nullrdc_driver;
|
||||
|
||||
#endif /* __NULLRDC_H__ */
|
||||
#endif /* NULLRDC_H_ */
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
* Niclas Finne <nfi@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __RDC_H__
|
||||
#define __RDC_H__
|
||||
#ifndef RDC_H_
|
||||
#define RDC_H_
|
||||
|
||||
#include "contiki-conf.h"
|
||||
#include "net/mac/mac.h"
|
||||
|
@ -79,4 +79,4 @@ struct rdc_driver {
|
|||
unsigned short (* channel_check_interval)(void);
|
||||
};
|
||||
|
||||
#endif /* __RDC_H__ */
|
||||
#endif /* RDC_H_ */
|
||||
|
|
|
@ -42,12 +42,12 @@
|
|||
* Joakim Eriksson <joakime@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __SICSLOWMAC_H__
|
||||
#define __SICSLOWMAC_H__
|
||||
#ifndef SICSLOWMAC_H_
|
||||
#define SICSLOWMAC_H_
|
||||
|
||||
#include "net/mac/rdc.h"
|
||||
#include "dev/radio.h"
|
||||
|
||||
extern const struct rdc_driver sicslowmac_driver;
|
||||
|
||||
#endif /* __SICSLOWMAC_H__ */
|
||||
#endif /* SICSLOWMAC_H_ */
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
* Adam Dunkels <adam@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __XMAC_H__
|
||||
#define __XMAC_H__
|
||||
#ifndef XMAC_H_
|
||||
#define XMAC_H_
|
||||
|
||||
#include "sys/rtimer.h"
|
||||
#include "net/mac/rdc.h"
|
||||
|
@ -61,4 +61,4 @@ extern const struct rdc_driver xmac_driver;
|
|||
|
||||
void xmac_set_announcement_radio_txpower(int txpower);
|
||||
|
||||
#endif /* __XMAC_H__ */
|
||||
#endif /* XMAC_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue