Skip to content

Commit e39a2b1

Browse files
committed
Better header gaurd names
1 parent b0190cd commit e39a2b1

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

cores/arduino/stm32/OpenAMP/mbox_ipcc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
******************************************************************************
1818
*/
1919

20-
#ifndef MBOX_IPCC_H_
21-
#define MBOX_IPCC_H_
20+
#ifndef __OPENAMP_MBOX_IPCC_H
21+
#define __OPENAMP_MBOX_IPCC_H
2222

2323
#ifdef VIRTIOCON
2424

@@ -35,4 +35,4 @@ int MAILBOX_Poll(struct virtio_device *vdev, uint32_t vring_id);
3535
int MAILBOX_Notify(void *priv, uint32_t id);
3636

3737
#endif /* VIRTIOCON */
38-
#endif /* MBOX_IPCC_H_ */
38+
#endif /* __OPENAMP_MBOX_IPCC_H */

cores/arduino/stm32/OpenAMP/openamp.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
*/
1919

2020
/* Define to prevent recursive inclusion -------------------------------------*/
21-
#ifndef __openamp_H
22-
#define __openamp_H
21+
#ifndef __OPENAMP_OPENAMP_H
22+
#define __OPENAMP_OPENAMP_H
2323

2424
#ifdef VIRTIOCON
2525

@@ -48,6 +48,6 @@ void OPENAMP_Wait_EndPointready(struct rpmsg_endpoint *rp_ept);
4848
}
4949
#endif
5050
#endif /* VIRTIOCON */
51-
#endif /*__openamp_H */
51+
#endif /*__OPENAMP_OPENAMP_H */
5252

5353
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

cores/arduino/stm32/OpenAMP/openamp_conf.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
*/
1919

2020
/* Define to prevent recursive inclusion -------------------------------------*/
21-
#ifndef __OPENAMP_CONF__H__
22-
#define __OPENAMP_CONF__H__
21+
#ifndef __OPENAMP_OPENAMP_CONF_H
22+
#define __OPENAMP_OPENAMP_CONF_H
2323

2424
#ifdef VIRTIOCON
2525

@@ -78,6 +78,6 @@ extern int __OPENAMP_region_end__[]; /* defined by linker script */
7878
#endif
7979

8080
#endif /* VIRTIOCON */
81-
#endif /* __OPENAMP_CONF__H__ */
81+
#endif /* __OPENAMP_OPENAMP_CONF_H */
8282

8383
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

cores/arduino/stm32/OpenAMP/rsc_table.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
/* This file populates resource table for BM remote
1313
* for use by the Linux Master */
1414

15-
#ifndef RSC_TABLE_H_
16-
#define RSC_TABLE_H_
15+
#ifndef __OPENAMP_RSC_TABLE_H
16+
#define __OPENAMP_RSC_TABLE_H
1717

1818
#ifdef VIRTIOCON
1919

@@ -39,4 +39,4 @@ struct shared_resource_table {
3939
void resource_table_init(int RPMsgRole, void **table_ptr, int *length);
4040

4141
#endif /* VIRTIOCON */
42-
#endif /* RSC_TABLE_H_ */
42+
#endif /* __OPENAMP_RSC_TABLE_H */

cores/arduino/stm32/OpenAMP/virtio_buffer.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
* THE SOFTWARE.
2222
*/
2323

24-
#ifndef __VIRTIO_BUFFER_H
25-
#define __VIRTIO_BUFFER_H
24+
#ifndef __OPENAMP_VIRTIO_BUFFER_H
25+
#define __OPENAMP_VIRTIO_BUFFER_H
2626

2727
#include <stdint.h>
2828

@@ -63,4 +63,4 @@ uint16_t virtio_buffer_write(virtio_buffer_t *ring, uint8_t *src, uint16_t size)
6363
}
6464
#endif
6565

66-
#endif // __VIRTIO_VIRTIO_BUFFER_H
66+
#endif // __OPENAMP_VIRTIO_BUFFER_H

cores/arduino/stm32/OpenAMP/virtio_config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __VIRTIO_CONFIG_H
2-
#define __VIRTIO_CONFIG_H
1+
#ifndef __OPENAMP_VIRTIO_CONFIG_H
2+
#define __OPENAMP_VIRTIO_CONFIG_H
33

44
// Size of buffer of each vring buffers
55
#ifdef RPMSG_BUFFER_SIZE
@@ -36,4 +36,4 @@
3636

3737
#endif
3838

39-
#endif // __VIRTIO_CONFIG_H
39+
#endif // __OPENAMP_VIRTIO_CONFIG_H

cores/arduino/stm32/OpenAMP/virtio_log.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
* THE SOFTWARE.
2222
*/
23-
#ifndef __VIRTIO_LOG_H
24-
#define __VIRTIO_LOG_H
23+
#ifndef __OPENAMP_VIRTIO_LOG_H
24+
#define __OPENAMP_VIRTIO_LOG_H
2525

2626
#include <stdint.h>
2727

@@ -46,4 +46,4 @@ void virtio_log(uint8_t *data, uint32_t size);
4646
}
4747
#endif
4848

49-
#endif // __VIRTIO_LOG_H
49+
#endif // __OPENAMP_VIRTIO_LOG_H

0 commit comments

Comments
 (0)