[rtems commit] bsp/beagle: Fix warnings

Sebastian Huber sebh at rtems.org
Tue Jul 24 07:14:00 UTC 2018


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jul 24 08:25:35 2018 +0200

bsp/beagle: Fix warnings

---

 bsps/arm/beagle/include/bsp.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/bsps/arm/beagle/include/bsp.h b/bsps/arm/beagle/include/bsp.h
index 1a69b5e..f394c84 100644
--- a/bsps/arm/beagle/include/bsp.h
+++ b/bsps/arm/beagle/include/bsp.h
@@ -209,7 +209,7 @@ typedef struct {
 
 /* sctlr */
 /* Read System Control Register */
-static inline uint32_t read_sctlr()
+static inline uint32_t read_sctlr(void)
 {
     uint32_t ctl;
 
@@ -227,7 +227,7 @@ static inline void write_sctlr(uint32_t ctl)
 }
 
 /* Read Auxiliary Control Register */
-static inline uint32_t read_actlr()
+static inline uint32_t read_actlr(void)
 {
     uint32_t ctl;
 
@@ -254,7 +254,7 @@ static inline void write_ttbcr(uint32_t bcr)
 }
 
 /* Read Domain Access Control Register */
-static inline uint32_t read_dacr()
+static inline uint32_t read_dacr(void)
 {
         uint32_t dacr;
 
@@ -296,7 +296,7 @@ static inline void refresh_tlb(void)
 }
 
 /* Read Translation Table Base Register 0 */
-static inline uint32_t read_ttbr0()
+static inline uint32_t read_ttbr0(void)
 {
     uint32_t bar;
 
@@ -308,7 +308,7 @@ static inline uint32_t read_ttbr0()
 
 
 /* Read Translation Table Base Register 0 */
-static inline uint32_t read_ttbr0_unmasked()
+static inline uint32_t read_ttbr0_unmasked(void)
 {
     uint32_t bar;
 




More information about the vc mailing list