[rtems commit] epiphany/cpu.c: Fix not a prototype warning

Joel Sherrill joel at rtems.org
Mon Apr 24 22:21:55 UTC 2017


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

Author:    Joel Sherrill <joel at rtems.org>
Date:      Sun Apr 23 12:57:27 2017 -0500

epiphany/cpu.c: Fix not a prototype warning

---

 cpukit/score/cpu/epiphany/cpu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpukit/score/cpu/epiphany/cpu.c b/cpukit/score/cpu/epiphany/cpu.c
index ada0f8c..e01bcbf 100644
--- a/cpukit/score/cpu/epiphany/cpu.c
+++ b/cpukit/score/cpu/epiphany/cpu.c
@@ -38,11 +38,11 @@
 void init(void);
 void fini(void);
 
-void _init()
+void _init(void)
 {
 }
 
-void _fini()
+void _fini(void)
 {
 }
 



More information about the vc mailing list