summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-08-10 08:20:38 -0500
committerJoel Sherrill <joel@rtems.org>2018-08-10 08:24:27 -0500
commit5896da452c6c59dab3ae15449612b17b483303c4 (patch)
treec135c7daaf4ecac5fe5f36fdf1e5865b872b0fc4
parentgen83xx/include/tm27.h: Fix prototype warning (diff)
downloadrtems-5896da452c6c59dab3ae15449612b17b483303c4.tar.bz2
bsps/powerpc/include/bsp/tictac.h: Fix protototype warnings
-rw-r--r--bsps/powerpc/include/bsp/tictac.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bsps/powerpc/include/bsp/tictac.h b/bsps/powerpc/include/bsp/tictac.h
index 31c7386943..c8acf98c3b 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;