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

Joel Sherrill joel at rtems.org
Thu Aug 30 13:39:24 UTC 2018


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

Author:    Joel Sherrill <joel at rtems.org>
Date:      Wed Aug 29 12:42:10 2018 -0500

rtems/score/epiphany-utility.h: Fix not a prototype warning

---

 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;
 




More information about the vc mailing list