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
|
@ -1,5 +1,5 @@
|
|||
#ifndef __EFSL_CONFIG_H__
|
||||
#define __EFSL_CONFIG_H__
|
||||
#ifndef EFSL_CONFIG_H_
|
||||
#define EFSL_CONFIG_H_
|
||||
|
||||
/* Close enough */
|
||||
#define HW_ENDPOINT_LPC2000_SD
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SDCARD_H__KJBBKS6O57__
|
||||
#define __SDCARD_H__KJBBKS6O57__
|
||||
#ifndef SDCARD_H_KJBBKS6O57__
|
||||
#define SDCARD_H_KJBBKS6O57__
|
||||
|
||||
#include <efs.h>
|
||||
#include <ls.h>
|
||||
|
@ -24,4 +24,4 @@ extern process_event_t sdcard_removed_event;
|
|||
void
|
||||
sdcard_event_process(struct process *p);
|
||||
|
||||
#endif /* __SDCARD_H__KJBBKS6O57__ */
|
||||
#endif /* SDCARD_H_KJBBKS6O57__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __EFSL_SPI_H__6B6MX40N68__
|
||||
#define __EFSL_SPI_H__6B6MX40N68__
|
||||
#ifndef EFSL_SPI_H_6B6MX40N68__
|
||||
#define EFSL_SPI_H_6B6MX40N68__
|
||||
|
||||
#include <types.h>
|
||||
|
||||
|
@ -18,4 +18,4 @@ void if_spiSetSpeed(euint8 speed);
|
|||
euint8 if_spiSend(hwInterface *iface, euint8 outgoing);
|
||||
|
||||
|
||||
#endif /* __EFSL_SPI_H__6B6MX40N68__ */
|
||||
#endif /* EFSL_SPI_H_6B6MX40N68__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SDCARD_H__KJBBKS6O57__
|
||||
#define __SDCARD_H__KJBBKS6O57__
|
||||
#ifndef SDCARD_H_KJBBKS6O57__
|
||||
#define SDCARD_H_KJBBKS6O57__
|
||||
|
||||
#include <sys/process.h>
|
||||
|
||||
|
@ -19,4 +19,4 @@ extern process_event_t sdcard_removed_event;
|
|||
void
|
||||
sdcard_event_process(struct process *p);
|
||||
|
||||
#endif /* __SDCARD_H__KJBBKS6O57__ */
|
||||
#endif /* SDCARD_H_KJBBKS6O57__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __STRFORMAT_H__
|
||||
#define __STRFORMAT_H__
|
||||
#ifndef STRFORMAT_H_
|
||||
#define STRFORMAT_H_
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
|
@ -22,4 +22,4 @@ int format_str(const StrFormatContext *ctxt, const char *format, ...)
|
|||
int
|
||||
format_str_v(const StrFormatContext *ctxt, const char *format, va_list ap);
|
||||
|
||||
#endif /* __STRFORMAT_H__ */
|
||||
#endif /* STRFORMAT_H_ */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef __CDC_ACM_H__UFV6K50827__
|
||||
#define __CDC_ACM_H__UFV6K50827__
|
||||
#ifndef CDC_ACM_H_UFV6K50827__
|
||||
#define CDC_ACM_H_UFV6K50827__
|
||||
|
||||
void
|
||||
usb_cdc_acm_setup();
|
||||
|
||||
#endif /* __CDC_ACM_H__UFV6K50827__ */
|
||||
#endif /* CDC_ACM_H_UFV6K50827__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __CDC_H__K1Q26ESJOC__
|
||||
#define __CDC_H__K1Q26ESJOC__
|
||||
#ifndef CDC_H_K1Q26ESJOC__
|
||||
#define CDC_H_K1Q26ESJOC__
|
||||
#include <usb.h>
|
||||
/* Communication Class */
|
||||
/* Class code */
|
||||
|
@ -211,4 +211,4 @@ struct usb_cdc_line_coding
|
|||
Uchar bDataBits;
|
||||
} BYTE_ALIGNED;
|
||||
|
||||
#endif /* __CDC_H__K1Q26ESJOC__ */
|
||||
#endif /* CDC_H_K1Q26ESJOC__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __CDC_ETH_H__NUI0ULFC7C__
|
||||
#define __CDC_ETH_H__NUI0ULFC7C__
|
||||
#ifndef CDC_ETH_H_NUI0ULFC7C__
|
||||
#define CDC_ETH_H_NUI0ULFC7C__
|
||||
|
||||
#include <net/uip.h>
|
||||
|
||||
|
@ -10,4 +10,4 @@ usb_cdc_eth_set_ifaddr(uip_ipaddr_t *addr);
|
|||
void
|
||||
usb_cdc_eth_setup();
|
||||
|
||||
#endif /* __CDC_ETH_H__NUI0ULFC7C__ */
|
||||
#endif /* CDC_ETH_H_NUI0ULFC7C__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __DHCPS_H__6M2XYUGNTK__
|
||||
#define __DHCPS_H__6M2XYUGNTK__
|
||||
#ifndef DHCPS_H_6M2XYUGNTK__
|
||||
#define DHCPS_H_6M2XYUGNTK__
|
||||
#include "contiki-net.h"
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -44,4 +44,4 @@ struct dhcps_config
|
|||
**/
|
||||
void dhcps_init(const struct dhcps_config *conf);
|
||||
|
||||
#endif /* __DHCPS_H__6M2XYUGNTK__ */
|
||||
#endif /* DHCPS_H_6M2XYUGNTK__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __DESCRIPTORS_H__RPFUB8O7OV__
|
||||
#define __DESCRIPTORS_H__RPFUB8O7OV__
|
||||
#ifndef DESCRIPTORS_H_RPFUB8O7OV__
|
||||
#define DESCRIPTORS_H_RPFUB8O7OV__
|
||||
|
||||
#ifndef STRUCTGEN
|
||||
#include "usb.h"
|
||||
|
@ -7,4 +7,4 @@
|
|||
|
||||
extern const struct usb_st_device_descriptor device_descriptor;
|
||||
extern const struct usb_st_configuration_descriptor const *configuration_head;
|
||||
#endif /* __DESCRIPTORS_H__RPFUB8O7OV__ */
|
||||
#endif /* DESCRIPTORS_H_RPFUB8O7OV__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __RBC_CONST_H__7YXZF39S33__
|
||||
#define __RBC_CONST_H__7YXZF39S33__
|
||||
#ifndef RBC_CONST_H_7YXZF39S33__
|
||||
#define RBC_CONST_H_7YXZF39S33__
|
||||
|
||||
#include <spc2_const.h>
|
||||
|
||||
|
@ -63,4 +63,4 @@
|
|||
|
||||
#define SCSI_WRITE_FUA 0x08
|
||||
|
||||
#endif /* __RBC_CONST_H__7YXZF39S33__ */
|
||||
#endif /* RBC_CONST_H_7YXZF39S33__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __RBC_STRUCT_H__10L0HKARRV__
|
||||
#define __RBC_STRUCT_H__10L0HKARRV__
|
||||
#ifndef RBC_STRUCT_H_10L0HKARRV__
|
||||
#define RBC_STRUCT_H_10L0HKARRV__
|
||||
|
||||
#include <spc2_struct.h>
|
||||
|
||||
|
@ -55,4 +55,4 @@ struct rbc_write_cmd
|
|||
} CC_BYTE_ALIGNED;
|
||||
|
||||
|
||||
#endif /* __RBC_STRUCT_H__10L0HKARRV__ */
|
||||
#endif /* RBC_STRUCT_H_10L0HKARRV__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SCSI_COMMAND_H__SR3ALQCZSH__
|
||||
#define __SCSI_COMMAND_H__SR3ALQCZSH__
|
||||
#ifndef SCSI_COMMAND_H_SR3ALQCZSH__
|
||||
#define SCSI_COMMAND_H_SR3ALQCZSH__
|
||||
|
||||
#define SCSI_CMD_CHANGE_DEFINITION 0x40
|
||||
#define SCSI_CMD_COMPARE 0x39
|
||||
|
@ -67,4 +67,4 @@
|
|||
|
||||
|
||||
|
||||
#endif /* __SCSI_COMMAND_H__SR3ALQCZSH__ */
|
||||
#endif /* SCSI_COMMAND_H_SR3ALQCZSH__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SPC2_STRUCT_H__6R1KTJP0NJ__
|
||||
#define __SPC2_STRUCT_H__6R1KTJP0NJ__
|
||||
#ifndef SPC2_STRUCT_H_6R1KTJP0NJ__
|
||||
#define SPC2_STRUCT_H_6R1KTJP0NJ__
|
||||
|
||||
typedef uint8_t uint40_bytes[5];
|
||||
typedef uint8_t uint32_bytes[4];
|
||||
|
@ -136,4 +136,4 @@ struct spc2_mode_page
|
|||
uint8_t page_length;
|
||||
} CC_BYTE_ALIGNED;
|
||||
|
||||
#endif /* __SPC2_STRUCT_H__6R1KTJP0NJ__ */
|
||||
#endif /* SPC2_STRUCT_H_6R1KTJP0NJ__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_MSC_BULK_H__SHSP6ONHDJ__
|
||||
#define __USB_MSC_BULK_H__SHSP6ONHDJ__
|
||||
#ifndef USB_MSC_BULK_H_SHSP6ONHDJ__
|
||||
#define USB_MSC_BULK_H_SHSP6ONHDJ__
|
||||
|
||||
#include <usb.h>
|
||||
#include <stdint.h>
|
||||
|
@ -100,4 +100,4 @@ usb_msc_receive_data_buf_flags(uint8_t *data, unsigned int len,
|
|||
|
||||
|
||||
|
||||
#endif /* __USB_MSC_BULK_H__SHSP6ONHDJ__ */
|
||||
#endif /* USB_MSC_BULK_H_SHSP6ONHDJ__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_API_H__SYN81IFYBN__
|
||||
#define __USB_API_H__SYN81IFYBN__
|
||||
#ifndef USB_API_H_SYN81IFYBN__
|
||||
#define USB_API_H_SYN81IFYBN__
|
||||
|
||||
#include <sys/process.h>
|
||||
|
||||
|
@ -142,4 +142,4 @@ usb_get_ep_events(uint8_t addr);
|
|||
unsigned int
|
||||
usb_get_current_configuration(void);
|
||||
|
||||
#endif /* __USB_API_H__SYN81IFYBN__ */
|
||||
#endif /* USB_API_H_SYN81IFYBN__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_ARCH_H__0Z52ZDP0H6__
|
||||
#define __USB_ARCH_H__0Z52ZDP0H6__
|
||||
#ifndef USB_ARCH_H_0Z52ZDP0H6__
|
||||
#define USB_ARCH_H_0Z52ZDP0H6__
|
||||
|
||||
#include <contiki-conf.h>
|
||||
#include <usb-api.h>
|
||||
|
@ -89,4 +89,4 @@ usb_arch_get_global_events(void);
|
|||
int
|
||||
usb_arch_send_pending(uint8_t ep_addr);
|
||||
|
||||
#endif /* __USB_ARCH_H__0Z52ZDP0H6__ */
|
||||
#endif /* USB_ARCH_H_0Z52ZDP0H6__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_CORE_H__YIKJDA7S1X__
|
||||
#define __USB_CORE_H__YIKJDA7S1X__
|
||||
#ifndef USB_CORE_H_YIKJDA7S1X__
|
||||
#define USB_CORE_H_YIKJDA7S1X__
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -20,4 +20,4 @@ void
|
|||
usb_get_ctrl_data(uint8_t *data, unsigned int length,
|
||||
usb_ctrl_data_callback cb);
|
||||
|
||||
#endif /* __USB_CORE_H__YIKJDA7S1X__ */
|
||||
#endif /* USB_CORE_H_YIKJDA7S1X__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_H__6PFTDPIMZM__
|
||||
#define __USB_H__6PFTDPIMZM__
|
||||
#ifndef USB_H_6PFTDPIMZM__
|
||||
#define USB_H_6PFTDPIMZM__
|
||||
#include <stdint.h>
|
||||
|
||||
/* Adapted from usb_kbd_enum.h in c5131-usb-kbd-light-1_0_2 package from
|
||||
|
@ -182,4 +182,4 @@ struct usb_st_language_descriptor
|
|||
Uint16 wlangid[1]; /* language id */
|
||||
} BYTE_ALIGNED;
|
||||
|
||||
#endif /* __USB_H__6PFTDPIMZM__ */
|
||||
#endif /* USB_H_6PFTDPIMZM__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue