[PATCH 37/47] bsp/tms570: Add header guards

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Dec 21 14:38:10 UTC 2023


---
 bsps/arm/tms570/include/bsp/tms570-pins.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bsps/arm/tms570/include/bsp/tms570-pins.h b/bsps/arm/tms570/include/bsp/tms570-pins.h
index 64c6fb4002..606b7e243e 100644
--- a/bsps/arm/tms570/include/bsp/tms570-pins.h
+++ b/bsps/arm/tms570/include/bsp/tms570-pins.h
@@ -40,6 +40,9 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef LIBBSP_ARM_TMS570_PINS_H
+#define LIBBSP_ARM_TMS570_PINS_H
+
 #include <bspopts.h>
 
 #if TMS570_VARIANT == 4357
@@ -47,3 +50,5 @@
 #else
 #include <bsp/tms570ls3137zwt-pins.h>
 #endif
+
+#endif /* LIBBSP_ARM_TMS570_PINS_H */
-- 
2.35.3



More information about the devel mailing list