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

@ -47,8 +47,8 @@
* \date 2012-04-11
*/
#ifndef __INCLUDE_PIC32_CLOCK_H__
#define __INCLUDE_PIC32_CLOCK_H__
#ifndef INCLUDE_PIC32_CLOCK_H_
#define INCLUDE_PIC32_CLOCK_H_
#include <stdint.h>
@ -69,6 +69,6 @@ uint32_t pic32_clock_get_peripheral_clock(void);
/* Function used to calculate the appropriate brg param to approximate desidered frequency */
uint32_t pic32_clock_calculate_brg(uint32_t mul, uint32_t desired);
#endif /* __INCLUDE_PIC32_CLOCK_H__ */
#endif /* INCLUDE_PIC32_CLOCK_H_ */
/** @} */

View file

@ -55,8 +55,8 @@
* the 3xx and 4xx families of the pic32mx.
*/
#ifndef __INCLUDE_PIC32_IRQ_H__
#define __INCLUDE_PIC32_IRQ_H__
#ifndef INCLUDE_PIC32_IRQ_H_
#define INCLUDE_PIC32_IRQ_H_
#define ASM_DIS_INT \
do { \
@ -74,6 +74,6 @@ void __attribute__((vector(v), interrupt(ipl7))) isr_##v(void)
#define ISR(v) \
void __attribute__((vector(v), interrupt(ipl6))) isr_##v(void)
#endif /* __INCLUDE_PIC32_IRQ_H__ */
#endif /* INCLUDE_PIC32_IRQ_H_ */
/** @} */

View file

@ -55,8 +55,8 @@
* the 3xx and 4xx families of the pic32mx.
*/
#ifndef __INCLUDE_PIC32_SPI_H__
#define __INCLUDE_PIC32_SPI_H__
#ifndef INCLUDE_PIC32_SPI_H_
#define INCLUDE_PIC32_SPI_H_
#ifdef __USE_SPI__
@ -109,6 +109,6 @@ SPI_DEF(3A)
#endif /* __USE_SPI__ */
#endif /* __INCLUDE_PIC32_SPI_H__ */
#endif /* INCLUDE_PIC32_SPI_H_ */
/** @} */

View file

@ -55,8 +55,8 @@
* the 3xx and 4xx families of the pic32mx.
*/
#ifndef __INCLUDE_PIC32_TIMER_H__
#define __INCLUDE_PIC32_TIMER_H__
#ifndef INCLUDE_PIC32_TIMER_H_
#define INCLUDE_PIC32_TIMER_H_
#ifdef __USE_TIMER__
@ -138,6 +138,6 @@ TIMERN_32_DEF(45)
#endif /* __USE_TIMER__ */
#endif /* __INCLUDE_PIC32_TIMER_H__ */
#endif /* INCLUDE_PIC32_TIMER_H_ */
/** @} */

View file

@ -55,8 +55,8 @@
* the 3xx and 4xx families of the pic32mx.
*/
#ifndef __INCLUDE_PIC32_UART_H__
#define __INCLUDE_PIC32_UART_H__
#ifndef INCLUDE_PIC32_UART_H_
#define INCLUDE_PIC32_UART_H_
#ifdef __USE_UART__
@ -122,6 +122,6 @@ UART_PORT_DEF(3B)
#endif /* __USE_UART__ */
#endif /* __INCLUDE_PIC32_UART_H__ */
#endif /* INCLUDE_PIC32_UART_H_ */
/** @} */