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

@ -44,8 +44,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
******************************************************************************/
#ifndef _COMPILER_H_
#define _COMPILER_H_
#ifndef COMPILER_H_
#define COMPILER_H_
/*_____ I N C L U D E S ____________________________________________________*/
@ -347,5 +347,5 @@ typedef char r_uart_ptchar;
#define Disable_interrupt() cli()
#endif
#endif /* _COMPILER_H_ */
#endif /*COMPILER_H_ */

View file

@ -40,8 +40,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _CONF_USB_H_
#define _CONF_USB_H_
#ifndef CONF_USB_H_
#define CONF_USB_H_
@ -153,4 +153,4 @@ extern void suspend_action(void);
/** @} */
#endif // _CONF_USB_H_
#endif //CONF_USB_H_

View file

@ -49,8 +49,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _CONFIG_H_
#define _CONFIG_H_
#ifndef CONFIG_H_
#define CONFIG_H_
/**
@addtogroup usb
@ -109,5 +109,5 @@
/** @} */
#endif // _CONFIG_H_
#endif //CONFIG_H_

View file

@ -1,6 +1,6 @@
#ifndef __CDC_ECM_H__
#define __CDC_ECM_H__
#ifndef CDC_ECM_H_
#define CDC_ECM_H_
#include "contiki.h"
#include <stdint.h>
@ -15,4 +15,4 @@ extern void cdc_ecm_set_ethernet_packet_filter(void);
extern void cdc_ecm_configure_endpoints();
extern void cdc_ecm_set_active(uint8_t value);
#endif // __CDC_ECM_H__
#endif // CDC_ECM_H_

View file

@ -1,6 +1,6 @@
#ifndef __CDC_EEM_H__
#define __CDC_EEM_H__
#ifndef CDC_EEM_H_
#define CDC_EEM_H_
#include "contiki.h"
#include <stdint.h>
@ -9,4 +9,4 @@ extern void cdc_eem_process(void);
extern uint8_t eem_send(uint8_t * senddata, uint16_t sendlen, uint8_t led);
extern void cdc_eem_configure_endpoints();
#endif // __CDC_EEM_H__
#endif // CDC_EEM_H_

View file

@ -40,8 +40,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _RNDIS_TASK_H_
#define _RNDIS_TASK_H_
#ifndef RNDIS_TASK_H_
#define RNDIS_TASK_H_
/**
\addtogroup RNDIS
@ -121,5 +121,5 @@ PROCESS_NAME(usb_eth_process);
/** @} */
#endif /* _RNDIS_TASK_H_ */
#endif /*RNDIS_TASK_H_ */

View file

@ -40,8 +40,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _UART_USB_LIB_H_
#define _UART_USB_LIB_H_
#ifndef UART_USB_LIB_H_
#define UART_USB_LIB_H_
/**
\addtogroup cdctask
@ -85,6 +85,6 @@ extern void uart_usb_configure_endpoints();
/** @} **/
#endif /* _UART_USB_LIB_H_ */
#endif /*UART_USB_LIB_H_ */

View file

@ -44,8 +44,8 @@
@{
*/
#ifndef _DFMEM_H_
#define _DFMEM_H_
#ifndef DFMEM_H_
#define DFMEM_H_
#include "conf_access.h"
#include "ctrl_status.h"
@ -132,6 +132,6 @@ Ctrl_status avrf_usb_write( void );
#endif // _DFMEM_H_
#endif //DFMEM_H_
/** @} */

View file

@ -45,8 +45,8 @@
@{
*/
#ifndef _CONF_ACCESS_H_
#define _CONF_ACCESS_H_
#ifndef CONF_ACCESS_H_
#define CONF_ACCESS_H_
// Active the Logical Unit
@ -192,6 +192,6 @@
#define GLOBAL_WR_PROTECT DISABLED // To manage a global write protection
#endif //! _CONF_ACCESS_H_
#endif //!CONF_ACCESS_H_
/** @} */

View file

@ -52,8 +52,8 @@
@{
*/
#ifndef _MEM_CTRL_H_
#define _MEM_CTRL_H_
#ifndef MEM_CTRL_H_
#define MEM_CTRL_H_
#include "storage/conf_access.h"
#include "storage/ctrl_status.h"
@ -153,5 +153,5 @@ Ctrl_status ram_2_memory( U8 lun , const U32 _MEM_TYPE_SLOW_ *addr , U8 _MEM_
#endif // (ACCESS_STREAM == ENABLED)
//--------------------------------------------------------------------------
#endif // _MEM_CTRL_H_
#endif //MEM_CTRL_H_
/**@}*/

View file

@ -52,8 +52,8 @@
@{
*/
#ifndef _CTRL_STATUS_H_
#define _CTRL_STATUS_H_
#ifndef CTRL_STATUS_H_
#define CTRL_STATUS_H_
//_____ D E F I N I T I O N S ______________________________________________
@ -66,5 +66,5 @@ typedef enum
, CTRL_BUSY =(FAIL+2) // Not initialize
} Ctrl_status;
#endif // _CTRL_STATUS_H_
#endif //CTRL_STATUS_H_
/** @} */

View file

@ -44,8 +44,8 @@
\addtogroup usbstorage
@{
*/
#ifndef _SCSI_DECODER_H_
#define _SCSI_DECODER_H_
#ifndef SCSI_DECODER_H_
#define SCSI_DECODER_H_
//_____ I N C L U D E S ____________________________________________________
@ -334,5 +334,5 @@ void sbc_lun_status_is_not_present(void);
void sbc_lun_status_is_fail(void);
void sbc_lun_status_is_protected(void);
#endif /* _SCSI_DECODER_H_ */
#endif /*SCSI_DECODER_H_ */
/** @} */

View file

@ -45,8 +45,8 @@
\defgroup usbstorage USB Mass Storage Task
@{
*/
#ifndef _STORAGE_TASK_H_
#define _STORAGE_TASK_H_
#ifndef STORAGE_TASK_H_
#define STORAGE_TASK_H_
//_____ I N C L U D E S ____________________________________________________
@ -65,5 +65,5 @@ void sof_action(void);
PROCESS_NAME(storage_process);
#endif /* _STORAGE_TASK_H_ */
#endif /*STORAGE_TASK_H_ */
/** @} */

View file

@ -48,8 +48,8 @@
@{
*/
#ifndef _USB_USERCONFIG_H_
#define _USB_USERCONFIG_H_
#ifndef USB_USERCONFIG_H_
#define USB_USERCONFIG_H_
//_____ I N C L U D E S ____________________________________________________
@ -543,6 +543,6 @@ U8 Usb_get_dev_desc_length(void);
PGM_VOID_P Usb_get_conf_desc_pointer(U8 index) ;
U8 Usb_get_conf_desc_length(U8 index);
#endif // _USB_USERCONFIG_H_
#endif //USB_USERCONFIG_H_
/** @} */

View file

@ -40,8 +40,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _USB_DRV_H_
#define _USB_DRV_H_
#ifndef USB_DRV_H_
#define USB_DRV_H_
#include "compiler.h"
@ -936,6 +936,6 @@ U8 usb_endpoint_wait_for_IN_ready();
#define usb_endpoint_wait_for_read_enabled usb_endpoint_wait_for_write_enabled
#endif // _USB_DRV_H_
#endif //USB_DRV_H_
/** @} */

View file

@ -41,8 +41,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _USB_SPECIFIC_REQUEST_H_
#define _USB_SPECIFIC_REQUEST_H_
#ifndef USB_SPECIFIC_REQUEST_H_
#define USB_SPECIFIC_REQUEST_H_
/*_____ I N C L U D E S ____________________________________________________*/
@ -86,5 +86,5 @@ extern usb_mode_t usb_mode;
// ____ T Y P E D E F I N I T I O N _______________________________________
#endif // _USB_SPECIFIC_REQUEST_H_
#endif //USB_SPECIFIC_REQUEST_H_

View file

@ -46,8 +46,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _USB_ENUM_H_
#define _USB_ENUM_H_
#ifndef USB_ENUM_H_
#define USB_ENUM_H_
//_____ I N C L U D E S ____________________________________________________
@ -84,5 +84,5 @@ void usb_process_request( void);
extern U8 usb_configuration_nb;
#endif // _USB_ENUM_H_
#endif //USB_ENUM_H_

View file

@ -57,8 +57,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _USB_TASK_H_
#define _USB_TASK_H_
#ifndef USB_TASK_H_
#define USB_TASK_H_
/**
\ingroup usbstick
@ -191,6 +191,6 @@ void usb_device_task (void);
//! @}
#endif /* _USB_TASK_H_ */
#endif /*USB_TASK_H_ */
/** @} */