[rtems commit] qoriq/include/tm27.h: Fix prototype warning

Joel Sherrill joel at rtems.org
Mon Aug 13 15:44:44 UTC 2018


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

Author:    Joel Sherrill <joel at rtems.org>
Date:      Fri Aug 10 08:22:02 2018 -0500

qoriq/include/tm27.h: Fix prototype warning

---

 bsps/powerpc/qoriq/include/tm27.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bsps/powerpc/qoriq/include/tm27.h b/bsps/powerpc/qoriq/include/tm27.h
index 46264b7..79ef3b4 100644
--- a/bsps/powerpc/qoriq/include/tm27.h
+++ b/bsps/powerpc/qoriq/include/tm27.h
@@ -78,12 +78,12 @@ static void qoriq_tm27_cause(uint32_t ipi_index)
   qoriq.pic.per_cpu[self].ipidr[ipi_index].reg = UINT32_C(1) << self;
 }
 
-static void Cause_tm27_intr()
+static void Cause_tm27_intr(void)
 {
   qoriq_tm27_cause(IPI_INDEX_LOW);
 }
 
-static void Clear_tm27_intr()
+static void Clear_tm27_intr(void)
 {
   /* Nothing to do */
 }



More information about the vc mailing list