[rtems commit] bsp/mpc55xx: Fix prototype

Sebastian Huber sebh at rtems.org
Wed Jul 24 13:44:02 UTC 2013


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

Author:    Peter Dufault <dufault at hda.com>
Date:      Wed Jul 24 15:49:05 2013 +0200

bsp/mpc55xx: Fix prototype

---

 c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h b/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h
index b1b625c..1c22d6e 100644
--- a/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h
+++ b/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h
@@ -130,7 +130,7 @@ static inline uint32_t mpc55xx_count_leading_zeros( uint32_t value)
 	return count;
 }
 
-static inline mpc55xx_wait_for_interrupt(void)
+static inline void mpc55xx_wait_for_interrupt(void)
 {
   #ifdef MPC55XX_HAS_WAIT_INSTRUCTION
     __asm__ volatile ("wait");




More information about the vc mailing list