Merge pull request #1470 from kasjer/fe310-fix-build

fe310 fix build
diff --git a/hw/mcu/sifive/fe310/src/arch/rv32imac/start.s b/hw/mcu/sifive/fe310/src/arch/rv32imac/start.s
index 65946c7..4184fb7 100644
--- a/hw/mcu/sifive/fe310/src/arch/rv32imac/start.s
+++ b/hw/mcu/sifive/fe310/src/arch/rv32imac/start.s
@@ -67,7 +67,7 @@
     call atexit
     call __libc_init_array
 
-    call _init
+    call SystemInit
     call _start
     call _fini
     tail exit
diff --git a/hw/mcu/sifive/fe310/src/init.c b/hw/mcu/sifive/fe310/src/init.c
index 877d98d..6870cbc 100644
--- a/hw/mcu/sifive/fe310/src/init.c
+++ b/hw/mcu/sifive/fe310/src/init.c
@@ -29,7 +29,7 @@
 
 /* Function called just before main() */
 void
-_init()
+SystemInit(void)
 {
     select_clock(&MYNEWT_VAL(SYS_CLOCK));
 }