[rtems commit] bsps/powerpc/include/bsp/tictac.h: Fix protototype warnings
Joel Sherrill
joel at rtems.org
Mon Aug 13 15:44:44 UTC 2018
Module: rtems
Branch: master
Commit: 5896da452c6c59dab3ae15449612b17b483303c4
Changeset: http://git.rtems.org/rtems/commit/?id=5896da452c6c59dab3ae15449612b17b483303c4
Author: Joel Sherrill <joel at rtems.org>
Date: Fri Aug 10 08:20:38 2018 -0500
bsps/powerpc/include/bsp/tictac.h: Fix protototype warnings
---
bsps/powerpc/include/bsp/tictac.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bsps/powerpc/include/bsp/tictac.h b/bsps/powerpc/include/bsp/tictac.h
index 31c7386..c8acf98 100644
--- a/bsps/powerpc/include/bsp/tictac.h
+++ b/bsps/powerpc/include/bsp/tictac.h
@@ -22,7 +22,7 @@
/**
* @brief Reset reference ticks for tac().
*/
-static inline void tic()
+static inline void tic(void)
{
uint32_t tmp;
asm volatile (
@@ -35,7 +35,7 @@ static inline void tic()
/**
* @brief Returns number of ticks since last tic().
*/
-static inline uint32_t tac()
+static inline uint32_t tac(void)
{
uint32_t ticks;
uint32_t tmp;
@@ -51,7 +51,7 @@ static inline uint32_t tac()
/**
* @brief Reset reference ticks for bam().
*/
-static inline void boom()
+static inline void boom(void)
{
uint32_t tmp;
asm volatile (
@@ -64,7 +64,7 @@ static inline void boom()
/**
* @brief Returns number of ticks since last boom().
*/
-static inline uint32_t bam()
+static inline uint32_t bam(void)
{
uint32_t ticks;
uint32_t tmp;
More information about the vc
mailing list