[rtems commit] bsp/arm-a8core-start.h: Add void return type to fix warning

Joel Sherrill joel at rtems.org
Fri Mar 16 13:38:37 UTC 2018


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

Author:    Joel Sherrill <joel at rtems.org>
Date:      Thu Mar 15 09:58:13 2018 -0500

bsp/arm-a8core-start.h: Add void return type to fix warning

---

 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();
 }



More information about the vc mailing list