Refine the preprocessor conditional guard style (#190)

This commit is contained in:
Xiang Xiao 2020-01-31 10:07:39 -08:00 committed by GitHub
parent 68951e8d72
commit 80277d1630
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
577 changed files with 904 additions and 904 deletions

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __ARCH_ARM_INCLUDE_SETJUMP_H
#define __ARCH_ARM_INCLUDE_SETJUMP_H 1
#define __ARCH_ARM_INCLUDE_SETJUMP_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __ARCH_ARM_INCLUDE_TLS_H
#define __ARCH_ARM_INCLUDE_TLS_H 1
#define __ARCH_ARM_INCLUDE_TLS_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __ARCH_ARM_SRC_IMX6_IMX_CONFIG_H
#define __ARCH_ARM_SRC_IMX6_IMX_CONFIG_H 1
#define __ARCH_ARM_SRC_IMX6_IMX_CONFIG_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __ARCH_ARM_SRC_SAMA5_SAM_CONFIG_H
#define __ARCH_ARM_SRC_SAMA5_SAM_CONFIG_H 1
#define __ARCH_ARM_SRC_SAMA5_SAM_CONFIG_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __ARCH_MISOC_SRC_LM32_CHIP_H
#define __ARCH_MISOC_SRC_LM32_CHIP_H 1
#define __ARCH_MISOC_SRC_LM32_CHIP_H
/****************************************************************************
* Inline Functions

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __ARCH_MISOC_SRC_MINERVA_CHIP_H
#define __ARCH_MISOC_SRC_MINERVA_CHIP_H 1
#define __ARCH_MISOC_SRC_MINERVA_CHIP_H
/****************************************************************************
* Inline Functions

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __ARCH_OR1K_SRC_MOR1KX_MOR1KX_START_H
#define __ARCH_OR1K_SRC_MOR1KX_MOR1KX_START_H 1
#define __ARCH_OR1K_SRC_MOR1KX_MOR1KX_START_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __ARCH_SIM_INCLUDE_TLS_H
#define __ARCH_SIM_INCLUDE_TLS_H 1
#define __ARCH_SIM_INCLUDE_TLS_H
/****************************************************************************
* Included Files

View File

@ -32,7 +32,7 @@
****************************************************************************/
#ifndef __ARCH_XTENSA_SRC_COMMON_XTENSA_ABI_H
#define __ARCH_XTENSA_SRC_COMMON_XTENSA_ABI_H 1
#define __ARCH_XTENSA_SRC_COMMON_XTENSA_ABI_H
/* Windowed ABI
*

View File

@ -31,7 +31,7 @@
****************************************************************************/
#ifndef __ARCH_XTENSA_SRC_ESP32_CHIP_MACROS_H
#define __ARCH_XTENSA_SRC_ESP32_CHIP_MACROS_H 1
#define __ARCH_XTENSA_SRC_ESP32_CHIP_MACROS_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __ARCH_XTENSA_SRC_ESP32_ESP32_CPUINT_H
#define __ARCH_XTENSA_SRC_ESP32_ESP32_CPUINT_H 1
#define __ARCH_XTENSA_SRC_ESP32_ESP32_CPUINT_H
/****************************************************************************
* Included Files

View File

@ -25,7 +25,7 @@
****************************************************************************/
#ifndef __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_MUX_H
#define __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_MUX_H 1
#define __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_MUX_H
/****************************************************************************
* Included Files

View File

@ -35,7 +35,7 @@
****************************************************************************/
#ifndef __BOARDS_ARM_STM32_CLOUDCTRL_INCLUDE_BOARD_H
#define __BOARDS_ARM_STM32_CLOUDCTRL_INCLUDE_BOARD_H 1
#define __BOARDS_ARM_STM32_CLOUDCTRL_INCLUDE_BOARD_H
/****************************************************************************
* Included Files

View File

@ -36,7 +36,7 @@
****************************************************************************/
#ifndef __BOARDS_ARM_STM32_OLIMEX_STM32_E407_INCLUDE_BOARD_H
#define __BOARDS_ARM_STM32_OLIMEX_STM32_E407_INCLUDE_BOARD_H 1
#define __BOARDS_ARM_STM32_OLIMEX_STM32_E407_INCLUDE_BOARD_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __BOARDS_ARM_STM32_OLIMEX_STM32_H405_INCLUDE_BOARD_H
#define __BOARDS_ARM_STM32_OLIMEX_STM32_H405_INCLUDE_BOARD_H 1
#define __BOARDS_ARM_STM32_OLIMEX_STM32_H405_INCLUDE_BOARD_H
/****************************************************************************
* Included Files

View File

@ -35,7 +35,7 @@
****************************************************************************/
#ifndef __BOARDS_ARM_STM32_OLIMEX_STM32_H407_INCLUDE_BOARD_H
#define __BOARDS_ARM_STM32_OLIMEX_STM32_H407_INCLUDE_BOARD_H 1
#define __BOARDS_ARM_STM32_OLIMEX_STM32_H407_INCLUDE_BOARD_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __BOARDS_ARM_STM32_OLIMEX_STM32_P107_INCLUDE_BOARD_H
#define __BOARDS_ARM_STM32_OLIMEX_STM32_P107_INCLUDE_BOARD_H 1
#define __BOARDS_ARM_STM32_OLIMEX_STM32_P107_INCLUDE_BOARD_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __BOARDS_ARM_STM32_OLIMEX_STM32_P207_INCLUDE_BOARD_H
#define __BOARDS_ARM_STM32_OLIMEX_STM32_P207_INCLUDE_BOARD_H 1
#define __BOARDS_ARM_STM32_OLIMEX_STM32_P207_INCLUDE_BOARD_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __BOARDS_ARM_STM32_OLIMEX_STM32_P407_INCLUDE_BOARD_H
#define __BOARDS_ARM_STM32_OLIMEX_STM32_P407_INCLUDE_BOARD_H 1
#define __BOARDS_ARM_STM32_OLIMEX_STM32_P407_INCLUDE_BOARD_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __BOARDS_ARM_STM32_SHENZHOU_INCLUDE_BOARD_H
#define __BOARDS_ARM_STM32_SHENZHOU_INCLUDE_BOARD_H 1
#define __BOARDS_ARM_STM32_SHENZHOU_INCLUDE_BOARD_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __BOARDS_ARM_STM32_STM32_BUTTERFLY2_INCLUDE_BOARD_H
#define __BOARDS_ARM_STM32_STM32_BUTTERFLY2_INCLUDE_BOARD_H 1
#define __BOARDS_ARM_STM32_STM32_BUTTERFLY2_INCLUDE_BOARD_H
/****************************************************************************
* Included Files

View File

@ -33,7 +33,7 @@
****************************************************************************/
#ifndef __BOARDS_ARM_STM32_STM32_BUTTERFLY2_SRC_STM32_BUTTERFLY2_H
#define __BOARDS_ARM_STM32_STM32_BUTTERFLY2_SRC_STM32_BUTTERFLY2_H 1
#define __BOARDS_ARM_STM32_STM32_BUTTERFLY2_SRC_STM32_BUTTERFLY2_H
/*****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_STM32F103VCT6_H
#define __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_STM32F103VCT6_H 1
#define __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_STM32F103VCT6_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_STM32F107VCT6_H
#define __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_STM32F107VCT6_H 1
#define __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_STM32F107VCT6_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_H
#define __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_H 1
#define __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __DRIVERS_CAN_MCP2514_H
#define __DRIVERS_CAN_MCP2514_H 1
#define __DRIVERS_CAN_MCP2514_H
/****************************************************************************
* Pre-processor Definitions

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __DRIVERS_CONTACTLESS_MFRC522_H
#define __DRIVERS_CONTACTLESS_MFRC522_H 1
#define __DRIVERS_CONTACTLESS_MFRC522_H
/****************************************************************************
* Included Files

View File

@ -36,7 +36,7 @@
****************************************************************************/
#ifndef __DRIVERS_CONTACTLESS_PN532_H
#define __DRIVERS_CONTACTLESS_PN532_H 1
#define __DRIVERS_CONTACTLESS_PN532_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
**************************************************************************************/
#ifndef __DRIVERS_LCD_SSD1306_H
#define __DRIVERS_LCD_SSD1306_H 1
#define __DRIVERS_LCD_SSD1306_H
/**************************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __DRIVERS_USBDEV_CDCACM_H
#define __DRIVERS_USBDEV_CDCACM_H 1
#define __DRIVERS_USBDEV_CDCACM_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __DRIVERS_USBDEV_COMPOSITE_H
#define __DRIVERS_USBDEV_COMPOSITE_H 1
#define __DRIVERS_USBDEV_COMPOSITE_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __FS_CROMFS_CROMFS_H
#define __FS_CROMFS_CROMFS_H 1
#define __FS_CROMFS_CROMFS_H
/****************************************************************************
* Included Files

View File

@ -29,7 +29,7 @@
****************************************************************************/
#ifndef __INCLUDE_LZF_H
#define __INCLUDE_LZF_H 1
#define __INCLUDE_LZF_H
/****************************************************************************
* Pre-processor Definitions

View File

@ -38,7 +38,7 @@
****************************************************************************/
#ifndef __INCLUDE_NETPACKET_PACKET_H
#define __INCLUDE_NETPACKET_PACKET_H 1
#define __INCLUDE_NETPACKET_PACKET_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __INCLUDE_NUTTX_ADDRENV_H
#define __INCLUDE_NUTTX_ADDRENV_H 1
#define __INCLUDE_NUTTX_ADDRENV_H
/****************************************************************************
* Included Files

View File

@ -39,7 +39,7 @@
****************************************************************************/
#ifndef __INCLUDE_NUTTX_CRYPTO_TEA_H
#define __INCLUDE_NUTTX_CRYPTO_TEA_H 1
#define __INCLUDE_NUTTX_CRYPTO_TEA_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __INCLUDE_NUTTX_EEPROM_I2C_XX24XX_H
#define __INCLUDE_NUTTX_EEPROM_I2C_XX24XX_H 1
#define __INCLUDE_NUTTX_EEPROM_I2C_XX24XX_H
/****************************************************************************
* Public Types

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __INCLUDE_NUTTX_EEPROM_M25XX_H
#define __INCLUDE_NUTTX_EEPROM_M25XX_H 1
#define __INCLUDE_NUTTX_EEPROM_M25XX_H
/****************************************************************************
* Public Types

View File

@ -34,7 +34,7 @@
************************************************************************************/
#ifndef __INCLUDE_NUTTX_INPUT_IOCTL_H
#define __INCLUDE_NUTTX_INPUT_IOCTL_H 1
#define __INCLUDE_NUTTX_INPUT_IOCTL_H
/****************************************************************************
* Included Files

View File

@ -44,7 +44,7 @@
*/
#ifndef __INCLUDE_NUTTX_INPUT_NUNCHUCK_H
#define __INCLUDE_NUTTX_INPUT_NUNCHUCK_H 1
#define __INCLUDE_NUTTX_INPUT_NUNCHUCK_H
/****************************************************************************
* Included Files

View File

@ -40,7 +40,7 @@
****************************************************************************/
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_BUF_H
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_BUF_H 1
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_BUF_H
/****************************************************************************
* Included Files

View File

@ -40,7 +40,7 @@
****************************************************************************/
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_CORE_H
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_CORE_H 1
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_CORE_H
/****************************************************************************
* Included Files

View File

@ -40,7 +40,7 @@
****************************************************************************/
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_DRIVER_H
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_DRIVER_H 1
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_DRIVER_H
/****************************************************************************
* Included Files

View File

@ -40,7 +40,7 @@
****************************************************************************/
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_GATT_H
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_GATT_H 1
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_GATT_H
/****************************************************************************
* Included Files

View File

@ -40,7 +40,7 @@
****************************************************************************/
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_HCI_H
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_HCI_H 1
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_HCI_H
/****************************************************************************
* Included Files

View File

@ -40,7 +40,7 @@
****************************************************************************/
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_IOCTL_H
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_IOCTL_H 1
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_IOCTL_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_NULL_H
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_NULL_H 1
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_NULL_H
/****************************************************************************
* Public Function Prototypes

View File

@ -40,7 +40,7 @@
****************************************************************************/
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UART_H
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UART_H 1
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UART_H
/****************************************************************************
* Included Files

View File

@ -40,7 +40,7 @@
****************************************************************************/
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UUID_H
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UUID_H 1
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UUID_H
/****************************************************************************
* Included Files

View File

@ -27,7 +27,7 @@
****************************************************************************/
#ifndef __LIBC_LZF_LZF_H
#define __LIBC_LZF_LZF_H 1
#define __LIBC_LZF_LZF_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __MM_IOB_IOB_H
#define __MM_IOB_IOB_H 1
#define __MM_IOB_IOB_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __NET_ROUTE_CACHEROUTE_H
#define __NET_ROUTE_CACHEROUTE_H 1
#define __NET_ROUTE_CACHEROUTE_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __NET_ROUTE_FILEROUTE_H
#define __NET_ROUTE_FILEROUTE_H 1
#define __NET_ROUTE_FILEROUTE_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __NET_ROUTE_RAMROUTE_H
#define __NET_ROUTE_RAMROUTE_H 1
#define __NET_ROUTE_RAMROUTE_H
/****************************************************************************
* Included Files

View File

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __NET_ROUTE_ROMROUTE_H
#define __NET_ROUTE_ROMROUTE_H 1
#define __NET_ROUTE_ROMROUTE_H
/****************************************************************************
* Included Files

View File

@ -35,7 +35,7 @@
****************************************************************************/
#ifndef __WIRELESS_BLUETOOTH_BT_ATOMIC_H
#define __WIRELESS_BLUETOOTH_BT_ATOMIC_H 1
#define __WIRELESS_BLUETOOTH_BT_ATOMIC_H
/****************************************************************************
* Included Files

View File

@ -40,7 +40,7 @@
****************************************************************************/
#ifndef __WIRELESS_BLUETOOTH_BT_ATTR_H
#define __WIRELESS_BLUETOOTH_BT_ATTR_H 1
#define __WIRELESS_BLUETOOTH_BT_ATTR_H
/****************************************************************************
* Included Files

View File

@ -40,7 +40,7 @@
****************************************************************************/
#ifndef __WIRELESS_BLUETOOTH_BT_BUF_H
#define __WIRELESS_BLUETOOTH_BT_BUF_H 1
#define __WIRELESS_BLUETOOTH_BT_BUF_H
/****************************************************************************
* Included Files

View File

@ -40,7 +40,7 @@
****************************************************************************/
#ifndef __WIRELESS_BLUETOOTH_BT_CONN_H
#define __WIRELESS_BLUETOOTH_BT_CONN_H 1
#define __WIRELESS_BLUETOOTH_BT_CONN_H
/****************************************************************************
* Included Files

View File

@ -40,7 +40,7 @@
****************************************************************************/
#ifndef __WIRELESS_BLUETOOTH_BT_HDICORE_H
#define __WIRELESS_BLUETOOTH_BT_HDICORE_H 1
#define __WIRELESS_BLUETOOTH_BT_HDICORE_H
/****************************************************************************
* Included Files

View File

@ -35,7 +35,7 @@
****************************************************************************/
#ifndef __WIRELESS_BLUETOOTH_BT_IOCTL_H
#define __WIRELESS_BLUETOOTH_BT_IOCTL_H 1
#define __WIRELESS_BLUETOOTH_BT_IOCTL_H
/****************************************************************************
* Included Files

View File

@ -40,7 +40,7 @@
****************************************************************************/
#ifndef __WIRELESS_BLUETOOTH_BT_L2CAP_H
#define __WIRELESS_BLUETOOTH_BT_L2CAP_H 1
#define __WIRELESS_BLUETOOTH_BT_L2CAP_H
/****************************************************************************
* Included Files

View File

@ -35,7 +35,7 @@
****************************************************************************/
#ifndef __WIRELESS_BLUETOOTH_BT_QUEUE_H
#define __WIRELESS_BLUETOOTH_BT_QUEUE_H 1
#define __WIRELESS_BLUETOOTH_BT_QUEUE_H
/****************************************************************************
* Included Files

View File

@ -40,7 +40,7 @@
****************************************************************************/
#ifndef __WIRELESS_BLUETOOTH_BT_SMP_H
#define __WIRELESS_BLUETOOTH_BT_SMP_H 1
#define __WIRELESS_BLUETOOTH_BT_SMP_H
/****************************************************************************
* Included Files