[PATCH 09/12] bsp/arm-a8core-start.h: Add void return type to fix warning

Joel Sherrill joel at rtems.org
Thu Mar 15 22:35:58 UTC 2018


---
 bsps/arm/include/bsp/arm-a8core-start.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bsps/arm/include/bsp/arm-a8core-start.h b/bsps/arm/include/bsp/arm-a8core-start.h
index 416f282..08311b4 100644
--- a/bsps/arm/include/bsp/arm-a8core-start.h
+++ b/bsps/arm/include/bsp/arm-a8core-start.h
@@ -27,7 +27,7 @@
 extern "C" {
 #endif /* __cplusplus */
 
-BSP_START_TEXT_SECTION static inline arm_a8core_start_set_vector_base(void)
+BSP_START_TEXT_SECTION static inline void arm_a8core_start_set_vector_base(void)
 {
   /*
    * Do not use bsp_vector_table_begin == 0, since this will get optimized away.
@@ -43,7 +43,7 @@ BSP_START_TEXT_SECTION static inline arm_a8core_start_set_vector_base(void)
   }
 }
 
-BSP_START_TEXT_SECTION static inline arm_a8core_start_hook_1(void)
+BSP_START_TEXT_SECTION static inline void arm_a8core_start_hook_1(void)
 {
   arm_a8core_start_set_vector_base();
 }
-- 
1.8.3.1




More information about the devel mailing list