[rtems commit] bsp/tms570: Add header guards

Sebastian Huber sebh at rtems.org
Mon Jan 15 09:36:31 UTC 2024


Module:    rtems
Branch:    master
Commit:    e9634471d9478090bccec2c01342bfcc063adde0
Changeset: http://git.rtems.org/rtems/commit/?id=e9634471d9478090bccec2c01342bfcc063adde0

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Dec 21 15:16:49 2023 +0100

bsp/tms570: Add header guards

Update #4982.

---

 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 */



More information about the vc mailing list