[PATCH 16/17] rtems/score/epiphany-utility.h: Fix not a prototype warning

Joel Sherrill joel at rtems.org
Wed Aug 29 20:15:29 UTC 2018


---
 cpukit/score/cpu/epiphany/include/rtems/score/epiphany-utility.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/cpu/epiphany/include/rtems/score/epiphany-utility.h b/cpukit/score/cpu/epiphany/include/rtems/score/epiphany-utility.h
index bf223f9..04cb2de 100644
--- a/cpukit/score/cpu/epiphany/include/rtems/score/epiphany-utility.h
+++ b/cpukit/score/cpu/epiphany/include/rtems/score/epiphany-utility.h
@@ -169,7 +169,7 @@ static inline uint32_t epiphany_coreid_to_rtems_map(uint32_t epiphany_id)
   return coreid;
 }
 
-static inline uint32_t _Epiphany_Get_current_processor()
+static inline uint32_t _Epiphany_Get_current_processor(void)
 {
   uint32_t coreid;
 
-- 
1.8.3.1




More information about the devel mailing list