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
577 changed files with 904 additions and 904 deletions
+2 -2
View File
@@ -204,5 +204,5 @@ uintptr_t sys_call5(unsigned int nbr, uintptr_t parm1, uintptr_t parm2,
}
#endif
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_MISOC_INCLUDE_MINERVA_SYSCALL_H */
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_MISOC_INCLUDE_MINERVA_SYSCALL_H */
+2 -2
View File
@@ -90,5 +90,5 @@ typedef unsigned int irqstate_t;
* Public Function Prototypes
****************************************************************************/
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_MISOC_INCLUDE_MINERVA_TYPES_H */
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_MISOC_INCLUDE_MINERVA_TYPES_H */
+1 -1
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
+1 -1
View File
@@ -105,7 +105,7 @@ static void dispatch_syscall(void)
# error "Missing logic"
/* Refer to arch/arm/src/armv7-m/up_svcall.h for how this is done for ARM */
/* __asm__ __volatile__ */
/* __asm__ __volatile__ */
/* ( */
/* Save registers */
/* Get the base of the stub lookup table */
+2 -2
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
@@ -135,4 +135,4 @@ static inline unsigned int irq_pending(void)
* Public Function Prototypes
****************************************************************************/
#endif /* __ARCH_MISOC_SRC_MINERVA_CHIP_H */
#endif /* __ARCH_MISOC_SRC_MINERVA_CHIP_H */
+2 -2
View File
@@ -166,5 +166,5 @@ void minerva_flush_icache(void);
void minerva_dumpstate(void);
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_MISOC_SRC_MINERVA_MINERVA_H */
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_MISOC_SRC_MINERVA_MINERVA_H */
+1 -1
View File
@@ -79,4 +79,4 @@
# undef HAVE_SERIAL_CONSOLE
#endif
#endif /* __ARCH_MISOC_SRC_MINERVA_MINERVA_CONFIG_H */
#endif /* __ARCH_MISOC_SRC_MINERVA_MINERVA_CONFIG_H */
+1 -1
View File
@@ -228,4 +228,4 @@ void minerva_dumpstate(void)
}
}
#endif /* CONFIG_ARCH_STACKDUMP */
#endif /* CONFIG_ARCH_STACKDUMP */